2 references to RemoveSetterRule
Microsoft.CodeAnalysis.NetAnalyzers (2)
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\DefineAccessorsForAttributeArguments.cs (2)
63
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(DefaultRule, IncreaseVisibilityRule,
RemoveSetterRule
);
205
return property.SetMethod!.Locations.CreateDiagnostic(
RemoveSetterRule
, new Dictionary<string, string?> { { "case", RemoveSetterCase } }.ToImmutableDictionary(), property.Name, parameter.Name);