2 references to InvalidPinvokeCall
Microsoft.DotNet.CodeAnalysis (2)
Analyzers\PinvokeAnalyzer.cs (2)
26
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get { return ImmutableArray.Create(
InvalidPinvokeCall
); } }
163
context.ReportDiagnostic(Diagnostic.Create(
InvalidPinvokeCall
, synref.GetSyntax().GetLocation(), data.ModuleName + "!" + (data.EntryPointName ?? methodSymbol.Name), altMsg));