31 references to PrimitiveJSGenerator
Microsoft.Interop.JavaScript.JSImportGenerator (31)
JSGeneratorFactory.cs (27)
101
case KnownManagedType.Boolean when jsType == JSTypeFlags.Boolean: return ResolvedGenerator.Resolved(new
PrimitiveJSGenerator
(info, context, MarshalerType.Boolean));
102
case KnownManagedType.Byte when jsType == JSTypeFlags.Number: return ResolvedGenerator.Resolved(new
PrimitiveJSGenerator
(info, context, MarshalerType.Byte));
103
case KnownManagedType.Char when jsType == JSTypeFlags.String: return ResolvedGenerator.Resolved(new
PrimitiveJSGenerator
(info, context, MarshalerType.Char));
104
case KnownManagedType.Int16 when jsType == JSTypeFlags.Number: return ResolvedGenerator.Resolved(new
PrimitiveJSGenerator
(info, context, MarshalerType.Int16));
105
case KnownManagedType.Int32 when jsType == JSTypeFlags.Number: return ResolvedGenerator.Resolved(new
PrimitiveJSGenerator
(info, context, MarshalerType.Int32));
106
case KnownManagedType.Int64 when jsType == JSTypeFlags.Number: return ResolvedGenerator.Resolved(new
PrimitiveJSGenerator
(info, context, MarshalerType.Int52));
107
case KnownManagedType.Int64 when jsType == JSTypeFlags.BigInt: return ResolvedGenerator.Resolved(new
PrimitiveJSGenerator
(info, context, MarshalerType.BigInt64));
108
case KnownManagedType.Single when jsType == JSTypeFlags.Number: return ResolvedGenerator.Resolved(new
PrimitiveJSGenerator
(info, context, MarshalerType.Single));
109
case KnownManagedType.Double when jsType == JSTypeFlags.Number: return ResolvedGenerator.Resolved(new
PrimitiveJSGenerator
(info, context, MarshalerType.Double));
110
case KnownManagedType.IntPtr when jsType == JSTypeFlags.Number: return ResolvedGenerator.Resolved(new
PrimitiveJSGenerator
(info, context, MarshalerType.IntPtr));
111
case KnownManagedType.DateTime when jsType == JSTypeFlags.Date: return ResolvedGenerator.Resolved(new
PrimitiveJSGenerator
(info, context, MarshalerType.DateTime));
112
case KnownManagedType.DateTimeOffset when jsType == JSTypeFlags.Date: return ResolvedGenerator.Resolved(new
PrimitiveJSGenerator
(info, context, MarshalerType.DateTimeOffset));
113
case KnownManagedType.Exception when jsType == JSTypeFlags.Error: return ResolvedGenerator.Resolved(new
PrimitiveJSGenerator
(info, context, MarshalerType.Exception));
114
case KnownManagedType.JSObject when jsType == JSTypeFlags.Object: return ResolvedGenerator.Resolved(new
PrimitiveJSGenerator
(info, context, MarshalerType.JSObject));
115
case KnownManagedType.String when jsType == JSTypeFlags.String: return ResolvedGenerator.Resolved(new
PrimitiveJSGenerator
(info, context, MarshalerType.String));
116
case KnownManagedType.Object when jsType == JSTypeFlags.Any: return ResolvedGenerator.Resolved(new
PrimitiveJSGenerator
(info, context, MarshalerType.Object));
119
case KnownManagedType.Boolean when jsType == JSTypeFlags.Missing: return ResolvedGenerator.Resolved(new
PrimitiveJSGenerator
(info, context, MarshalerType.Boolean));
120
case KnownManagedType.Byte when jsType == JSTypeFlags.Missing: return ResolvedGenerator.Resolved(new
PrimitiveJSGenerator
(info, context, MarshalerType.Byte));
121
case KnownManagedType.Char when jsType == JSTypeFlags.Missing: return ResolvedGenerator.Resolved(new
PrimitiveJSGenerator
(info, context, MarshalerType.Char));
122
case KnownManagedType.Int16 when jsType == JSTypeFlags.Missing: return ResolvedGenerator.Resolved(new
PrimitiveJSGenerator
(info, context, MarshalerType.Int16));
123
case KnownManagedType.Int32 when jsType == JSTypeFlags.Missing: return ResolvedGenerator.Resolved(new
PrimitiveJSGenerator
(info, context, MarshalerType.Int32));
124
case KnownManagedType.Single when jsType == JSTypeFlags.Missing: return ResolvedGenerator.Resolved(new
PrimitiveJSGenerator
(info, context, MarshalerType.Single));
125
case KnownManagedType.Double when jsType == JSTypeFlags.Missing: return ResolvedGenerator.Resolved(new
PrimitiveJSGenerator
(info, context, MarshalerType.Double));
126
case KnownManagedType.IntPtr when jsType == JSTypeFlags.Missing: return ResolvedGenerator.Resolved(new
PrimitiveJSGenerator
(info, context, MarshalerType.IntPtr));
127
case KnownManagedType.Exception when jsType == JSTypeFlags.Missing: return ResolvedGenerator.Resolved(new
PrimitiveJSGenerator
(info, context, MarshalerType.Exception));
128
case KnownManagedType.JSObject when jsType == JSTypeFlags.Missing: return ResolvedGenerator.Resolved(new
PrimitiveJSGenerator
(info, context, MarshalerType.JSObject));
129
case KnownManagedType.String when jsType == JSTypeFlags.Missing: return ResolvedGenerator.Resolved(new
PrimitiveJSGenerator
(info, context, MarshalerType.String));
Marshaling\ArrayJSGenerator.cs (1)
17
:
base
(info, context, MarshalerType.Array)
Marshaling\ArraySegmentJSGenerator.cs (1)
16
:
base
(info, context, MarshalerType.ArraySegment)
Marshaling\NullableJSGenerator.cs (1)
14
:
base
(info, context, resultMarshalerType)
Marshaling\SpanJSGenerator.cs (1)
16
:
base
(info, context, MarshalerType.Span)