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