7 references to Function
Microsoft.Interop.JavaScript.JSImportGenerator (7)
JSGeneratorFactory.cs (6)
267
case KnownManagedType.
Function
when jsType == JSTypeFlags.Function && jsTypeArguments.Length == argumentTypes.Length:
272
var isReturn = marshaledType == KnownManagedType.
Function
&& i == jsTypeArguments.Length - 1;
277
|| argumentTypes[i] == KnownManagedType.
Function
295
case KnownManagedType.
Function
when jsType == JSTypeFlags.Function:
299
case KnownManagedType.
Function
when jsType == JSTypeFlags.Missing:
307
|| argumentTypes[i] == KnownManagedType.
Function
JSManagedTypeInfo.cs (1)
197
internal sealed record JSFunctionTypeInfo(bool IsAction, JSSimpleTypeInfo[] ArgsTypeInfo) : JSTypeInfo(IsAction ? KnownManagedType.Action : KnownManagedType.
Function
);