1 write to ManagedReturnMarshaller
Microsoft.Interop.SourceGeneration (1)
BoundGenerators.cs (1)
125ManagedReturnMarshaller = managedReturnMarshaller,
16 references to ManagedReturnMarshaller
Microsoft.Interop.JavaScript.JSImportGenerator (8)
JSExportCodeGenerator.cs (4)
37if (_marshallers.ManagedReturnMarshaller.UsesNativeIdentifier) 54if (_marshallers.ManagedReturnMarshaller.TypeInfo.MarshallingAttributeInfo is JSMarshallingInfo(_, JSTaskTypeInfo)) 166IEnumerable<ExpressionSyntax> types = _marshallers.ManagedReturnMarshaller is IJSMarshallingGenerator jsGen ? jsGen.GenerateBind() : []; 219(string _, string nativeIdentifier) = _context.GetIdentifiers(_marshallers.ManagedReturnMarshaller.TypeInfo);
JSImportCodeGenerator.cs (4)
44if (_marshallers.ManagedReturnMarshaller.UsesNativeIdentifier) 61if (_marshallers.ManagedReturnMarshaller.TypeInfo.MarshallingAttributeInfo is JSMarshallingInfo(_, JSTaskTypeInfo)) 130allStatements.Add(ReturnStatement(IdentifierName(_context.GetIdentifiers(_marshallers.ManagedReturnMarshaller.TypeInfo).managed))); 158IEnumerable<ExpressionSyntax> types = _marshallers.ManagedReturnMarshaller is IJSMarshallingGenerator jsGen ? jsGen.GenerateBind() : [];
Microsoft.Interop.SourceGeneration (8)
BoundGenerators.cs (2)
185public bool ManagedNativeSameReturn => ManagedReturnMarshaller.TypeInfo.IsNativeReturnPosition; 187public bool IsManagedVoidReturn => ManagedReturnMarshaller.TypeInfo.ManagedType == SpecialTypeInfo.Void;
GeneratedStatements.cs (2)
140if (marshallers.ManagedReturnMarshaller.TypeInfo.ManagedType == SpecialTypeInfo.Void) 148IdentifierName(context.GetIdentifiers(marshallers.ManagedReturnMarshaller.TypeInfo).managed),
ManagedToNativeStubGenerator.cs (2)
63if (_marshallers.ManagedReturnMarshaller.UsesNativeIdentifier) 191allStatements.Add(ReturnStatement(IdentifierName(_context.GetIdentifiers(_marshallers.ManagedReturnMarshaller.TypeInfo).managed)));
VariableDeclarations.cs (2)
40AppendVariableDeclarations(variables, marshallers.ManagedReturnMarshaller, context, initializeToDefault: initializeDeclarations); 97AppendVariableDeclarations(variables, marshallers.ManagedReturnMarshaller, context, initializeToDefault: initializeDeclarations);