1
- using CSharpToJavaScript . Utils ;
1
+ using CSharpToJavaScript . APIs . JS . Ecma ;
2
+ using CSharpToJavaScript . Utils ;
2
3
3
4
namespace CSharpToJavaScript . APIs . JS
4
5
{
@@ -26,27 +27,27 @@ public partial class GlobalThis : GlobalObject
26
27
//Float32Array, Float64Array, Int8Array, Int16Array, Int32Array, Map, Promise,
27
28
//Proxy, Set, SharedArrayBuffer, Uint8Array, Uint8ClampedArray, Uint16Array,
28
29
//Uint32Array, WeakMap, WeakRef, WeakSet
29
- /*
30
+
30
31
[ To ( ToAttribute . Default ) ]
31
- public static AggregateError AggregateError(dynamic errors, dynamic ? message = null,dynamic ? options = null)
32
+ public static AggregateError AggregateError ( object [ ] errors , string ? message = null , object ? options = null )
32
33
{
33
34
throw new System . NotImplementedException ( ) ;
34
35
}
35
- */
36
+
36
37
/*
37
38
[To(ToAttribute.Default)]
38
39
public static Array Array(params dynamic[] values)
39
40
{
40
41
throw new System.NotImplementedException();
41
42
}
42
43
*/
43
- /*
44
+
44
45
[ To ( ToAttribute . Default ) ]
45
46
public static BigInt BigInt ( dynamic value )
46
47
{
47
48
throw new System . NotImplementedException ( ) ;
48
49
}
49
- */
50
+
50
51
51
52
[ To ( ToAttribute . Default ) ]
52
53
public static bool Boolean ( dynamic value )
@@ -60,20 +61,20 @@ public static string Date()
60
61
throw new System . NotImplementedException ( ) ;
61
62
}
62
63
63
- /*
64
+
64
65
[ To ( ToAttribute . Default ) ]
65
- public static Error Error(dynamic message, dynamic ? options = null)
66
+ public static Error Error ( string message , object ? options = null )
66
67
{
67
68
throw new System . NotImplementedException ( ) ;
68
- }*/
69
+ }
69
70
70
- /*
71
+
71
72
[ To ( ToAttribute . Default ) ]
72
- public static EvalError EvalError(dynamic message, dynamic ? options = null)
73
+ public static EvalError EvalError ( string message , object ? options = null )
73
74
{
74
75
throw new System . NotImplementedException ( ) ;
75
76
76
- }*/
77
+ }
77
78
78
79
//https://262.ecma-international.org/14.0/#sec-function-p1-p2-pn-body
79
80
//see NOTE!
@@ -96,21 +97,21 @@ public static Object Object(dynamic? value = null)
96
97
throw new System . NotImplementedException ( ) ;
97
98
98
99
}
99
- /*
100
+
100
101
[ To ( ToAttribute . Default ) ]
101
- public static RangeError RangeError(dynamic message, dynamic ? options = null)
102
+ public static RangeError RangeError ( string message , object ? options = null )
102
103
{
103
104
throw new System . NotImplementedException ( ) ;
104
105
105
- }*/
106
- /*
106
+ }
107
+
107
108
[ To ( ToAttribute . Default ) ]
108
- public static ReferenceError ReferenceError(dynamic message, dynamic ? options = null)
109
+ public static ReferenceError ReferenceError ( string message , object ? options = null )
109
110
{
110
111
throw new System . NotImplementedException ( ) ;
111
112
112
- }*/
113
-
113
+ }
114
+
114
115
[ To ( ToAttribute . Default ) ]
115
116
public static string RegExp ( string pattern , string ? flags = null )
116
117
{
@@ -132,27 +133,27 @@ public static Symbol Symbol(dynamic? description = null)
132
133
throw new System.NotImplementedException();
133
134
134
135
}*/
135
- /*
136
+
136
137
[ To ( ToAttribute . Default ) ]
137
- public static SyntaxError SyntaxError(dynamic message, dynamic ? options = null)
138
+ public static SyntaxError SyntaxError ( string message , object ? options = null )
138
139
{
139
140
throw new System . NotImplementedException ( ) ;
140
141
141
- }*/
142
- /*
142
+ }
143
+
143
144
[ To ( ToAttribute . Default ) ]
144
- public static TypeError TypeError(dynamic message, dynamic ? options = null)
145
+ public static TypeError TypeError ( string message , object ? options = null )
145
146
{
146
147
throw new System . NotImplementedException ( ) ;
147
148
148
- }*/
149
- /*
149
+ }
150
+
150
151
[ To ( ToAttribute . Default ) ]
151
- public static URIError URIError(dynamic message, dynamic ? options = null)
152
+ public static URIError URIError ( string message , object ? options = null )
152
153
{
153
154
throw new System . NotImplementedException ( ) ;
154
155
155
- }*/
156
+ }
156
157
157
158
}
158
159
0 commit comments