2 references to NoAutoPropertyRule
Roslyn.Diagnostics.Analyzers (2)
AbstractDoNotCopyValue.cs (2)
131
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(Rule, UnsupportedUseRule, NoBoxingRule, NoUnboxingRule, NoFieldOfCopyableTypeRule,
NoAutoPropertyRule
);
342
_context.ReportDiagnostic(symbol.CreateDiagnostic(
NoAutoPropertyRule
, symbol.Type, symbol));