2 writes to StringMarshalling
Microsoft.Interop.LibraryImportGenerator (1)
Analyzers\ConvertToLibraryImportAnalyzer.cs (1)
225interopData = interopData with { IsUserDefined = interopData.IsUserDefined | InteropAttributeMember.StringMarshalling, StringMarshalling = StringMarshalling.Utf16 };
Microsoft.Interop.SourceGeneration (1)
InteropAttributeData.cs (1)
95StringMarshalling = stringMarshalling,
11 references to StringMarshalling
Microsoft.Interop.ComInterfaceGenerator (4)
GeneratedComInterfaceAttributeData.cs (1)
23StringMarshalling = generatedComInterfaceAttr.StringMarshalling,
VirtualMethodIndexData.cs (1)
30StringMarshalling = virtualMethodIndex.StringMarshalling
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 (3)
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 (1)
20StringMarshalling = libraryImport.StringMarshalling,
Microsoft.Interop.LibraryImportGenerator.Downlevel (2)
DownlevelLibraryImportGeneratorHelpers.cs (1)
18defaultEncoding = interopAttributeData.StringMarshalling switch
src\libraries\System.Runtime.InteropServices\gen\Common\LibraryImportData.cs (1)
20StringMarshalling = libraryImport.StringMarshalling,
Microsoft.Interop.SourceGeneration (2)
DefaultMarshallingInfoParser.cs (1)
38defaultEncoding = interopAttributeData.StringMarshalling switch
InteropAttributeData.cs (1)
71if (namedArguments.TryGetValue(nameof(InteropAttributeCompilationData.StringMarshalling), out TypedConstant stringMarshallingValue))