1 write to _marshallers
Microsoft.Interop.JavaScript.JSImportGenerator (1)
JSExportCodeGenerator.cs (1)
33
_marshallers
= BoundGenerators.Create(argTypes, generatorResolver, StubCodeContext.DefaultNativeToManagedStub, new EmptyJSGenerator(), out var bindingFailures);
12 references to _marshallers
Microsoft.Interop.JavaScript.JSImportGenerator (12)
JSExportCodeGenerator.cs (12)
37
if (
_marshallers
.ManagedReturnMarshaller.UsesNativeIdentifier)
54
if (
_marshallers
.ManagedReturnMarshaller.TypeInfo.MarshallingAttributeInfo is JSMarshallingInfo(_, JSTaskTypeInfo))
56
IBoundMarshallingGenerator spanArg =
_marshallers
.SignatureMarshallers.FirstOrDefault(m => m.TypeInfo.MarshallingAttributeInfo is JSMarshallingInfo(_, JSSpanTypeInfo));
70
GeneratedStatements statements = GeneratedStatements.Create(
_marshallers
, _context);
72
VariableDeclarations declarations = VariableDeclarations.GenerateDeclarationsForUnmanagedToManaged(
_marshallers
, _context, shouldInitializeVariables);
166
IEnumerable<ExpressionSyntax> types =
_marshallers
.ManagedReturnMarshaller is IJSMarshallingGenerator jsGen ? jsGen.GenerateBind() : [];
168
.Concat(
_marshallers
.NativeParameterMarshallers.OfType<IJSMarshallingGenerator>().SelectMany(p => p.GenerateBind()));
177
foreach (IBoundMarshallingGenerator marshaller in
_marshallers
.NativeParameterMarshallers)
202
foreach (IBoundMarshallingGenerator marshaller in
_marshallers
.NativeParameterMarshallers)
209
if (
_marshallers
.IsManagedVoidReturn)
219
(string _, string nativeIdentifier) = _context.GetIdentifiers(
_marshallers
.ManagedReturnMarshaller.TypeInfo);
233
return
_marshallers
.GenerateTargetMethodSignatureData(_context);