10 references to LibraryImportAttribute
Microsoft.Interop.LibraryImportGenerator (6)
Analyzers\ConvertToLibraryImportAnalyzer.cs (1)
55
INamedTypeSymbol? libraryImportAttrType = context.Compilation.GetBestTypeByMetadataName(TypeNames.
LibraryImportAttribute
);
Analyzers\ConvertToLibraryImportFixer.cs (1)
210
INamedTypeSymbol libraryImportAttrType = editor.SemanticModel.Compilation.GetBestTypeByMetadataName(TypeNames.
LibraryImportAttribute
)!;
LibraryImportGenerator.cs (4)
45
TypeNames.
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)
44
TypeNames.
LibraryImportAttribute
,
176
&& attr.AttributeClass.ToDisplayString() == TypeNames.
LibraryImportAttribute
)
287
$"{nameof(TypeNames.
LibraryImportAttribute
)}{Type.Delimiter}{nameof(StringMarshalling)}",
Microsoft.Interop.SourceGeneration (1)
TypeNames.cs (1)
17
public static NameSyntax LibraryImportAttribute => _LibraryImportAttribute ??= ParseName(TypeNames.GlobalAlias + TypeNames.
LibraryImportAttribute
);