1 write to _marshallers
Microsoft.Interop.JavaScript.JSImportGenerator (1)
JSImportCodeGenerator.cs (1)
40
_marshallers
= BoundGenerators.Create(argTypes, generatorResolver, StubCodeContext.DefaultManagedToNativeStub, new EmptyJSGenerator(), out var bindingFailures);
11 references to _marshallers
Microsoft.Interop.JavaScript.JSImportGenerator (11)
JSImportCodeGenerator.cs (11)
44
if (
_marshallers
.ManagedReturnMarshaller.UsesNativeIdentifier)
61
if (
_marshallers
.ManagedReturnMarshaller.TypeInfo.MarshallingAttributeInfo is JSMarshallingInfo(_, JSTaskTypeInfo))
63
IBoundMarshallingGenerator spanArg =
_marshallers
.SignatureMarshallers.FirstOrDefault(m => m.TypeInfo.MarshallingAttributeInfo is JSMarshallingInfo(_, JSSpanTypeInfo));
77
GeneratedStatements statements = GeneratedStatements.Create(
_marshallers
, _context);
79
VariableDeclarations declarations = VariableDeclarations.GenerateDeclarationsForManagedToUnmanaged(
_marshallers
, _context, shouldInitializeVariables);
129
if (!
_marshallers
.IsManagedVoidReturn)
130
allStatements.Add(ReturnStatement(IdentifierName(_context.GetIdentifiers(
_marshallers
.ManagedReturnMarshaller.TypeInfo).managed)));
158
IEnumerable<ExpressionSyntax> types =
_marshallers
.ManagedReturnMarshaller is IJSMarshallingGenerator jsGen ? jsGen.GenerateBind() : [];
160
.Concat(
_marshallers
.NativeParameterMarshallers.OfType<IJSMarshallingGenerator>().SelectMany(p => p.GenerateBind()));
175
LiteralExpression(SyntaxKind.NumericLiteralExpression, Literal(2 +
_marshallers
.NativeParameterMarshallers.Length)))))))))))));
209
return
_marshallers
.GenerateTargetMethodSignatureData(_context);