4 types derived from InteropAttributeCompilationData
Microsoft.Interop.ComInterfaceGenerator (2)
GeneratedComInterfaceAttributeData.cs (1)
35internal sealed record GeneratedComInterfaceCompilationData : InteropAttributeCompilationData
VirtualMethodIndexData.cs (1)
38internal sealed record VirtualMethodIndexCompilationData(int Index) : InteropAttributeCompilationData
Microsoft.Interop.LibraryImportGenerator (1)
src\libraries\System.Runtime.InteropServices\gen\Common\LibraryImportData.cs (1)
31internal sealed record LibraryImportCompilationData(string ModuleName) : InteropAttributeCompilationData
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
src\libraries\System.Runtime.InteropServices\gen\Common\LibraryImportData.cs (1)
31internal sealed record LibraryImportCompilationData(string ModuleName) : InteropAttributeCompilationData
1 instantiation of InteropAttributeCompilationData
Microsoft.Interop.LibraryImportGenerator (1)
Analyzers\ConvertToLibraryImportAnalyzer.cs (1)
217InteropAttributeCompilationData interopData = new();
8 references to InteropAttributeCompilationData
Microsoft.Interop.LibraryImportGenerator (2)
Analyzers\ConvertToLibraryImportAnalyzer.cs (2)
215private static InteropAttributeCompilationData CreateInteropAttributeDataFromDllImport(DllImportData dllImportData) 217InteropAttributeCompilationData interopData = new();
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
DownlevelLibraryImportGeneratorHelpers.cs (1)
12public static MarshallingInfoParser CreateMarshallingInfoParser(StubEnvironment env, GeneratorDiagnosticsBag diagnostics, IMethodSymbol method, InteropAttributeCompilationData interopAttributeData)
Microsoft.Interop.SourceGeneration (5)
DefaultMarshallingInfoParser.cs (1)
32public static MarshallingInfoParser Create(StubEnvironment env, GeneratorDiagnosticsBag diagnostics, IMethodSymbol method, InteropAttributeCompilationData interopAttributeData, AttributeData unparsedAttributeData)
InteropAttributeData.cs (4)
55public static T WithValuesFromNamedArguments<T>(this T t, ImmutableDictionary<string, TypedConstant> namedArguments) where T : InteropAttributeCompilationData 62if (namedArguments.TryGetValue(nameof(InteropAttributeCompilationData.SetLastError), out TypedConstant setLastErrorValue)) 71if (namedArguments.TryGetValue(nameof(InteropAttributeCompilationData.StringMarshalling), out TypedConstant stringMarshallingValue)) 82if (namedArguments.TryGetValue(nameof(InteropAttributeCompilationData.StringMarshallingCustomType), out TypedConstant stringMarshallingCustomTypeValue))