10 references to LibraryImportAttribute
Microsoft.Interop.LibraryImportGenerator (6)
Analyzers\ConvertToLibraryImportAnalyzer.cs (1)
55INamedTypeSymbol? libraryImportAttrType = context.Compilation.GetBestTypeByMetadataName(TypeNames.LibraryImportAttribute);
Analyzers\ConvertToLibraryImportFixer.cs (1)
210INamedTypeSymbol libraryImportAttrType = editor.SemanticModel.Compilation.GetBestTypeByMetadataName(TypeNames.LibraryImportAttribute)!;
LibraryImportGenerator.cs (4)
45TypeNames.LibraryImportAttribute, 241&& attr.AttributeClass.ToDisplayString() == TypeNames.LibraryImportAttribute) 394$"{nameof(TypeNames.LibraryImportAttribute)}{Type.Delimiter}{nameof(StringMarshalling)}", 408$"{nameof(TypeNames.LibraryImportAttribute)}{Type.Delimiter}{nameof(InteropAttributeMember.StringMarshallingCustomType)}");
Microsoft.Interop.LibraryImportGenerator.Downlevel (3)
DownlevelLibraryImportGenerator.cs (3)
44TypeNames.LibraryImportAttribute, 176&& attr.AttributeClass.ToDisplayString() == TypeNames.LibraryImportAttribute) 287$"{nameof(TypeNames.LibraryImportAttribute)}{Type.Delimiter}{nameof(StringMarshalling)}",
Microsoft.Interop.SourceGeneration (1)
TypeNames.cs (1)
17public static NameSyntax LibraryImportAttribute => _LibraryImportAttribute ??= ParseName(TypeNames.GlobalAlias + TypeNames.LibraryImportAttribute);