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