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)
31
if (
_marshallers
.NativeReturnMarshaller.UsesNativeIdentifier)
53
_marshallers
,
71
_marshallers
,
92
var managedParameterMarshallers =
_marshallers
.ManagedParameterMarshallers;
115
VariableDeclarations declarations = VariableDeclarations.GenerateDeclarationsForUnmanagedToManaged(
_marshallers
, _context, shouldInitializeVariables);
155
if (!
_marshallers
.IsUnmanagedVoidReturn)
156
allStatements.Add(ReturnStatement(IdentifierName(_context.GetIdentifiers(
_marshallers
.NativeReturnMarshaller.TypeInfo).native)));
163
return
_marshallers
.GenerateTargetMethodSignatureData(_context);