1 write to StringMarshallingCustomType
Microsoft.Interop.SourceGeneration (1)
InteropAttributeData.cs (1)
96StringMarshallingCustomType = stringMarshallingCustomType
16 references to StringMarshallingCustomType
Microsoft.Interop.ComInterfaceGenerator (5)
ComInterfaceInfo.cs (1)
224if (!attrSymbolInfo.StringMarshallingCustomType.IsAccessibleFromFileScopedClass(out var details))
GeneratedComInterfaceAttributeData.cs (2)
24StringMarshallingCustomType = generatedComInterfaceAttr.StringMarshallingCustomType is not null 25? ManagedTypeInfo.CreateTypeInfoForTypeSymbol(generatedComInterfaceAttr.StringMarshallingCustomType)
VtableIndexStubGenerator.cs (2)
236if (virtualMethodIndexData.StringMarshalling == StringMarshalling.Custom && virtualMethodIndexData.StringMarshallingCustomType is null) 243if (virtualMethodIndexData.StringMarshalling != StringMarshalling.Custom && virtualMethodIndexData.StringMarshallingCustomType is not null)
Microsoft.Interop.LibraryImportGenerator (4)
Analyzers\LibraryImportDiagnosticsAnalyzer.cs (2)
180if (libraryImportData.StringMarshalling == StringMarshalling.Custom && libraryImportData.StringMarshallingCustomType is null) 187if (libraryImportData.StringMarshalling != StringMarshalling.Custom && libraryImportData.StringMarshallingCustomType is not null)
src\libraries\System.Runtime.InteropServices\gen\Common\LibraryImportData.cs (2)
21StringMarshallingCustomType = libraryImport.StringMarshallingCustomType is not null 22? ManagedTypeInfo.CreateTypeInfoForTypeSymbol(libraryImport.StringMarshallingCustomType)
Microsoft.Interop.LibraryImportGenerator.Downlevel (5)
DownlevelLibraryImportDiagnosticsAnalyzer.cs (2)
178if (libraryImportData.StringMarshalling == StringMarshalling.Custom && libraryImportData.StringMarshallingCustomType is null) 185if (libraryImportData.StringMarshalling != StringMarshalling.Custom && libraryImportData.StringMarshallingCustomType is not null)
DownlevelLibraryImportGeneratorHelpers.cs (1)
31var defaultInfo = new DefaultMarshallingInfo(defaultEncoding, interopAttributeData.StringMarshallingCustomType);
src\libraries\System.Runtime.InteropServices\gen\Common\LibraryImportData.cs (2)
21StringMarshallingCustomType = libraryImport.StringMarshallingCustomType is not null 22? ManagedTypeInfo.CreateTypeInfoForTypeSymbol(libraryImport.StringMarshallingCustomType)
Microsoft.Interop.SourceGeneration (2)
DefaultMarshallingInfoParser.cs (1)
51var defaultInfo = new DefaultMarshallingInfo(defaultEncoding, interopAttributeData.StringMarshallingCustomType);
InteropAttributeData.cs (1)
82if (namedArguments.TryGetValue(nameof(InteropAttributeCompilationData.StringMarshallingCustomType), out TypedConstant stringMarshallingCustomTypeValue))