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)
44if (_marshallers.ManagedReturnMarshaller.UsesNativeIdentifier) 61if (_marshallers.ManagedReturnMarshaller.TypeInfo.MarshallingAttributeInfo is JSMarshallingInfo(_, JSTaskTypeInfo)) 63IBoundMarshallingGenerator spanArg = _marshallers.SignatureMarshallers.FirstOrDefault(m => m.TypeInfo.MarshallingAttributeInfo is JSMarshallingInfo(_, JSSpanTypeInfo)); 77GeneratedStatements statements = GeneratedStatements.Create(_marshallers, _context); 79VariableDeclarations declarations = VariableDeclarations.GenerateDeclarationsForManagedToUnmanaged(_marshallers, _context, shouldInitializeVariables); 129if (!_marshallers.IsManagedVoidReturn) 130allStatements.Add(ReturnStatement(IdentifierName(_context.GetIdentifiers(_marshallers.ManagedReturnMarshaller.TypeInfo).managed))); 158IEnumerable<ExpressionSyntax> types = _marshallers.ManagedReturnMarshaller is IJSMarshallingGenerator jsGen ? jsGen.GenerateBind() : []; 160.Concat(_marshallers.NativeParameterMarshallers.OfType<IJSMarshallingGenerator>().SelectMany(p => p.GenerateBind())); 175LiteralExpression(SyntaxKind.NumericLiteralExpression, Literal(2 + _marshallers.NativeParameterMarshallers.Length))))))))))))); 209return _marshallers.GenerateTargetMethodSignatureData(_context);