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)
37if (_marshallers.ManagedReturnMarshaller.UsesNativeIdentifier) 54if (_marshallers.ManagedReturnMarshaller.TypeInfo.MarshallingAttributeInfo is JSMarshallingInfo(_, JSTaskTypeInfo)) 56IBoundMarshallingGenerator spanArg = _marshallers.SignatureMarshallers.FirstOrDefault(m => m.TypeInfo.MarshallingAttributeInfo is JSMarshallingInfo(_, JSSpanTypeInfo)); 70GeneratedStatements statements = GeneratedStatements.Create(_marshallers, _context); 72VariableDeclarations declarations = VariableDeclarations.GenerateDeclarationsForUnmanagedToManaged(_marshallers, _context, shouldInitializeVariables); 166IEnumerable<ExpressionSyntax> types = _marshallers.ManagedReturnMarshaller is IJSMarshallingGenerator jsGen ? jsGen.GenerateBind() : []; 168.Concat(_marshallers.NativeParameterMarshallers.OfType<IJSMarshallingGenerator>().SelectMany(p => p.GenerateBind())); 177foreach (IBoundMarshallingGenerator marshaller in _marshallers.NativeParameterMarshallers) 202foreach (IBoundMarshallingGenerator marshaller in _marshallers.NativeParameterMarshallers) 209if (_marshallers.IsManagedVoidReturn) 219(string _, string nativeIdentifier) = _context.GetIdentifiers(_marshallers.ManagedReturnMarshaller.TypeInfo); 233return _marshallers.GenerateTargetMethodSignatureData(_context);