1 write to _marshallers
Microsoft.Interop.SourceGeneration (1)
UnmanagedToManagedStubGenerator.cs (1)
27_marshallers = BoundGenerators.Create(argTypes, generatorResolver, StubCodeContext.DefaultNativeToManagedStub, new Forwarder(), out var bindingDiagnostics);
8 references to _marshallers
Microsoft.Interop.SourceGeneration (8)
UnmanagedToManagedStubGenerator.cs (8)
31if (_marshallers.NativeReturnMarshaller.UsesNativeIdentifier) 53_marshallers, 71_marshallers, 92var managedParameterMarshallers = _marshallers.ManagedParameterMarshallers; 115VariableDeclarations declarations = VariableDeclarations.GenerateDeclarationsForUnmanagedToManaged(_marshallers, _context, shouldInitializeVariables); 155if (!_marshallers.IsUnmanagedVoidReturn) 156allStatements.Add(ReturnStatement(IdentifierName(_context.GetIdentifiers(_marshallers.NativeReturnMarshaller.TypeInfo).native))); 163return _marshallers.GenerateTargetMethodSignatureData(_context);