1 write to NativeReturnMarshaller
Microsoft.Interop.SourceGeneration (1)
BoundGenerators.cs (1)
126
NativeReturnMarshaller
= nativeReturnMarshaller,
10 references to NativeReturnMarshaller
Microsoft.Interop.ComInterfaceGenerator (2)
UnmanagedToManagedStubGenerator.cs (2)
31
if (_marshallers.
NativeReturnMarshaller
.UsesNativeIdentifier)
103
allStatements.Add(ReturnStatement(IdentifierName(_context.GetIdentifiers(_marshallers.
NativeReturnMarshaller
.TypeInfo).native)));
Microsoft.Interop.SourceGeneration (8)
BoundGenerators.cs (3)
180
NativeReturnMarshaller
.AsReturnType(),
181
NativeReturnMarshaller
.GenerateAttributesForReturnType()
189
public bool IsUnmanagedVoidReturn =>
NativeReturnMarshaller
.TypeInfo.ManagedType == SpecialTypeInfo.Void;
GeneratedStatements.cs (3)
106
if (marshallers.
NativeReturnMarshaller
.TypeInfo.ManagedType == SpecialTypeInfo.Void)
111
var (managed, native) = context.GetIdentifiers(marshallers.
NativeReturnMarshaller
.TypeInfo);
113
string targetIdentifier = marshallers.
NativeReturnMarshaller
.UsesNativeIdentifier
VariableDeclarations.cs (2)
46
AppendVariableDeclarations(variables, marshallers.
NativeReturnMarshaller
, context, initializeToDefault: initializeDeclarations);
103
AppendVariableDeclarations(variables, marshallers.
NativeReturnMarshaller
, context, initializeToDefault: initializeDeclarations);