1 write to _marshallers
Microsoft.Interop.SourceGeneration (1)
ManagedToNativeStubGenerator.cs (1)
59_marshallers = BoundGenerators.Create(argTypes, generatorResolver, StubCodeContext.DefaultManagedToNativeStub, new Forwarder(), out var bindingDiagnostics);
8 references to _marshallers
Microsoft.Interop.SourceGeneration (8)
ManagedToNativeStubGenerator.cs (8)
63if (_marshallers.ManagedReturnMarshaller.UsesNativeIdentifier) 81foreach (IBoundMarshallingGenerator generator in _marshallers.SignatureMarshallers) 92&& _marshallers.ManagedNativeSameReturn 111GeneratedStatements statements = GeneratedStatements.Create(_marshallers, StubCodeContext.DefaultManagedToNativeStub, _context, IdentifierName(targetIdentifier)); 113VariableDeclarations declarations = VariableDeclarations.GenerateDeclarationsForManagedToUnmanaged(_marshallers, _context, shouldInitializeVariables); 190if (!_marshallers.IsManagedVoidReturn) 191allStatements.Add(ReturnStatement(IdentifierName(_context.GetIdentifiers(_marshallers.ManagedReturnMarshaller.TypeInfo).managed))); 198return _marshallers.GenerateTargetMethodSignatureData(_context);