We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Diagnostic ID: CA1019: CA1019: Define accessors for attribute arguments
CA1019: Define accessors for attribute arguments
SDK: .NET 8.0 Version: .NET 8.0
<LangVersion>preview</LangVersion>
CA1019 looks for a property that matches the Name AND Type of the member. It should just look for the name and ignore the type.
[AttributeUsage(validOn: AttributeTargets.Class, AllowMultiple = true, Inherited = true)] public class DynamicallyIncludesAttribute : Attribute { public ImmutableArray<Type> Types { get; } public DynamicallyIncludesAttribute(params IEnumerable<Type> Types) { this.Types = [.. Types]; } }
CA1019 is not reported in the above code.
CA1019 is reported in the above code.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Analyzer
Diagnostic ID: CA1019:
CA1019: Define accessors for attribute arguments
Analyzer source
SDK: .NET 8.0
Version: .NET 8.0
<LangVersion>preview</LangVersion>
Describe the bug
CA1019 looks for a property that matches the Name AND Type of the member. It should just look for the name and ignore the type.
Steps To Reproduce
Expected behavior
CA1019 is not reported in the above code.
Actual behavior
CA1019 is reported in the above code.
The text was updated successfully, but these errors were encountered: