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