8 references to Action
Microsoft.Interop.JavaScript.JSImportGenerator (8)
JSGeneratorFactory.cs (7)
268
case KnownManagedType.
Action
when jsType == JSTypeFlags.Function && jsTypeArguments.Length == argumentTypes.Length:
278
|| argumentTypes[i] == KnownManagedType.
Action
287
var maxArgs = marshaledType == KnownManagedType.
Action
? 3 : 4;
293
return ResolvedGenerator.Resolved(new FuncJSGenerator(info, context, marshaledType == KnownManagedType.
Action
, argsMarshallerTypes));
294
case KnownManagedType.
Action
when jsType == JSTypeFlags.Function:
300
case KnownManagedType.
Action
when jsType == JSTypeFlags.Missing:
308
|| argumentTypes[i] == KnownManagedType.
Action
JSManagedTypeInfo.cs (1)
197
internal sealed record JSFunctionTypeInfo(bool IsAction, JSSimpleTypeInfo[] ArgsTypeInfo) : JSTypeInfo(IsAction ? KnownManagedType.
Action
: KnownManagedType.Function);