13 references to Write
Microsoft.Interop.ComInterfaceGenerator (3)
ComInterfaceGenerator.cs (2)
866
writer.
Write
($"new {(isUnsafe ? "unsafe " : "")}{sigContext.StubReturnType} {methodName}");
867
writer.
Write
($"({string.Join(", ", sigContext.StubParameters)})");
GeneratedStubCodeContext.cs (1)
45
writer.
Write
($"{(Modifiers.Length == 0 ? "" : Modifiers + " ")}{Signature.ReturnType} {qualifier}{Identifier}{Signature.ParameterList}");
Microsoft.Interop.JavaScript.JSImportGenerator (4)
JSExportGenerator.cs (2)
234
writer.
Write
($"{innerWrapperName}(");
243
writer.
Write
($"{Constants.ArgumentsBuffer}[{nativeArgument.NativeIndex + 2}], ");
Marshaling\FuncJSGenerator.cs (1)
38
writer.
Write
($"{js}.{method}({(toManaged ? "out " : "")}{managed}");
Marshaling\TaskJSGenerator.cs (1)
36
writer.
Write
($"{js}.{method}({(toManaged ? "out " : "")}{managed}");
Microsoft.Interop.SourceGeneration (6)
ContainingSyntaxContext.cs (1)
88
writer.
Write
($"{syntax.Keyword} ");
MarshalAsParser.cs (5)
33
writer.
Write
($"{TypeNames.GlobalAlias}{TypeNames.System_Runtime_InteropServices_MarshalAsAttribute}(({TypeNames.GlobalAlias}{TypeNames.System_Runtime_InteropServices_UnmanagedType}){(int)unmanagedType}");
71
writer.
Write
($", {nameof(MarshalAsAttribute.IidParameterIndex)} = {paramIndex}");
98
writer.
Write
($", {nameof(ArraySubType)} = ({TypeNames.GlobalAlias}{TypeNames.System_Runtime_InteropServices_UnmanagedType}){(int)ArraySubType}");
105
writer.
Write
($", {nameof(MarshalAsAttribute.SizeConst)} = {sizeParamIndex.ConstSize}");
109
writer.
Write
($", {nameof(MarshalAsAttribute.SizeParamIndex)} = {paramIndex}");