5 references to JSMarshalerArgumentGlobal
Microsoft.Interop.JavaScript.JSImportGenerator (5)
JSExportGenerator.cs (1)
214
writer.WriteLine($"internal static unsafe void {context.SignatureContext.WrapperName}({Constants.
JSMarshalerArgumentGlobal
}* {Constants.ArgumentsBuffer})");
JSImportGenerator.cs (2)
221
writer.WriteLine($"{(hasReturn ? Constants.
JSMarshalerArgumentGlobal
: "void")} {functionName}{signature.ParameterList}");
226
writer.WriteLine($"{Constants.SpanGlobal}<{Constants.
JSMarshalerArgumentGlobal
}> {Constants.ArgumentsBuffer} = {arguments};");
Marshaling\BaseJSGenerator.cs (2)
10
private static readonly ValueTypeInfo s_jsMarshalerArgument = new(Constants.
JSMarshalerArgumentGlobal
, Constants.JSMarshalerArgument, IsByRefLike: false);
62
writer.WriteLine($"static (ref {Constants.
JSMarshalerArgumentGlobal
} {argumentIdentifier}, {modifier}{sourceType} {managedIdentifier}) =>");