2 references to System_Runtime_InteropServices_BestFitMappingAttribute
Microsoft.Interop.LibraryImportGenerator (2)
Analyzers\ConvertToLibraryImportAnalyzer.cs (2)
186
AttributeData? bestFitMappingContainingType = method.ContainingType.GetAttributes().FirstOrDefault(attr => attr.AttributeClass.ToDisplayString() == TypeNames.
System_Runtime_InteropServices_BestFitMappingAttribute
);
192
AttributeData? bestFitMappingContainingAssembly = method.ContainingAssembly.GetAttributes().FirstOrDefault(attr => attr.AttributeClass.ToDisplayString() == TypeNames.
System_Runtime_InteropServices_BestFitMappingAttribute
);