7 references to DateTimeOffset
Microsoft.Interop.JavaScript.JSImportGenerator (7)
JSGeneratorFactory.cs (6)
112
case KnownManagedType.
DateTimeOffset
when jsType == JSTypeFlags.Date: return ResolvedGenerator.Resolved(new PrimitiveJSGenerator(info, context, MarshalerType.DateTimeOffset));
134
case KnownManagedType.
DateTimeOffset
when jsType == JSTypeFlags.Missing:
150
case KnownManagedType.Nullable when argumentTypes[0] == KnownManagedType.
DateTimeOffset
&& jsType == JSTypeFlags.Date: return ResolvedGenerator.Resolved(new NullableJSGenerator(info, context, MarshalerType.DateTimeOffset));
165
case KnownManagedType.Nullable when argumentTypes[0] == KnownManagedType.
DateTimeOffset
&& jsType == JSTypeFlags.Missing:
187
case KnownManagedType.Task when jsType == JSTypeFlags.Promise && jsTypeArguments.Length == 1 && argumentTypes[0] == KnownManagedType.
DateTimeOffset
&& jsTypeArguments[0] == JSTypeFlags.Date: return ResolvedGenerator.Resolved(new TaskJSGenerator(info, context, MarshalerType.DateTimeOffset));
207
case KnownManagedType.Task when argumentTypes[0] == KnownManagedType.
DateTimeOffset
&& jsType == JSTypeFlags.Missing:
JSManagedTypeInfo.cs (1)
76
return new JSSimpleTypeInfo(KnownManagedType.
DateTimeOffset
)