7 references to DateTime
Microsoft.Interop.JavaScript.JSImportGenerator (7)
JSGeneratorFactory.cs (6)
111
case KnownManagedType.
DateTime
when jsType == JSTypeFlags.Date: return ResolvedGenerator.Resolved(new PrimitiveJSGenerator(info, context, MarshalerType.DateTime));
133
case KnownManagedType.
DateTime
when jsType == JSTypeFlags.Missing:
149
case KnownManagedType.Nullable when argumentTypes[0] == KnownManagedType.
DateTime
&& jsType == JSTypeFlags.Date: return ResolvedGenerator.Resolved(new NullableJSGenerator(info, context, MarshalerType.DateTime));
164
case KnownManagedType.Nullable when argumentTypes[0] == KnownManagedType.
DateTime
&& jsType == JSTypeFlags.Missing:
186
case KnownManagedType.Task when jsType == JSTypeFlags.Promise && jsTypeArguments.Length == 1 && argumentTypes[0] == KnownManagedType.
DateTime
&& jsTypeArguments[0] == JSTypeFlags.Date: return ResolvedGenerator.Resolved(new TaskJSGenerator(info, context, MarshalerType.DateTime));
206
case KnownManagedType.Task when argumentTypes[0] == KnownManagedType.
DateTime
&& jsType == JSTypeFlags.Missing:
JSManagedTypeInfo.cs (1)
71
return new JSSimpleTypeInfo(KnownManagedType.
DateTime
)