5 references to Exception
Microsoft.Interop.JavaScript.JSImportGenerator (5)
JSGeneratorFactory.cs (4)
113
case KnownManagedType.
Exception
when jsType == JSTypeFlags.Error: return ResolvedGenerator.Resolved(new PrimitiveJSGenerator(info, context, MarshalerType.Exception));
127
case KnownManagedType.
Exception
when jsType == JSTypeFlags.Missing: return ResolvedGenerator.Resolved(new PrimitiveJSGenerator(info, context, MarshalerType.Exception));
185
case KnownManagedType.Task when jsType == JSTypeFlags.Promise && jsTypeArguments.Length == 1 && argumentTypes[0] == KnownManagedType.
Exception
&& jsTypeArguments[0] == JSTypeFlags.Error: return ResolvedGenerator.Resolved(new TaskJSGenerator(info, context, MarshalerType.Exception));
202
case KnownManagedType.Task when argumentTypes[0] == KnownManagedType.
Exception
&& jsType == JSTypeFlags.Missing: return ResolvedGenerator.Resolved(new TaskJSGenerator(info, context, MarshalerType.Exception));
JSManagedTypeInfo.cs (1)
81
return new JSSimpleTypeInfo(KnownManagedType.
Exception
)