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)
25if (_marshallers.NativeReturnMarshaller.UsesNativeIdentifier) 41_marshallers, 54GeneratedStatements statements = GeneratedStatements.CreateForProperty(_marshallers, _context, propertyAccess, isSetter); 64ImmutableArray<IBoundMarshallingGenerator> parameters = _marshallers.ManagedParameterMarshallers; 80VariableDeclarations declarations = VariableDeclarations.GenerateDeclarationsForUnmanagedToManaged(_marshallers, _context, shouldInitializeVariables); 111if (!_marshallers.IsUnmanagedVoidReturn) 113writer.WriteLine($"return {_context.GetIdentifiers(_marshallers.NativeReturnMarshaller.TypeInfo).native};"); 133return _marshallers.GenerateTargetMethodSignatureData(_context);