1 write to _marshallers
Microsoft.Interop.SourceGeneration (1)
ManagedToNativeStubGenerator.cs (1)
39_marshallers = BoundGenerators.Create(argTypes, generatorResolver, StubCodeContext.DefaultManagedToNativeStub, new Forwarder(), out var bindingDiagnostics);
8 references to _marshallers
Microsoft.Interop.SourceGeneration (8)
ManagedToNativeStubGenerator.cs (8)
48if (_marshallers.ManagedReturnMarshaller.UsesNativeIdentifier) 74foreach (IBoundMarshallingGenerator generator in _marshallers.SignatureMarshallers) 83&& _marshallers.ManagedNativeSameReturn 118GeneratedStatements statements = GeneratedStatements.Create(_marshallers, StubCodeContext.DefaultManagedToNativeStub, _context, targetIdentifier); 120VariableDeclarations declarations = VariableDeclarations.GenerateDeclarationsForManagedToUnmanaged(_marshallers, _context, shouldInitializeVariables); 181if (!_marshallers.IsManagedVoidReturn) 183writer.WriteLine($"return {_context.GetIdentifiers(_marshallers.ManagedReturnMarshaller.TypeInfo).managed};"); 227return _marshallers.GenerateTargetMethodSignatureData(_context);