4 references to RuleCA2101
Microsoft.CodeAnalysis.NetAnalyzers (4)
Microsoft.NetCore.Analyzers\InteropServices\PInvokeDiagnosticAnalyzer.cs (4)
48
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(RuleCA1401,
RuleCA2101
);
149
context.ReportDiagnostic(Diagnostic.Create(
RuleCA2101
, marshalAsLocation));
155
context.ReportDiagnostic(Diagnostic.Create(
RuleCA2101
, defaultLocation));
165
context.ReportDiagnostic(Diagnostic.Create(
RuleCA2101
, defaultLocation));