1 write to StringMarshallingCustomType
Microsoft.Interop.SourceGeneration (1)
InteropAttributeData.cs (1)
96StringMarshallingCustomType = stringMarshallingCustomType
14 references to StringMarshallingCustomType
Microsoft.Interop.ComInterfaceGenerator (5)
ComInterfaceInfo.cs (1)
213if (!attrSymbolInfo.StringMarshallingCustomType.IsAccessibleFromFileScopedClass(out var details))
GeneratedComInterfaceAttributeData.cs (2)
24StringMarshallingCustomType = generatedComInterfaceAttr.StringMarshallingCustomType is not null 25? ManagedTypeInfo.CreateTypeInfoForTypeSymbol(generatedComInterfaceAttr.StringMarshallingCustomType)
VtableIndexStubGenerator.cs (2)
251if (virtualMethodIndexData.StringMarshalling == StringMarshalling.Custom && virtualMethodIndexData.StringMarshallingCustomType is null) 258if (virtualMethodIndexData.StringMarshalling != StringMarshalling.Custom && virtualMethodIndexData.StringMarshallingCustomType is not null)
Microsoft.Interop.LibraryImportGenerator (4)
LibraryImportGenerator.cs (2)
280if (libraryImportData.StringMarshalling == StringMarshalling.Custom && libraryImportData.StringMarshallingCustomType is null) 287if (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 (3)
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))