2 references to GetAttributeLocation
Microsoft.CodeAnalysis.NetAnalyzers (2)
Microsoft.NetCore.Analyzers\InteropServices\PInvokeDiagnosticAnalyzer.cs (2)
120
Location? defaultLocation = dllAttribute == null ? methodSymbol.Locations.FirstOrDefault() :
GetAttributeLocation
(dllAttribute);
148
Location? marshalAsLocation =
GetAttributeLocation
(marshalAsAttribute);