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)
312if (virtualMethodIndexData.StringMarshalling == StringMarshalling.Custom && virtualMethodIndexData.StringMarshallingCustomType is null) 319if (virtualMethodIndexData.StringMarshalling != StringMarshalling.Custom && virtualMethodIndexData.StringMarshallingCustomType is not null)
Microsoft.Interop.LibraryImportGenerator (4)
Analyzers\LibraryImportDiagnosticsAnalyzer.cs (2)
225if (libraryImportData.StringMarshalling == StringMarshalling.Custom && libraryImportData.StringMarshallingCustomType is null) 232if (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)
223if (libraryImportData.StringMarshalling == StringMarshalling.Custom && libraryImportData.StringMarshallingCustomType is null) 230if (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))