10 references to LibraryImportAttribute
Microsoft.Interop.LibraryImportGenerator (5)
Analyzers\ConvertToLibraryImportAnalyzer.cs (1)
55INamedTypeSymbol? libraryImportAttrType = context.Compilation.GetBestTypeByMetadataName(TypeNames.LibraryImportAttribute);
Analyzers\ConvertToLibraryImportFixer.cs (1)
210INamedTypeSymbol libraryImportAttrType = editor.SemanticModel.Compilation.GetBestTypeByMetadataName(TypeNames.LibraryImportAttribute)!;
Analyzers\LibraryImportDiagnosticsAnalyzer.cs (1)
55INamedTypeSymbol? libraryImportAttrType = context.Compilation.GetBestTypeByMetadataName(TypeNames.LibraryImportAttribute);
LibraryImportGenerator.cs (2)
45TypeNames.LibraryImportAttribute, 219&& attr.AttributeClass.ToDisplayString() == TypeNames.LibraryImportAttribute)
Microsoft.Interop.LibraryImportGenerator.Downlevel (4)
DownlevelLibraryImportDiagnosticsAnalyzer.cs (2)
49INamedTypeSymbol? libraryImportAttrType = context.Compilation.GetBestTypeByMetadataName(TypeNames.LibraryImportAttribute); 233$"{nameof(TypeNames.LibraryImportAttribute)}{Type.Delimiter}{nameof(StringMarshalling)}",
DownlevelLibraryImportGenerator.cs (2)
44TypeNames.LibraryImportAttribute, 162&& attr.AttributeClass.ToDisplayString() == TypeNames.LibraryImportAttribute)
Microsoft.Interop.SourceGeneration (1)
TypeNames.cs (1)
17public static NameSyntax LibraryImportAttribute => _LibraryImportAttribute ??= ParseName(TypeNames.GlobalAlias + TypeNames.LibraryImportAttribute);