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)
63
if (
_marshallers
.ManagedReturnMarshaller.UsesNativeIdentifier)
81
foreach (IBoundMarshallingGenerator generator in
_marshallers
.SignatureMarshallers)
92
&&
_marshallers
.ManagedNativeSameReturn
111
GeneratedStatements statements = GeneratedStatements.Create(
_marshallers
, StubCodeContext.DefaultManagedToNativeStub, _context, IdentifierName(targetIdentifier));
113
VariableDeclarations declarations = VariableDeclarations.GenerateDeclarationsForManagedToUnmanaged(
_marshallers
, _context, shouldInitializeVariables);
190
if (!
_marshallers
.IsManagedVoidReturn)
191
allStatements.Add(ReturnStatement(IdentifierName(_context.GetIdentifiers(
_marshallers
.ManagedReturnMarshaller.TypeInfo).managed)));
198
return
_marshallers
.GenerateTargetMethodSignatureData(_context);