File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
CSharpToJavaScript/APIs/JS/Ecma Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ using CSharpToJavaScript . Utils ;
2+
3+ namespace CSharpToJavaScript . APIs . JS . Ecma ;
4+
5+ //https://262.ecma-international.org/14.0/#sec-bigint-objects
6+ [ To ( ToAttribute . Default ) ]
7+ public class BigInt : BigIntPrototype
8+ {
9+ [ To ( ToAttribute . FirstCharToLowerCase ) ]
10+ public static BigIntPrototype Prototype { get ; } = new ( ) ;
11+
12+ public BigInt ( double value ) { }
13+
14+ [ To ( ToAttribute . FirstCharToLowerCase ) ]
15+ public BigInt AsIntN ( Number bits , BigInt bigint )
16+ {
17+ throw new System . NotImplementedException ( ) ;
18+ }
19+
20+ [ To ( ToAttribute . FirstCharToLowerCase ) ]
21+ public BigInt AasUintN ( Number bits , BigInt bigint )
22+ {
23+ throw new System . NotImplementedException ( ) ;
24+ }
25+ }
26+ public class BigIntPrototype
27+ {
28+ public BigIntPrototype ( ) { }
29+
30+ public string ToLocaleString ( dynamic ? reserved1 = null , dynamic ? reserved2 = null )
31+ {
32+ throw new System . NotImplementedException ( ) ;
33+ }
34+ public string ToString ( Number ? radix = null )
35+ {
36+ throw new System . NotImplementedException ( ) ;
37+ }
38+ public BigInt ValueOf ( )
39+ {
40+ throw new System . NotImplementedException ( ) ;
41+ }
42+ }
You can’t perform that action at this time.
0 commit comments