1 write to _marshallers
Microsoft.Interop.SourceGeneration (1)
UnmanagedToManagedStubGenerator.cs (1)
21
_marshallers
= BoundGenerators.Create(argTypes, generatorResolver, StubCodeContext.DefaultNativeToManagedStub, new Forwarder(), out var bindingDiagnostics);
8 references to _marshallers
Microsoft.Interop.SourceGeneration (8)
UnmanagedToManagedStubGenerator.cs (8)
25
if (
_marshallers
.NativeReturnMarshaller.UsesNativeIdentifier)
41
_marshallers
,
54
GeneratedStatements statements = GeneratedStatements.CreateForProperty(
_marshallers
, _context, propertyAccess, isSetter);
64
ImmutableArray<IBoundMarshallingGenerator> parameters =
_marshallers
.ManagedParameterMarshallers;
80
VariableDeclarations declarations = VariableDeclarations.GenerateDeclarationsForUnmanagedToManaged(
_marshallers
, _context, shouldInitializeVariables);
111
if (!
_marshallers
.IsUnmanagedVoidReturn)
113
writer.WriteLine($"return {_context.GetIdentifiers(
_marshallers
.NativeReturnMarshaller.TypeInfo).native};");
133
return
_marshallers
.GenerateTargetMethodSignatureData(_context);