- For bars various tags can be specified which change information like
- clefs, key signatures repeats etc. They follow the format
- \tag value value just like the score metadata. Be sure not to
- mix the score metadata and the bar metadata of the first bar.
-
-
-
-\ro 1.3 2.3 3.3 4.3 |
-5.3 6.3 7.3 8.3 |
-\rc 2 1.3 2.3 3.3 4.3 |
-\ro \rc 3 1.3 2.3 3.3 4.3 |
-
-
-
-
-
-
-\clef G2 | \clef F4 | \clef C3 | \clef C4 | \clef N |
-\clef Treble | \clef Bass | \clef Tenor | \clef Alto | \clef Neutral |
-
-
-
-
-
-// score meta also supports \tempo, therefore we skip the score meta with a dot
-.
-// bars
-\tempo 30 1.3 2.3 3.3 4.3 |
-\tempo 80 1.3 2.3 3.3 4.3 |
-
-
diff --git a/Documentation/input/alphatex/beat-effects.cshtml b/Documentation/input/alphatex/beat-effects.cshtml
deleted file mode 100644
index 2aabb8f0f..000000000
--- a/Documentation/input/alphatex/beat-effects.cshtml
+++ /dev/null
@@ -1,69 +0,0 @@
-Title: Beat Effects
-Order: 3
-TexSample: true
----
-
-
- There are various effects that can be applied to a beat. All beat
- effects are specified in braces after the beat.
- Beat{Effects}
-
-
-
- Please find the list of support effects in the example below.
-
-
-
-// fade in
-3.3{f}
-// vibrato
-3.3{v}
-// slap
-3.3{s}
-// pop
-3.3{p}
-|
-// dotted
-3.3{d}
-// double dotted
-3.3{dd}
-// pick stroke (su => up, sd => down)
-3.3{su}
-3.3{sd}
-|
-// grace (on beat)
-3.3{gr ob}
-3.3
-// grace (before beat)
-3.3{gr}
-3.3
-|
-// Tuplets (supported variants: 3,5,6,7,9,10,11,12)
-3.3{tu 3} 3.3{tu 3} 3.3{tu 3}
-3.3{tu 5} 3.3{tu 5} 3.3{tu 5} 3.3{tu 5} 3.3{tu 5}
-|
-// tremolo picking (`tp duration` where duration can be 8,16 or 32)
-3.3{tp 8} 3.3{tp 16} 3.3{tp 32}
-
-
-
-
- The tremolo/whammy bar effect is a bit more complex than the others.
- You can specify a number of values which are evenly distributed over the
- time when the note is played. The values indicate the number of quarter notes
- increased or decreased on playing. tb (value1 value2 ...)
-
-
-
- AlphaTab can export an already loaded track as alphaTex.
-
-
-
- Open a Guitar Pro file by clicking here to export the
- first track as alphaTex.
-
-
-
-
- In this section you find all details about how to write music notation using AlphaTex.
- AlphaTex is a text format for writing music notation for AlphaTab. AlphaTex loading
- can be enabled by specifying data-tex="true" on the container elmement.
- AlphaTab will load the tex code from the element contents and parse it.
- AlphaTex currently only allows writing of a single track.
-
-
-
- Here is an example score fully rendered using alphaTex.
-
-
-
-\title "Canon Rock"
-\subtitle "JerryC"
-\tempo 90
-.
-:2 19.2{v f} 17.2{v f} |
-15.2{v f} 14.2{v f}|
-12.2{v f} 10.2{v f}|
-12.2{v f} 14.2{v f}.4 :8 15.2 17.2 |
-14.1.2 :8 17.2 15.1 14.1{h} 17.2 |
-15.2{v d}.4 :16 17.2{h} 15.2 :8 14.2 14.1 17.1{b(0 4 4 0)}.4 |
-15.1.8 :16 14.1{tu 3} 15.1{tu 3} 14.1{tu 3} :8 17.2 15.1 14.1 :16 12.1{tu 3} 14.1{tu 3} 12.1{tu 3} :8 15.2 14.2 |
-12.2 14.3 12.3 15.2 :32 14.2{h} 15.2{h} 14.2{h} 15.2{h}14.2{h} 15.2{h}14.2{h} 15.2{h}14.2{h} 15.2{h}14.2{h} 15.2{h}14.2{h} 15.2{h}14.2{h} 15.2{h}
-
-
-
diff --git a/Documentation/input/alphatex/metadata.cshtml b/Documentation/input/alphatex/metadata.cshtml
deleted file mode 100644
index a26345b31..000000000
--- a/Documentation/input/alphatex/metadata.cshtml
+++ /dev/null
@@ -1,34 +0,0 @@
-Title: Metadata
-Order: 0
-TexSample: true
----
-
-
-// Song information
-\title "Song Title"
-\subtitle Subtitle
-\artist Artist
-\album 'My Album'
-\words Daniel
-\music alphaTab
-\copyright Daniel
-// Tempo in BPM
-\tempo 200
-// Instrument as General Midi number or name
-\instrument 30
-// Capo fret
-\capo 2
-// String tuning starting at the most bottom string
-\tuning e5 b4 g4 d4 a3 e3
-.
-
-
diff --git a/Documentation/input/alphatex/note-effects.cshtml b/Documentation/input/alphatex/note-effects.cshtml
deleted file mode 100644
index 2f0726e51..000000000
--- a/Documentation/input/alphatex/note-effects.cshtml
+++ /dev/null
@@ -1,64 +0,0 @@
-Title: Note Effects
-Order: 4
-TexSample: true
----
-
-
- Just like beat effects, there are also effects for single notes like harmonics,
- bends, accentuations etc. The syntax is
- Fret.String{NoteEffects}
-
-
-
- Please find the list of support effects in the example below.
-
-
-
- // Harmonics (natural, articifial, tapped, pinch and semi)
- :8 3.3{nh} 3.3{ah} 3.3{th} 3.3{ph} 3.3{sh} |
- // trill (tr fret duration)
- :4 3.3{tr 4 16} 3.3{tr 5 32} 3.3{tr 6 64}
- // vibrato
- 3.3{v} |
- // slides (legato and shift)
- 3.3{sl} 3.3{ss}
- // hammer on/pull offs
- 3.3{h} 4.3{h} |
- // ghost notes
- 3.3{g}
- // accentuations (normal and heavy)
- 3.3{ac} 3.3{hac}
- // staccato
- 3.3{st} |
- // palm mute
- 3.3{pm} 3.3{pm} 3.3{pm} 3.3{pm} |
- // let ring
- 3.3{lr} 3.3{lr} 3.3{lr} 3.3{lr} |
- // dead notes
- 3.3{x} x.3 |
- // fingering (left and right; 1 => Thumb, 2 => Index, 3 => Middle, 4 => Annual, 5 => Little)
- :8 3.3{lf 1} 3.3{lf 2} 3.3{lf 3} 3.3{lf 4} 3.3{lf 5} (2.2{lf 4} 2.3{lf 3} 2.4{lf 2}) |
- :8 3.3{rf 1} 3.3{rf 2} 3.3{rf 3} 3.3{rf 4} 3.3{lf 5} |
-
-
-
-
- The bend effect works like the tremolo/whammy bar effect.
- You can specify a number of values which are evenly distributed over the
- time when the note is played. The values indicate the number of quarter notes
- increased bend up upon playing. b (value1 value2 ...)
-
-
-
- The following examples show how to general notes. Multiple bars are
- separated by |.
-
-
-
- To specify multiple notes on a beat, group them in parenthesis. The full format is
- (fret.string fret.string ...).duration
-
-
-
-(0.3 0.4).4 (3.3 3.4).4 (5.3 5.4).4 r.8 (0.3 0.4).8 |
-r.8 (3.3 3.4).8 r.8 (6.3 6.4).8 (5.3 5.4).4 r.4 |
-(0.3 0.4).4 (3.3 3.4).4 (5.3 5.4).4 r.8 (3.3 3.4).8 |
-r.8 (0.3 0.4).8
-
-
-
-
-
- To make it simpler to write notes, you can apply the same duration to
- multiple notes. Start a new duration range with :duration.
- The following notes will all have this duration. AlphaTex also remembers
- the last explictely set duration and will take use it in case of a missing duration.
-
-
-
-// explicit ranges via :duration
-:4 2.3 3.3 :8 3.3 4.3 3.3 4.3 |
-// implicit ranges via beat duration
-2.3.4 3.3 3.3.8 4.3 3.3 4.3
-
-
-
-
-
- You can specify a multiplier after a beat to add the same beat multiple times to the score.
-
-
-').appendTo(wrap);
-
- $('
HTML').appendTo(ul);
- $('
')
- .append($('
').append($('
').text(html)))
- .appendTo(tabContent);
-
- $('
JavaScript').appendTo(ul);
- $('
')
- .append($('
').append($('
').text(js)))
- .appendTo(tabContent);
-
- $(this).prepend(wrap);
-
- ul.on('click', 'a', function(e){
- e.preventDefault();
-
- var parent = $(this).closest('.example-source'),
- li = $(this).closest('li'),
- index = li.index(),
- tabs = parent.find('.tab-content')
- ;
-
- parent.find('li.active').removeClass('active');
- li.addClass('active');
- tabs.find('.tab-pane.active').removeClass('active');
- tabs.find('.tab-pane').eq(index).addClass('active');
-
- });
-});
-
-function prepareTex(tex) {
- return tex.replace(/[\t ]*(.*)[ \t]*/g, "$1");
-}
-if(window.texSample) {
- $('[data-tex]').each(function() {
- var code = $('
')
- .text(prepareTex($(this).text()))
-
- var pre = $('
').append(code);
- $(this).after($('
').append(pre));
- });
-}
-
-Prism.highlightAll();
-
-$('script[type="text/x-alphatab"]').each(function() {
- var code = $(this).html();
- var newScript = document.createElement('script');
- newScript.innerHTML = code;
- $(this).replaceWith(newScript);
-});
diff --git a/Documentation/input/docs/command-line.md b/Documentation/input/docs/command-line.md
deleted file mode 100644
index 3a9a56c27..000000000
--- a/Documentation/input/docs/command-line.md
+++ /dev/null
@@ -1,3 +0,0 @@
-Description: How to use the command line.
----
-Here are some instructions on how to use the command line.
\ No newline at end of file
diff --git a/Documentation/input/docs/usage.md b/Documentation/input/docs/usage.md
deleted file mode 100644
index 127a961b1..000000000
--- a/Documentation/input/docs/usage.md
+++ /dev/null
@@ -1,3 +0,0 @@
-Description: Library usage instructions.
----
-To use this library, take these steps...
\ No newline at end of file
diff --git a/Documentation/input/examples/api/errors.cshtml b/Documentation/input/examples/api/errors.cshtml
deleted file mode 100644
index 12486942f..000000000
--- a/Documentation/input/examples/api/errors.cshtml
+++ /dev/null
@@ -1,6 +0,0 @@
-Title: Handling errors
-Order: 4
-Todo: true
----
-
-
This example is not yet available.
\ No newline at end of file
diff --git a/Documentation/input/examples/api/index.cshtml b/Documentation/input/examples/api/index.cshtml
deleted file mode 100644
index 3d16a464b..000000000
--- a/Documentation/input/examples/api/index.cshtml
+++ /dev/null
@@ -1,8 +0,0 @@
-Title: API
-Description: This section contains examples on how to perform certain tasks using the raw API.
-Order: 5
----
-
-
@Html.Raw(Model.String(DocsKeys.Description))
-
-@Html.Partial("_ChildPages")
\ No newline at end of file
diff --git a/Documentation/input/examples/api/layout.cshtml b/Documentation/input/examples/api/layout.cshtml
deleted file mode 100644
index ce1933391..000000000
--- a/Documentation/input/examples/api/layout.cshtml
+++ /dev/null
@@ -1,6 +0,0 @@
-Title: Change layout
-Order: 3
-Todo: true
----
-
-
This example is not yet available.
\ No newline at end of file
diff --git a/Documentation/input/examples/api/lazy.cshtml b/Documentation/input/examples/api/lazy.cshtml
deleted file mode 100644
index 9e6ac29fb..000000000
--- a/Documentation/input/examples/api/lazy.cshtml
+++ /dev/null
@@ -1,6 +0,0 @@
-Title: Disable lazy loading
-Order: 6
-Todo: true
----
-
-
This example is not yet available.
\ No newline at end of file
diff --git a/Documentation/input/examples/api/load.cshtml b/Documentation/input/examples/api/load.cshtml
deleted file mode 100644
index 1cf10ce8f..000000000
--- a/Documentation/input/examples/api/load.cshtml
+++ /dev/null
@@ -1,6 +0,0 @@
-Title: Change file
-Order: 1
-Todo: true
----
-
-
This example is not yet available.
\ No newline at end of file
diff --git a/Documentation/input/examples/api/loadevent.cshtml b/Documentation/input/examples/api/loadevent.cshtml
deleted file mode 100644
index fe839ca7e..000000000
--- a/Documentation/input/examples/api/loadevent.cshtml
+++ /dev/null
@@ -1,6 +0,0 @@
-Title: Load event
-Order: 8
-Todo: true
----
-
-
This example is not yet available.
\ No newline at end of file
diff --git a/Documentation/input/examples/api/print.cshtml b/Documentation/input/examples/api/print.cshtml
deleted file mode 100644
index 635fa6db8..000000000
--- a/Documentation/input/examples/api/print.cshtml
+++ /dev/null
@@ -1,6 +0,0 @@
-Title: Print dialog
-Order: 5
-Todo: true
----
-
-
This example is not yet available.
\ No newline at end of file
diff --git a/Documentation/input/examples/api/resize.cshtml b/Documentation/input/examples/api/resize.cshtml
deleted file mode 100644
index b0332e0c5..000000000
--- a/Documentation/input/examples/api/resize.cshtml
+++ /dev/null
@@ -1,6 +0,0 @@
-Title: Handle resize
-Order: 7
-Todo: true
----
-
-
This example is not yet available.
\ No newline at end of file
diff --git a/Documentation/input/examples/api/scoreloader.cshtml b/Documentation/input/examples/api/scoreloader.cshtml
deleted file mode 100644
index d9918f5b4..000000000
--- a/Documentation/input/examples/api/scoreloader.cshtml
+++ /dev/null
@@ -1,6 +0,0 @@
-Title: Load score manually
-Order: 2
-Todo: true
----
-
-
This example is not yet available.
\ No newline at end of file
diff --git a/Documentation/input/examples/api/settings.cshtml b/Documentation/input/examples/api/settings.cshtml
deleted file mode 100644
index cabd3e146..000000000
--- a/Documentation/input/examples/api/settings.cshtml
+++ /dev/null
@@ -1,6 +0,0 @@
-Title: List of all settings and methods
-Order: 0
-Todo: true
----
-
-
This example is not yet available.
\ No newline at end of file
diff --git a/Documentation/input/examples/general/advanced.cshtml b/Documentation/input/examples/general/advanced.cshtml
deleted file mode 100644
index b03308b18..000000000
--- a/Documentation/input/examples/general/advanced.cshtml
+++ /dev/null
@@ -1,11 +0,0 @@
-Title: Advanced Usage
-Order: 5
----
-
-
- The player demo available
here shows
- how the individual features of alphaTab can be combined to create a full featured web player.
-
-
-
\ No newline at end of file
diff --git a/Documentation/input/examples/general/alphaTex.cshtml b/Documentation/input/examples/general/alphaTex.cshtml
deleted file mode 100644
index a7afebef8..000000000
--- a/Documentation/input/examples/general/alphaTex.cshtml
+++ /dev/null
@@ -1,33 +0,0 @@
-Title: Use alphaTex
-Order: 2
----
-
-
- AlphaTex is a text based language for describing music notations. A full documentation
- on the syntax can be found
here.
- To use AlphaTex put the code into the div and enable the usage via the data attribute
data-tex="true"
-
-
-
-
-
- \title "Canon Rock"
- \subtitle "JerryC"
- \tempo 90
- .
- :2 19.2{v f} 17.2{v f} |
- 15.2{v f} 14.2{v f}|
- 12.2{v f} 10.2{v f}|
- 12.2{v f} 14.2{v f}.4 :8 15.2 17.2 |
- 14.1.2 :8 17.2 15.1 14.1{h} 17.2 |
- 15.2{v d}.4 :16 17.2{h} 15.2 :8 14.2 14.1 17.1{b(0 4 4 0)}.4 |
- 15.1.8 :16 14.1{tu 3} 15.1{tu 3} 14.1{tu 3} :8 17.2 15.1 14.1 :16 12.1{tu 3} 14.1{tu 3} 12.1{tu 3} :8 15.2 14.2 |
- 12.2 14.3 12.3 15.2 :32 14.2{h} 15.2{h} 14.2{h} 15.2{h}14.2{h} 15.2{h}14.2{h} 15.2{h}14.2{h} 15.2{h}14.2{h} 15.2{h}14.2{h} 15.2{h}14.2{h} 15.2{h}
-
-
-
-
-
-
diff --git a/Documentation/input/examples/general/html5.cshtml b/Documentation/input/examples/general/html5.cshtml
deleted file mode 100644
index 0b87d5b2d..000000000
--- a/Documentation/input/examples/general/html5.cshtml
+++ /dev/null
@@ -1,39 +0,0 @@
-Title: HTML5 canvas rendering
-Order: 3
----
-
-
- The music notation is rendered as SVG by default. To use HTML5 canvas as render
- engine specify the option engine: 'html5' when initializing or by using data-engine="html5".
-
-
-
\ No newline at end of file
diff --git a/Documentation/input/examples/general/index.cshtml b/Documentation/input/examples/general/index.cshtml
deleted file mode 100644
index e5e0f765e..000000000
--- a/Documentation/input/examples/general/index.cshtml
+++ /dev/null
@@ -1,8 +0,0 @@
-Title: General
-Description: This section contains examples on how to get started with alphaTab.
-Order: 0
----
-
-
@Html.Raw(Model.String(DocsKeys.Description))
-
-@Html.Partial("_ChildPages")
\ No newline at end of file
diff --git a/Documentation/input/examples/general/simple.cshtml b/Documentation/input/examples/general/simple.cshtml
deleted file mode 100644
index 08d735914..000000000
--- a/Documentation/input/examples/general/simple.cshtml
+++ /dev/null
@@ -1,42 +0,0 @@
-Title: Simple initialization
-Order: 0
----
-
-
- AlphaTab can be initialized on any div element. There are 2 main options that need to be specified:
- The file to load, and which tracks to render.
- The file can be specified via file option or via data-file attribute
- The tracks can be specified via tracks option or via data-tracks attribute.
-
-
-
\ No newline at end of file
diff --git a/Documentation/input/examples/general/tracks.cshtml b/Documentation/input/examples/general/tracks.cshtml
deleted file mode 100644
index b5c9278e4..000000000
--- a/Documentation/input/examples/general/tracks.cshtml
+++ /dev/null
@@ -1,37 +0,0 @@
-Title: Configuring tracks
-Order: 1
----
-
-
- The displayed tracks can be controlled via tracks option or data-tracks.
- The value is a single index or an array of indexes of the tracks within the file that is loaded.
-
-
-
\ No newline at end of file
diff --git a/Documentation/input/examples/index.cshtml b/Documentation/input/examples/index.cshtml
deleted file mode 100644
index 677f31367..000000000
--- a/Documentation/input/examples/index.cshtml
+++ /dev/null
@@ -1,23 +0,0 @@
-Title: Examples
----
-
-
- We have prepared a huge list of examples to show different alphaTab features by code.
- Those examples are the easiest way to understand what alphaTab is capable of and how to use it.
- The samples shown here are focusing on the usage on websites but many of the settings shown in this samples are also valid for the .net version of alphaTab.
-
-
-
\ No newline at end of file
diff --git a/Documentation/input/examples/layouts/horizontal.cshtml b/Documentation/input/examples/layouts/horizontal.cshtml
deleted file mode 100644
index 8f5d98650..000000000
--- a/Documentation/input/examples/layouts/horizontal.cshtml
+++ /dev/null
@@ -1,41 +0,0 @@
-Title: Horizontal layout
-Order: 1
----
-
-
- The horizontal layout be enabled via layout: 'horizontal' or data-layout="horizontal".
- The whole music notation is arranged as a single line. This layout is useful for small screen sizes.
-
-
-
-
\ No newline at end of file
diff --git a/Documentation/input/examples/layouts/index.cshtml b/Documentation/input/examples/layouts/index.cshtml
deleted file mode 100644
index ab198c43b..000000000
--- a/Documentation/input/examples/layouts/index.cshtml
+++ /dev/null
@@ -1,8 +0,0 @@
-Title: Layouts
-Description: This section contains examples on how to use the different layouts.
-Order: 1
----
-
-
@Html.Raw(Model.String(DocsKeys.Description))
-
-@Html.Partial("_ChildPages")
\ No newline at end of file
diff --git a/Documentation/input/examples/layouts/page.cshtml b/Documentation/input/examples/layouts/page.cshtml
deleted file mode 100644
index 13e4115ed..000000000
--- a/Documentation/input/examples/layouts/page.cshtml
+++ /dev/null
@@ -1,41 +0,0 @@
-Title: Page layout
-Order: 0
----
-
-
- The page layout is the default layout of alphaTab. The bars are aligned
- in a page like manner but without separation into individual pages.
- The layout can explicitely be set via layout: 'page' or data-layout="page"
-
-
-
\ No newline at end of file
diff --git a/Documentation/input/examples/player/cursorstyle.cshtml b/Documentation/input/examples/player/cursorstyle.cshtml
deleted file mode 100644
index a2d0ebd9d..000000000
--- a/Documentation/input/examples/player/cursorstyle.cshtml
+++ /dev/null
@@ -1,6 +0,0 @@
-Title: Adjust cursor style
-Order: 5
-Todo: true
----
-
-
This example is not yet available.
\ No newline at end of file
diff --git a/Documentation/input/examples/player/index.cshtml b/Documentation/input/examples/player/index.cshtml
deleted file mode 100644
index 67f398a8f..000000000
--- a/Documentation/input/examples/player/index.cshtml
+++ /dev/null
@@ -1,8 +0,0 @@
-Title: Player
-Description: This section contains examples on how to setup the audio playback.
-Order: 4
----
-
-
@Html.Raw(Model.String(DocsKeys.Description))
-
-@Html.Partial("_ChildPages")
\ No newline at end of file
diff --git a/Documentation/input/examples/player/init.cshtml b/Documentation/input/examples/player/init.cshtml
deleted file mode 100644
index 189fca0a1..000000000
--- a/Documentation/input/examples/player/init.cshtml
+++ /dev/null
@@ -1,6 +0,0 @@
-Title: Basic initialization
-Order: 0
-Todo: true
----
-
-
This example is not yet available.
\ No newline at end of file
diff --git a/Documentation/input/examples/player/loop.cshtml b/Documentation/input/examples/player/loop.cshtml
deleted file mode 100644
index 8b400193b..000000000
--- a/Documentation/input/examples/player/loop.cshtml
+++ /dev/null
@@ -1,6 +0,0 @@
-Title: Enable auto looping
-Order: 13
-Todo: true
----
-
-
This example is not yet available.
\ No newline at end of file
diff --git a/Documentation/input/examples/player/metronome.cshtml b/Documentation/input/examples/player/metronome.cshtml
deleted file mode 100644
index c649de824..000000000
--- a/Documentation/input/examples/player/metronome.cshtml
+++ /dev/null
@@ -1,6 +0,0 @@
-Title: Metronome
-Order: 9
-Todo: true
----
-
-
This example is not yet available.
\ No newline at end of file
diff --git a/Documentation/input/examples/player/mutesolo.cshtml b/Documentation/input/examples/player/mutesolo.cshtml
deleted file mode 100644
index 903219e6b..000000000
--- a/Documentation/input/examples/player/mutesolo.cshtml
+++ /dev/null
@@ -1,6 +0,0 @@
-Title: Mute/Solo individual tracks
-Order: 1
-Todo: true
----
-
-
This example is not yet available.
\ No newline at end of file
diff --git a/Documentation/input/examples/player/position.cshtml b/Documentation/input/examples/player/position.cshtml
deleted file mode 100644
index 19cff905b..000000000
--- a/Documentation/input/examples/player/position.cshtml
+++ /dev/null
@@ -1,6 +0,0 @@
-Title: Handle position change
-Order: 7
-Todo: true
----
-
-
This example is not yet available.
\ No newline at end of file
diff --git a/Documentation/input/examples/player/range.cshtml b/Documentation/input/examples/player/range.cshtml
deleted file mode 100644
index 6a1f48bc1..000000000
--- a/Documentation/input/examples/player/range.cshtml
+++ /dev/null
@@ -1,6 +0,0 @@
-Title: Control playback range
-Order: 12
-Todo: true
----
-
-
This example is not yet available.
\ No newline at end of file
diff --git a/Documentation/input/examples/player/scrolldirection.cshtml b/Documentation/input/examples/player/scrolldirection.cshtml
deleted file mode 100644
index 5e93f7e3a..000000000
--- a/Documentation/input/examples/player/scrolldirection.cshtml
+++ /dev/null
@@ -1,6 +0,0 @@
-Title: Change scroll direction
-Order: 2
-Todo: true
----
-
-
This example is not yet available.
\ No newline at end of file
diff --git a/Documentation/input/examples/player/scrollelement.cshtml b/Documentation/input/examples/player/scrollelement.cshtml
deleted file mode 100644
index 18551c7a2..000000000
--- a/Documentation/input/examples/player/scrollelement.cshtml
+++ /dev/null
@@ -1,6 +0,0 @@
-Title: Change scroll element
-Order: 3
-Todo: true
----
-
-
This example is not yet available.
\ No newline at end of file
diff --git a/Documentation/input/examples/player/scrolloffset.cshtml b/Documentation/input/examples/player/scrolloffset.cshtml
deleted file mode 100644
index 2798c3e39..000000000
--- a/Documentation/input/examples/player/scrolloffset.cshtml
+++ /dev/null
@@ -1,6 +0,0 @@
-Title: Adjust scroll offset
-Order: 4
-Todo: true
----
-
-
This example is not yet available.
\ No newline at end of file
diff --git a/Documentation/input/examples/player/seek.cshtml b/Documentation/input/examples/player/seek.cshtml
deleted file mode 100644
index 65fb296f4..000000000
--- a/Documentation/input/examples/player/seek.cshtml
+++ /dev/null
@@ -1,6 +0,0 @@
-Title: Seeking
-Order: 6
-Todo: true
----
-
-
This example is not yet available.
\ No newline at end of file
diff --git a/Documentation/input/examples/player/speed.cshtml b/Documentation/input/examples/player/speed.cshtml
deleted file mode 100644
index 41a5abbec..000000000
--- a/Documentation/input/examples/player/speed.cshtml
+++ /dev/null
@@ -1,6 +0,0 @@
-Title: Control playback speed
-Order: 11
-Todo: true
----
-
-
This example is not yet available.
\ No newline at end of file
diff --git a/Documentation/input/examples/player/state.cshtml b/Documentation/input/examples/player/state.cshtml
deleted file mode 100644
index 69ebe82fa..000000000
--- a/Documentation/input/examples/player/state.cshtml
+++ /dev/null
@@ -1,6 +0,0 @@
-Title: Handle state change
-Order: 8
-Todo: true
----
-
-
This example is not yet available.
\ No newline at end of file
diff --git a/Documentation/input/examples/player/volume.cshtml b/Documentation/input/examples/player/volume.cshtml
deleted file mode 100644
index 346e91e8f..000000000
--- a/Documentation/input/examples/player/volume.cshtml
+++ /dev/null
@@ -1,6 +0,0 @@
-Title: Control audio volume
-Order: 10
-Todo: true
----
-
-
This example is not yet available.
\ No newline at end of file
diff --git a/Documentation/input/examples/render-customization/hideinfo.cshtml b/Documentation/input/examples/render-customization/hideinfo.cshtml
deleted file mode 100644
index ec629ebee..000000000
--- a/Documentation/input/examples/render-customization/hideinfo.cshtml
+++ /dev/null
@@ -1,44 +0,0 @@
-Title: Hide song info
-Order: 3
----
-
-
- If you want to hide the song information like title or artist, the layout option hideInfo or data attribute data-layout-hide-info can be set.
-
-
-
\ No newline at end of file
diff --git a/Documentation/input/examples/render-customization/hidenames.cshtml b/Documentation/input/examples/render-customization/hidenames.cshtml
deleted file mode 100644
index ebb5f0fa4..000000000
--- a/Documentation/input/examples/render-customization/hidenames.cshtml
+++ /dev/null
@@ -1,43 +0,0 @@
-Title: Hide track names
-Order: 5
----
-
- The track names are shown by default. To hide it the layout option hideTrackNames or data attribute data-layout-hide-track-names can be set.
-
-
-
\ No newline at end of file
diff --git a/Documentation/input/examples/render-customization/hidetuning.cshtml b/Documentation/input/examples/render-customization/hidetuning.cshtml
deleted file mode 100644
index 8c82d7be8..000000000
--- a/Documentation/input/examples/render-customization/hidetuning.cshtml
+++ /dev/null
@@ -1,44 +0,0 @@
-Title: Hide tuning
-Order: 4
----
-
-
- The guitar tuning is shown by default. To hide it the layout option hideTuning or data attribute data-layout-hide-tuning can be set.
-
-
-
\ No newline at end of file
diff --git a/Documentation/input/examples/render-customization/index.cshtml b/Documentation/input/examples/render-customization/index.cshtml
deleted file mode 100644
index c037f0bc2..000000000
--- a/Documentation/input/examples/render-customization/index.cshtml
+++ /dev/null
@@ -1,8 +0,0 @@
-Title: Render Customization
-Description: This section contains examples on how to adjust how elements are layouted and rendered.
-Order: 3
----
-
-
@Html.Raw(Model.String(DocsKeys.Description))
-
-@Html.Partial("_ChildPages")
\ No newline at end of file
diff --git a/Documentation/input/examples/render-customization/pianofingering.cshtml b/Documentation/input/examples/render-customization/pianofingering.cshtml
deleted file mode 100644
index 80575a7b9..000000000
--- a/Documentation/input/examples/render-customization/pianofingering.cshtml
+++ /dev/null
@@ -1,39 +0,0 @@
-Title: Force piano fingering
-Order: 7
----
-
-
- For piano tracks the fingering is notated with the numbers 1-5 whereas for stringed instruments they are annotated with p,i,m,a,c and T,1,2,3,4. By setting the forcePianoFingering, always the piano notation is used.
-
-
-
\ No newline at end of file
diff --git a/Documentation/input/examples/render-customization/restrictbars.cshtml b/Documentation/input/examples/render-customization/restrictbars.cshtml
deleted file mode 100644
index 3dd0673bc..000000000
--- a/Documentation/input/examples/render-customization/restrictbars.cshtml
+++ /dev/null
@@ -1,47 +0,0 @@
-Title: Restricting bars
-Order: 2
----
-
-
- If you only want to render only a dedicated range of bars you can specify them as
- layout settings. The layout settings start and count define the range
- and can be specified also as data attribute.
-
-
-
\ No newline at end of file
diff --git a/Documentation/input/examples/render-customization/scale.cshtml b/Documentation/input/examples/render-customization/scale.cshtml
deleted file mode 100644
index 23ffd7b5f..000000000
--- a/Documentation/input/examples/render-customization/scale.cshtml
+++ /dev/null
@@ -1,39 +0,0 @@
-Title: Scale tablature
-Order: 0
----
-
-
- The scale of the rendered music notation can be adjusted via the following options: scale: 0.8 / data-scale="0.8".
-
-
-
\ No newline at end of file
diff --git a/Documentation/input/examples/render-customization/size.cshtml b/Documentation/input/examples/render-customization/size.cshtml
deleted file mode 100644
index c67882b7d..000000000
--- a/Documentation/input/examples/render-customization/size.cshtml
+++ /dev/null
@@ -1,40 +0,0 @@
-Title: Change render size
-Order: 1
----
-
-
- Normally the page layout scales automatically to the available width. If you
- want to have a fixed width (e.g. for printing) the size can be specified via width: 800 or data-width="800"
-
-
-
\ No newline at end of file
diff --git a/Documentation/input/examples/render-customization/stretchforce.cshtml b/Documentation/input/examples/render-customization/stretchforce.cshtml
deleted file mode 100644
index 966f2a603..000000000
--- a/Documentation/input/examples/render-customization/stretchforce.cshtml
+++ /dev/null
@@ -1,39 +0,0 @@
-Title: Adjust stretch force
-Order: 6
----
-
-
- The stretch force of alphaTab specifies how compact/wide the music notation is rendered. The force is 1 by default, bigger values make the notation wider, smaller more compact.
-
-
-
\ No newline at end of file
diff --git a/Documentation/input/examples/render-customization/transposedisplay.cshtml b/Documentation/input/examples/render-customization/transposedisplay.cshtml
deleted file mode 100644
index c34be4541..000000000
--- a/Documentation/input/examples/render-customization/transposedisplay.cshtml
+++ /dev/null
@@ -1,39 +0,0 @@
-Title: Transpose display
-Order: 8
----
-
-
- By default standard music notation for guitar tabs is shifted by 1 octave for display. This does not have an impact on the audio. This feature can also be used manually. For all tracks the number of semitones can be specified. The option displayTranspositionPitches or the data attribute data-display-transposition-pitches define the pitches for transposition.
-
-
-
\ No newline at end of file
diff --git a/Documentation/input/examples/render-customization/transposedisplayplay.cshtml b/Documentation/input/examples/render-customization/transposedisplayplay.cshtml
deleted file mode 100644
index 0f5b372a8..000000000
--- a/Documentation/input/examples/render-customization/transposedisplayplay.cshtml
+++ /dev/null
@@ -1,41 +0,0 @@
-Title: Transpose display and playback
-Order: 9
----
-
-
- The whole music notation can be transposed by a given number of semitones.
- Be aware that this might lead to negative numbers for guitar tablatures since guitar tabs
- are not recalculated to be within the fretboard. The option transpositionPitches or the data attribute data-transposition-pitches define the pitches for transposition.
-
-
-
\ No newline at end of file
diff --git a/Documentation/input/examples/stave-configurations/index.cshtml b/Documentation/input/examples/stave-configurations/index.cshtml
deleted file mode 100644
index 34df1371e..000000000
--- a/Documentation/input/examples/stave-configurations/index.cshtml
+++ /dev/null
@@ -1,8 +0,0 @@
-Title: Stave Configurations
-Description: This section contains examples on how to configure the staves shown in alphaTab.
-Order: 2
----
-
-
@Html.Raw(Model.String(DocsKeys.Description))
-
-@Html.Partial("_ChildPages")
\ No newline at end of file
diff --git a/Documentation/input/examples/stave-configurations/rhythm.cshtml b/Documentation/input/examples/stave-configurations/rhythm.cshtml
deleted file mode 100644
index 3ec6fecd5..000000000
--- a/Documentation/input/examples/stave-configurations/rhythm.cshtml
+++ /dev/null
@@ -1,129 +0,0 @@
-Title: Guitar tablature with rhythm
-Order: 3
----
-
-
- When using the tab stave configuration, additionaly the rhythm
- can be displayed via the additional stave setting rhythm: true or the attribute data-staves-rhythm="true"
-
-
-
-
-
- The rhythm height can be adjusted via rhythmHeight: 50 or data-staves-rhythm-height="50"
-
-
-
-
-
- You can prevent beaming by setting rhythmBeams: false or data-staves-rhythm-beams="false"
-
-
-
\ No newline at end of file
diff --git a/Documentation/input/examples/stave-configurations/score.cshtml b/Documentation/input/examples/stave-configurations/score.cshtml
deleted file mode 100644
index f1b88af64..000000000
--- a/Documentation/input/examples/stave-configurations/score.cshtml
+++ /dev/null
@@ -1,39 +0,0 @@
-Title: Score only
-Order: 1
----
-
-
- To show the standard music notation only, set either staves: 'score' or data-staves="score"
-
-
-
\ No newline at end of file
diff --git a/Documentation/input/examples/stave-configurations/scoretab.cshtml b/Documentation/input/examples/stave-configurations/scoretab.cshtml
deleted file mode 100644
index f41f91632..000000000
--- a/Documentation/input/examples/stave-configurations/scoretab.cshtml
+++ /dev/null
@@ -1,42 +0,0 @@
-Title: Score and guitar tablature
-Order: 0
----
-
-
- This stave configuration is the default setting. It will show the standard music notation
- and the guitar tablature for the rendered tracks. If the instrument is not stringed, the tab
- staff is hidden automatically.
- The layout can explicitely be set via staves: 'score-tab' or data-staves="score-tab"
-
-
-
\ No newline at end of file
diff --git a/Documentation/input/examples/stave-configurations/tab.cshtml b/Documentation/input/examples/stave-configurations/tab.cshtml
deleted file mode 100644
index eb00af34f..000000000
--- a/Documentation/input/examples/stave-configurations/tab.cshtml
+++ /dev/null
@@ -1,39 +0,0 @@
-Title: Guitar tablature only
-Order: 2
----
-
-
- To show the guitar tablature only, set either staves: 'tab' or data-staves="tab"
-
-
-
\ No newline at end of file
diff --git a/Documentation/input/features/effects.cshtml b/Documentation/input/features/effects.cshtml
deleted file mode 100644
index b0f26f5f0..000000000
--- a/Documentation/input/features/effects.cshtml
+++ /dev/null
@@ -1,226 +0,0 @@
-Title: Effects and Annotations
-Order: 6
----
-
-
Markers
-
-
- Markers are a nice element to annotate different sections of the song.
-
-
-
-
-
Tempo
-
-
- You might already have mentioned them: Tempo markers are supported too.
-
-
-
-
-
-
Text
-
-
- Each beat can have a text attached.
-
-
-
-
-
-
Chords
-
-
- Chord names can be useful to indicate how to play a song.
-
-
-
-
-
-
Vibrato
-
-
- Beat vibrators and note vibratos are both available.
-
-
-
-
-
-
Dynamics
-
-
- From piano pianissimo to forte fortissimo, they are all there
-
-
-
-
-
-
Tap/Slap/Pop
-
-
- Especially bass guitar players will like this feature.
-
-
-
-
-
-
Fade-In
-
-
- This annotation is shown if you need to increase the note volume from silent to normal when
- playing it.
-
-
-
-
-
-
Let Ring
-
-
- If this annotation is placed on a note, you don't stop the string after the beat ends.
-
-
-
-
-
-
Palm Mute
-
-
- A feature you won't miss: Palm Mute markers.
-
-
-
-
-
-
String Bends
-
-
- String bendings can be rendered by alphaTab as well.
-
-
-
-
-
-
Whammy Bar
-
-
- A lot of electrical guitars come with whammy bars. alphaTab
- can show whammy bar effects.
-
-
-
-
-
-
Tremolo Picking
-
-
- Tremolo Pickings are rendered too.
-
-
-
-
-
-
Brush Strokes
-
-
- Brush Strokes are shown as arrows on the tablature stave.
-
-
-
-
-
-
Slides
-
-
- There are several types of slides alphaTab can render.
-
-
-
-
-
-
Trill
-
-
- Trill effects are rendered on the tablature stave and on an effect line.
-
-
-
-
-
-
Pick Stroke
-
-
- Pick strokes indicate how to play the strings.
-
-
-
-
-
-
Tuplets
-
-
- Tuplets are used to divide beats into equal subdivisions.
-
-
-
-
-
-
Fingering
-
-
- Finger indicators can be used to highlight which fingers should be used to play
- the respective note on the instrument.
-
-
-
-
-
-
Triplet-Feel
-
-
- Triplet feels are used to indicate that a pair of particular notes are played with a different
- durations as they are indicated by the annotations.
-
-
-
-
diff --git a/Documentation/input/features/general.cshtml b/Documentation/input/features/general.cshtml
deleted file mode 100644
index 572f92921..000000000
--- a/Documentation/input/features/general.cshtml
+++ /dev/null
@@ -1,98 +0,0 @@
-Title: General
-Order: 0
----
-
-
Score Details
-
-
- The full score details are available as object dom. This way you can read and process any
- file like you need.
-
-
-
- Loading...
-
-
-
-
Song Details
-
-
- Some of the layout engines can render the song details on top of the music sheet.
-
-
-
-
-
-
HTML5 Canvas
-
-
- Do you prefer an HTML5 canvas output instead of SVG? No problem.
-
-
-
-
-
-
Repeats
-
-
- Need display repeat marks? No problem, single repeats and multiple repeats come out of the box.
-
-
-
-
-
-
-
Alternate Endings
-
-
- Even alternate repeat endings are no problem.
-
-
-
-
-
-
Tunings
-
-
- The guitar tuning of the current track is rendered on the top of the music notation.
-
-
-
-
\ No newline at end of file
diff --git a/Documentation/input/features/guitar-tabs.cshtml b/Documentation/input/features/guitar-tabs.cshtml
deleted file mode 100644
index 4e8aa8661..000000000
--- a/Documentation/input/features/guitar-tabs.cshtml
+++ /dev/null
@@ -1,45 +0,0 @@
-Title: Guitar Tabs
-Order: 3
----
-
-
Rhythm
-
-
- If you only display guitar tablatures, it might be interesting to add
- a rhythm stave to show the durations. You can do this either above or below
- the tablature.
-
-
-
-
-
-
Rhythm With Beams
-
-
- If you prefer beams instead of bars for single notes you can have that too.
-
-
-
-
-
-
String Variations
-
-
- alphaTab will render tabs for stringed instruments. It takes care of
- the number of strings and displays the tabs as you would expect.
-
-
-
-
diff --git a/Documentation/input/features/index.cshtml b/Documentation/input/features/index.cshtml
deleted file mode 100644
index b028b865f..000000000
--- a/Documentation/input/features/index.cshtml
+++ /dev/null
@@ -1,12 +0,0 @@
-Title: Features
-TexSample: true
----
-
-
- These pages provide an insight on what features alphaTab offers. Navigate through the sections in the sidebar to check out the individual features.
-
-
-
-
\ No newline at end of file
diff --git a/Documentation/input/features/layouts.cshtml b/Documentation/input/features/layouts.cshtml
deleted file mode 100644
index 733d1a6cb..000000000
--- a/Documentation/input/features/layouts.cshtml
+++ /dev/null
@@ -1,117 +0,0 @@
-Title: Layouts
-Order: 1
----
-
- alphaTab supports several different layouts which align bars in a various manner.
-
-
-
Page Layout
-
-
- All bars are aligned in rows side by side till the row is full.
-
-
-
-
-
-
-
-
Page Layout (custom width)
-
-
- All bars are aligned in rows side by side till the row is full.
-
-
-
-
-
-
-
Page Layout (5 bars per row)
-
-
- You can configure how many bars should be placed per row
-
-
-
-
-
-
Page Layout (bar 5 to 8)
-
-
- It's also possible to only render some of the bars available in a track.
-
-
-
-
-
-
Horizontal Layout
-
-
- This is another layout type available. All bars are aligned horizontally.
-
-
-
-
-
-
Horizontal Layout (bar 5 to 8)
-
-
- You can also filter the rendered bars using this layout.
-
-
-
-
diff --git a/Documentation/input/features/music-notation.cshtml b/Documentation/input/features/music-notation.cshtml
deleted file mode 100644
index 41b9b0faf..000000000
--- a/Documentation/input/features/music-notation.cshtml
+++ /dev/null
@@ -1,83 +0,0 @@
-Title: Music Notation
-Order: 2
----
-
-
- Rendering standard music notation is one of the essential features of alphaTab.
-
-
-
Clefs
-
-
- Clefs are important for music notation too.
-
-
-
- \title "Clefs"
- .
- \clef G2 | \clef F4 | \clef C3 | \clef C4
-
-
-
-
Key Signatures
-
-
- Want key signatures? No problem, alphaTab will render them for you.
-
-
-
-
-
-
Time Signatures
-
-
-
- Time signatures are important too.
-
-
-
-
-
-
Notes, Rests and Beams
-
-
- We automatically create beams for notes and ensure they are aligned in the most readable way.
-
-
-
-
-
-
Accidentals
-
-
- Accidentals are an essential element of music notation.
-
-
-
-
diff --git a/Documentation/input/features/special-notes.cshtml b/Documentation/input/features/special-notes.cshtml
deleted file mode 100644
index f9cfc7f07..000000000
--- a/Documentation/input/features/special-notes.cshtml
+++ /dev/null
@@ -1,49 +0,0 @@
-Title: Special Notes
-Order: 5
----
-
-
Tied Notes
-
-
- Tied notes are notes which are not hit a second time,
- the note is being held.
-
-
-
-
-
-
Grace Notes
-
-
- Yes, alphaTab can render grace notes.
-
-
-
-
-
-
Dead Notes
-
-
- Dead notes are notes without a defined note height. On stringed instruments
- they are played by hitting the string without pressing but with touching the finger on the fret.
-
-
-
-
-
-
Ghost Notes
-
-
- Ghost notes are played more slient than normal notes.
-
-
-
-
\ No newline at end of file
diff --git a/Documentation/input/features/special-tracks.cshtml b/Documentation/input/features/special-tracks.cshtml
deleted file mode 100644
index 415ef71c9..000000000
--- a/Documentation/input/features/special-tracks.cshtml
+++ /dev/null
@@ -1,40 +0,0 @@
-Title: Special Tracks
-Order: 4
----
-
-
Drum Tabs
-
-
- AlphaTab uses the same drum tab notation as Guitar Pro 5. Since the guitar tab staff is not meaningful on
- percussion track, it's hidden in case a drum tab is displayed.
-
-
-
-
-
-
Grand Staff
-
-
- With Guitar Pro 6 files also grand staffs can be rendered.
-
-
-
-
-
-
Multiple Tracks
-
-
- AlphaTab can also render multiple tracks at the same time.
-
-
-
-
\ No newline at end of file
diff --git a/Font/bravura/eot/Bravura.eot b/Font/bravura/eot/Bravura.eot
deleted file mode 100644
index 230df848a..000000000
Binary files a/Font/bravura/eot/Bravura.eot and /dev/null differ
diff --git a/Font/bravura/otf/Bravura.otf b/Font/bravura/otf/Bravura.otf
deleted file mode 100644
index 3a4264f72..000000000
Binary files a/Font/bravura/otf/Bravura.otf and /dev/null differ
diff --git a/Font/bravura/svg/Bravura.svg b/Font/bravura/svg/Bravura.svg
deleted file mode 100644
index ddbcae5ae..000000000
--- a/Font/bravura/svg/Bravura.svg
+++ /dev/null
@@ -1,3865 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/Font/bravura/woff/Bravura.woff b/Font/bravura/woff/Bravura.woff
deleted file mode 100644
index cfd576d5d..000000000
Binary files a/Font/bravura/woff/Bravura.woff and /dev/null differ
diff --git a/LICENSE b/LICENSE
index 3a3b445fc..fa0086a95 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,165 +1,373 @@
- GNU LESSER GENERAL PUBLIC LICENSE
- Version 3, 29 June 2007
+Mozilla Public License Version 2.0
+==================================
- Copyright (C) 2007 Free Software Foundation, Inc. [http://fsf.org/]
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
+1. Definitions
+--------------
+1.1. "Contributor"
+ means each individual or legal entity that creates, contributes to
+ the creation of, or owns Covered Software.
- This version of the GNU Lesser General Public License incorporates
-the terms and conditions of version 3 of the GNU General Public
-License, supplemented by the additional permissions listed below.
+1.2. "Contributor Version"
+ means the combination of the Contributions of others (if any) used
+ by a Contributor and that particular Contributor's Contribution.
- 0. Additional Definitions.
+1.3. "Contribution"
+ means Covered Software of a particular Contributor.
- As used herein, "this License" refers to version 3 of the GNU Lesser
-General Public License, and the "GNU GPL" refers to version 3 of the GNU
-General Public License.
+1.4. "Covered Software"
+ means Source Code Form to which the initial Contributor has attached
+ the notice in Exhibit A, the Executable Form of such Source Code
+ Form, and Modifications of such Source Code Form, in each case
+ including portions thereof.
- "The Library" refers to a covered work governed by this License,
-other than an Application or a Combined Work as defined below.
-
- An "Application" is any work that makes use of an interface provided
-by the Library, but which is not otherwise based on the Library.
-Defining a subclass of a class defined by the Library is deemed a mode
-of using an interface provided by the Library.
-
- A "Combined Work" is a work produced by combining or linking an
-Application with the Library. The particular version of the Library
-with which the Combined Work was made is also called the "Linked
-Version".
-
- The "Minimal Corresponding Source" for a Combined Work means the
-Corresponding Source for the Combined Work, excluding any source code
-for portions of the Combined Work that, considered in isolation, are
-based on the Application, and not on the Linked Version.
-
- The "Corresponding Application Code" for a Combined Work means the
-object code and/or source code for the Application, including any data
-and utility programs needed for reproducing the Combined Work from the
-Application, but excluding the System Libraries of the Combined Work.
-
- 1. Exception to Section 3 of the GNU GPL.
-
- You may convey a covered work under sections 3 and 4 of this License
-without being bound by section 3 of the GNU GPL.
-
- 2. Conveying Modified Versions.
-
- If you modify a copy of the Library, and, in your modifications, a
-facility refers to a function or data to be supplied by an Application
-that uses the facility (other than as an argument passed when the
-facility is invoked), then you may convey a copy of the modified
-version:
-
- a) under this License, provided that you make a good faith effort to
- ensure that, in the event an Application does not supply the
- function or data, the facility still operates, and performs
- whatever part of its purpose remains meaningful, or
-
- b) under the GNU GPL, with none of the additional permissions of
- this License applicable to that copy.
-
- 3. Object Code Incorporating Material from Library Header Files.
-
- The object code form of an Application may incorporate material from
-a header file that is part of the Library. You may convey such object
-code under terms of your choice, provided that, if the incorporated
-material is not limited to numerical parameters, data structure
-layouts and accessors, or small macros, inline functions and templates
-(ten or fewer lines in length), you do both of the following:
-
- a) Give prominent notice with each copy of the object code that the
- Library is used in it and that the Library and its use are
- covered by this License.
-
- b) Accompany the object code with a copy of the GNU GPL and this license
- document.
-
- 4. Combined Works.
-
- You may convey a Combined Work under terms of your choice that,
-taken together, effectively do not restrict modification of the
-portions of the Library contained in the Combined Work and reverse
-engineering for debugging such modifications, if you also do each of
-the following:
-
- a) Give prominent notice with each copy of the Combined Work that
- the Library is used in it and that the Library and its use are
- covered by this License.
-
- b) Accompany the Combined Work with a copy of the GNU GPL and this license
- document.
-
- c) For a Combined Work that displays copyright notices during
- execution, include the copyright notice for the Library among
- these notices, as well as a reference directing the user to the
- copies of the GNU GPL and this license document.
-
- d) Do one of the following:
-
- 0) Convey the Minimal Corresponding Source under the terms of this
- License, and the Corresponding Application Code in a form
- suitable for, and under terms that permit, the user to
- recombine or relink the Application with a modified version of
- the Linked Version to produce a modified Combined Work, in the
- manner specified by section 6 of the GNU GPL for conveying
- Corresponding Source.
-
- 1) Use a suitable shared library mechanism for linking with the
- Library. A suitable mechanism is one that (a) uses at run time
- a copy of the Library already present on the user's computer
- system, and (b) will operate properly with a modified version
- of the Library that is interface-compatible with the Linked
- Version.
-
- e) Provide Installation Information, but only if you would otherwise
- be required to provide such information under section 6 of the
- GNU GPL, and only to the extent that such information is
- necessary to install and execute a modified version of the
- Combined Work produced by recombining or relinking the
- Application with a modified version of the Linked Version. (If
- you use option 4d0, the Installation Information must accompany
- the Minimal Corresponding Source and Corresponding Application
- Code. If you use option 4d1, you must provide the Installation
- Information in the manner specified by section 6 of the GNU GPL
- for conveying Corresponding Source.)
-
- 5. Combined Libraries.
-
- You may place library facilities that are a work based on the
-Library side by side in a single library together with other library
-facilities that are not Applications and are not covered by this
-License, and convey such a combined library under terms of your
-choice, if you do both of the following:
-
- a) Accompany the combined library with a copy of the same work based
- on the Library, uncombined with any other library facilities,
- conveyed under the terms of this License.
-
- b) Give prominent notice with the combined library that part of it
- is a work based on the Library, and explaining where to find the
- accompanying uncombined form of the same work.
-
- 6. Revised Versions of the GNU Lesser General Public License.
-
- The Free Software Foundation may publish revised and/or new versions
-of the GNU Lesser General Public License from time to time. Such new
-versions will be similar in spirit to the present version, but may
-differ in detail to address new problems or concerns.
-
- Each version is given a distinguishing version number. If the
-Library as you received it specifies that a certain numbered version
-of the GNU Lesser General Public License "or any later version"
-applies to it, you have the option of following the terms and
-conditions either of that published version or of any later version
-published by the Free Software Foundation. If the Library as you
-received it does not specify a version number of the GNU Lesser
-General Public License, you may choose any version of the GNU Lesser
-General Public License ever published by the Free Software Foundation.
-
- If the Library as you received it specifies that a proxy can decide
-whether future versions of the GNU Lesser General Public License shall
-apply, that proxy's public statement of acceptance of any version is
-permanent authorization for you to choose that version for the
-Library.
\ No newline at end of file
+1.5. "Incompatible With Secondary Licenses"
+ means
+
+ (a) that the initial Contributor has attached the notice described
+ in Exhibit B to the Covered Software; or
+
+ (b) that the Covered Software was made available under the terms of
+ version 1.1 or earlier of the License, but not also under the
+ terms of a Secondary License.
+
+1.6. "Executable Form"
+ means any form of the work other than Source Code Form.
+
+1.7. "Larger Work"
+ means a work that combines Covered Software with other material, in
+ a separate file or files, that is not Covered Software.
+
+1.8. "License"
+ means this document.
+
+1.9. "Licensable"
+ means having the right to grant, to the maximum extent possible,
+ whether at the time of the initial grant or subsequently, any and
+ all of the rights conveyed by this License.
+
+1.10. "Modifications"
+ means any of the following:
+
+ (a) any file in Source Code Form that results from an addition to,
+ deletion from, or modification of the contents of Covered
+ Software; or
+
+ (b) any new file in Source Code Form that contains any Covered
+ Software.
+
+1.11. "Patent Claims" of a Contributor
+ means any patent claim(s), including without limitation, method,
+ process, and apparatus claims, in any patent Licensable by such
+ Contributor that would be infringed, but for the grant of the
+ License, by the making, using, selling, offering for sale, having
+ made, import, or transfer of either its Contributions or its
+ Contributor Version.
+
+1.12. "Secondary License"
+ means either the GNU General Public License, Version 2.0, the GNU
+ Lesser General Public License, Version 2.1, the GNU Affero General
+ Public License, Version 3.0, or any later versions of those
+ licenses.
+
+1.13. "Source Code Form"
+ means the form of the work preferred for making modifications.
+
+1.14. "You" (or "Your")
+ means an individual or a legal entity exercising rights under this
+ License. For legal entities, "You" includes any entity that
+ controls, is controlled by, or is under common control with You. For
+ purposes of this definition, "control" means (a) the power, direct
+ or indirect, to cause the direction or management of such entity,
+ whether by contract or otherwise, or (b) ownership of more than
+ fifty percent (50%) of the outstanding shares or beneficial
+ ownership of such entity.
+
+2. License Grants and Conditions
+--------------------------------
+
+2.1. Grants
+
+Each Contributor hereby grants You a world-wide, royalty-free,
+non-exclusive license:
+
+(a) under intellectual property rights (other than patent or trademark)
+ Licensable by such Contributor to use, reproduce, make available,
+ modify, display, perform, distribute, and otherwise exploit its
+ Contributions, either on an unmodified basis, with Modifications, or
+ as part of a Larger Work; and
+
+(b) under Patent Claims of such Contributor to make, use, sell, offer
+ for sale, have made, import, and otherwise transfer either its
+ Contributions or its Contributor Version.
+
+2.2. Effective Date
+
+The licenses granted in Section 2.1 with respect to any Contribution
+become effective for each Contribution on the date the Contributor first
+distributes such Contribution.
+
+2.3. Limitations on Grant Scope
+
+The licenses granted in this Section 2 are the only rights granted under
+this License. No additional rights or licenses will be implied from the
+distribution or licensing of Covered Software under this License.
+Notwithstanding Section 2.1(b) above, no patent license is granted by a
+Contributor:
+
+(a) for any code that a Contributor has removed from Covered Software;
+ or
+
+(b) for infringements caused by: (i) Your and any other third party's
+ modifications of Covered Software, or (ii) the combination of its
+ Contributions with other software (except as part of its Contributor
+ Version); or
+
+(c) under Patent Claims infringed by Covered Software in the absence of
+ its Contributions.
+
+This License does not grant any rights in the trademarks, service marks,
+or logos of any Contributor (except as may be necessary to comply with
+the notice requirements in Section 3.4).
+
+2.4. Subsequent Licenses
+
+No Contributor makes additional grants as a result of Your choice to
+distribute the Covered Software under a subsequent version of this
+License (see Section 10.2) or under the terms of a Secondary License (if
+permitted under the terms of Section 3.3).
+
+2.5. Representation
+
+Each Contributor represents that the Contributor believes its
+Contributions are its original creation(s) or it has sufficient rights
+to grant the rights to its Contributions conveyed by this License.
+
+2.6. Fair Use
+
+This License is not intended to limit any rights You have under
+applicable copyright doctrines of fair use, fair dealing, or other
+equivalents.
+
+2.7. Conditions
+
+Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
+in Section 2.1.
+
+3. Responsibilities
+-------------------
+
+3.1. Distribution of Source Form
+
+All distribution of Covered Software in Source Code Form, including any
+Modifications that You create or to which You contribute, must be under
+the terms of this License. You must inform recipients that the Source
+Code Form of the Covered Software is governed by the terms of this
+License, and how they can obtain a copy of this License. You may not
+attempt to alter or restrict the recipients' rights in the Source Code
+Form.
+
+3.2. Distribution of Executable Form
+
+If You distribute Covered Software in Executable Form then:
+
+(a) such Covered Software must also be made available in Source Code
+ Form, as described in Section 3.1, and You must inform recipients of
+ the Executable Form how they can obtain a copy of such Source Code
+ Form by reasonable means in a timely manner, at a charge no more
+ than the cost of distribution to the recipient; and
+
+(b) You may distribute such Executable Form under the terms of this
+ License, or sublicense it under different terms, provided that the
+ license for the Executable Form does not attempt to limit or alter
+ the recipients' rights in the Source Code Form under this License.
+
+3.3. Distribution of a Larger Work
+
+You may create and distribute a Larger Work under terms of Your choice,
+provided that You also comply with the requirements of this License for
+the Covered Software. If the Larger Work is a combination of Covered
+Software with a work governed by one or more Secondary Licenses, and the
+Covered Software is not Incompatible With Secondary Licenses, this
+License permits You to additionally distribute such Covered Software
+under the terms of such Secondary License(s), so that the recipient of
+the Larger Work may, at their option, further distribute the Covered
+Software under the terms of either this License or such Secondary
+License(s).
+
+3.4. Notices
+
+You may not remove or alter the substance of any license notices
+(including copyright notices, patent notices, disclaimers of warranty,
+or limitations of liability) contained within the Source Code Form of
+the Covered Software, except that You may alter any license notices to
+the extent required to remedy known factual inaccuracies.
+
+3.5. Application of Additional Terms
+
+You may choose to offer, and to charge a fee for, warranty, support,
+indemnity or liability obligations to one or more recipients of Covered
+Software. However, You may do so only on Your own behalf, and not on
+behalf of any Contributor. You must make it absolutely clear that any
+such warranty, support, indemnity, or liability obligation is offered by
+You alone, and You hereby agree to indemnify every Contributor for any
+liability incurred by such Contributor as a result of warranty, support,
+indemnity or liability terms You offer. You may include additional
+disclaimers of warranty and limitations of liability specific to any
+jurisdiction.
+
+4. Inability to Comply Due to Statute or Regulation
+---------------------------------------------------
+
+If it is impossible for You to comply with any of the terms of this
+License with respect to some or all of the Covered Software due to
+statute, judicial order, or regulation then You must: (a) comply with
+the terms of this License to the maximum extent possible; and (b)
+describe the limitations and the code they affect. Such description must
+be placed in a text file included with all distributions of the Covered
+Software under this License. Except to the extent prohibited by statute
+or regulation, such description must be sufficiently detailed for a
+recipient of ordinary skill to be able to understand it.
+
+5. Termination
+--------------
+
+5.1. The rights granted under this License will terminate automatically
+if You fail to comply with any of its terms. However, if You become
+compliant, then the rights granted under this License from a particular
+Contributor are reinstated (a) provisionally, unless and until such
+Contributor explicitly and finally terminates Your grants, and (b) on an
+ongoing basis, if such Contributor fails to notify You of the
+non-compliance by some reasonable means prior to 60 days after You have
+come back into compliance. Moreover, Your grants from a particular
+Contributor are reinstated on an ongoing basis if such Contributor
+notifies You of the non-compliance by some reasonable means, this is the
+first time You have received notice of non-compliance with this License
+from such Contributor, and You become compliant prior to 30 days after
+Your receipt of the notice.
+
+5.2. If You initiate litigation against any entity by asserting a patent
+infringement claim (excluding declaratory judgment actions,
+counter-claims, and cross-claims) alleging that a Contributor Version
+directly or indirectly infringes any patent, then the rights granted to
+You by any and all Contributors for the Covered Software under Section
+2.1 of this License shall terminate.
+
+5.3. In the event of termination under Sections 5.1 or 5.2 above, all
+end user license agreements (excluding distributors and resellers) which
+have been validly granted by You or Your distributors under this License
+prior to termination shall survive termination.
+
+************************************************************************
+* *
+* 6. Disclaimer of Warranty *
+* ------------------------- *
+* *
+* Covered Software is provided under this License on an "as is" *
+* basis, without warranty of any kind, either expressed, implied, or *
+* statutory, including, without limitation, warranties that the *
+* Covered Software is free of defects, merchantable, fit for a *
+* particular purpose or non-infringing. The entire risk as to the *
+* quality and performance of the Covered Software is with You. *
+* Should any Covered Software prove defective in any respect, You *
+* (not any Contributor) assume the cost of any necessary servicing, *
+* repair, or correction. This disclaimer of warranty constitutes an *
+* essential part of this License. No use of any Covered Software is *
+* authorized under this License except under this disclaimer. *
+* *
+************************************************************************
+
+************************************************************************
+* *
+* 7. Limitation of Liability *
+* -------------------------- *
+* *
+* Under no circumstances and under no legal theory, whether tort *
+* (including negligence), contract, or otherwise, shall any *
+* Contributor, or anyone who distributes Covered Software as *
+* permitted above, be liable to You for any direct, indirect, *
+* special, incidental, or consequential damages of any character *
+* including, without limitation, damages for lost profits, loss of *
+* goodwill, work stoppage, computer failure or malfunction, or any *
+* and all other commercial damages or losses, even if such party *
+* shall have been informed of the possibility of such damages. This *
+* limitation of liability shall not apply to liability for death or *
+* personal injury resulting from such party's negligence to the *
+* extent applicable law prohibits such limitation. Some *
+* jurisdictions do not allow the exclusion or limitation of *
+* incidental or consequential damages, so this exclusion and *
+* limitation may not apply to You. *
+* *
+************************************************************************
+
+8. Litigation
+-------------
+
+Any litigation relating to this License may be brought only in the
+courts of a jurisdiction where the defendant maintains its principal
+place of business and such litigation shall be governed by laws of that
+jurisdiction, without reference to its conflict-of-law provisions.
+Nothing in this Section shall prevent a party's ability to bring
+cross-claims or counter-claims.
+
+9. Miscellaneous
+----------------
+
+This License represents the complete agreement concerning the subject
+matter hereof. If any provision of this License is held to be
+unenforceable, such provision shall be reformed only to the extent
+necessary to make it enforceable. Any law or regulation which provides
+that the language of a contract shall be construed against the drafter
+shall not be used to construe this License against a Contributor.
+
+10. Versions of the License
+---------------------------
+
+10.1. New Versions
+
+Mozilla Foundation is the license steward. Except as provided in Section
+10.3, no one other than the license steward has the right to modify or
+publish new versions of this License. Each version will be given a
+distinguishing version number.
+
+10.2. Effect of New Versions
+
+You may distribute the Covered Software under the terms of the version
+of the License under which You originally received the Covered Software,
+or under the terms of any subsequent version published by the license
+steward.
+
+10.3. Modified Versions
+
+If you create software not governed by this License, and you want to
+create a new license for such software, you may create and use a
+modified version of this License if you rename the license and remove
+any references to the name of the license steward (except to note that
+such modified license differs from this License).
+
+10.4. Distributing Source Code Form that is Incompatible With Secondary
+Licenses
+
+If You choose to distribute Source Code Form that is Incompatible With
+Secondary Licenses under the terms of this version of the License, the
+notice described in Exhibit B of this License must be attached.
+
+Exhibit A - Source Code Form License Notice
+-------------------------------------------
+
+ This Source Code Form is subject to the terms of the Mozilla Public
+ License, v. 2.0. If a copy of the MPL was not distributed with this
+ file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+If it is not possible or desirable to put the notice in a particular
+file, then You may include the notice in a location (such as a LICENSE
+file in a relevant directory) where a recipient would be likely to look
+for such a notice.
+
+You may add additional accurate notices of copyright ownership.
+
+Exhibit B - "Incompatible With Secondary Licenses" Notice
+---------------------------------------------------------
+
+ This Source Code Form is "Incompatible With Secondary Licenses", as
+ defined by the Mozilla Public License, v. 2.0.
\ No newline at end of file
diff --git a/LICENSE.header b/LICENSE.header
new file mode 100644
index 000000000..ab16ba851
--- /dev/null
+++ b/LICENSE.header
@@ -0,0 +1,13 @@
+alphaTab v<%= pkg.version %> (<%= data.branch %>, build <%= data.build %>)
+
+Copyright © <%= moment().format('YYYY') %>, Daniel Kuschny and Contributors, All rights reserved.
+
+This Source Code Form is subject to the terms of the Mozilla Public
+License, v. 2.0. If a copy of the MPL was not distributed with this
+file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+SoundFont loading and Audio Synthesis based on TinySoundFont (licensed under MIT)
+Copyright (C) 2017, 2018 Bernhard Schelling (https://github.com/schellingb/TinySoundFont)
+
+TinySoundFont is based on SFZero (licensed under MIT)
+Copyright (C) 2012 Steve Folta (https://github.com/stevefolta/SFZero)
\ No newline at end of file
diff --git a/Phase/Compiler/CopyNewCompiler.bat b/Phase/Compiler/CopyNewCompiler.bat
deleted file mode 100644
index 16780a76e..000000000
--- a/Phase/Compiler/CopyNewCompiler.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-taskkill /im:msbuild.exe /f
-xcopy D:\Dev\C#\Projects\Phase.netstandard\Phase.MsBuild\bin\Debug\net471\* . /Y
\ No newline at end of file
diff --git a/Phase/Compiler/Microsoft.Build.Framework.dll b/Phase/Compiler/Microsoft.Build.Framework.dll
deleted file mode 100644
index 5b63a6c70..000000000
Binary files a/Phase/Compiler/Microsoft.Build.Framework.dll and /dev/null differ
diff --git a/Phase/Compiler/Microsoft.Build.Tasks.Core.dll b/Phase/Compiler/Microsoft.Build.Tasks.Core.dll
deleted file mode 100644
index 2389c63b0..000000000
Binary files a/Phase/Compiler/Microsoft.Build.Tasks.Core.dll and /dev/null differ
diff --git a/Phase/Compiler/Microsoft.Build.Utilities.Core.dll b/Phase/Compiler/Microsoft.Build.Utilities.Core.dll
deleted file mode 100644
index f499f5587..000000000
Binary files a/Phase/Compiler/Microsoft.Build.Utilities.Core.dll and /dev/null differ
diff --git a/Phase/Compiler/Microsoft.Build.dll b/Phase/Compiler/Microsoft.Build.dll
deleted file mode 100644
index 8812da60c..000000000
Binary files a/Phase/Compiler/Microsoft.Build.dll and /dev/null differ
diff --git a/Phase/Compiler/Microsoft.CodeAnalysis.CSharp.Workspaces.dll b/Phase/Compiler/Microsoft.CodeAnalysis.CSharp.Workspaces.dll
deleted file mode 100644
index b269eecff..000000000
Binary files a/Phase/Compiler/Microsoft.CodeAnalysis.CSharp.Workspaces.dll and /dev/null differ
diff --git a/Phase/Compiler/Microsoft.CodeAnalysis.CSharp.dll b/Phase/Compiler/Microsoft.CodeAnalysis.CSharp.dll
deleted file mode 100644
index 2ad58e695..000000000
Binary files a/Phase/Compiler/Microsoft.CodeAnalysis.CSharp.dll and /dev/null differ
diff --git a/Phase/Compiler/Microsoft.CodeAnalysis.VisualBasic.Workspaces.dll b/Phase/Compiler/Microsoft.CodeAnalysis.VisualBasic.Workspaces.dll
deleted file mode 100644
index 231cd1c6c..000000000
Binary files a/Phase/Compiler/Microsoft.CodeAnalysis.VisualBasic.Workspaces.dll and /dev/null differ
diff --git a/Phase/Compiler/Microsoft.CodeAnalysis.VisualBasic.dll b/Phase/Compiler/Microsoft.CodeAnalysis.VisualBasic.dll
deleted file mode 100644
index a3985f275..000000000
Binary files a/Phase/Compiler/Microsoft.CodeAnalysis.VisualBasic.dll and /dev/null differ
diff --git a/Phase/Compiler/Microsoft.CodeAnalysis.Workspaces.Desktop.dll b/Phase/Compiler/Microsoft.CodeAnalysis.Workspaces.Desktop.dll
deleted file mode 100644
index e836804cf..000000000
Binary files a/Phase/Compiler/Microsoft.CodeAnalysis.Workspaces.Desktop.dll and /dev/null differ
diff --git a/Phase/Compiler/Microsoft.CodeAnalysis.Workspaces.dll b/Phase/Compiler/Microsoft.CodeAnalysis.Workspaces.dll
deleted file mode 100644
index 8a64fac3f..000000000
Binary files a/Phase/Compiler/Microsoft.CodeAnalysis.Workspaces.dll and /dev/null differ
diff --git a/Phase/Compiler/Microsoft.CodeAnalysis.dll b/Phase/Compiler/Microsoft.CodeAnalysis.dll
deleted file mode 100644
index 270574d39..000000000
Binary files a/Phase/Compiler/Microsoft.CodeAnalysis.dll and /dev/null differ
diff --git a/Phase/Compiler/Mono.Cecil.Mdb.dll b/Phase/Compiler/Mono.Cecil.Mdb.dll
deleted file mode 100644
index b44695386..000000000
Binary files a/Phase/Compiler/Mono.Cecil.Mdb.dll and /dev/null differ
diff --git a/Phase/Compiler/Mono.Cecil.Pdb.dll b/Phase/Compiler/Mono.Cecil.Pdb.dll
deleted file mode 100644
index bff1a30e1..000000000
Binary files a/Phase/Compiler/Mono.Cecil.Pdb.dll and /dev/null differ
diff --git a/Phase/Compiler/Mono.Cecil.Rocks.dll b/Phase/Compiler/Mono.Cecil.Rocks.dll
deleted file mode 100644
index 8e3e779b3..000000000
Binary files a/Phase/Compiler/Mono.Cecil.Rocks.dll and /dev/null differ
diff --git a/Phase/Compiler/Mono.Cecil.dll b/Phase/Compiler/Mono.Cecil.dll
deleted file mode 100644
index 8275c7bb2..000000000
Binary files a/Phase/Compiler/Mono.Cecil.dll and /dev/null differ
diff --git a/Phase/Compiler/NLog.dll b/Phase/Compiler/NLog.dll
deleted file mode 100644
index c045512ef..000000000
Binary files a/Phase/Compiler/NLog.dll and /dev/null differ
diff --git a/Phase/Compiler/Newtonsoft.Json.dll b/Phase/Compiler/Newtonsoft.Json.dll
deleted file mode 100644
index 80699020c..000000000
Binary files a/Phase/Compiler/Newtonsoft.Json.dll and /dev/null differ
diff --git a/Phase/Compiler/Phase.Build.targets b/Phase/Compiler/Phase.Build.targets
deleted file mode 100644
index 87346f6ad..000000000
--- a/Phase/Compiler/Phase.Build.targets
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Phase/Compiler/Phase.Core.dll b/Phase/Compiler/Phase.Core.dll
deleted file mode 100644
index 179ce612c..000000000
Binary files a/Phase/Compiler/Phase.Core.dll and /dev/null differ
diff --git a/Phase/Compiler/Phase.Core.pdb b/Phase/Compiler/Phase.Core.pdb
deleted file mode 100644
index dfbe7ac56..000000000
Binary files a/Phase/Compiler/Phase.Core.pdb and /dev/null differ
diff --git a/Phase/Compiler/Phase.MsBuild.dll b/Phase/Compiler/Phase.MsBuild.dll
deleted file mode 100644
index 6de6d07fd..000000000
Binary files a/Phase/Compiler/Phase.MsBuild.dll and /dev/null differ
diff --git a/Phase/Compiler/Phase.MsBuild.dll.config b/Phase/Compiler/Phase.MsBuild.dll.config
deleted file mode 100644
index cc5bae109..000000000
--- a/Phase/Compiler/Phase.MsBuild.dll.config
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Phase/Compiler/Phase.MsBuild.pdb b/Phase/Compiler/Phase.MsBuild.pdb
deleted file mode 100644
index 906a5fea4..000000000
Binary files a/Phase/Compiler/Phase.MsBuild.pdb and /dev/null differ
diff --git a/Phase/Compiler/Phase.Translator.dll b/Phase/Compiler/Phase.Translator.dll
deleted file mode 100644
index 72535f123..000000000
Binary files a/Phase/Compiler/Phase.Translator.dll and /dev/null differ
diff --git a/Phase/Compiler/Phase.Translator.pdb b/Phase/Compiler/Phase.Translator.pdb
deleted file mode 100644
index 42ddfef2a..000000000
Binary files a/Phase/Compiler/Phase.Translator.pdb and /dev/null differ
diff --git a/Phase/Compiler/System.Collections.Immutable.dll b/Phase/Compiler/System.Collections.Immutable.dll
deleted file mode 100644
index ce6fc0e8d..000000000
Binary files a/Phase/Compiler/System.Collections.Immutable.dll and /dev/null differ
diff --git a/Phase/Compiler/System.Composition.AttributedModel.dll b/Phase/Compiler/System.Composition.AttributedModel.dll
deleted file mode 100644
index 4acc216e1..000000000
Binary files a/Phase/Compiler/System.Composition.AttributedModel.dll and /dev/null differ
diff --git a/Phase/Compiler/System.Composition.Convention.dll b/Phase/Compiler/System.Composition.Convention.dll
deleted file mode 100644
index ef3669bb2..000000000
Binary files a/Phase/Compiler/System.Composition.Convention.dll and /dev/null differ
diff --git a/Phase/Compiler/System.Composition.Hosting.dll b/Phase/Compiler/System.Composition.Hosting.dll
deleted file mode 100644
index a446fe6e0..000000000
Binary files a/Phase/Compiler/System.Composition.Hosting.dll and /dev/null differ
diff --git a/Phase/Compiler/System.Composition.Runtime.dll b/Phase/Compiler/System.Composition.Runtime.dll
deleted file mode 100644
index a05bfe9c8..000000000
Binary files a/Phase/Compiler/System.Composition.Runtime.dll and /dev/null differ
diff --git a/Phase/Compiler/System.Composition.TypedParts.dll b/Phase/Compiler/System.Composition.TypedParts.dll
deleted file mode 100644
index cfae95d0c..000000000
Binary files a/Phase/Compiler/System.Composition.TypedParts.dll and /dev/null differ
diff --git a/Phase/Compiler/System.Data.Common.dll b/Phase/Compiler/System.Data.Common.dll
deleted file mode 100644
index 198fd3e8c..000000000
Binary files a/Phase/Compiler/System.Data.Common.dll and /dev/null differ
diff --git a/Phase/Compiler/System.Diagnostics.StackTrace.dll b/Phase/Compiler/System.Diagnostics.StackTrace.dll
deleted file mode 100644
index 0a4be4925..000000000
Binary files a/Phase/Compiler/System.Diagnostics.StackTrace.dll and /dev/null differ
diff --git a/Phase/Compiler/System.Diagnostics.Tracing.dll b/Phase/Compiler/System.Diagnostics.Tracing.dll
deleted file mode 100644
index 97d8b1176..000000000
Binary files a/Phase/Compiler/System.Diagnostics.Tracing.dll and /dev/null differ
diff --git a/Phase/Compiler/System.Globalization.Extensions.dll b/Phase/Compiler/System.Globalization.Extensions.dll
deleted file mode 100644
index 5e6f83c7f..000000000
Binary files a/Phase/Compiler/System.Globalization.Extensions.dll and /dev/null differ
diff --git a/Phase/Compiler/System.IO.Compression.dll b/Phase/Compiler/System.IO.Compression.dll
deleted file mode 100644
index f8468a652..000000000
Binary files a/Phase/Compiler/System.IO.Compression.dll and /dev/null differ
diff --git a/Phase/Compiler/System.Net.Http.dll b/Phase/Compiler/System.Net.Http.dll
deleted file mode 100644
index e935b3b6e..000000000
Binary files a/Phase/Compiler/System.Net.Http.dll and /dev/null differ
diff --git a/Phase/Compiler/System.Net.Sockets.dll b/Phase/Compiler/System.Net.Sockets.dll
deleted file mode 100644
index b8d0bbb92..000000000
Binary files a/Phase/Compiler/System.Net.Sockets.dll and /dev/null differ
diff --git a/Phase/Compiler/System.Reflection.Metadata.dll b/Phase/Compiler/System.Reflection.Metadata.dll
deleted file mode 100644
index ee68731c0..000000000
Binary files a/Phase/Compiler/System.Reflection.Metadata.dll and /dev/null differ
diff --git a/Phase/Compiler/System.Runtime.Serialization.Primitives.dll b/Phase/Compiler/System.Runtime.Serialization.Primitives.dll
deleted file mode 100644
index a1b1537ee..000000000
Binary files a/Phase/Compiler/System.Runtime.Serialization.Primitives.dll and /dev/null differ
diff --git a/Phase/Compiler/System.Security.Cryptography.Algorithms.dll b/Phase/Compiler/System.Security.Cryptography.Algorithms.dll
deleted file mode 100644
index 71241422f..000000000
Binary files a/Phase/Compiler/System.Security.Cryptography.Algorithms.dll and /dev/null differ
diff --git a/Phase/Compiler/System.Security.SecureString.dll b/Phase/Compiler/System.Security.SecureString.dll
deleted file mode 100644
index 1db0169d2..000000000
Binary files a/Phase/Compiler/System.Security.SecureString.dll and /dev/null differ
diff --git a/Phase/Compiler/System.Text.Encoding.CodePages.dll b/Phase/Compiler/System.Text.Encoding.CodePages.dll
deleted file mode 100644
index 0f2f44744..000000000
Binary files a/Phase/Compiler/System.Text.Encoding.CodePages.dll and /dev/null differ
diff --git a/Phase/Compiler/System.Threading.Overlapped.dll b/Phase/Compiler/System.Threading.Overlapped.dll
deleted file mode 100644
index f43c3134b..000000000
Binary files a/Phase/Compiler/System.Threading.Overlapped.dll and /dev/null differ
diff --git a/Phase/Compiler/System.Threading.Tasks.Dataflow.dll b/Phase/Compiler/System.Threading.Tasks.Dataflow.dll
deleted file mode 100644
index 7567471e1..000000000
Binary files a/Phase/Compiler/System.Threading.Tasks.Dataflow.dll and /dev/null differ
diff --git a/Phase/Compiler/System.Xml.XPath.XDocument.dll b/Phase/Compiler/System.Xml.XPath.XDocument.dll
deleted file mode 100644
index 445d51a45..000000000
Binary files a/Phase/Compiler/System.Xml.XPath.XDocument.dll and /dev/null differ
diff --git a/Phase/Mscorlib/system/Action.hx b/Phase/Mscorlib/system/Action.hx
deleted file mode 100644
index d1fe4a33a..000000000
--- a/Phase/Mscorlib/system/Action.hx
+++ /dev/null
@@ -1,3 +0,0 @@
-package system;
-
-typedef Action = Void->Void;
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/Action1.hx b/Phase/Mscorlib/system/Action1.hx
deleted file mode 100644
index fab5d6a27..000000000
--- a/Phase/Mscorlib/system/Action1.hx
+++ /dev/null
@@ -1,3 +0,0 @@
-package system;
-
-typedef Action1
= T->Void;
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/Action2.hx b/Phase/Mscorlib/system/Action2.hx
deleted file mode 100644
index 56fd41bd0..000000000
--- a/Phase/Mscorlib/system/Action2.hx
+++ /dev/null
@@ -1,3 +0,0 @@
-package system;
-
-typedef Action2 = T1->T2->Void;
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/Action3.hx b/Phase/Mscorlib/system/Action3.hx
deleted file mode 100644
index 0ba881ea0..000000000
--- a/Phase/Mscorlib/system/Action3.hx
+++ /dev/null
@@ -1,3 +0,0 @@
-package system;
-
-typedef Action3 = T1->T2->T3->Void;
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/Action9.hx b/Phase/Mscorlib/system/Action9.hx
deleted file mode 100644
index 864eb98be..000000000
--- a/Phase/Mscorlib/system/Action9.hx
+++ /dev/null
@@ -1,3 +0,0 @@
-package system;
-
-typedef Action9 = T1->T2->T3->T4->T5->T6->T7->T8->T9->Void;
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/ArgumentException.hx b/Phase/Mscorlib/system/ArgumentException.hx
deleted file mode 100644
index 884ec5e8d..000000000
--- a/Phase/Mscorlib/system/ArgumentException.hx
+++ /dev/null
@@ -1,23 +0,0 @@
-package system;
-
-class ArgumentException extends Exception
-{
- public var ParamName(default, null):CsString;
-
- public function new()
- {
- super();
- }
- public function ArgumentException_CsString(paramName:CsString)
- {
- Exception_CsString("argument '" + paramName + "' has an invalid value");
- ParamName = paramName;
- return this;
- }
- public function ArgumentException_CsString_CsString(message:CsString, paramName:CsString)
- {
- Exception_CsString(message);
- ParamName = paramName;
- return this;
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/ArgumentNullException.hx b/Phase/Mscorlib/system/ArgumentNullException.hx
deleted file mode 100644
index 20cde9467..000000000
--- a/Phase/Mscorlib/system/ArgumentNullException.hx
+++ /dev/null
@@ -1,19 +0,0 @@
-package system;
-
-class ArgumentNullException extends ArgumentException
-{
- public function new()
- {
- super();
- }
- public function ArgumentNullException_CsString(paramName:CsString)
- {
- ArgumentNullException_CsString_CsString("argument '" + paramName + "' must not be null", paramName);
- return this;
- }
- public function ArgumentNullException_CsString_CsString(message:CsString, paramName:CsString)
- {
- ArgumentException_CsString_CsString(message, paramName);
- return this;
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/Boolean.hx b/Phase/Mscorlib/system/Boolean.hx
deleted file mode 100644
index 515d3e9a3..000000000
--- a/Phase/Mscorlib/system/Boolean.hx
+++ /dev/null
@@ -1,17 +0,0 @@
-package system;
-
-abstract Boolean(Bool) from Bool to Bool
-{
- public inline function new(v:Bool) this = v;
-
- public inline function ToHaxeBool() : Bool return this;
- public inline function ToString() : system.CsString return Std.string(this);
-
- @:op(!A) public inline function not() : system.Boolean return !this;
-
- @:op(A == B) public static function eq(lhs : system.Boolean, rhs : system.Boolean) : system.Boolean;
- @:op(A != B) public static function neq(lhs : system.Boolean, rhs : system.Boolean) : system.Boolean;
- @:op(A & B) public static inline function and(lhs : system.Boolean, rhs : system.Boolean) : system.Boolean return lhs && rhs;
- @:op(A | B) public static inline function or(lhs : system.Boolean, rhs : system.Boolean) : system.Boolean return lhs || rhs;
- @:op(A ^ B) public static inline function xor(lhs : system.Boolean, rhs : system.Boolean) : system.Boolean return lhs != rhs;
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/Byte.hx b/Phase/Mscorlib/system/Byte.hx
deleted file mode 100644
index 76a0c07d8..000000000
--- a/Phase/Mscorlib/system/Byte.hx
+++ /dev/null
@@ -1,315 +0,0 @@
-package system;
-
-
-abstract Byte(Int) from Int
-{
- public inline function new(i:Int) this = system.Convert.ToUInt8(i);
-
- public inline function ToHaxeInt(): Int return this;
- public inline function ToString() : system.CsString return Std.string(this);
-
- public inline function ToBoolean_IFormatProvider(provider:IFormatProvider) : system.Boolean return system.Convert.ToBoolean_Byte(this);
- public inline function ToChar_IFormatProvider(provider:IFormatProvider) : system.Char return system.Convert.ToChar_Byte(this);
- public inline function ToSByte_IFormatProvider(provider:IFormatProvider) : system.SByte return system.Convert.ToSByte_Byte(this);
- public inline function ToByte_IFormatProvider(provider:IFormatProvider) : system.Byte return system.Convert.ToByte_Byte(this);
- public inline function ToInt16_IFormatProvider(provider:IFormatProvider) : system.Int16 return system.Convert.ToInt16_Byte(this);
- public inline function ToUInt16_IFormatProvider(provider:IFormatProvider) : system.UInt16 return system.Convert.ToUInt16_Byte(this);
- public inline function ToInt32_IFormatProvider(provider:IFormatProvider) : system.Int32 return system.Convert.ToInt32_Byte(this);
- public inline function ToUInt32_IFormatProvider(provider:IFormatProvider) : system.UInt32 return system.Convert.ToUInt32_Byte(this);
- public inline function ToInt64_IFormatProvider(provider:IFormatProvider) : system.Int64 return system.Convert.ToInt64_Byte(this);
- public inline function ToUInt64_IFormatProvider(provider:IFormatProvider) : system.UInt64 return system.Convert.ToUInt64_Byte(this);
- public inline function ToSingle_IFormatProvider(provider:IFormatProvider) : system.Single return system.Convert.ToSingle_Byte(this);
- public inline function ToDouble_IFormatProvider(provider:IFormatProvider) : system.Double return system.Convert.ToDouble_Byte(this);
-
- public inline function GetHashCode() : system.Int32 return this;
-
- @:op(-A) public inline function neg() : system.Int32 return -this;
-
- @:op(~A)public inline function not() : system.Int32 return ~this;
-
- @:op(A++)public inline function postinc() : system.Byte return this++;
- @:op(++A)public inline function preinc() : system.Byte return ++this;
-
- @:op(A--)public inline function postdec() : system.Byte return this--;
- @:op(--A)public inline function predec() : system.Byte return --this;
-
- @:op(A * B) public static function mul1(lhs : system.Byte, rhs : Int) : system.Int32;
- @:op(A * B) public static function mul2(lhs : Int, rhs : system.Byte) : system.Int32;
- @:op(A * B) public static function mul3(lhs : system.Byte, rhs : Float) : system.Double;
- @:op(A * B) public static function mul4(lhs : Float, rhs : system.Byte) : system.Double;
-
- @:op(A * B) public static function mul5(lhs : system.Byte, rhs : system.Char) : system.Int32;
- @:op(A * B) public static function mul6(lhs : system.Byte, rhs : system.Byte) : system.Int32;
- @:op(A * B) public static function mul7(lhs : system.Byte, rhs : system.Int16) : system.Int32;
- @:op(A * B) public static function mul8(lhs : system.Byte, rhs : system.Int32) : system.Int32;
- @:op(A * B) public static function mul9(lhs : system.Byte, rhs : system.Int64) : system.Int64;
- @:op(A * B) public static function mul10(lhs : system.Byte, rhs : system.SByte) : system.Int32;
- @:op(A * B) public static function mul11(lhs : system.Byte, rhs : system.UInt16) : system.Int32;
- @:op(A * B) public static function mul12(lhs : system.Byte, rhs : system.UInt32) : system.UInt32;
- @:op(A * B) public static function mul13(lhs : system.Byte, rhs : system.UInt64) : system.UInt64;
- @:op(A * B) public static function mul14(lhs : system.Byte, rhs : system.Single) : system.Single;
- @:op(A * B) public static function mul15(lhs : system.Byte, rhs : system.Double) : system.Double;
-
-
- @:op(A / B) public static inline function div0(lhs : system.Byte, rhs : system.Byte) : system.Int32 return Std.int(lhs.ToHaxeInt() / rhs.ToHaxeInt());
- @:op(A / B) public static inline function div1(lhs : system.Byte, rhs : Int) : system.Int32 return Std.int(lhs.ToHaxeInt() / rhs);
- @:op(A / B) public static inline function div2(lhs : Int, rhs : system.Byte) : system.Int32 return Std.int(lhs / rhs.ToHaxeInt());
- @:op(A / B) public static function div3(lhs : system.Byte, rhs : Float) : system.Double;
- @:op(A / B) public static function div4(lhs : Float, rhs : system.Byte) : system.Double;
-
- @:op(A / B) public static function div5(lhs : system.Byte, rhs : system.Char) : system.Int32;
- @:op(A / B) public static function div6(lhs : system.Byte, rhs : system.Byte) : system.Int32;
- @:op(A / B) public static function div7(lhs : system.Byte, rhs : system.Int16) : system.Int32;
- @:op(A / B) public static function div8(lhs : system.Byte, rhs : system.Int32) : system.Int32;
- @:op(A / B) public static function div9(lhs : system.Byte, rhs : system.Int64) : system.Int64;
- @:op(A / B) public static function div10(lhs : system.Byte, rhs : system.SByte) : system.Int32;
- @:op(A / B) public static function div11(lhs : system.Byte, rhs : system.UInt16) : system.Int32;
- @:op(A / B) public static function div12(lhs : system.Byte, rhs : system.UInt32) : system.UInt32;
- @:op(A / B) public static function div13(lhs : system.Byte, rhs : system.UInt64) : system.UInt64;
- @:op(A / B) public static function div14(lhs : system.Byte, rhs : system.Single) : system.Single;
- @:op(A / B) public static function div15(lhs : system.Byte, rhs : system.Double) : system.Double;
-
-
- @:op(A % B) public static function mod0(lhs : system.Byte, rhs : system.Byte) : system.Int32;
- @:op(A % B) public static function mod1(lhs : system.Byte, rhs : Int) : system.Int32;
- @:op(A % B) public static function mod2(lhs : Int, rhs : system.Byte) : system.Int32;
- @:op(A % B) public static function mod3(lhs : system.Byte, rhs : Float) : system.Double;
- @:op(A % B) public static function mod4(lhs : Float, rhs : system.Byte) : system.Double;
-
- @:op(A % B) public static function mod5(lhs : system.Byte, rhs : system.Char) : system.Int32;
- @:op(A % B) public static function mod6(lhs : system.Byte, rhs : system.Byte) : system.Int32;
- @:op(A % B) public static function mod7(lhs : system.Byte, rhs : system.Int16) : system.Int32;
- @:op(A % B) public static function mod8(lhs : system.Byte, rhs : system.Int32) : system.Int32;
- @:op(A % B) public static function mod9(lhs : system.Byte, rhs : system.Int64) : system.Int64;
- @:op(A % B) public static function mod10(lhs : system.Byte, rhs : system.SByte) : system.Int32;
- @:op(A % B) public static function mod11(lhs : system.Byte, rhs : system.UInt16) : system.Int32;
- @:op(A % B) public static function mod12(lhs : system.Byte, rhs : system.UInt32) : system.UInt32;
- @:op(A % B) public static function mod13(lhs : system.Byte, rhs : system.UInt64) : system.UInt64;
- @:op(A % B) public static function mod14(lhs : system.Byte, rhs : system.Single) : system.Single;
- @:op(A % B) public static function mod15(lhs : system.Byte, rhs : system.Double) : system.Double;
-
-
- @:op(A + B) public static function add0(lhs : system.Byte, rhs : system.Byte) : system.Int32;
- @:op(A + B) public static function add1(lhs : system.Byte, rhs : Int) : system.Int32;
- @:op(A + B) public static function add2(lhs : Int, rhs : system.Byte) : system.Int32;
- @:op(A + B) public static function add3(lhs : system.Byte, rhs : Float) : system.Double;
- @:op(A + B) public static function add4(lhs : Float, rhs : system.Byte) : system.Double;
-
- @:op(A + B) public static function add5(lhs : system.Byte, rhs : system.Char) : system.Int32;
- @:op(A + B) public static function add6(lhs : system.Byte, rhs : system.Byte) : system.Int32;
- @:op(A + B) public static function add7(lhs : system.Byte, rhs : system.Int16) : system.Int32;
- @:op(A + B) public static function add8(lhs : system.Byte, rhs : system.Int32) : system.Int32;
- @:op(A + B) public static function add9(lhs : system.Byte, rhs : system.Int64) : system.Int64;
- @:op(A + B) public static function add10(lhs : system.Byte, rhs : system.SByte) : system.Int32;
- @:op(A + B) public static function add11(lhs : system.Byte, rhs : system.UInt16) : system.Int32;
- @:op(A + B) public static function add12(lhs : system.Byte, rhs : system.UInt32) : system.UInt32;
- @:op(A + B) public static function add13(lhs : system.Byte, rhs : system.UInt64) : system.UInt64;
- @:op(A + B) public static function add14(lhs : system.Byte, rhs : system.Single) : system.Single;
- @:op(A + B) public static function add15(lhs : system.Byte, rhs : system.Double) : system.Double;
- @:op(A + B) public static inline function add16(lhs : system.Byte, rhs : system.CsString) : system.CsString return lhs.ToString() + rhs;
- @:op(A + B) public static inline function add17(lhs : system.Byte, rhs : String) : system.CsString return lhs.ToString() + rhs;
-
-
- @:op(A - B) public static function sub0(lhs : system.Byte, rhs : system.Byte) : system.Int32;
- @:op(A - B) public static function sub1(lhs : system.Byte, rhs : Int) : system.Int32;
- @:op(A - B) public static function sub2(lhs : Int, rhs : system.Byte) : system.Int32;
- @:op(A - B) public static function sub3(lhs : system.Byte, rhs : Float) : system.Double;
- @:op(A - B) public static function sub4(lhs : Float, rhs : system.Byte) : system.Double;
-
- @:op(A - B) public static function sub5(lhs : system.Byte, rhs : system.Char) : system.Int32;
- @:op(A - B) public static function sub6(lhs : system.Byte, rhs : system.Byte) : system.Int32;
- @:op(A - B) public static function sub7(lhs : system.Byte, rhs : system.Int16) : system.Int32;
- @:op(A - B) public static function sub8(lhs : system.Byte, rhs : system.Int32) : system.Int32;
- @:op(A - B) public static function sub9(lhs : system.Byte, rhs : system.Int64) : system.Int64;
- @:op(A - B) public static function sub10(lhs : system.Byte, rhs : system.SByte) : system.Int32;
- @:op(A - B) public static function sub11(lhs : system.Byte, rhs : system.UInt16) : system.Int32;
- @:op(A - B) public static function sub12(lhs : system.Byte, rhs : system.UInt32) : system.UInt32;
- @:op(A - B) public static function sub13(lhs : system.Byte, rhs : system.UInt64) : system.UInt64;
- @:op(A - B) public static function sub14(lhs : system.Byte, rhs : system.Single) : system.Single;
- @:op(A - B) public static function sub15(lhs : system.Byte, rhs : system.Double) : system.Double;
-
-
- @:op(A << B) public static function shl0(lhs : system.Byte, rhs : system.Byte) : system.Int32;
- @:op(A << B) public static function shl1(lhs : system.Byte, rhs : Int) : system.Int32;
- @:op(A << B) public static function shl2(lhs : Int, rhs : system.Byte) : system.Int32;
-
- @:op(A << B) public static function shl5(lhs : system.Byte, rhs : system.Char) : system.Int32;
- @:op(A << B) public static function shl6(lhs : system.Byte, rhs : system.Byte) : system.Int32;
- @:op(A << B) public static function shl7(lhs : system.Byte, rhs : system.Int16) : system.Int32;
- @:op(A << B) public static function shl8(lhs : system.Byte, rhs : system.Int32) : system.Int32;
- // @:op(A << B) public static function shl9(lhs : system.Byte, rhs : system.Int64) : system.Int64;
- @:op(A << B) public static function shl10(lhs : system.Byte, rhs : system.SByte) : system.Int32;
- @:op(A << B) public static function shl11(lhs : system.Byte, rhs : system.UInt16) : system.Int32;
- // @:op(A << B) public static function shl12(lhs : system.Byte, rhs : system.UInt32) : system.UInt32;
- // @:op(A << B) public static function shl13(lhs : system.Byte, rhs : system.UInt64) : system.UInt64;
-
-
- @:op(A >> B) public static function shr0(lhs : system.Byte, rhs : system.Byte) : system.Int32;
- @:op(A >> B) public static function shr1(lhs : system.Byte, rhs : Int) : system.Int32;
- @:op(A >> B) public static function shr2(lhs : Int, rhs : system.Byte) : system.Int32;
-
- @:op(A >> B) public static function shr5(lhs : system.Byte, rhs : system.Char) : system.Int32;
- @:op(A >> B) public static function shr6(lhs : system.Byte, rhs : system.Byte) : system.Int32;
- @:op(A >> B) public static function shr7(lhs : system.Byte, rhs : system.Int16) : system.Int32;
- @:op(A >> B) public static function shr8(lhs : system.Byte, rhs : system.Int32) : system.Int32;
- // @:op(A >> B) public static function shr9(lhs : system.Byte, rhs : system.Int64) : system.Int64;
- @:op(A >> B) public static function shr10(lhs : system.Byte, rhs : system.SByte) : system.Int32;
- @:op(A >> B) public static function shr11(lhs : system.Byte, rhs : system.UInt16) : system.Int32;
- // @:op(A >> B) public static function shr12(lhs : system.Byte, rhs : system.UInt32) : system.UInt32;
- // @:op(A >> B) public static function shr13(lhs : system.Byte, rhs : system.UInt64) : system.UInt64;
-
-
- @:op(A > B) public static function gt0(lhs : system.Byte, rhs : system.Byte) : system.Boolean;
- @:op(A > B) public static function gt1(lhs : system.Byte, rhs : Int) : system.Boolean;
- @:op(A > B) public static function gt2(lhs : Int, rhs : system.Byte) : system.Boolean;
- @:op(A > B) public static function gt3(lhs : system.Byte, rhs : Float) : system.Boolean;
- @:op(A > B) public static function gt4(lhs : Float, rhs : system.Byte) : system.Boolean;
-
- @:op(A > B) public static function gt5(lhs : system.Byte, rhs : system.Char) : system.Boolean;
- @:op(A > B) public static function gt6(lhs : system.Byte, rhs : system.Byte) : system.Boolean;
- @:op(A > B) public static function gt7(lhs : system.Byte, rhs : system.Int16) : system.Boolean;
- @:op(A > B) public static function gt8(lhs : system.Byte, rhs : system.Int32) : system.Boolean;
- @:op(A > B) public static function gt9(lhs : system.Byte, rhs : system.Int64) : system.Boolean;
- @:op(A > B) public static function gt10(lhs : system.Byte, rhs : system.SByte) : system.Boolean;
- @:op(A > B) public static function gt11(lhs : system.Byte, rhs : system.UInt16) : system.Boolean;
- @:op(A > B) public static function gt12(lhs : system.Byte, rhs : system.UInt32) : system.Boolean;
- @:op(A > B) public static function gt13(lhs : system.Byte, rhs : system.UInt64) : system.Boolean;
- @:op(A > B) public static function gt14(lhs : system.Byte, rhs : system.Single) : system.Boolean;
- @:op(A > B) public static function gt15(lhs : system.Byte, rhs : system.Double) : system.Boolean;
-
-
- @:op(A < B) public static function lt0(lhs : system.Byte, rhs : system.Byte) : system.Boolean;
- @:op(A < B) public static function lt1(lhs : system.Byte, rhs : Int) : system.Boolean;
- @:op(A < B) public static function lt2(lhs : Int, rhs : system.Byte) : system.Boolean;
- @:op(A < B) public static function lt3(lhs : system.Byte, rhs : Float) : system.Boolean;
- @:op(A < B) public static function lt4(lhs : Float, rhs : system.Byte) : system.Boolean;
-
- @:op(A < B) public static function lt5(lhs : system.Byte, rhs : system.Char) : system.Boolean;
- @:op(A < B) public static function lt6(lhs : system.Byte, rhs : system.Byte) : system.Boolean;
- @:op(A < B) public static function lt7(lhs : system.Byte, rhs : system.Int16) : system.Boolean;
- @:op(A < B) public static function lt8(lhs : system.Byte, rhs : system.Int32) : system.Boolean;
- @:op(A < B) public static function lt9(lhs : system.Byte, rhs : system.Int64) : system.Boolean;
- @:op(A < B) public static function lt10(lhs : system.Byte, rhs : system.SByte) : system.Boolean;
- @:op(A < B) public static function lt11(lhs : system.Byte, rhs : system.UInt16) : system.Boolean;
- @:op(A < B) public static function lt12(lhs : system.Byte, rhs : system.UInt32) : system.Boolean;
- @:op(A < B) public static function lt13(lhs : system.Byte, rhs : system.UInt64) : system.Boolean;
- @:op(A < B) public static function lt14(lhs : system.Byte, rhs : system.Single) : system.Boolean;
- @:op(A < B) public static function lt15(lhs : system.Byte, rhs : system.Double) : system.Boolean;
-
- @:op(A >= B) public static function gte0(lhs : system.Byte, rhs : system.Byte) : system.Boolean;
- @:op(A >= B) public static function gte1(lhs : system.Byte, rhs : Int) : system.Boolean;
- @:op(A >= B) public static function gte2(lhs : Int, rhs : system.Byte) : system.Boolean;
- @:op(A >= B) public static function gte3(lhs : system.Byte, rhs : Float) : system.Boolean;
- @:op(A >= B) public static function gte4(lhs : Float, rhs : system.Byte) : system.Boolean;
-
- @:op(A >= B) public static function gte5(lhs : system.Byte, rhs : system.Char) : system.Boolean;
- @:op(A >= B) public static function gte6(lhs : system.Byte, rhs : system.Byte) : system.Boolean;
- @:op(A >= B) public static function gte7(lhs : system.Byte, rhs : system.Int16) : system.Boolean;
- @:op(A >= B) public static function gte8(lhs : system.Byte, rhs : system.Int32) : system.Boolean;
- @:op(A >= B) public static function gte9(lhs : system.Byte, rhs : system.Int64) : system.Boolean;
- @:op(A >= B) public static function gte10(lhs : system.Byte, rhs : system.SByte) : system.Boolean;
- @:op(A >= B) public static function gte11(lhs : system.Byte, rhs : system.UInt16) : system.Boolean;
- @:op(A >= B) public static function gte12(lhs : system.Byte, rhs : system.UInt32) : system.Boolean;
- @:op(A >= B) public static function gte13(lhs : system.Byte, rhs : system.UInt64) : system.Boolean;
- @:op(A >= B) public static function gte14(lhs : system.Byte, rhs : system.Single) : system.Boolean;
- @:op(A >= B) public static function gte15(lhs : system.Byte, rhs : system.Double) : system.Boolean;
-
-
- @:op(A <= B) public static function lte0(lhs : system.Byte, rhs : system.Byte) : system.Boolean;
- @:op(A <= B) public static function lte1(lhs : system.Byte, rhs : Int) : system.Boolean;
- @:op(A <= B) public static function lte2(lhs : Int, rhs : system.Byte) : system.Boolean;
- @:op(A <= B) public static function lte3(lhs : system.Byte, rhs : Float) : system.Boolean;
- @:op(A <= B) public static function lte4(lhs : Float, rhs : system.Byte) : system.Boolean;
-
- @:op(A <= B) public static function lte5(lhs : system.Byte, rhs : system.Char) : system.Boolean;
- @:op(A <= B) public static function lte6(lhs : system.Byte, rhs : system.Byte) : system.Boolean;
- @:op(A <= B) public static function lte7(lhs : system.Byte, rhs : system.Int16) : system.Boolean;
- @:op(A <= B) public static function lte8(lhs : system.Byte, rhs : system.Int32) : system.Boolean;
- @:op(A <= B) public static function lte9(lhs : system.Byte, rhs : system.Int64) : system.Boolean;
- @:op(A <= B) public static function lte10(lhs : system.Byte, rhs : system.SByte) : system.Boolean;
- @:op(A <= B) public static function lte11(lhs : system.Byte, rhs : system.UInt16) : system.Boolean;
- @:op(A <= B) public static function lte12(lhs : system.Byte, rhs : system.UInt32) : system.Boolean;
- @:op(A <= B) public static function lte13(lhs : system.Byte, rhs : system.UInt64) : system.Boolean;
- @:op(A <= B) public static function lte14(lhs : system.Byte, rhs : system.Single) : system.Boolean;
- @:op(A <= B) public static function lte15(lhs : system.Byte, rhs : system.Double) : system.Boolean;
-
-
- @:op(A == B) public static function eq0(lhs : system.Byte, rhs : system.Byte) : system.Boolean;
- @:op(A == B) public static function eq1(lhs : system.Byte, rhs : Int) : system.Boolean;
- @:op(A == B) public static function eq2(lhs : Int, rhs : system.Byte) : system.Boolean;
- @:op(A == B) public static function eq3(lhs : system.Byte, rhs : Float) : system.Boolean;
- @:op(A == B) public static function eq4(lhs : Float, rhs : system.Byte) : system.Boolean;
-
- @:op(A == B) public static function eq5(lhs : system.Byte, rhs : system.Char) : system.Boolean;
- @:op(A == B) public static function eq6(lhs : system.Byte, rhs : system.Byte) : system.Boolean;
- @:op(A == B) public static function eq7(lhs : system.Byte, rhs : system.Int16) : system.Boolean;
- @:op(A == B) public static function eq8(lhs : system.Byte, rhs : system.Int32) : system.Boolean;
- @:op(A == B) public static function eq9(lhs : system.Byte, rhs : system.Int64) : system.Boolean;
- @:op(A == B) public static function eq10(lhs : system.Byte, rhs : system.SByte) : system.Boolean;
- @:op(A == B) public static function eq11(lhs : system.Byte, rhs : system.UInt16) : system.Boolean;
- @:op(A == B) public static function eq12(lhs : system.Byte, rhs : system.UInt32) : system.Boolean;
- @:op(A == B) public static function eq13(lhs : system.Byte, rhs : system.UInt64) : system.Boolean;
- @:op(A == B) public static function eq14(lhs : system.Byte, rhs : system.Single) : system.Boolean;
- @:op(A == B) public static function eq15(lhs : system.Byte, rhs : system.Double) : system.Boolean;
-
-
- @:op(A != B) public static function neq0(lhs : system.Byte, rhs : system.Byte) : system.Boolean;
- @:op(A != B) public static function neq1(lhs : system.Byte, rhs : Int) : system.Boolean;
- @:op(A != B) public static function neq2(lhs : Int, rhs : system.Byte) : system.Boolean;
- @:op(A != B) public static function neq3(lhs : system.Byte, rhs : Float) : system.Boolean;
- @:op(A != B) public static function neq4(lhs : Float, rhs : system.Byte) : system.Boolean;
-
- @:op(A != B) public static function neq5(lhs : system.Byte, rhs : system.Char) : system.Boolean;
- @:op(A != B) public static function neq6(lhs : system.Byte, rhs : system.Byte) : system.Boolean;
- @:op(A != B) public static function neq7(lhs : system.Byte, rhs : system.Int16) : system.Boolean;
- @:op(A != B) public static function neq8(lhs : system.Byte, rhs : system.Int32) : system.Boolean;
- @:op(A != B) public static function neq9(lhs : system.Byte, rhs : system.Int64) : system.Boolean;
- @:op(A != B) public static function neq10(lhs : system.Byte, rhs : system.SByte) : system.Boolean;
- @:op(A != B) public static function neq11(lhs : system.Byte, rhs : system.UInt16) : system.Boolean;
- @:op(A != B) public static function neq12(lhs : system.Byte, rhs : system.UInt32) : system.Boolean;
- @:op(A != B) public static function neq13(lhs : system.Byte, rhs : system.UInt64) : system.Boolean;
- @:op(A != B) public static function neq14(lhs : system.Byte, rhs : system.Single) : system.Boolean;
- @:op(A != B) public static function neq15(lhs : system.Byte, rhs : system.Double) : system.Boolean;
-
-
- @:op(A & B) public static function and1(lhs : system.Byte, rhs : Int) : system.Int32;
- @:op(A & B) public static function and2(lhs : Int, rhs : system.Byte) : system.Int32;
-
- @:op(A & B) public static function and5(lhs : system.Byte, rhs : system.Char) : system.Int32;
- @:op(A & B) public static function and6(lhs : system.Byte, rhs : system.Byte) : system.Int32;
- @:op(A & B) public static function and7(lhs : system.Byte, rhs : system.Int16) : system.Int32;
- @:op(A & B) public static function and8(lhs : system.Byte, rhs : system.Int32) : system.Int32;
- @:op(A & B) public static function and9(lhs : system.Byte, rhs : system.Int64) : system.Int64;
- @:op(A & B) public static function and10(lhs : system.Byte, rhs : system.SByte) : system.Int32;
- @:op(A & B) public static function and11(lhs : system.Byte, rhs : system.UInt16) : system.Int32;
- @:op(A & B) public static function and12(lhs : system.Byte, rhs : system.UInt32) : system.UInt32;
- @:op(A & B) public static function and13(lhs : system.Byte, rhs : system.UInt64) : system.UInt64;
-
- @:op(A | B) public static function or0(lhs : system.Byte, rhs : system.Byte) : system.Int32;
- @:op(A | B) public static function or1(lhs : system.Byte, rhs : Int) : system.Int32;
- @:op(A | B) public static function or2(lhs : Int, rhs : system.Byte) : system.Int32;
-
- @:op(A | B) public static function or5(lhs : system.Byte, rhs : system.Char) : system.Int32;
- @:op(A | B) public static function or6(lhs : system.Byte, rhs : system.Byte) : system.Int32;
- @:op(A | B) public static function or7(lhs : system.Byte, rhs : system.Int16) : system.Int32;
- @:op(A | B) public static function or8(lhs : system.Byte, rhs : system.Int32) : system.Int32;
- @:op(A | B) public static function or9(lhs : system.Byte, rhs : system.Int64) : system.Int64;
- @:op(A | B) public static function or10(lhs : system.Byte, rhs : system.SByte) : system.Int32;
- @:op(A | B) public static function or11(lhs : system.Byte, rhs : system.UInt16) : system.Int32;
- @:op(A | B) public static function or12(lhs : system.Byte, rhs : system.UInt32) : system.UInt32;
- @:op(A | B) public static function or13(lhs : system.Byte, rhs : system.UInt64) : system.UInt64;
-
- @:op(A ^ B) public static function xor0(lhs : system.Byte, rhs : system.Byte) : system.Int32;
- @:op(A ^ B) public static function xor1(lhs : system.Byte, rhs : Int) : system.Int32;
- @:op(A ^ B) public static function xor2(lhs : Int, rhs : system.Byte) : system.Int32;
-
- @:op(A ^ B) public static function xor5(lhs : system.Byte, rhs : system.Char) : system.Int32;
- @:op(A ^ B) public static function xor6(lhs : system.Byte, rhs : system.Byte) : system.Int32;
- @:op(A ^ B) public static function xor7(lhs : system.Byte, rhs : system.Int16) : system.Int32;
- @:op(A ^ B) public static function xor8(lhs : system.Byte, rhs : system.Int32) : system.Int32;
- @:op(A ^ B) public static function xor9(lhs : system.Byte, rhs : system.Int64) : system.Int64;
- @:op(A ^ B) public static function xor10(lhs : system.Byte, rhs : system.SByte) : system.Int32;
- @:op(A ^ B) public static function xor11(lhs : system.Byte, rhs : system.UInt16) : system.Int32;
- @:op(A ^ B) public static function xor12(lhs : system.Byte, rhs : system.UInt32) : system.UInt32;
- @:op(A ^ B) public static function xor13(lhs : system.Byte, rhs : system.UInt64) : system.UInt64;
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/ByteArray.hx b/Phase/Mscorlib/system/ByteArray.hx
deleted file mode 100644
index 9cdb174a0..000000000
--- a/Phase/Mscorlib/system/ByteArray.hx
+++ /dev/null
@@ -1,24 +0,0 @@
-package system;
-
-abstract ByteArray(js.html.Uint8Array)
-{
- public inline function new(length:Int32) this = new js.html.Uint8Array(length.ToHaxeInt());
-
- @:from public static inline function fromArray(a:Array):ByteArray return cast new js.html.Uint8Array(untyped a);
- @:from public static inline function fromFixedArray(a:FixedArray):ByteArray return cast new js.html.Uint8Array(untyped a.ToHaxeArray());
- @:from public static inline function fromArrayBuffer(a:js.html.ArrayBuffer):ByteArray return cast new js.html.Uint8Array(a);
-
- public inline function toUint8Array():js.html.Uint8Array return this;
-
- public var Length(get, never):Int32;
- public inline function get_Length() : Int32 return this.length;
-
- @:op([]) public inline function get(index:Int32):Byte return this[index.ToHaxeInt()];
- @:op([]) public inline function set(index:Int32, val:Byte):Byte return this[index.ToHaxeInt()] = val.ToHaxeInt();
-
- public inline function iterator() : Iterator return new ByteArrayIterator(this);
-
- public inline function ToEnumerable() : system.collections.generic.IEnumerable return new ByteArrayEnumerable(this);
-
- public static inline function empty(size:Int32) return new ByteArray(size);
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/ByteArrayEnumerable.hx b/Phase/Mscorlib/system/ByteArrayEnumerable.hx
deleted file mode 100644
index c1fe87ce8..000000000
--- a/Phase/Mscorlib/system/ByteArrayEnumerable.hx
+++ /dev/null
@@ -1,18 +0,0 @@
-package system;
-
-import system.collections.generic.IEnumerable;
-import system.collections.generic.IEnumerator;
-
-class ByteArrayEnumerable implements IEnumerable
-{
- private var _array:js.html.Uint8Array;
- public function new(array:js.html.Uint8Array)
- {
- _array= array;
- }
-
- public function GetEnumerator() : IEnumerator
- {
- return new ByteArrayEnumerator(_array);
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/ByteArrayEnumerator.hx b/Phase/Mscorlib/system/ByteArrayEnumerator.hx
deleted file mode 100644
index ce3026f0b..000000000
--- a/Phase/Mscorlib/system/ByteArrayEnumerator.hx
+++ /dev/null
@@ -1,29 +0,0 @@
-package system;
-
-import system.collections.generic.IEnumerator;
-
-class ByteArrayEnumerator implements IEnumerator
-{
- private var _array:js.html.Uint8Array;
- private var _i:Int;
-
- public function new(array:js.html.Uint8Array)
- {
- _array = array;
- _i = -1;
- }
-
- public var Current(get, never):Byte;
- public function get_Current() : Byte return _array[_i];
- public function MoveNext() : Bool
- {
- if(_i >= _array.length - 1) return false;
- _i++;
- return true;
-
- }
- public function Reset():Void
- {
- _i = -1;
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/ByteArrayIterator.hx b/Phase/Mscorlib/system/ByteArrayIterator.hx
deleted file mode 100644
index 8f463a34d..000000000
--- a/Phase/Mscorlib/system/ByteArrayIterator.hx
+++ /dev/null
@@ -1,19 +0,0 @@
-package system;
-
-class ByteArrayIterator
-{
- private var _array:js.html.Uint8Array;
- private var _i:Int;
-
- public function new(array:js.html.Uint8Array)
- {
- _array = array;
- _i = 0;
- }
-
- public function hasNext() return _i < _array.length;
- public function next() : Byte
- {
- return _array[_i++];
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/Char.hx b/Phase/Mscorlib/system/Char.hx
deleted file mode 100644
index eb930b188..000000000
--- a/Phase/Mscorlib/system/Char.hx
+++ /dev/null
@@ -1,325 +0,0 @@
-package system;
-
-abstract Char(Int) from Int
-{
- public inline function new(v:Int) this = system.Convert.ToUInt16(v);
-
- @:from public static inline function fromCode(i:Int) : Char return new Char(i);
- public static inline function fromString(i:String) : Char return new Char(i.charCodeAt(0));
-
- public inline function ToHaxeInt(): Int return this;
- public inline function ToString() : system.CsString return String.fromCharCode(this);
-
- public inline function ToBoolean_IFormatProvider(provider:IFormatProvider) : system.Boolean return system.Convert.ToBoolean_Char(this);
- public inline function ToChar_IFormatProvider(provider:IFormatProvider) : system.Char return system.Convert.ToChar_Char(this);
- public inline function ToSByte_IFormatProvider(provider:IFormatProvider) : system.SByte return system.Convert.ToSByte_Char(this);
- public inline function ToByte_IFormatProvider(provider:IFormatProvider) : system.Byte return system.Convert.ToByte_Char(this);
- public inline function ToInt16_IFormatProvider(provider:IFormatProvider) : system.Int16 return system.Convert.ToInt16_Char(this);
- public inline function ToUInt16_IFormatProvider(provider:IFormatProvider) : system.UInt16 return system.Convert.ToUInt16_Char(this);
- public inline function ToInt32_IFormatProvider(provider:IFormatProvider) : system.Int32 return system.Convert.ToInt32_Char(this);
- public inline function ToUInt32_IFormatProvider(provider:IFormatProvider) : system.UInt32 return system.Convert.ToUInt32_Char(this);
- public inline function ToInt64_IFormatProvider(provider:IFormatProvider) : system.Int64 return system.Convert.ToInt64_Char(this);
- public inline function ToUInt64_IFormatProvider(provider:IFormatProvider) : system.UInt64 return system.Convert.ToUInt64_Char(this);
- public inline function ToSingle_IFormatProvider(provider:IFormatProvider) : system.Single return system.Convert.ToSingle_Char(this);
- public inline function ToDouble_IFormatProvider(provider:IFormatProvider) : system.Double return system.Convert.ToDouble_Char(this);
-
- public inline function GetHashCode() : system.Int32 return this | (this << 16);
-
- @:op(-A) public inline function neg() : system.Int32 return -this;
-
- @:op(~A)public inline function not() : system.Int32 return ~this;
-
- @:op(A++)public inline function postinc() : system.Char return this++;
- @:op(++A)public inline function preinc() : system.Char return ++this;
-
- @:op(A--)public inline function postdec() : system.Char return this--;
- @:op(--A)public inline function predec() : system.Char return --this;
-
- @:op(A * B) public static function mul1(lhs : system.Char, rhs : Int) : system.Int32;
- @:op(A * B) public static function mul2(lhs : Int, rhs : system.Char) : system.Int32;
- @:op(A * B) public static function mul3(lhs : system.Char, rhs : Float) : system.Double;
- @:op(A * B) public static function mul4(lhs : Float, rhs : system.Char) : system.Double;
-
- @:op(A * B) public static function mul5(lhs : system.Char, rhs : system.Char) : system.Int32;
- @:op(A * B) public static function mul6(lhs : system.Char, rhs : system.Byte) : system.Int32;
- @:op(A * B) public static function mul7(lhs : system.Char, rhs : system.Int16) : system.Int32;
- @:op(A * B) public static function mul8(lhs : system.Char, rhs : system.Int32) : system.Int32;
- @:op(A * B) public static function mul9(lhs : system.Char, rhs : system.Int64) : system.Int64;
- @:op(A * B) public static function mul10(lhs : system.Char, rhs : system.SByte) : system.Int32;
- @:op(A * B) public static function mul11(lhs : system.Char, rhs : system.UInt16) : system.Int32;
- @:op(A * B) public static function mul12(lhs : system.Char, rhs : system.UInt32) : system.UInt32;
- @:op(A * B) public static function mul13(lhs : system.Char, rhs : system.UInt64) : system.UInt64;
- @:op(A * B) public static function mul14(lhs : system.Char, rhs : system.Single) : system.Single;
- @:op(A * B) public static function mul15(lhs : system.Char, rhs : system.Double) : system.Double;
-
-
- @:op(A / B) public static inline function div1(lhs : system.Char, rhs : Int) : system.Int32 return Std.int(lhs.ToHaxeInt() / rhs);
- @:op(A / B) public static inline function div2(lhs : Int, rhs : system.Char) : system.Int32 return Std.int(lhs / rhs.ToHaxeInt());
- @:op(A / B) public static function div3(lhs : system.Char, rhs : Float) : system.Double;
- @:op(A / B) public static function div4(lhs : Float, rhs : system.Char) : system.Double;
-
- @:op(A / B) public static function div5(lhs : system.Char, rhs : system.Char) : system.Int32;
- @:op(A / B) public static function div6(lhs : system.Char, rhs : system.Byte) : system.Int32;
- @:op(A / B) public static function div7(lhs : system.Char, rhs : system.Int16) : system.Int32;
- @:op(A / B) public static function div8(lhs : system.Char, rhs : system.Int32) : system.Int32;
- @:op(A / B) public static function div9(lhs : system.Char, rhs : system.Int64) : system.Int64;
- @:op(A / B) public static function div10(lhs : system.Char, rhs : system.SByte) : system.Int32;
- @:op(A / B) public static function div11(lhs : system.Char, rhs : system.UInt16) : system.Int32;
- @:op(A / B) public static function div12(lhs : system.Char, rhs : system.UInt32) : system.UInt32;
- @:op(A / B) public static function div13(lhs : system.Char, rhs : system.UInt64) : system.UInt64;
- @:op(A / B) public static function div14(lhs : system.Char, rhs : system.Single) : system.Single;
- @:op(A / B) public static function div15(lhs : system.Char, rhs : system.Double) : system.Double;
-
-
- @:op(A % B) public static function mod1(lhs : system.Char, rhs : Int) : system.Int32;
- @:op(A % B) public static function mod2(lhs : Int, rhs : system.Char) : system.Int32;
- @:op(A % B) public static function mod3(lhs : system.Char, rhs : Float) : system.Double;
- @:op(A % B) public static function mod4(lhs : Float, rhs : system.Char) : system.Double;
-
- @:op(A % B) public static function mod5(lhs : system.Char, rhs : system.Char) : system.Int32;
- @:op(A % B) public static function mod6(lhs : system.Char, rhs : system.Byte) : system.Int32;
- @:op(A % B) public static function mod7(lhs : system.Char, rhs : system.Int16) : system.Int32;
- @:op(A % B) public static function mod8(lhs : system.Char, rhs : system.Int32) : system.Int32;
- @:op(A % B) public static function mod9(lhs : system.Char, rhs : system.Int64) : system.Int64;
- @:op(A % B) public static function mod10(lhs : system.Char, rhs : system.SByte) : system.Int32;
- @:op(A % B) public static function mod11(lhs : system.Char, rhs : system.UInt16) : system.Int32;
- @:op(A % B) public static function mod12(lhs : system.Char, rhs : system.UInt32) : system.UInt32;
- @:op(A % B) public static function mod13(lhs : system.Char, rhs : system.UInt64) : system.UInt64;
- @:op(A % B) public static function mod14(lhs : system.Char, rhs : system.Single) : system.Single;
- @:op(A % B) public static function mod15(lhs : system.Char, rhs : system.Double) : system.Double;
-
-
- @:op(A + B) public static function add1(lhs : system.Char, rhs : Int) : system.Int32;
- @:op(A + B) public static function add2(lhs : Int, rhs : system.Char) : system.Int32;
- @:op(A + B) public static function add3(lhs : system.Char, rhs : Float) : system.Double;
- @:op(A + B) public static function add4(lhs : Float, rhs : system.Char) : system.Double;
-
- @:op(A + B) public static function add5(lhs : system.Char, rhs : system.Char) : system.Int32;
- @:op(A + B) public static function add6(lhs : system.Char, rhs : system.Byte) : system.Int32;
- @:op(A + B) public static function add7(lhs : system.Char, rhs : system.Int16) : system.Int32;
- @:op(A + B) public static function add8(lhs : system.Char, rhs : system.Int32) : system.Int32;
- @:op(A + B) public static function add9(lhs : system.Char, rhs : system.Int64) : system.Int64;
- @:op(A + B) public static function add10(lhs : system.Char, rhs : system.SByte) : system.Int32;
- @:op(A + B) public static function add11(lhs : system.Char, rhs : system.UInt16) : system.Int32;
- @:op(A + B) public static function add12(lhs : system.Char, rhs : system.UInt32) : system.UInt32;
- @:op(A + B) public static function add13(lhs : system.Char, rhs : system.UInt64) : system.UInt64;
- @:op(A + B) public static function add14(lhs : system.Char, rhs : system.Single) : system.Single;
- @:op(A + B) public static function add15(lhs : system.Char, rhs : system.Double) : system.Double;
- @:op(A + B) public static inline function add16(lhs : system.Char, rhs : system.CsString) : system.CsString return lhs.ToString() + rhs;
- @:op(A + B) public static inline function add17(lhs : system.Char, rhs : String) : system.CsString return lhs.ToString() + rhs;
-
-
- @:op(A - B) public static function sub1(lhs : system.Char, rhs : Int) : system.Int32;
- @:op(A - B) public static function sub2(lhs : Int, rhs : system.Char) : system.Int32;
- @:op(A - B) public static function sub3(lhs : system.Char, rhs : Float) : system.Double;
- @:op(A - B) public static function sub4(lhs : Float, rhs : system.Char) : system.Double;
-
- @:op(A - B) public static function sub5(lhs : system.Char, rhs : system.Char) : system.Int32;
- @:op(A - B) public static function sub6(lhs : system.Char, rhs : system.Byte) : system.Int32;
- @:op(A - B) public static function sub7(lhs : system.Char, rhs : system.Int16) : system.Int32;
- @:op(A - B) public static function sub8(lhs : system.Char, rhs : system.Int32) : system.Int32;
- @:op(A - B) public static function sub9(lhs : system.Char, rhs : system.Int64) : system.Int64;
- @:op(A - B) public static function sub10(lhs : system.Char, rhs : system.SByte) : system.Int32;
- @:op(A - B) public static function sub11(lhs : system.Char, rhs : system.UInt16) : system.Int32;
- @:op(A - B) public static function sub12(lhs : system.Char, rhs : system.UInt32) : system.UInt32;
- @:op(A - B) public static function sub13(lhs : system.Char, rhs : system.UInt64) : system.UInt64;
- @:op(A - B) public static function sub14(lhs : system.Char, rhs : system.Single) : system.Single;
- @:op(A - B) public static function sub15(lhs : system.Char, rhs : system.Double) : system.Double;
-
-
- @:op(A << B) public static function shl1(lhs : system.Char, rhs : Int) : system.Int32;
- @:op(A << B) public static function shl2(lhs : Int, rhs : system.Char) : system.Int32;
-
- @:op(A << B) public static function shl5(lhs : system.Char, rhs : system.Char) : system.Int32;
- @:op(A << B) public static function shl6(lhs : system.Char, rhs : system.Byte) : system.Int32;
- @:op(A << B) public static function shl7(lhs : system.Char, rhs : system.Int16) : system.Int32;
- @:op(A << B) public static function shl8(lhs : system.Char, rhs : system.Int32) : system.Int32;
- // @:op(A << B) public static function shl9(lhs : system.Char, rhs : system.Int64) : system.Int64;
- @:op(A << B) public static function shl10(lhs : system.Char, rhs : system.SByte) : system.Int32;
- @:op(A << B) public static function shl11(lhs : system.Char, rhs : system.UInt16) : system.Int32;
- // @:op(A << B) public static function shl12(lhs : system.Char, rhs : system.UInt32) : system.UInt32;
- // @:op(A << B) public static function shl13(lhs : system.Char, rhs : system.UInt64) : system.UInt64;
-
-
- @:op(A >> B) public static function shr1(lhs : system.Char, rhs : Int) : system.Int32;
- @:op(A >> B) public static function shr2(lhs : Int, rhs : system.Char) : system.Int32;
-
- @:op(A >> B) public static function shr5(lhs : system.Char, rhs : system.Char) : system.Int32;
- @:op(A >> B) public static function shr6(lhs : system.Char, rhs : system.Byte) : system.Int32;
- @:op(A >> B) public static function shr7(lhs : system.Char, rhs : system.Int16) : system.Int32;
- @:op(A >> B) public static function shr8(lhs : system.Char, rhs : system.Int32) : system.Int32;
- // @:op(A >> B) public static function shr9(lhs : system.Char, rhs : system.Int64) : system.Int64;
- @:op(A >> B) public static function shr10(lhs : system.Char, rhs : system.SByte) : system.Int32;
- @:op(A >> B) public static function shr11(lhs : system.Char, rhs : system.UInt16) : system.Int32;
- // @:op(A >> B) public static function shr12(lhs : system.Char, rhs : system.UInt32) : system.UInt32;
- // @:op(A >> B) public static function shr13(lhs : system.Char, rhs : system.UInt64) : system.UInt64;
-
-
- @:op(A > B) public static function gt1(lhs : system.Char, rhs : Int) : system.Boolean;
- @:op(A > B) public static function gt2(lhs : Int, rhs : system.Char) : system.Boolean;
- @:op(A > B) public static function gt3(lhs : system.Char, rhs : Float) : system.Boolean;
- @:op(A > B) public static function gt4(lhs : Float, rhs : system.Char) : system.Boolean;
-
- @:op(A > B) public static function gt5(lhs : system.Char, rhs : system.Char) : system.Boolean;
- @:op(A > B) public static function gt6(lhs : system.Char, rhs : system.Byte) : system.Boolean;
- @:op(A > B) public static function gt7(lhs : system.Char, rhs : system.Int16) : system.Boolean;
- @:op(A > B) public static function gt8(lhs : system.Char, rhs : system.Int32) : system.Boolean;
- @:op(A > B) public static function gt9(lhs : system.Char, rhs : system.Int64) : system.Boolean;
- @:op(A > B) public static function gt10(lhs : system.Char, rhs : system.SByte) : system.Boolean;
- @:op(A > B) public static function gt11(lhs : system.Char, rhs : system.UInt16) : system.Boolean;
- @:op(A > B) public static function gt12(lhs : system.Char, rhs : system.UInt32) : system.Boolean;
- @:op(A > B) public static function gt13(lhs : system.Char, rhs : system.UInt64) : system.Boolean;
- @:op(A > B) public static function gt14(lhs : system.Char, rhs : system.Single) : system.Boolean;
- @:op(A > B) public static function gt15(lhs : system.Char, rhs : system.Double) : system.Boolean;
-
- @:op(A > B) public static inline function gt16(lhs : system.Char, rhs : String) : system.Boolean return lhs.ToHaxeInt() > rhs.charCodeAt(0);
- @:op(A > B) public static inline function gt17(lhs : system.Char, rhs : system.CsString) : system.Boolean return lhs.ToHaxeInt() > rhs.get_Chars(0);
-
-
-
- @:op(A < B) public static function lt1(lhs : system.Char, rhs : Int) : system.Boolean;
- @:op(A < B) public static function lt2(lhs : Int, rhs : system.Char) : system.Boolean;
- @:op(A < B) public static function lt3(lhs : system.Char, rhs : Float) : system.Boolean;
- @:op(A < B) public static function lt4(lhs : Float, rhs : system.Char) : system.Boolean;
-
- @:op(A < B) public static function lt5(lhs : system.Char, rhs : system.Char) : system.Boolean;
- @:op(A < B) public static function lt6(lhs : system.Char, rhs : system.Byte) : system.Boolean;
- @:op(A < B) public static function lt7(lhs : system.Char, rhs : system.Int16) : system.Boolean;
- @:op(A < B) public static function lt8(lhs : system.Char, rhs : system.Int32) : system.Boolean;
- @:op(A < B) public static function lt9(lhs : system.Char, rhs : system.Int64) : system.Boolean;
- @:op(A < B) public static function lt10(lhs : system.Char, rhs : system.SByte) : system.Boolean;
- @:op(A < B) public static function lt11(lhs : system.Char, rhs : system.UInt16) : system.Boolean;
- @:op(A < B) public static function lt12(lhs : system.Char, rhs : system.UInt32) : system.Boolean;
- @:op(A < B) public static function lt13(lhs : system.Char, rhs : system.UInt64) : system.Boolean;
- @:op(A < B) public static function lt14(lhs : system.Char, rhs : system.Single) : system.Boolean;
- @:op(A < B) public static function lt15(lhs : system.Char, rhs : system.Double) : system.Boolean;
-
- @:op(A < B) public static inline function lt16(lhs : system.Char, rhs : String) : system.Boolean return lhs.ToHaxeInt() < rhs.charCodeAt(0);
- @:op(A < B) public static inline function lt17(lhs : system.Char, rhs : system.CsString) : system.Boolean return lhs.ToHaxeInt() < rhs.get_Chars(0);
-
- @:op(A >= B) public static function gte1(lhs : system.Char, rhs : Int) : system.Boolean;
- @:op(A >= B) public static function gte2(lhs : Int, rhs : system.Char) : system.Boolean;
- @:op(A >= B) public static function gte3(lhs : system.Char, rhs : Float) : system.Boolean;
- @:op(A >= B) public static function gte4(lhs : Float, rhs : system.Char) : system.Boolean;
-
- @:op(A >= B) public static function gte5(lhs : system.Char, rhs : system.Char) : system.Boolean;
- @:op(A >= B) public static function gte6(lhs : system.Char, rhs : system.Byte) : system.Boolean;
- @:op(A >= B) public static function gte7(lhs : system.Char, rhs : system.Int16) : system.Boolean;
- @:op(A >= B) public static function gte8(lhs : system.Char, rhs : system.Int32) : system.Boolean;
- @:op(A >= B) public static function gte9(lhs : system.Char, rhs : system.Int64) : system.Boolean;
- @:op(A >= B) public static function gte10(lhs : system.Char, rhs : system.SByte) : system.Boolean;
- @:op(A >= B) public static function gte11(lhs : system.Char, rhs : system.UInt16) : system.Boolean;
- @:op(A >= B) public static function gte12(lhs : system.Char, rhs : system.UInt32) : system.Boolean;
- @:op(A >= B) public static function gte13(lhs : system.Char, rhs : system.UInt64) : system.Boolean;
- @:op(A >= B) public static function gte14(lhs : system.Char, rhs : system.Single) : system.Boolean;
- @:op(A >= B) public static function gte15(lhs : system.Char, rhs : system.Double) : system.Boolean;
-
- @:op(A >= B) public static inline function gte16(lhs : system.Char, rhs : String) : system.Boolean return lhs.ToHaxeInt() >= rhs.charCodeAt(0);
- @:op(A >= B) public static inline function gte17(lhs : system.Char, rhs : system.CsString) : system.Boolean return lhs.ToHaxeInt() >= rhs.get_Chars(0);
-
-
-
- @:op(A <= B) public static function lte1(lhs : system.Char, rhs : Int) : system.Boolean;
- @:op(A <= B) public static function lte2(lhs : Int, rhs : system.Char) : system.Boolean;
- @:op(A <= B) public static function lte3(lhs : system.Char, rhs : Float) : system.Boolean;
- @:op(A <= B) public static function lte4(lhs : Float, rhs : system.Char) : system.Boolean;
-
- @:op(A <= B) public static function lte5(lhs : system.Char, rhs : system.Char) : system.Boolean;
- @:op(A <= B) public static function lte6(lhs : system.Char, rhs : system.Byte) : system.Boolean;
- @:op(A <= B) public static function lte7(lhs : system.Char, rhs : system.Int16) : system.Boolean;
- @:op(A <= B) public static function lte8(lhs : system.Char, rhs : system.Int32) : system.Boolean;
- @:op(A <= B) public static function lte9(lhs : system.Char, rhs : system.Int64) : system.Boolean;
- @:op(A <= B) public static function lte10(lhs : system.Char, rhs : system.SByte) : system.Boolean;
- @:op(A <= B) public static function lte11(lhs : system.Char, rhs : system.UInt16) : system.Boolean;
- @:op(A <= B) public static function lte12(lhs : system.Char, rhs : system.UInt32) : system.Boolean;
- @:op(A <= B) public static function lte13(lhs : system.Char, rhs : system.UInt64) : system.Boolean;
- @:op(A <= B) public static function lte14(lhs : system.Char, rhs : system.Single) : system.Boolean;
- @:op(A <= B) public static function lte15(lhs : system.Char, rhs : system.Double) : system.Boolean;
-
- @:op(A <= B) public static inline function lte16(lhs : system.Char, rhs : String) : system.Boolean return lhs.ToHaxeInt() <= rhs.charCodeAt(0);
- @:op(A <= B) public static inline function lte17(lhs : system.Char, rhs : system.CsString) : system.Boolean return lhs.ToHaxeInt() <= rhs.get_Chars(0);
-
-
- @:op(A == B) public static function eq1(lhs : system.Char, rhs : Int) : system.Boolean;
- @:op(A == B) public static function eq2(lhs : Int, rhs : system.Char) : system.Boolean;
- @:op(A == B) public static function eq3(lhs : system.Char, rhs : Float) : system.Boolean;
- @:op(A == B) public static function eq4(lhs : Float, rhs : system.Char) : system.Boolean;
-
- @:op(A == B) public static function eq5(lhs : system.Char, rhs : system.Char) : system.Boolean;
- @:op(A == B) public static function eq6(lhs : system.Char, rhs : system.Byte) : system.Boolean;
- @:op(A == B) public static function eq7(lhs : system.Char, rhs : system.Int16) : system.Boolean;
- @:op(A == B) public static function eq8(lhs : system.Char, rhs : system.Int32) : system.Boolean;
- @:op(A == B) public static function eq9(lhs : system.Char, rhs : system.Int64) : system.Boolean;
- @:op(A == B) public static function eq10(lhs : system.Char, rhs : system.SByte) : system.Boolean;
- @:op(A == B) public static function eq11(lhs : system.Char, rhs : system.UInt16) : system.Boolean;
- @:op(A == B) public static function eq12(lhs : system.Char, rhs : system.UInt32) : system.Boolean;
- @:op(A == B) public static function eq13(lhs : system.Char, rhs : system.UInt64) : system.Boolean;
- @:op(A == B) public static function eq14(lhs : system.Char, rhs : system.Single) : system.Boolean;
- @:op(A == B) public static function eq15(lhs : system.Char, rhs : system.Double) : system.Boolean;
-
- @:op(A == B) public static inline function eq16(lhs : system.Char, rhs : String) : system.Boolean return lhs.ToHaxeInt() == rhs.charCodeAt(0);
- @:op(A == B) public static inline function eq17(lhs : system.Char, rhs : system.CsString) : system.Boolean return lhs.ToHaxeInt() == rhs.get_Chars(0);
-
-
- @:op(A != B) public static function neq1(lhs : system.Char, rhs : Int) : system.Boolean;
- @:op(A != B) public static function neq2(lhs : Int, rhs : system.Char) : system.Boolean;
- @:op(A != B) public static function neq3(lhs : system.Char, rhs : Float) : system.Boolean;
- @:op(A != B) public static function neq4(lhs : Float, rhs : system.Char) : system.Boolean;
-
- @:op(A != B) public static function neq5(lhs : system.Char, rhs : system.Char) : system.Boolean;
- @:op(A != B) public static function neq6(lhs : system.Char, rhs : system.Byte) : system.Boolean;
- @:op(A != B) public static function neq7(lhs : system.Char, rhs : system.Int16) : system.Boolean;
- @:op(A != B) public static function neq8(lhs : system.Char, rhs : system.Int32) : system.Boolean;
- @:op(A != B) public static function neq9(lhs : system.Char, rhs : system.Int64) : system.Boolean;
- @:op(A != B) public static function neq10(lhs : system.Char, rhs : system.SByte) : system.Boolean;
- @:op(A != B) public static function neq11(lhs : system.Char, rhs : system.UInt16) : system.Boolean;
- @:op(A != B) public static function neq12(lhs : system.Char, rhs : system.UInt32) : system.Boolean;
- @:op(A != B) public static function neq13(lhs : system.Char, rhs : system.UInt64) : system.Boolean;
- @:op(A != B) public static function neq14(lhs : system.Char, rhs : system.Single) : system.Boolean;
- @:op(A != B) public static function neq15(lhs : system.Char, rhs : system.Double) : system.Boolean;
-
- @:op(A != B) public static inline function neq16(lhs : system.Char, rhs : String) : system.Boolean return lhs.ToHaxeInt() != rhs.charCodeAt(0);
- @:op(A != B) public static inline function neq17(lhs : system.Char, rhs : system.CsString) : system.Boolean return lhs.ToHaxeInt() != rhs.get_Chars(0);
-
-
- @:op(A & B) public static function and1(lhs : system.Char, rhs : Int) : system.Int32;
- @:op(A & B) public static function and2(lhs : Int, rhs : system.Char) : system.Int32;
-
- @:op(A & B) public static function and5(lhs : system.Char, rhs : system.Char) : system.Int32;
- @:op(A & B) public static function and6(lhs : system.Char, rhs : system.Byte) : system.Int32;
- @:op(A & B) public static function and7(lhs : system.Char, rhs : system.Int16) : system.Int32;
- @:op(A & B) public static function and8(lhs : system.Char, rhs : system.Int32) : system.Int32;
- @:op(A & B) public static function and9(lhs : system.Char, rhs : system.Int64) : system.Int64;
- @:op(A & B) public static function and10(lhs : system.Char, rhs : system.SByte) : system.Int32;
- @:op(A & B) public static function and11(lhs : system.Char, rhs : system.UInt16) : system.Int32;
- @:op(A & B) public static function and12(lhs : system.Char, rhs : system.UInt32) : system.UInt32;
- @:op(A & B) public static function and13(lhs : system.Char, rhs : system.UInt64) : system.UInt64;
-
-
- @:op(A | B) public static function or1(lhs : system.Char, rhs : Int) : system.Int32;
- @:op(A | B) public static function or2(lhs : Int, rhs : system.Char) : system.Int32;
-
- @:op(A | B) public static function or5(lhs : system.Char, rhs : system.Char) : system.Int32;
- @:op(A | B) public static function or6(lhs : system.Char, rhs : system.Byte) : system.Int32;
- @:op(A | B) public static function or7(lhs : system.Char, rhs : system.Int16) : system.Int32;
- @:op(A | B) public static function or8(lhs : system.Char, rhs : system.Int32) : system.Int32;
- @:op(A | B) public static function or9(lhs : system.Char, rhs : system.Int64) : system.Int64;
- @:op(A | B) public static function or10(lhs : system.Char, rhs : system.SByte) : system.Int32;
- @:op(A | B) public static function or11(lhs : system.Char, rhs : system.UInt16) : system.Int32;
- @:op(A | B) public static function or12(lhs : system.Char, rhs : system.UInt32) : system.UInt32;
- @:op(A | B) public static function or13(lhs : system.Char, rhs : system.UInt64) : system.UInt64;
-
-
- @:op(A ^ B) public static function xor1(lhs : system.Char, rhs : Int) : system.Int32;
- @:op(A ^ B) public static function xor2(lhs : Int, rhs : system.Char) : system.Int32;
-
- @:op(A ^ B) public static function xor5(lhs : system.Char, rhs : system.Char) : system.Int32;
- @:op(A ^ B) public static function xor6(lhs : system.Char, rhs : system.Byte) : system.Int32;
- @:op(A ^ B) public static function xor7(lhs : system.Char, rhs : system.Int16) : system.Int32;
- @:op(A ^ B) public static function xor8(lhs : system.Char, rhs : system.Int32) : system.Int32;
- @:op(A ^ B) public static function xor9(lhs : system.Char, rhs : system.Int64) : system.Int64;
- @:op(A ^ B) public static function xor10(lhs : system.Char, rhs : system.SByte) : system.Int32;
- @:op(A ^ B) public static function xor11(lhs : system.Char, rhs : system.UInt16) : system.Int32;
- @:op(A ^ B) public static function xor12(lhs : system.Char, rhs : system.UInt32) : system.UInt32;
- @:op(A ^ B) public static function xor13(lhs : system.Char, rhs : system.UInt64) : system.UInt64;
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/CharArray.hx b/Phase/Mscorlib/system/CharArray.hx
deleted file mode 100644
index 8c9c96637..000000000
--- a/Phase/Mscorlib/system/CharArray.hx
+++ /dev/null
@@ -1,21 +0,0 @@
-package system;
-
-abstract CharArray(js.html.Uint16Array)
-{
- public inline function new(length:Int32) this = new js.html.Uint16Array(length.ToHaxeInt());
-
- @:from public static inline function fromArray(a:Array):CharArray return cast new js.html.Uint16Array(untyped a);
- @:from public static inline function fromFixedArray(a:FixedArray):CharArray return cast new js.html.Uint16Array(untyped a.ToHaxeArray());
-
- public var Length(get, never):Int32;
- public inline function get_Length() : Int32 return this.length;
-
- @:op([]) public inline function get(index:Int32):Char return this[index.ToHaxeInt()];
- @:op([]) public inline function set(index:Int32, val:Char):Char return this[index.ToHaxeInt()] = val.ToHaxeInt();
-
- public inline function iterator() : Iterator return new CharArrayIterator(this);
-
- public inline function ToEnumerable() : system.collections.generic.IEnumerable return new CharArrayEnumerable(this);
-
- public static inline function empty(size:Int32) return new CharArray(size);
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/CharArrayEnumerable.hx b/Phase/Mscorlib/system/CharArrayEnumerable.hx
deleted file mode 100644
index 29ba7547a..000000000
--- a/Phase/Mscorlib/system/CharArrayEnumerable.hx
+++ /dev/null
@@ -1,18 +0,0 @@
-package system;
-
-import system.collections.generic.IEnumerable;
-import system.collections.generic.IEnumerator;
-
-class CharArrayEnumerable implements IEnumerable
-{
- private var _array:js.html.Uint16Array;
- public function new(array:js.html.Uint16Array)
- {
- _array= array;
- }
-
- public function GetEnumerator() : IEnumerator
- {
- return new CharArrayEnumerator(_array);
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/CharArrayEnumerator.hx b/Phase/Mscorlib/system/CharArrayEnumerator.hx
deleted file mode 100644
index 1d55a679a..000000000
--- a/Phase/Mscorlib/system/CharArrayEnumerator.hx
+++ /dev/null
@@ -1,29 +0,0 @@
-package system;
-
-import system.collections.generic.IEnumerator;
-
-class CharArrayEnumerator implements IEnumerator
-{
- private var _array:js.html.Uint16Array;
- private var _i:Int;
-
- public function new(array:js.html.Uint16Array)
- {
- _array = array;
- _i = -1;
- }
-
- public var Current(get, never):Char;
- public function get_Current() : Char return _array[_i];
- public function MoveNext() : Bool
- {
- if(_i >= _array.length - 1) return false;
- _i++;
- return true;
-
- }
- public function Reset():Void
- {
- _i = -1;
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/CharArrayIterator.hx b/Phase/Mscorlib/system/CharArrayIterator.hx
deleted file mode 100644
index 86e3e0a8b..000000000
--- a/Phase/Mscorlib/system/CharArrayIterator.hx
+++ /dev/null
@@ -1,19 +0,0 @@
-package system;
-
-class CharArrayIterator
-{
- private var _array:js.html.Uint16Array;
- private var _i:Int;
-
- public function new(array:js.html.Uint16Array)
- {
- _array = array;
- _i = 0;
- }
-
- public function hasNext() return _i < _array.length;
- public function next() : Char
- {
- return _array[_i++];
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/Comparison.hx b/Phase/Mscorlib/system/Comparison.hx
deleted file mode 100644
index 0765484d4..000000000
--- a/Phase/Mscorlib/system/Comparison.hx
+++ /dev/null
@@ -1,3 +0,0 @@
-package system;
-
-typedef Comparison = T->T-> system.Int32;
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/Convert.hx b/Phase/Mscorlib/system/Convert.hx
deleted file mode 100644
index 5b39f3510..000000000
--- a/Phase/Mscorlib/system/Convert.hx
+++ /dev/null
@@ -1,649 +0,0 @@
-package system;
-
-import js.html.ArrayBuffer;
-import js.html.Int16Array;
-import js.html.Int8Array;
-import js.html.Int32Array;
-import js.html.Uint16Array;
-import js.html.Uint32Array;
-import js.html.Uint8Array;
-import js.html.Float32Array;
-import js.html.Float64Array;
-
-class Convert
-{
- private static var _conversionBuffer:ArrayBuffer = new ArrayBuffer(8);
- private static var _int8Buffer = new Int8Array(_conversionBuffer);
- private static var _uint8Buffer = new Uint8Array(_conversionBuffer);
- private static var _int16Buffer = new Int16Array(_conversionBuffer);
- private static var _uint16Buffer = new Uint16Array(_conversionBuffer);
- private static var _int32Buffer = new Int32Array(_conversionBuffer);
- private static var _uint32Buffer = new Uint32Array(_conversionBuffer);
- private static var _float32Buffer = new Float32Array(_conversionBuffer);
- private static var _float64Buffer = new Float64Array(_conversionBuffer);
-
- public static function ToInt8(v:Int) : Int
- {
- _int32Buffer[0] = v;
- return _int8Buffer[0];
- }
- public static function ToUInt8(v:Int) : Int
- {
- _int32Buffer[0] = v;
- return _uint8Buffer[0];
- }
- public static function ToInt16(v:Int) : Int
- {
- _int32Buffer[0] = v;
- return _int16Buffer[0];
- }
- public static function ToUInt16(v:Int) : Int
- {
- _int32Buffer[0] = v;
- return _uint16Buffer[0];
- }
- public static function ToUInt32(v:Int) : Int
- {
- _int32Buffer[0] = v;
- return _uint32Buffer[0];
- }
- public static function ToInt64(v:Int) : Int
- {
- return v;
- }
- public static function ToUInt64(v:Int) : Int
- {
- return ToUInt32(v);
- }
- public static function ToInt32(v:Int) : Int
- {
- _uint32Buffer[0] = v;
- return _int32Buffer[0];
- }
-
- public static function ToHashCode_Single(v:system.Single) : system.Int32
- {
- _float32Buffer[0] = v.ToHaxeFloat();
- return _int32Buffer[0];
- }
-
- public static function ToHashCode_Double(v:system.Double) : system.Int32
- {
- _float64Buffer[0] = v.ToHaxeFloat();
- return _int32Buffer[0] ^ _int32Buffer[1];
- }
-
- public static inline function ToBoolean_Byte(v:system.Byte) : system.Boolean
- {
- return v != 0;
- }
- public static inline function ToChar_Byte(v:system.Byte) : system.Char
- {
- return v.ToHaxeInt();
- }
- public static inline function ToSByte_Byte(v:system.Byte) : system.SByte
- {
- return ToInt8(v.ToHaxeInt());
- }
- public static inline function ToByte_Byte(v:system.Byte) : system.Byte
- {
- return v;
- }
- public static inline function ToInt16_Byte(v:system.Byte) : system.Int16
- {
- return v.ToHaxeInt();
- }
- public static inline function ToUInt16_Byte(v:system.Byte) : system.UInt16
- {
- return v.ToHaxeInt();
- }
- public static inline function ToInt32_Byte(v:system.Byte) : system.Int32
- {
- return v.ToHaxeInt();
- }
- public static inline function ToUInt32_Byte(v:system.Byte) : system.UInt32
- {
- return v.ToHaxeInt();
- }
- public static inline function ToInt64_Byte(v:system.Byte) : system.Int64
- {
- return v.ToHaxeInt();
- }
- public static inline function ToUInt64_Byte(v:system.Byte) : system.UInt64
- {
- return v.ToHaxeInt();
- }
- public static inline function ToSingle_Byte(v:system.Byte) : system.Single
- {
- return v.ToHaxeInt();
- }
- public static inline function ToDouble_Byte(v:system.Byte) : system.Double
- {
- return v.ToHaxeInt();
- }
-
-
- public static inline function ToBoolean_Char(v:system.Char) : system.Boolean
- {
- throw new InvalidCastException("cannot cast system.Char to system.Boolean");
- }
- public static inline function ToChar_Char(v:system.Char) : system.Char
- {
- return v;
- }
- public static inline function ToByte_Char(v:system.Char) : system.Byte
- {
- return ToUInt8(v.ToHaxeInt());
- }
- public static inline function ToSByte_Char(v:system.Char) : system.SByte
- {
- return ToInt8(v.ToHaxeInt());
- }
- public static inline function ToInt16_Char(v:system.Char) : system.Int16
- {
- return ToInt16(v.ToHaxeInt());
- }
- public static inline function ToUInt16_Char(v:system.Char) : system.UInt16
- {
- return v.ToHaxeInt();
- }
- public static inline function ToInt32_Char(v:system.Char) : system.Int32
- {
- return v.ToHaxeInt();
- }
- public static inline function ToUInt32_Char(v:system.Char) : system.UInt32
- {
- return v.ToHaxeInt();
- }
- public static inline function ToInt64_Char(v:system.Char) : system.Int64
- {
- return v.ToHaxeInt();
- }
- public static inline function ToUInt64_Char(v:system.Char) : system.UInt64
- {
- return v.ToHaxeInt();
- }
- public static function ToSingle_Char(v:system.Byte) : system.Single
- {
- throw new InvalidCastException("cannot cast system.Char to system.Single");
- }
- public static function ToDouble_Char(v:system.Byte) : system.Double
- {
- throw new InvalidCastException("cannot cast system.Char to system.Double");
- }
-
-
- public static inline function ToBoolean_Double(v:system.Double) : system.Boolean
- {
- return v != 0;
- }
- public static inline function ToChar_Double(v:system.Double) : system.Char
- {
- throw new InvalidCastException("cannot cast system.Double to system.Char");
- }
- public static inline function ToByte_Double(v:system.Double) : system.Byte
- {
- return ToUInt8(ToInt32_Double(v).ToHaxeInt());
- }
- public static inline function ToSByte_Double(v:system.Double) : system.SByte
- {
- return ToInt8(ToInt32_Double(v).ToHaxeInt());
- }
- public static inline function ToInt16_Double(v:system.Double) : system.Int16
- {
- return ToInt16(ToInt32_Double(v).ToHaxeInt());
- }
- public static inline function ToUInt16_Double(v:system.Double) : system.UInt16
- {
- return ToUInt16(ToInt32_Double(v).ToHaxeInt());
- }
- public static function ToInt32_Double(v:system.Double) : system.Int32
- {
- if (v >= 0)
- {
- if (v < 2147483647.5)
- {
- return Std.int(v.ToHaxeFloat());
- //var result = Std.int(v.ToHaxeFloat());
- //var dif = v - result;
- //if (dif > 0.5 || dif == 0.5 && (result & 1) != 0) result++;
- //return result;
- }
- }
- else
- {
- if (v >= -2147483648.5)
- {
- return Std.int(v.ToHaxeFloat());
- // var result = Std.int(v.ToHaxeFloat());
- // var dif = v - result;
- // if (dif < -0.5 || dif == -0.5 && (result & 1) != 0) result--;
- // return result;
- }
- }
- return Std.int(v.ToHaxeFloat());
- // throw new OverflowException("Value was either too large or too small for a Int32.");
- }
- public static inline function ToUInt32_Double(v:system.Double) : system.UInt32
- {
- return ToUInt32(ToInt32_Double(v).ToHaxeInt());
- }
- public static inline function ToInt64_Double(v:system.Double) : system.Int64
- {
- // TODO: ensure that upper bits are not lost
- return Std.int(v.ToHaxeFloat());
- }
- public static inline function ToUInt64_Double(v:system.Double) : system.UInt64
- {
- return ToInt64(ToInt64_Double(v).ToHaxeInt());
- }
- public static inline function ToSingle_Double(v:system.Double) : system.Single
- {
- // TODO: double to float truncation
- return v.ToHaxeFloat();
- }
- public static inline function ToDouble_Double(v:system.Double) : system.Double
- {
- return v;
- }
-
-
- public static inline function ToBoolean_Int16(v:system.Int16) : system.Boolean
- {
- return v != 0;
- }
- public static inline function ToChar_Int16(v:system.Int16) : system.Char
- {
- return ToUInt16(v.ToHaxeInt());
- }
- public static inline function ToSByte_Int16(v:system.Int16) : system.SByte
- {
- return ToInt8(v.ToHaxeInt());
- }
- public static inline function ToByte_Int16(v:system.Int16) : system.Byte
- {
- return ToUInt8(v.ToHaxeInt());
- }
- public static inline function ToInt16_Int16(v:system.Int16) : system.Int16
- {
- return v;
- }
- public static inline function ToUInt16_Int16(v:system.Int16) : system.UInt16
- {
- return ToUInt16(v.ToHaxeInt());
- }
- public static inline function ToInt32_Int16(v:system.Int16) : system.Int32
- {
- return v.ToHaxeInt();
- }
- public static inline function ToUInt32_Int16(v:system.Int16) : system.UInt32
- {
- return ToUInt32(v.ToHaxeInt());
- }
- public static inline function ToInt64_Int16(v:system.Int16) : system.Int64
- {
- return v.ToHaxeInt();
- }
- public static inline function ToUInt64_Int16(v:system.Int16) : system.UInt64
- {
- return ToUInt32(v.ToHaxeInt());
- }
- public static inline function ToSingle_Int16(v:system.Int16) : system.Single
- {
- return v.ToHaxeInt();
- }
- public static inline function ToDouble_Int16(v:system.Int16) : system.Double
- {
- return v.ToHaxeInt();
- }
-
-
- public static inline function ToBoolean_Int32(v:system.Int32) : system.Boolean
- {
- return v != 0;
- }
- public static inline function ToChar_Int32(v:system.Int32) : system.Char
- {
- return ToUInt16(v.ToHaxeInt());
- }
- public static inline function ToSByte_Int32(v:system.Int32) : system.SByte
- {
- return ToInt8(v.ToHaxeInt());
- }
- public static inline function ToByte_Int32(v:system.Int32) : system.Byte
- {
- return ToUInt8(v.ToHaxeInt());
- }
- public static inline function ToInt16_Int32(v:system.Int32) : system.Int16
- {
- return ToInt16(v.ToHaxeInt());
- }
- public static inline function ToUInt16_Int32(v:system.Int32) : system.UInt16
- {
- return ToUInt16(v.ToHaxeInt());
- }
- public static inline function ToInt32_Int32(v:system.Int32) : system.Int32
- {
- return v;
- }
- public static inline function ToUInt32_Int32(v:system.Int32) : system.UInt32
- {
- return ToUInt32(v.ToHaxeInt());
- }
- public static inline function ToInt64_Int32(v:system.Int32) : system.Int64
- {
- return v.ToHaxeInt();
- }
- public static inline function ToUInt64_Int32(v:system.Int32) : system.UInt64
- {
- return ToUInt32(v.ToHaxeInt());
- }
- public static inline function ToSingle_Int32(v:system.Int32) : system.Single
- {
- return v.ToHaxeInt();
- }
- public static inline function ToDouble_Int32(v:system.Int32) : system.Double
- {
- return v.ToHaxeInt();
- }
-
-
- public static inline function ToBoolean_Int64(v:system.Int64) : system.Boolean
- {
- return v != 0;
- }
- public static inline function ToChar_Int64(v:system.Int64) : system.Char
- {
- return ToUInt16(v.ToHaxeInt());
- }
- public static inline function ToSByte_Int64(v:system.Int64) : system.SByte
- {
- return ToInt8(v.ToHaxeInt());
- }
- public static inline function ToByte_Int64(v:system.Int64) : system.Byte
- {
- return ToUInt8(v.ToHaxeInt());
- }
- public static inline function ToInt16_Int64(v:system.Int64) : system.Int16
- {
- return ToInt16(v.ToHaxeInt());
- }
- public static inline function ToUInt16_Int64(v:system.Int64) : system.UInt16
- {
- return ToUInt16(v.ToHaxeInt());
- }
- public static inline function ToInt32_Int64(v:system.Int64) : system.Int32
- {
- return ToInt32(v.ToHaxeInt());
- }
- public static inline function ToUInt32_Int64(v:system.Int64) : system.UInt32
- {
- return ToUInt32(v.ToHaxeInt());
- }
- public static inline function ToInt64_Int64(v:system.Int64) : system.Int64
- {
- return v;
- }
- public static inline function ToUInt64_Int64(v:system.Int64) : system.UInt64
- {
- return ToUInt32(v.ToHaxeInt());
- }
- public static inline function ToSingle_Int64(v:system.Int64) : system.Single
- {
- return v.ToHaxeInt();
- }
- public static inline function ToDouble_Int64(v:system.Int64) : system.Double
- {
- return v.ToHaxeInt();
- }
-
-
- public static inline function ToBoolean_SByte(v:system.SByte) : system.Boolean
- {
- return v != 0;
- }
- public static inline function ToChar_SByte(v:system.SByte) : system.Char
- {
- return ToUInt16(v.ToHaxeInt());
- }
- public static inline function ToSByte_SByte(v:system.SByte) : system.SByte
- {
- return v;
- }
- public static inline function ToByte_SByte(v:system.SByte) : system.Byte
- {
- return ToUInt8(v.ToHaxeInt());
- }
- public static inline function ToInt16_SByte(v:system.SByte) : system.Int16
- {
- return v.ToHaxeInt();
- }
- public static inline function ToUInt16_SByte(v:system.SByte) : system.UInt16
- {
- return ToUInt16(v.ToHaxeInt());
- }
- public static inline function ToInt32_SByte(v:system.SByte) : system.Int32
- {
- return v.ToHaxeInt();
- }
- public static inline function ToUInt32_SByte(v:system.SByte) : system.UInt32
- {
- return ToUInt32(v.ToHaxeInt());
- }
- public static inline function ToInt64_SByte(v:system.SByte) : system.Int64
- {
- return v.ToHaxeInt();
- }
- public static inline function ToUInt64_SByte(v:system.SByte) : system.UInt64
- {
- return ToUInt32(v.ToHaxeInt());
- }
- public static inline function ToSingle_SByte(v:system.SByte) : system.Single
- {
- return v.ToHaxeInt();
- }
- public static inline function ToDouble_SByte(v:system.SByte) : system.Double
- {
- return v.ToHaxeInt();
- }
-
- public static inline function ToBoolean_Single(v:system.Single) : system.Boolean
- {
- return v != 0;
- }
- public static inline function ToChar_Single(v:system.Single) : system.Char
- {
- throw new InvalidCastException("cannot cast system.Single to system.Char");
- }
- public static inline function ToByte_Single(v:system.Single) : system.Byte
- {
- return ToUInt8(ToInt32_Single(v).ToHaxeInt());
- }
- public static inline function ToSByte_Single(v:system.Single) : system.SByte
- {
- return ToInt8(ToInt32_Single(v).ToHaxeInt());
- }
- public static inline function ToInt16_Single(v:system.Single) : system.Int16
- {
- return ToInt16(ToInt32_Single(v).ToHaxeInt());
- }
- public static inline function ToUInt16_Single(v:system.Single) : system.UInt16
- {
- return ToUInt16(ToInt32_Single(v).ToHaxeInt());
- }
- public static function ToInt32_Single(v:system.Single) : system.Int32
- {
- return ToInt32_Double(v);
- }
- public static inline function ToUInt32_Single(v:system.Single) : system.UInt32
- {
- return ToUInt32(ToInt32_Single(v).ToHaxeInt());
- }
- public static inline function ToInt64_Single(v:system.Single) : system.Int64
- {
- // TODO: ensure that upper bits are not lost
- return Std.int(v.ToHaxeFloat());
- }
- public static inline function ToUInt64_Single(v:system.Single) : system.UInt64
- {
- return ToInt64(ToInt64_Single(v).ToHaxeInt());
- }
- public static inline function ToSingle_Single(v:system.Single) : system.Single
- {
- return v;
- }
- public static inline function ToDouble_Single(v:system.Single) : system.Double
- {
- return v.ToHaxeFloat();
- }
-
-
- public static inline function ToBoolean_UInt16(v:system.UInt16) : system.Boolean
- {
- return v != 0;
- }
- public static inline function ToChar_UInt16(v:system.UInt16) : system.Char
- {
- return v.ToHaxeInt();
- }
- public static inline function ToSByte_UInt16(v:system.UInt16) : system.SByte
- {
- return ToInt8(v.ToHaxeInt());
- }
- public static inline function ToByte_UInt16(v:system.UInt16) : system.Byte
- {
- return ToUInt8(v.ToHaxeInt());
- }
- public static inline function ToInt16_UInt16(v:system.UInt16) : system.Int16
- {
- return ToInt16(v.ToHaxeInt());
- }
- public static inline function ToUInt16_UInt16(v:system.UInt16) : system.UInt16
- {
- return v;
- }
- public static inline function ToInt32_UInt16(v:system.UInt16) : system.Int32
- {
- return v.ToHaxeInt();
- }
- public static inline function ToUInt32_UInt16(v:system.UInt16) : system.UInt32
- {
- return v.ToHaxeInt();
- }
- public static inline function ToInt64_UInt16(v:system.UInt16) : system.Int64
- {
- return v.ToHaxeInt();
- }
- public static inline function ToUInt64_UInt16(v:system.UInt16) : system.UInt64
- {
- return v.ToHaxeInt();
- }
- public static inline function ToSingle_UInt16(v:system.UInt16) : system.Single
- {
- return v.ToHaxeInt();
- }
- public static inline function ToDouble_UInt16(v:system.UInt16) : system.Double
- {
- return v.ToHaxeInt();
- }
-
-
- public static inline function ToBoolean_UInt32(v:system.UInt32) : system.Boolean
- {
- return v != 0;
- }
- public static inline function ToChar_UInt32(v:system.UInt32) : system.Char
- {
- return ToUInt16(v.ToHaxeInt());
- }
- public static inline function ToSByte_UInt32(v:system.UInt32) : system.SByte
- {
- return ToInt8(v.ToHaxeInt());
- }
- public static inline function ToByte_UInt32(v:system.UInt32) : system.Byte
- {
- return ToUInt8(v.ToHaxeInt());
- }
- public static inline function ToInt16_UInt32(v:system.UInt32) : system.Int16
- {
- return ToInt16(v.ToHaxeInt());
- }
- public static inline function ToUInt16_UInt32(v:system.UInt32) : system.UInt16
- {
- return ToUInt16(v.ToHaxeInt());
- }
- public static inline function ToInt32_UInt32(v:system.UInt32) : system.Int32
- {
- return ToInt32(v.ToHaxeInt());
- }
- public static inline function ToUInt32_UInt32(v:system.UInt32) : system.UInt32
- {
- return v;
- }
- public static inline function ToInt64_UInt32(v:system.UInt32) : system.Int64
- {
- return v.ToHaxeInt();
- }
- public static inline function ToUInt64_UInt32(v:system.UInt32) : system.UInt64
- {
- return v.ToHaxeInt();
- }
- public static inline function ToSingle_UInt32(v:system.UInt32) : system.Single
- {
- return v.ToHaxeInt();
- }
- public static inline function ToDouble_UInt32(v:system.UInt32) : system.Double
- {
- return v.ToHaxeInt();
- }
-
-
- public static inline function ToBoolean_UInt64(v:system.UInt64) : system.Boolean
- {
- return v != 0;
- }
- public static inline function ToChar_UInt64(v:system.UInt64) : system.Char
- {
- return ToUInt16(v.ToHaxeInt());
- }
- public static inline function ToSByte_UInt64(v:system.UInt64) : system.SByte
- {
- return ToInt8(v.ToHaxeInt());
- }
- public static inline function ToByte_UInt64(v:system.UInt64) : system.Byte
- {
- return ToUInt8(v.ToHaxeInt());
- }
- public static inline function ToInt16_UInt64(v:system.UInt64) : system.Int16
- {
- return ToInt16(v.ToHaxeInt());
- }
- public static inline function ToUInt16_UInt64(v:system.UInt64) : system.UInt16
- {
- return ToUInt16(v.ToHaxeInt());
- }
- public static inline function ToInt32_UInt64(v:system.UInt64) : system.Int32
- {
- return ToInt32(v.ToHaxeInt());
- }
- public static inline function ToUInt32_UInt64(v:system.UInt64) : system.UInt32
- {
- return ToUInt32(v.ToHaxeInt());
- }
- public static inline function ToInt64_UInt64(v:system.UInt64) : system.Int64
- {
- return ToInt32(v.ToHaxeInt());
- }
- public static inline function ToUInt64_UInt64(v:system.UInt64) : system.UInt64
- {
- return v;
- }
- public static inline function ToSingle_UInt64(v:system.UInt64) : system.Single
- {
- return v.ToHaxeInt();
- }
- public static inline function ToDouble_UInt64(v:system.UInt64) : system.Double
- {
- return v.ToHaxeInt();
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/CsMath.hx b/Phase/Mscorlib/system/CsMath.hx
deleted file mode 100644
index 3c428ded8..000000000
--- a/Phase/Mscorlib/system/CsMath.hx
+++ /dev/null
@@ -1,34 +0,0 @@
-package system;
-
-class CsMath
-{
- public static inline function Min_Byte_Byte(a:Byte, b:Byte) : Byte return untyped Math.min(a.ToHaxeInt(), b.ToHaxeInt());
- public static inline function Min_Int32_Int32(a:Int32, b:Int32) : Int32 return untyped Math.min(a.ToHaxeInt(), b.ToHaxeInt());
- public static inline function Min_Double_Double(a:Double, b:Double) : Double return untyped Math.min(a.ToHaxeFloat(), b.ToHaxeFloat());
- public static inline function Max_Int32_Int32(a:Int32, b:Int32) : Int32 return untyped Math.max(a.ToHaxeInt(), b.ToHaxeInt());
- public static inline function Max_Byte_Byte(a:Byte, b:Byte) : Byte return untyped Math.max(a.ToHaxeInt(), b.ToHaxeInt());
- public static inline function Min_Int64_Int64(a:system.Int64, b:system.Int64) : system.Int64 return a.ToHaxeInt() < b.ToHaxeInt() ? a : b;
- public static inline function Max_Single_Single(a:Single, b:Single) : Single return Math.max(a.ToHaxeFloat(), b.ToHaxeFloat());
- public static inline function Max_Double_Double(a:Double, b:Double) : Double return Math.max(a.ToHaxeFloat(), b.ToHaxeFloat());
- public static inline function Min_Single_Single(a:Single, b:Single) : Single return Math.min(a.ToHaxeFloat(), b.ToHaxeFloat());
- public static inline function Abs_Single(a:Single) : Single return Math.abs(a.ToHaxeFloat());
- public static inline function Abs_Int32(a:Int32) : Int32 return untyped Math.abs(a.ToHaxeInt());
- public static inline function Round_Double(a:Double) : Double return Math.round(a.ToHaxeFloat());
- public static inline function Round_Single(a:Single) : Single return Math.round(a.ToHaxeFloat());
- public static inline function Sin(a:Double) : Double return Math.sin(a.ToHaxeFloat());
- public static inline function Cos(a:Double) : Double return Math.cos(a.ToHaxeFloat());
- public static inline function Pow(v:Double, exp:Double) : Double return Math.pow(v.ToHaxeFloat(), exp.ToHaxeFloat());
- public static inline function Ceiling_Single(v:Single) : Single return Math.ceil(v.ToHaxeFloat());
- public static inline function Ceiling_Double(v:Double) : Double return Math.ceil(v.ToHaxeFloat());
- public static inline function Floor_Single(v:Single) : Single return Math.floor(v.ToHaxeFloat());
- public static inline function Floor_Double(v:Double) : Double return Math.floor(v.ToHaxeFloat());
- public static inline function Sign_Single(v:Single) : Single return Math.floor(v.ToHaxeFloat());
- public static inline function Sign_Double(v:Double) : system.Int32 return if( v < 0 ) -1 else if (v > 0) 1 else 0;
- public static inline function Log_Double_Double(a:Double, newBase:Double) : system.Double return Math.log(a.ToHaxeFloat()) / Math.log(newBase.ToHaxeFloat());
- public static inline function Log10(a:Double) : system.Double return Log_Double_Double(a, 10);
- public static inline function Abs_Double(v:Double) : Double return Math.abs(v.ToHaxeFloat());
- public static inline function Sqrt(v:Double) : Double return Math.sqrt(v.ToHaxeFloat());
- public static inline function Exp(v:Double) : Double return Math.exp(v.ToHaxeFloat());
- public static inline function Asin(v:Double) : Double return Math.asin(v.ToHaxeFloat());
-
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/CsString.hx b/Phase/Mscorlib/system/CsString.hx
deleted file mode 100644
index 7c6fc3e69..000000000
--- a/Phase/Mscorlib/system/CsString.hx
+++ /dev/null
@@ -1,359 +0,0 @@
-package system;
-
-abstract CsString(String) from String to String
-{
- public inline function new(s:String) this = s;
-
- public inline function ToHaxeString(): String return this;
-
- public var Length(get, never):Int32;
- public inline function get_Length() :Int32 return this.length;
- public inline function get_Chars(i:Int32) : Char return Char.fromCode(this.charCodeAt(i.ToHaxeInt()));
-
- public inline function Substring_Int32(start:Int32) : CsString return this.substr(start.ToHaxeInt());
- public inline function Substring_Int32_Int32(start:Int32, length:Int32) : CsString return this.substr(start.ToHaxeInt(), length.ToHaxeInt());
- public inline function Replace_CsString_CsString(from:CsString, with :CsString) : CsString return StringTools.replace(this, from.ToHaxeString(), with.ToHaxeString() );
- public inline function IndexOf_Char(ch:Char) : Int32 return this.indexOf(ch.ToString());
- public inline function LastIndexOf_Char(ch:Char) : Int32 return this.lastIndexOf(ch.ToString());
- public inline function LastIndexOf_CsString(ch:CsString) : Int32 return this.lastIndexOf(ch.ToHaxeString());
- public inline function EndsWith_CsString(end:CsString) : Boolean return StringTools.endsWith(this, end.ToHaxeString());
- public inline function Contains(s:CsString) : Boolean return this.indexOf(s.ToHaxeString()) != -1;
- public inline function Trim() : CsString return StringTools.trim(this);
-
- public function Split_CharArray(chars:Array) : Array
- {
- var strings = new Array();
- var startPos = 0;
- for (i in 0 ... this.length)
- {
- var cc = this.charCodeAt(i);
- if (chars.indexOf(cc) >= 0)
- {
- var endPos = i;
- if (endPos < startPos)
- {
- strings.push("");
- }
- else
- {
- strings.push(this.substring(startPos, endPos));
- }
- startPos = i + 1;
- }
- }
- if(startPos < this.length)
- {
- strings.push(this.substring(startPos, this.length));
- }
- return strings;
- }
-
- public static inline function IsNullOrEmpty(s:CsString) : Boolean return (s == null || s.Length == 0);
- public static inline function IsNullOrWhiteSpace(s:CsString) : Boolean return (s == null || s.Trim().Length == 0);
- public static inline function FromCharCode(s:Int32) : CsString return String.fromCharCode(s.ToHaxeInt());
- public static function Format(format:CsString, args:FixedArray) : CsString
- {
- var sb = new StringBuf();
-
- // based on https://github.com/dotnet/coreclr/blob/master/src/mscorlib/shared/System/Text/StringBuilder.cs#L1362
- var pos : Int32 = 0;
- var len : Int32 = format.Length;
- var ch : Char = 0;
- var unescapedItemFormat:StringBuf = null;
-
- while(true)
- {
- while(pos < len)
- {
- ch = format.get_Chars(pos);
- pos++;
-
- // Is it a closing brace?
- if(ch == "}")
- {
- // Check next character (if there is one) to see if it is escaped. eg }}
- if(pos < len && format.get_Chars(pos) == "}")
- {
- pos++;
- }
- else
- {
- // Otherwise treat it as an error (Mismatched closing brace)
- throw new FormatException().FormatException_CsString("invalid format");
- }
- }
-
- // Is it a opening brace?
- if(ch == "{")
- {
- // Check next character (if there is one) to see if it is escaped. eg {{
- if(pos < len && format.get_Chars(pos) == "{")
- {
- pos++;
- }
- else
- {
- // Otherwise treat it as the opening brace of an Argument Hole.
- pos--;
- break;
- }
- }
- // If it neither then treat the character as just text.
- sb.addChar(ch.ToHaxeInt());
- }
-
- //
- // Start of parsing of Argument Hole.
- // Argument Hole ::= { Index (, WS* Alignment WS*)? (: Formatting)? }
- //
- if (pos == len) break;
-
- //
- // Start of parsing required Index parameter.
- // Index ::= ('0'-'9')+ WS*
- //
- pos++;
- // If reached end of text then error (Unexpected end of text)
- // or character is not a digit then error (Unexpected Character)
- if (pos == len || (ch = format.get_Chars(pos)) < '0' || ch > '9')
- {
- throw new FormatException().FormatException_CsString("invalid format");
- }
-
- var index:Int32 = 0;
- do
- {
- index = index * 10 + ch - Char.fromString("0");
- pos++;
- // If reached end of text then error (Unexpected end of text)
- if (pos == len)
- {
- throw new FormatException().FormatException_CsString("invalid format");
- }
- ch = format.get_Chars(pos);
- // so long as character is digit and value of the index is less than 1000000 ( index limit )
- } while (ch >= '0' && ch <= '9' && index < 1000000);
-
- // If value of index is not within the range of the arguments passed in then error (Index out of range)
- if (index >= args.Length)
- {
- throw new FormatException().FormatException_CsString("format specifiers out of range");
- }
-
- // Consume optional whitespace.
- while (pos < len && (ch = format.get_Chars(pos)) == ' ') pos++;
- // End of parsing index parameter.
-
- //
- // Start of parsing of optional Alignment
- // Alignment ::= comma WS* minus? ('0'-'9')+ WS*
- //
- var leftJustify = false;
- var width:Int32 = 0;
- // Is the character a comma, which indicates the start of alignment parameter.
- if (ch == ',')
- {
- pos++;
-
- // Consume Optional whitespace
- while (pos < len && format.get_Chars(pos) == ' ') pos++;
-
- // If reached the end of the text then error (Unexpected end of text)
- if (pos == len) throw new FormatException().FormatException_CsString("invalid format");
-
- // Is there a minus sign?
- ch = format.get_Chars(pos);
- if (ch == '-')
- {
- // Yes, then alignment is left justified.
- leftJustify = true;
- pos++;
- // If reached end of text then error (Unexpected end of text)
- if (pos == len) throw new FormatException().FormatException_CsString("invalid format");
- ch = format.get_Chars(pos);
- }
-
- // If current character is not a digit then error (Unexpected character)
- if (ch < '0' || ch > '9') throw new FormatException().FormatException_CsString("invalid format");
- // Parse alignment digits.
- do
- {
- width = width * 10 + ch - Char.fromString('0');
- pos++;
- // If reached end of text then error. (Unexpected end of text)
- if (pos == len) throw new FormatException().FormatException_CsString("invalid format");
- ch = format.get_Chars(pos);
- // So long a current character is a digit and the value of width is less than 100000 ( width limit )
- } while (ch >= '0' && ch <= '9' && width < 100000);
- // end of parsing Argument Alignment
- }
-
- // Consume optional whitespace
- while (pos < len && (ch = format.get_Chars(pos)) == ' ') pos++;
-
- //
- // Start of parsing of optional formatting parameter.
- //
- var arg = args[index];
- var itemFormat:CsString = null;
-
- // Is current character a colon? which indicates start of formatting parameter.
- if (ch == ':')
- {
- pos++;
- var startPos :Int32 = pos;
-
- while (true)
- {
- // If reached end of text then error. (Unexpected end of text)
- if (pos == len) throw new FormatException().FormatException_CsString("invalid format");
- ch = format.get_Chars(pos);
- pos++;
-
- // Is character a opening or closing brace?
- if (ch == '}' || ch == '{')
- {
- if (ch == '{')
- {
- // Yes, is next character also a opening brace, then treat as escaped. eg {{
- if (pos < len && format.get_Chars(pos) == '{')
- pos++;
- else
- // Error Argument Holes can not be nested.
- throw new FormatException().FormatException_CsString("invalid format");
- }
- else
- {
- // Yes, is next character also a closing brace, then treat as escaped. eg }}
- if (pos < len && format.get_Chars(pos) == '}')
- pos++;
- else
- {
- // No, then treat it as the closing brace of an Arg Hole.
- pos--;
- break;
- }
- }
-
- // Reaching here means the brace has been escaped
- // so we need to build up the format string in segments
- if (unescapedItemFormat == null)
- {
- unescapedItemFormat = new StringBuf();
- }
- unescapedItemFormat.addSub(format, startPos.ToHaxeInt(), (pos - startPos - 1).ToHaxeInt());
- startPos = pos;
- }
- }
-
- if (unescapedItemFormat == null || unescapedItemFormat.length == 0)
- {
- if (startPos != pos)
- {
- itemFormat = format.Substring_Int32_Int32(startPos, pos - startPos);
- }
- }
- else
- {
- unescapedItemFormat.addSub(format, startPos.ToHaxeInt(), (pos - startPos).ToHaxeInt());
- itemFormat = unescapedItemFormat.toString();
- unescapedItemFormat = new StringBuf();
- }
- }
-
- // If current character is not a closing brace then error. (Unexpected Character)
- if (ch != '}') throw new FormatException().FormatException_CsString("invalid format");
-
- // Construct the output for this arg hole.
- pos++;
-
- // TODO: support actual formatting
- var s:CsString = Std.string(arg);
-
- sb.add(s);
- }
-
- return sb.toString();
- }
- public static function Format_CsString_Object(format:CsString, arg:system.Object) : CsString
- {
- return Format(format, [arg]);
- }
- public static function Format_CsString_ObjectArray(format:CsString, args:system.FixedArray) : CsString
- {
- return Format(format, args);
- }
- public static function Join_CsString_IEnumerable_T1(separator:CsString, v:system.collections.generic.IEnumerable) : CsString
- {
- var s = "";
-
- var enumerator = v.GetEnumerator();
- var first = true;
- while(enumerator.MoveNext())
- {
- if(!first) s += separator;
- s += Std.string(enumerator.Current);
- first = false;
- }
-
- return s;
- }
-
- public static function Join_CsString_IEnumerable_CsString(separator:CsString, v:system.collections.generic.IEnumerable) : CsString
- {
- var s = "";
-
- var enumerator = v.GetEnumerator();
- var first = true;
- while(enumerator.MoveNext())
- {
- if(!first) s += separator;
- s += enumerator.Current;
- first = false;
- }
-
- return s;
- }
-
- public static function Join_CsString_CsStringArray(separator:CsString, args: system.FixedArray ) : CsString
- {
- var s = "";
-
- var first = true;
- for(x in args)
- {
- if(!first) s += separator;
- s += Std.string(x);
- first = false;
- }
-
- return s;
- }
-
- public inline function StartsWith_CsString(s:CsString) : Boolean return StringTools.startsWith(this, s);
-
- public inline function ToLower() :CsString return this.toLowerCase();
- public inline function ToUpper() :CsString return this.toUpperCase();
-
- @:op(A + B) public static inline function add1(lhs : system.CsString, rhs : String) : system.CsString return lhs.ToHaxeString() + rhs;
- @:op(A + B) public static inline function add2(lhs : String, rhs : system.CsString) : system.CsString return lhs + rhs.ToHaxeString();
-
- @:op(A + B) public static inline function add3(lhs : system.CsString, rhs : Int) : system.CsString return lhs.ToHaxeString() + Std.string(rhs);
- @:op(A + B) public static inline function add4(lhs : Int, rhs : system.CsString) : system.CsString return Std.string(lhs) + rhs.ToHaxeString();
-
- @:op(A + B) public static inline function add5(lhs : system.CsString, rhs : Float) : system.CsString return lhs + Std.string(rhs);
- @:op(A + B) public static inline function add6(lhs : Float, rhs : system.CsString) : system.CsString return Std.string(lhs) + rhs;
-
- @:op(A + B) public static inline function add7(lhs : system.CsString, rhs : system.Char) : system.CsString return lhs + rhs.ToString();
- @:op(A + B) public static inline function add8(lhs : system.CsString, rhs : system.Byte) : system.CsString return lhs + rhs.ToString();
- @:op(A + B) public static inline function add9(lhs : system.CsString, rhs : system.Int16) : system.CsString return lhs + rhs.ToString();
- @:op(A + B) public static inline function add10(lhs : system.CsString, rhs : system.Int32) : system.CsString return lhs + rhs.ToString();
- @:op(A + B) public static inline function add11(lhs : system.CsString, rhs : system.Int64) : system.CsString return lhs + rhs.ToString();
- @:op(A + B) public static inline function add12(lhs : system.CsString, rhs : system.SByte) : system.CsString return lhs + rhs.ToString();
- @:op(A + B) public static inline function add13(lhs : system.CsString, rhs : system.UInt16) : system.CsString return lhs + rhs.ToString();
- @:op(A + B) public static inline function add14(lhs : system.CsString, rhs : system.UInt32) : system.CsString return lhs + rhs.ToString();
- @:op(A + B) public static inline function add15(lhs : system.CsString, rhs : system.UInt64) : system.CsString return lhs + rhs.ToString();
- @:op(A + B) public static inline function add16(lhs : system.CsString, rhs : system.Single) : system.CsString return lhs + rhs.ToString();
- @:op(A + B) public static inline function add17(lhs : system.CsString, rhs : system.Double) : system.CsString return lhs + rhs.ToString();
- @:op(A + B) public static inline function add18(lhs : system.CsString, rhs : system.CsString) : system.CsString return lhs.ToHaxeString() + rhs.ToHaxeString();
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/CsType.hx b/Phase/Mscorlib/system/CsType.hx
deleted file mode 100644
index c2f4c9f1d..000000000
--- a/Phase/Mscorlib/system/CsType.hx
+++ /dev/null
@@ -1,19 +0,0 @@
-package system;
-
-abstract CsType(Class) from Class to Class
-{
- public function new(cls : Class) this = cls;
-
- public var Name(get,never):CsString;
- public function get_Name() : CsString
- {
- var fullName = Type.getClassName(this);
- var i = fullName.lastIndexOf(".");
- return i >= 0 ? fullName.substring(i + 1) : fullName;
- }
-
- @:op(A == B) public inline static function eq(lhs : CsType, rhs : CsType) : system.Boolean return Type.getClassName(lhs) == Type.getClassName(rhs);
-
- @:op(A != B) public inline static function neq(lhs : CsType, rhs : CsType) : system.Boolean return Type.getClassName(lhs) != Type.getClassName(rhs);
-
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/Delegate.hx b/Phase/Mscorlib/system/Delegate.hx
deleted file mode 100644
index d9980ecc4..000000000
--- a/Phase/Mscorlib/system/Delegate.hx
+++ /dev/null
@@ -1,3 +0,0 @@
-package system;
-
-typedef Delegate = Dynamic;
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/Double.hx b/Phase/Mscorlib/system/Double.hx
deleted file mode 100644
index 874ad5758..000000000
--- a/Phase/Mscorlib/system/Double.hx
+++ /dev/null
@@ -1,246 +0,0 @@
-package system;
-
-abstract Double(Float) from Float from Int
-{
- public inline function new(i:Float) this = i;
-
- @:from public static inline function FromInt(i:Int) : Double return new Double(i);
- @:from public static inline function FromByte(i:system.Byte) : Double return new Double(i.ToHaxeInt());
- @:from public static inline function FromInt16(i:system.Int16) : Double return new Double(i.ToHaxeInt());
- @:from public static inline function FromInt32(i:system.Int32) : Double return new Double(i.ToHaxeInt());
- @:from public static inline function FromInt64(i:system.Int64) : Double return new Double(i.ToHaxeInt());
- @:from public static inline function FromSByte(i:system.Byte) : Double return new Double(i.ToHaxeInt());
- @:from public static inline function FromUInt16(i:system.UInt16) : Double return new Double(i.ToHaxeInt());
- @:from public static inline function FromUInt32(i:system.UInt32) : Double return new Double(i.ToHaxeInt());
- @:from public static inline function FromUInt64(i:system.UInt64) : Double return new Double(i.ToHaxeInt());
- @:from public static inline function FromSingle(i:Single) : Double return new Double(i.ToHaxeFloat());
-
- public inline function ToHaxeFloat(): Float return this;
- public inline function ToString() : system.CsString return Std.string(this);
-
- public inline function ToBoolean_IFormatProvider(provider:IFormatProvider) : system.Boolean return system.Convert.ToBoolean_Double(this);
- public inline function ToChar_IFormatProvider(provider:IFormatProvider) : system.Char return system.Convert.ToChar_Double(this);
- public inline function ToSByte_IFormatProvider(provider:IFormatProvider) : system.SByte return system.Convert.ToSByte_Double(this);
- public inline function ToByte_IFormatProvider(provider:IFormatProvider) : system.Byte return system.Convert.ToByte_Double(this);
- public inline function ToInt16_IFormatProvider(provider:IFormatProvider) : system.Int16 return system.Convert.ToInt16_Double(this);
- public inline function ToUInt16_IFormatProvider(provider:IFormatProvider) : system.UInt16 return system.Convert.ToUInt16_Double(this);
- public inline function ToInt32_IFormatProvider(provider:IFormatProvider) : system.Int32 return system.Convert.ToInt32_Double(this);
- public inline function ToUInt32_IFormatProvider(provider:IFormatProvider) : system.UInt32 return system.Convert.ToUInt32_Double(this);
- public inline function ToInt64_IFormatProvider(provider:IFormatProvider) : system.Int64 return system.Convert.ToInt64_Double(this);
- public inline function ToUInt64_IFormatProvider(provider:IFormatProvider) : system.UInt64 return system.Convert.ToUInt64_Double(this);
- public inline function ToSingle_IFormatProvider(provider:IFormatProvider) : system.Single return system.Convert.ToSingle_Double(this);
- public inline function ToDouble_IFormatProvider(provider:IFormatProvider) : system.Double return system.Convert.ToDouble_Double(this);
-
- public function GetHashCode() : system.Int32 return system.Convert.ToHashCode_Double(this);
-
- public static var NaN(get, never) : system.Double;
- public static inline function get_NaN() : system.Double return Math.NaN;
- public static inline function IsNaN(v:system.Double) : system.Boolean return Math.isNaN(v.ToHaxeFloat());
-
- @:op(-A) public inline function neg() : system.Double return -this;
-
- @:op(A++) public inline function postinc() : system.Double return this++;
- @:op(++A) public inline function preinc() : system.Double return ++this;
-
- @:op(A--) public inline function postdec() : system.Double return this--;
- @:op(--A) public inline function predec() : system.Double return --this;
-
- @:op(A * B) public static function mul1(lhs : system.Double, rhs : Int) : system.Double;
- @:op(A * B) public static function mul2(lhs : Int, rhs : system.Double) : system.Double;
- @:op(A * B) public static function mul3(lhs : system.Double, rhs : Float) : system.Double;
- @:op(A * B) public static function mul4(lhs : Float, rhs : system.Double) : system.Double;
-
- @:op(A * B) public static function mul5(lhs : system.Double, rhs : system.Char) : system.Double;
- @:op(A * B) public static function mul6(lhs : system.Double, rhs : system.Byte) : system.Double;
- @:op(A * B) public static function mul7(lhs : system.Double, rhs : system.Int16) : system.Double;
- @:op(A * B) public static function mul8(lhs : system.Double, rhs : system.Int32) : system.Double;
- @:op(A * B) public static function mul9(lhs : system.Double, rhs : system.Int64) : system.Double;
- @:op(A * B) public static function mul10(lhs : system.Double, rhs : system.SByte) : system.Double;
- @:op(A * B) public static function mul11(lhs : system.Double, rhs : system.UInt16) : system.Double;
- @:op(A * B) public static function mul12(lhs : system.Double, rhs : system.UInt32) : system.Double;
- @:op(A * B) public static function mul13(lhs : system.Double, rhs : system.UInt64) : system.Double;
- @:op(A * B) public static function mul14(lhs : system.Double, rhs : system.Single) : system.Double;
- @:op(A * B) public static function mul15(lhs : system.Double, rhs : system.Double) : system.Double;
-
-
- @:op(A / B) public static function div1(lhs : system.Double, rhs : Int) : system.Double;
- @:op(A / B) public static function div2(lhs : Int, rhs : system.Double) : system.Double;
- @:op(A / B) public static function div3(lhs : system.Double, rhs : Float) : system.Double;
- @:op(A / B) public static function div4(lhs : Float, rhs : system.Double) : system.Double;
-
- @:op(A / B) public static function div5(lhs : system.Double, rhs : system.Char) : system.Double;
- @:op(A / B) public static function div6(lhs : system.Double, rhs : system.Byte) : system.Double;
- @:op(A / B) public static function div7(lhs : system.Double, rhs : system.Int16) : system.Double;
- @:op(A / B) public static function div8(lhs : system.Double, rhs : system.Int32) : system.Double;
- @:op(A / B) public static function div9(lhs : system.Double, rhs : system.Int64) : system.Double;
- @:op(A / B) public static function div10(lhs : system.Double, rhs : system.SByte) : system.Double;
- @:op(A / B) public static function div11(lhs : system.Double, rhs : system.UInt16) : system.Double;
- @:op(A / B) public static function div12(lhs : system.Double, rhs : system.UInt32) : system.Double;
- @:op(A / B) public static function div13(lhs : system.Double, rhs : system.UInt64) : system.Double;
- @:op(A / B) public static function div14(lhs : system.Double, rhs : system.Single) : system.Double;
- @:op(A / B) public static function div15(lhs : system.Double, rhs : system.Double) : system.Double;
-
-
- @:op(A % B) public static function mod1(lhs : system.Double, rhs : Int) : system.Double;
- @:op(A % B) public static function mod2(lhs : Int, rhs : system.Double) : system.Double;
- @:op(A % B) public static function mod3(lhs : system.Double, rhs : Float) : system.Double;
- @:op(A % B) public static function mod4(lhs : Float, rhs : system.Double) : system.Double;
-
- @:op(A % B) public static function mod5(lhs : system.Double, rhs : system.Char) : system.Double;
- @:op(A % B) public static function mod6(lhs : system.Double, rhs : system.Byte) : system.Double;
- @:op(A % B) public static function mod7(lhs : system.Double, rhs : system.Int16) : system.Double;
- @:op(A % B) public static function mod8(lhs : system.Double, rhs : system.Int32) : system.Double;
- @:op(A % B) public static function mod9(lhs : system.Double, rhs : system.Int64) : system.Double;
- @:op(A % B) public static function mod10(lhs : system.Double, rhs : system.SByte) : system.Double;
- @:op(A % B) public static function mod11(lhs : system.Double, rhs : system.UInt16) : system.Double;
- @:op(A % B) public static function mod12(lhs : system.Double, rhs : system.UInt32) : system.Double;
- @:op(A % B) public static function mod13(lhs : system.Double, rhs : system.UInt64) : system.Double;
- @:op(A % B) public static function mod14(lhs : system.Double, rhs : system.Single) : system.Double;
- @:op(A % B) public static function mod15(lhs : system.Double, rhs : system.Double) : system.Double;
-
-
- @:op(A + B) public static function add1(lhs : system.Double, rhs : Int) : system.Double;
- @:op(A + B) public static function add2(lhs : Int, rhs : system.Double) : system.Double;
- @:op(A + B) public static function add3(lhs : system.Double, rhs : Float) : system.Double;
- @:op(A + B) public static function add4(lhs : Float, rhs : system.Double) : system.Double;
-
- @:op(A + B) public static function add5(lhs : system.Double, rhs : system.Char) : system.Double;
- @:op(A + B) public static function add6(lhs : system.Double, rhs : system.Byte) : system.Double;
- @:op(A + B) public static function add7(lhs : system.Double, rhs : system.Int16) : system.Double;
- @:op(A + B) public static function add8(lhs : system.Double, rhs : system.Int32) : system.Double;
- @:op(A + B) public static function add9(lhs : system.Double, rhs : system.Int64) : system.Double;
- @:op(A + B) public static function add10(lhs : system.Double, rhs : system.SByte) : system.Double;
- @:op(A + B) public static function add11(lhs : system.Double, rhs : system.UInt16) : system.Double;
- @:op(A + B) public static function add12(lhs : system.Double, rhs : system.UInt32) : system.Double;
- @:op(A + B) public static function add13(lhs : system.Double, rhs : system.UInt64) : system.Double;
- @:op(A + B) public static function add14(lhs : system.Double, rhs : system.Single) : system.Double;
- @:op(A + B) public static function add15(lhs : system.Double, rhs : system.Double) : system.Double;
-
-
- @:op(A - B) public static function sub1(lhs : system.Double, rhs : Int) : system.Double;
- @:op(A - B) public static function sub2(lhs : Int, rhs : system.Double) : system.Double;
- @:op(A - B) public static function sub3(lhs : system.Double, rhs : Float) : system.Double;
- @:op(A - B) public static function sub4(lhs : Float, rhs : system.Double) : system.Double;
-
- @:op(A - B) public static function sub5(lhs : system.Double, rhs : system.Char) : system.Double;
- @:op(A - B) public static function sub6(lhs : system.Double, rhs : system.Byte) : system.Double;
- @:op(A - B) public static function sub7(lhs : system.Double, rhs : system.Int16) : system.Double;
- @:op(A - B) public static function sub8(lhs : system.Double, rhs : system.Int32) : system.Double;
- @:op(A - B) public static function sub9(lhs : system.Double, rhs : system.Int64) : system.Double;
- @:op(A - B) public static function sub10(lhs : system.Double, rhs : system.SByte) : system.Double;
- @:op(A - B) public static function sub11(lhs : system.Double, rhs : system.UInt16) : system.Double;
- @:op(A - B) public static function sub12(lhs : system.Double, rhs : system.UInt32) : system.Double;
- @:op(A - B) public static function sub13(lhs : system.Double, rhs : system.UInt64) : system.Double;
- @:op(A - B) public static function sub14(lhs : system.Double, rhs : system.Single) : system.Double;
- @:op(A - B) public static function sub15(lhs : system.Double, rhs : system.Double) : system.Double;
-
-
- @:op(A > B) public static function gt1(lhs : system.Double, rhs : Int) : system.Boolean;
- @:op(A > B) public static function gt2(lhs : Int, rhs : system.Double) : system.Boolean;
- @:op(A > B) public static function gt3(lhs : system.Double, rhs : Float) : system.Boolean;
- @:op(A > B) public static function gt4(lhs : Float, rhs : system.Double) : system.Boolean;
-
- @:op(A > B) public static function gt5(lhs : system.Double, rhs : system.Char) : system.Boolean;
- @:op(A > B) public static function gt6(lhs : system.Double, rhs : system.Byte) : system.Boolean;
- @:op(A > B) public static function gt7(lhs : system.Double, rhs : system.Int16) : system.Boolean;
- @:op(A > B) public static function gt8(lhs : system.Double, rhs : system.Int32) : system.Boolean;
- @:op(A > B) public static function gt9(lhs : system.Double, rhs : system.Int64) : system.Boolean;
- @:op(A > B) public static function gt10(lhs : system.Double, rhs : system.SByte) : system.Boolean;
- @:op(A > B) public static function gt11(lhs : system.Double, rhs : system.UInt16) : system.Boolean;
- @:op(A > B) public static function gt12(lhs : system.Double, rhs : system.UInt32) : system.Boolean;
- @:op(A > B) public static function gt13(lhs : system.Double, rhs : system.UInt64) : system.Boolean;
- @:op(A > B) public static function gt14(lhs : system.Double, rhs : system.Single) : system.Boolean;
- @:op(A > B) public static function gt15(lhs : system.Double, rhs : system.Double) : system.Boolean;
-
-
- @:op(A < B) public static function lt1(lhs : system.Double, rhs : Int) : system.Boolean;
- @:op(A < B) public static function lt2(lhs : Int, rhs : system.Double) : system.Boolean;
- @:op(A < B) public static function lt3(lhs : system.Double, rhs : Float) : system.Boolean;
- @:op(A < B) public static function lt4(lhs : Float, rhs : system.Double) : system.Boolean;
-
- @:op(A < B) public static function lt5(lhs : system.Double, rhs : system.Char) : system.Boolean;
- @:op(A < B) public static function lt6(lhs : system.Double, rhs : system.Byte) : system.Boolean;
- @:op(A < B) public static function lt7(lhs : system.Double, rhs : system.Int16) : system.Boolean;
- @:op(A < B) public static function lt8(lhs : system.Double, rhs : system.Int32) : system.Boolean;
- @:op(A < B) public static function lt9(lhs : system.Double, rhs : system.Int64) : system.Boolean;
- @:op(A < B) public static function lt10(lhs : system.Double, rhs : system.SByte) : system.Boolean;
- @:op(A < B) public static function lt11(lhs : system.Double, rhs : system.UInt16) : system.Boolean;
- @:op(A < B) public static function lt12(lhs : system.Double, rhs : system.UInt32) : system.Boolean;
- @:op(A < B) public static function lt13(lhs : system.Double, rhs : system.UInt64) : system.Boolean;
- @:op(A < B) public static function lt14(lhs : system.Double, rhs : system.Single) : system.Boolean;
- @:op(A < B) public static function lt15(lhs : system.Double, rhs : system.Double) : system.Boolean;
-
-
- @:op(A >= B) public static function gte1(lhs : system.Double, rhs : Int) : system.Boolean;
- @:op(A >= B) public static function gte2(lhs : Int, rhs : system.Double) : system.Boolean;
- @:op(A >= B) public static function gte3(lhs : system.Double, rhs : Float) : system.Boolean;
- @:op(A >= B) public static function gte4(lhs : Float, rhs : system.Double) : system.Boolean;
-
- @:op(A >= B) public static function gte5(lhs : system.Double, rhs : system.Char) : system.Boolean;
- @:op(A >= B) public static function gte6(lhs : system.Double, rhs : system.Byte) : system.Boolean;
- @:op(A >= B) public static function gte7(lhs : system.Double, rhs : system.Int16) : system.Boolean;
- @:op(A >= B) public static function gte8(lhs : system.Double, rhs : system.Int32) : system.Boolean;
- @:op(A >= B) public static function gte9(lhs : system.Double, rhs : system.Int64) : system.Boolean;
- @:op(A >= B) public static function gte10(lhs : system.Double, rhs : system.SByte) : system.Boolean;
- @:op(A >= B) public static function gte11(lhs : system.Double, rhs : system.UInt16) : system.Boolean;
- @:op(A >= B) public static function gte12(lhs : system.Double, rhs : system.UInt32) : system.Boolean;
- @:op(A >= B) public static function gte13(lhs : system.Double, rhs : system.UInt64) : system.Boolean;
- @:op(A >= B) public static function gte14(lhs : system.Double, rhs : system.Single) : system.Boolean;
- @:op(A >= B) public static function gte15(lhs : system.Double, rhs : system.Double) : system.Boolean;
-
-
- @:op(A <= B) public static function lte1(lhs : system.Double, rhs : Int) : system.Boolean;
- @:op(A <= B) public static function lte2(lhs : Int, rhs : system.Double) : system.Boolean;
- @:op(A <= B) public static function lte3(lhs : system.Double, rhs : Float) : system.Boolean;
- @:op(A <= B) public static function lte4(lhs : Float, rhs : system.Double) : system.Boolean;
-
-
- @:op(A <= B) public static function lte5(lhs : system.Double, rhs : system.Char) : system.Boolean;
- @:op(A <= B) public static function lte6(lhs : system.Double, rhs : system.Byte) : system.Boolean;
- @:op(A <= B) public static function lte7(lhs : system.Double, rhs : system.Int16) : system.Boolean;
- @:op(A <= B) public static function lte8(lhs : system.Double, rhs : system.Int32) : system.Boolean;
- @:op(A <= B) public static function lte9(lhs : system.Double, rhs : system.Int64) : system.Boolean;
- @:op(A <= B) public static function lte10(lhs : system.Double, rhs : system.SByte) : system.Boolean;
- @:op(A <= B) public static function lte11(lhs : system.Double, rhs : system.UInt16) : system.Boolean;
- @:op(A <= B) public static function lte12(lhs : system.Double, rhs : system.UInt32) : system.Boolean;
- @:op(A <= B) public static function lte13(lhs : system.Double, rhs : system.UInt64) : system.Boolean;
- @:op(A <= B) public static function lte14(lhs : system.Double, rhs : system.Single) : system.Boolean;
- @:op(A <= B) public static function lte15(lhs : system.Double, rhs : system.Double) : system.Boolean;
-
-
- @:op(A == B) public static function eq1(lhs : system.Double, rhs : Int) : system.Boolean;
- @:op(A == B) public static function eq2(lhs : Int, rhs : system.Double) : system.Boolean;
- @:op(A == B) public static function eq3(lhs : system.Double, rhs : Float) : system.Boolean;
- @:op(A == B) public static function eq4(lhs : Float, rhs : system.Double) : system.Boolean;
-
- @:op(A == B) public static function eq5(lhs : system.Double, rhs : system.Char) : system.Boolean;
- @:op(A == B) public static function eq6(lhs : system.Double, rhs : system.Byte) : system.Boolean;
- @:op(A == B) public static function eq7(lhs : system.Double, rhs : system.Int16) : system.Boolean;
- @:op(A == B) public static function eq8(lhs : system.Double, rhs : system.Int32) : system.Boolean;
- @:op(A == B) public static function eq9(lhs : system.Double, rhs : system.Int64) : system.Boolean;
- @:op(A == B) public static function eq10(lhs : system.Double, rhs : system.SByte) : system.Boolean;
- @:op(A == B) public static function eq11(lhs : system.Double, rhs : system.UInt16) : system.Boolean;
- @:op(A == B) public static function eq12(lhs : system.Double, rhs : system.UInt32) : system.Boolean;
- @:op(A == B) public static function eq13(lhs : system.Double, rhs : system.UInt64) : system.Boolean;
- @:op(A == B) public static function eq14(lhs : system.Double, rhs : system.Single) : system.Boolean;
- @:op(A == B) public static function eq15(lhs : system.Double, rhs : system.Double) : system.Boolean;
-
-
- @:op(A != B) public static function neq1(lhs : system.Double, rhs : Int) : system.Boolean;
- @:op(A != B) public static function neq2(lhs : Int, rhs : system.Double) : system.Boolean;
- @:op(A != B) public static function neq3(lhs : system.Double, rhs : Float) : system.Boolean;
- @:op(A != B) public static function neq4(lhs : Float, rhs : system.Double) : system.Boolean;
-
- @:op(A != B) public static function neq5(lhs : system.Double, rhs : system.Char) : system.Boolean;
- @:op(A != B) public static function neq6(lhs : system.Double, rhs : system.Byte) : system.Boolean;
- @:op(A != B) public static function neq7(lhs : system.Double, rhs : system.Int16) : system.Boolean;
- @:op(A != B) public static function neq8(lhs : system.Double, rhs : system.Int32) : system.Boolean;
- @:op(A != B) public static function neq9(lhs : system.Double, rhs : system.Int64) : system.Boolean;
- @:op(A != B) public static function neq10(lhs : system.Double, rhs : system.SByte) : system.Boolean;
- @:op(A != B) public static function neq11(lhs : system.Double, rhs : system.UInt16) : system.Boolean;
- @:op(A != B) public static function neq12(lhs : system.Double, rhs : system.UInt32) : system.Boolean;
- @:op(A != B) public static function neq13(lhs : system.Double, rhs : system.UInt64) : system.Boolean;
- @:op(A != B) public static function neq14(lhs : system.Double, rhs : system.Single) : system.Boolean;
- @:op(A != B) public static function neq15(lhs : system.Double, rhs : system.Double) : system.Boolean;
-
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/DoubleArray.hx b/Phase/Mscorlib/system/DoubleArray.hx
deleted file mode 100644
index c62ebea12..000000000
--- a/Phase/Mscorlib/system/DoubleArray.hx
+++ /dev/null
@@ -1,21 +0,0 @@
-package system;
-
-abstract DoubleArray(js.html.Float64Array)
-{
- public inline function new(length:Int32) this = new js.html.Float64Array(length.ToHaxeInt());
-
- @:from public static inline function fromArray(a:Array):DoubleArray return cast new js.html.Float64Array(untyped a);
- @:from public static inline function fromFixedArray(a:FixedArray):DoubleArray return cast new js.html.Float64Array(untyped a.ToHaxeArray());
-
- public var Length(get, never):Int32;
- public inline function get_Length() : Int32 return this.length;
-
- @:op([]) public inline function get(index:Int32):Double return this[index.ToHaxeInt()];
- @:op([]) public inline function set(index:Int32, val:Double):Double return this[index.ToHaxeInt()] = val.ToHaxeFloat();
-
- public inline function iterator() : Iterator return new DoubleArrayIterator(this);
-
- public inline function ToEnumerable() : system.collections.generic.IEnumerable return new DoubleArrayEnumerable(this);
-
- public static inline function empty(size:Int32) return new DoubleArray(size);
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/DoubleArrayEnumerable.hx b/Phase/Mscorlib/system/DoubleArrayEnumerable.hx
deleted file mode 100644
index 7dd81b61a..000000000
--- a/Phase/Mscorlib/system/DoubleArrayEnumerable.hx
+++ /dev/null
@@ -1,18 +0,0 @@
-package system;
-
-import system.collections.generic.IEnumerable;
-import system.collections.generic.IEnumerator;
-
-class DoubleArrayEnumerable implements IEnumerable
-{
- private var _array:js.html.Float64Array;
- public function new(array:js.html.Float64Array)
- {
- _array= array;
- }
-
- public function GetEnumerator() : IEnumerator
- {
- return new DoubleArrayEnumerator(_array);
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/DoubleArrayEnumerator.hx b/Phase/Mscorlib/system/DoubleArrayEnumerator.hx
deleted file mode 100644
index d12225c69..000000000
--- a/Phase/Mscorlib/system/DoubleArrayEnumerator.hx
+++ /dev/null
@@ -1,29 +0,0 @@
-package system;
-
-import system.collections.generic.IEnumerator;
-
-class DoubleArrayEnumerator implements IEnumerator
-{
- private var _array:js.html.Float64Array;
- private var _i:Int;
-
- public function new(array:js.html.Float64Array)
- {
- _array = array;
- _i = -1;
- }
-
- public var Current(get, never):Double;
- public function get_Current() : Double return _array[_i];
- public function MoveNext() : Bool
- {
- if(_i >= _array.length - 1) return false;
- _i++;
- return true;
-
- }
- public function Reset():Void
- {
- _i = -1;
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/DoubleArrayIterator.hx b/Phase/Mscorlib/system/DoubleArrayIterator.hx
deleted file mode 100644
index e0a7833bd..000000000
--- a/Phase/Mscorlib/system/DoubleArrayIterator.hx
+++ /dev/null
@@ -1,19 +0,0 @@
-package system;
-
-class DoubleArrayIterator
-{
- private var _array:js.html.Float64Array;
- private var _i:Int;
-
- public function new(array:js.html.Float64Array)
- {
- _array = array;
- _i = 0;
- }
-
- public function hasNext() return _i < _array.length;
- public function next() : Double
- {
- return _array[_i++];
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/EventAction.hx b/Phase/Mscorlib/system/EventAction.hx
deleted file mode 100644
index 42cd36ba2..000000000
--- a/Phase/Mscorlib/system/EventAction.hx
+++ /dev/null
@@ -1,46 +0,0 @@
-package system;
-
-abstract EventAction(ArrayVoid>)
-{
- public inline function new(v:Void->Void) this = v == null ? null : [v];
-
- @:to public inline function ToLambda() : Void->Void return Invoke;
-
- public inline function ToArray() return this;
- @:op(A + B) public static function add(lhs : EventAction, rhs : Void->Void) : EventAction
- {
- if(lhs == null)
- {
- lhs = new EventAction(rhs);
- }
- else
- {
- lhs.ToArray().push(rhs);
- }
- return lhs;
- }
-
- @:op(A - B) public static function sub(lhs : EventAction, rhs : Void->Void) : EventAction
- {
- var raw = lhs.ToArray();
- var index = raw.indexOf(rhs);
- if(index != -1)
- {
- raw.splice(index, 1);
- if(raw.length == 0)
- {
- return null;
- }
- }
- return lhs;
- }
-
- public function Invoke() : Void
- {
- if(this == null) return;
- for (x in this)
- {
- x();
- }
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/EventAction1.hx b/Phase/Mscorlib/system/EventAction1.hx
deleted file mode 100644
index 86a0dc4ec..000000000
--- a/Phase/Mscorlib/system/EventAction1.hx
+++ /dev/null
@@ -1,48 +0,0 @@
-package system;
-
-abstract EventAction1(ArrayVoid>)
-{
- public inline function new(v:T1->Void) this = v == null ? null : [v];
-
-
- @:to public inline function ToLambda() : T1->Void return Invoke;
-
- public inline function ToArray() return this;
- @:op(A + B) public static function add(lhs : EventAction1, rhs : T1->Void) : EventAction1
- {
- if(lhs == null)
- {
- lhs = new EventAction1(rhs);
- }
- else
- {
- lhs.ToArray().push(rhs);
- }
- return lhs;
- }
-
- @:op(A - B) public static function sub(lhs : EventAction1, rhs : T1->Void) : EventAction1
- {
- var raw = lhs.ToArray();
- var index = raw.indexOf(rhs);
- if(index != -1)
- {
- raw.splice(index, 1);
- if(raw.length == 0)
- {
- return null;
- }
- }
- return lhs;
- }
-
-
- public function Invoke(p:T1) : Void
- {
- if(this == null) return;
- for (x in this)
- {
- x(p);
- }
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/EventAction2.hx b/Phase/Mscorlib/system/EventAction2.hx
deleted file mode 100644
index dfa5dde32..000000000
--- a/Phase/Mscorlib/system/EventAction2.hx
+++ /dev/null
@@ -1,46 +0,0 @@
-package system;
-
-abstract EventAction2(ArrayT2->Void>)
-{
- public inline function new(v:T1->T2->Void) this = v == null ? null : [v];
-
- @:to public inline function ToLambda() : T1->T2->Void return Invoke;
-
- public inline function ToArray() return this;
- @:op(A + B) public static function add(lhs : EventAction2, rhs : T1->T2->Void) : EventAction2
- {
- if(lhs == null)
- {
- lhs = new EventAction2(rhs);
- }
- else
- {
- lhs.ToArray().push(rhs);
- }
- return lhs;
- }
-
- @:op(A - B) public static function sub(lhs : EventAction2, rhs : T1->T2->Void) : EventAction2
- {
- var raw = lhs.ToArray();
- var index = raw.indexOf(rhs);
- if(index != -1)
- {
- raw.splice(index, 1);
- if(raw.length == 0)
- {
- return null;
- }
- }
- return lhs;
- }
-
- public function Invoke(p1:T1, p2:T2) : Void
- {
- if(this == null) return;
- for (x in this)
- {
- x(p1, p2);
- }
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/Exception.hx b/Phase/Mscorlib/system/Exception.hx
deleted file mode 100644
index 62008cd6c..000000000
--- a/Phase/Mscorlib/system/Exception.hx
+++ /dev/null
@@ -1,16 +0,0 @@
-package system;
-
-class Exception
-{
- public var Message(default, null):String;
-
- public function Exception_CsString(message:String)
- {
- Message = message;
- return this;
- }
-
- public function new()
- {
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/FixedArray.hx b/Phase/Mscorlib/system/FixedArray.hx
deleted file mode 100644
index f880b3d45..000000000
--- a/Phase/Mscorlib/system/FixedArray.hx
+++ /dev/null
@@ -1,27 +0,0 @@
-package system;
-
-/**
- * ...
- * @author Danielku15
- */
-abstract FixedArray(Array) to Array
-{
- public inline function new(length:Int32) this = untyped __new__(Array, length.ToHaxeInt());
-
- public inline function ToHaxeArray() : Array return this;
-
- @:from public static inline function fromArray(a:Array):FixedArray return cast a;
-
- public var Length(get, never):Int32;
- public inline function get_Length() : Int32 return this.length;
-
- @:op([]) public inline function get(index:Int32):T return this[index.ToHaxeInt()];
- @:op([]) public inline function set(index:Int32, val:T):T return this[index.ToHaxeInt()] = val;
-
- public inline function iterator() : Iterator return this.iterator();
-
- public inline function ToEnumerable() : system.collections.generic.IEnumerable return new system.collections.generic.IterableEnumerable(this);
-
- public static inline function empty(size:Int32) return new FixedArray(size);
- public static inline function empty2(size:Int32) return new FixedArray>(size);
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/FormatException.hx b/Phase/Mscorlib/system/FormatException.hx
deleted file mode 100644
index 655924c0b..000000000
--- a/Phase/Mscorlib/system/FormatException.hx
+++ /dev/null
@@ -1,14 +0,0 @@
-package system;
-
-class FormatException extends Exception
-{
- public function new()
- {
- super();
- }
- public function FormatException_CsString(message:CsString)
- {
- Exception_CsString(message);
- return this;
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/Func1.hx b/Phase/Mscorlib/system/Func1.hx
deleted file mode 100644
index bee869e24..000000000
--- a/Phase/Mscorlib/system/Func1.hx
+++ /dev/null
@@ -1,3 +0,0 @@
-package system;
-
-typedef Func1 = Void -> T;
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/Func2.hx b/Phase/Mscorlib/system/Func2.hx
deleted file mode 100644
index 9f3d2777c..000000000
--- a/Phase/Mscorlib/system/Func2.hx
+++ /dev/null
@@ -1,3 +0,0 @@
-package system;
-
-typedef Func2 = T1-> TReturn;
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/Func3.hx b/Phase/Mscorlib/system/Func3.hx
deleted file mode 100644
index 5dc618391..000000000
--- a/Phase/Mscorlib/system/Func3.hx
+++ /dev/null
@@ -1,3 +0,0 @@
-package system;
-
-typedef Func3 = T1->T2-> TReturn;
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/HaxeExtensions.hx b/Phase/Mscorlib/system/HaxeExtensions.hx
deleted file mode 100644
index ab2089e8f..000000000
--- a/Phase/Mscorlib/system/HaxeExtensions.hx
+++ /dev/null
@@ -1,38 +0,0 @@
-package system;
-
-class StringExtensions
-{
- public static inline function ToHaxeString(s:String) return s;
-}
-
-class IntExtensions
-{
- public static inline function ToHaxeInt(i:Int) return i;
- public static inline function ToChar_IFormatProvider(i:Int, provider:IFormatProvider) : system.Char return i;
- public static inline function ToSByte_IFormatProvider(i:Int, provider:IFormatProvider) : system.SByte return i;
- public static inline function ToByte_IFormatProvider(i:Int, provider:IFormatProvider) : system.Byte return i;
- public static inline function ToInt16_IFormatProvider(i:Int, provider:IFormatProvider) : system.Int16 return i;
- public static inline function ToUInt16_IFormatProvider(i:Int, provider:IFormatProvider) : system.UInt16 return i;
- public static inline function ToInt32_IFormatProvider(i:Int, provider:IFormatProvider) : system.Int32 return i;
- public static inline function ToUInt32_IFormatProvider(i:Int, provider:IFormatProvider) : system.UInt32 return i;
- public static inline function ToInt64_IFormatProvider(i:Int, provider:IFormatProvider) : system.Int64 return i;
- public static inline function ToUInt64_IFormatProvider(i:Int, provider:IFormatProvider) : system.UInt64 return i;
- public static inline function ToSingle_IFormatProvider(i:Int, provider:IFormatProvider) : system.Single return i;
- public static inline function ToDouble_IFormatProvider(i:Int, provider:IFormatProvider) : system.Double return i;
-}
-class FloatExtensions
-{
- public static inline function ToHaxeFloat(f:Float) return f;
-
- public static inline function ToChar_IFormatProvider(i:Float, provider:IFormatProvider) : system.Char return Std.int(i);
- public static inline function ToSByte_IFormatProvider(i:Float, provider:IFormatProvider) : system.SByte return Std.int(i);
- public static inline function ToByte_IFormatProvider(i:Float, provider:IFormatProvider) : system.Byte return Std.int(i);
- public static inline function ToInt16_IFormatProvider(i:Float, provider:IFormatProvider) : system.Int16 return Std.int(i);
- public static inline function ToUInt16_IFormatProvider(i:Float, provider:IFormatProvider) : system.UInt16 return Std.int(i);
- public static inline function ToInt32_IFormatProvider(i:Float, provider:IFormatProvider) : system.Int32 return Std.int(i);
- public static inline function ToUInt32_IFormatProvider(i:Float, provider:IFormatProvider) : system.UInt32 return Std.int(i);
- public static inline function ToInt64_IFormatProvider(i:Float, provider:IFormatProvider) : system.Int64 return Std.int(i);
- public static inline function ToUInt64_IFormatProvider(i:Float, provider:IFormatProvider) : system.UInt64 return Std.int(i);
- public static inline function ToSingle_IFormatProvider(i:Float, provider:IFormatProvider) : system.Single return Std.int(i);
- public static inline function ToDouble_IFormatProvider(i:Float, provider:IFormatProvider) : system.Double return Std.int(i);
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/IFormatProvider.hx b/Phase/Mscorlib/system/IFormatProvider.hx
deleted file mode 100644
index 2437ba7cc..000000000
--- a/Phase/Mscorlib/system/IFormatProvider.hx
+++ /dev/null
@@ -1,5 +0,0 @@
-package system;
-
-interface IFormatProvider
-{
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/Int16.hx b/Phase/Mscorlib/system/Int16.hx
deleted file mode 100644
index fc4216ac8..000000000
--- a/Phase/Mscorlib/system/Int16.hx
+++ /dev/null
@@ -1,319 +0,0 @@
-package system;
-
-
-abstract Int16(Int) from Int
-{
- public inline function new(i:Int) this = system.Convert.ToInt16(i);
-
- public inline function ToHaxeInt(): Int return this;
- public inline function ToString() : system.CsString return Std.string(this);
-
- @:from public static inline function FromByte(c:Byte) : Int16 return new Int16(c.ToHaxeInt());
-
- public inline function ToBoolean_IFormatProvider(provider:IFormatProvider) : system.Boolean return system.Convert.ToBoolean_Int16(this);
- public inline function ToChar_IFormatProvider(provider:IFormatProvider) : system.Char return system.Convert.ToChar_Int16(this);
- public inline function ToSByte_IFormatProvider(provider:IFormatProvider) : system.SByte return system.Convert.ToSByte_Int16(this);
- public inline function ToByte_IFormatProvider(provider:IFormatProvider) : system.Byte return system.Convert.ToByte_Int16(this);
- public inline function ToInt16_IFormatProvider(provider:IFormatProvider) : system.Int16 return system.Convert.ToInt16_Int16(this);
- public inline function ToUInt16_IFormatProvider(provider:IFormatProvider) : system.UInt16 return system.Convert.ToUInt16_Int16(this);
- public inline function ToInt32_IFormatProvider(provider:IFormatProvider) : system.Int32 return system.Convert.ToInt32_Int16(this);
- public inline function ToUInt32_IFormatProvider(provider:IFormatProvider) : system.UInt32 return system.Convert.ToUInt32_Int16(this);
- public inline function ToInt64_IFormatProvider(provider:IFormatProvider) : system.Int64 return system.Convert.ToInt64_Int16(this);
- public inline function ToUInt64_IFormatProvider(provider:IFormatProvider) : system.UInt64 return system.Convert.ToUInt64_Int16(this);
- public inline function ToSingle_IFormatProvider(provider:IFormatProvider) : system.Single return system.Convert.ToSingle_Int16(this);
- public inline function ToDouble_IFormatProvider(provider:IFormatProvider) : system.Double return system.Convert.ToDouble_Int16(this);
-
- public inline function GetHashCode() : system.Int32 return this | (this << 16);
-
- @:op(-A) public inline function neg() : system.Int32 return -this;
-
- @:op(~A)public inline function not() : system.Int32 return ~this;
-
- @:op(A++)public inline function postinc() : system.Int16 return this++;
- @:op(++A)public inline function preinc() : system.Int16 return ++this;
-
- @:op(A--)public inline function postdec() : system.Int16 return this--;
- @:op(--A)public inline function predec() : system.Int16 return --this;
-
- @:op(A * B) public static function mul1(lhs : system.Int16, rhs : Int) : system.Int32;
- @:op(A * B) public static function mul2(lhs : Int, rhs : system.Int16) : system.Int32;
- @:op(A * B) public static function mul3(lhs : system.Int16, rhs : Float) : Float;
- @:op(A * B) public static function mul4(lhs : Float, rhs : system.Int16) : Float;
-
- @:op(A * B) public static function mul5(lhs : system.Int16, rhs : system.Char) : system.Int32;
- @:op(A * B) public static function mul6(lhs : system.Int16, rhs : system.Byte) : system.Int32;
- @:op(A * B) public static function mul7(lhs : system.Int16, rhs : system.Int16) : system.Int32;
- @:op(A * B) public static function mul8(lhs : system.Int16, rhs : system.Int32) : system.Int32;
- @:op(A * B) public static function mul9(lhs : system.Int16, rhs : system.Int64) : system.Int64;
- @:op(A * B) public static function mul10(lhs : system.Int16, rhs : system.SByte) : system.Int32;
- @:op(A * B) public static function mul11(lhs : system.Int16, rhs : system.UInt16) : system.Int32;
- @:op(A * B) public static function mul12(lhs : system.Int16, rhs : system.UInt32) : system.Int64;
- // @:op(A * B) public static function mul13(lhs : system.Int16, rhs : system.UInt64) : system.UInt64;
- @:op(A * B) public static function mul14(lhs : system.Int16, rhs : system.Single) : system.Single;
- @:op(A * B) public static function mul15(lhs : system.Int16, rhs : system.Double) : system.Double;
-
-
- @:op(A / B) public static inline function div0(lhs : system.Int16, rhs : system.Int16) : system.Int32 return Std.int(lhs.ToHaxeInt() / rhs.ToHaxeInt());
- @:op(A / B) public static inline function div1(lhs : system.Int16, rhs : Int) : system.Int32 return Std.int(lhs.ToHaxeInt() / rhs);
- @:op(A / B) public static inline function div2(lhs : Int, rhs : system.Int16) : system.Int32 return Std.int(lhs / rhs.ToHaxeInt());
- @:op(A / B) public static function div3(lhs : system.Int16, rhs : Float) : Float;
- @:op(A / B) public static function div4(lhs : Float, rhs : system.Int16) : Float;
-
- @:op(A / B) public static function div5(lhs : system.Int16, rhs : system.Char) : system.Int32;
- @:op(A / B) public static function div6(lhs : system.Int16, rhs : system.Byte) : system.Int32;
- @:op(A / B) public static function div7(lhs : system.Int16, rhs : system.Int16) : system.Int32;
- @:op(A / B) public static function div8(lhs : system.Int16, rhs : system.Int32) : system.Int32;
- @:op(A / B) public static function div9(lhs : system.Int16, rhs : system.Int64) : system.Int64;
- @:op(A / B) public static function div10(lhs : system.Int16, rhs : system.SByte) : system.Int32;
- @:op(A / B) public static function div11(lhs : system.Int16, rhs : system.UInt16) : system.Int32;
- @:op(A / B) public static function div12(lhs : system.Int16, rhs : system.UInt32) : system.Int64;
- // @:op(A / B) public static function div13(lhs : system.Int16, rhs : system.UInt64) : system.UInt64;
- @:op(A / B) public static function div14(lhs : system.Int16, rhs : system.Single) : system.Single;
- @:op(A / B) public static function div15(lhs : system.Int16, rhs : system.Double) : system.Double;
-
-
- @:op(A % B) public static function mod0(lhs : system.Int16, rhs : system.Int16) : system.Int32;
- @:op(A % B) public static function mod1(lhs : system.Int16, rhs : Int) : system.Int32;
- @:op(A % B) public static function mod2(lhs : Int, rhs : system.Int16) : system.Int32;
- @:op(A % B) public static function mod3(lhs : system.Int16, rhs : Float) : Float;
- @:op(A % B) public static function mod4(lhs : Float, rhs : system.Int16) : Float;
-
- @:op(A % B) public static function mod5(lhs : system.Int16, rhs : system.Char) : system.Int32;
- @:op(A % B) public static function mod6(lhs : system.Int16, rhs : system.Byte) : system.Int32;
- @:op(A % B) public static function mod7(lhs : system.Int16, rhs : system.Int16) : system.Int32;
- @:op(A % B) public static function mod8(lhs : system.Int16, rhs : system.Int32) : system.Int32;
- @:op(A % B) public static function mod9(lhs : system.Int16, rhs : system.Int64) : system.Int64;
- @:op(A % B) public static function mod10(lhs : system.Int16, rhs : system.SByte) : system.Int32;
- @:op(A % B) public static function mod11(lhs : system.Int16, rhs : system.UInt16) : system.Int32;
- @:op(A % B) public static function mod12(lhs : system.Int16, rhs : system.UInt32) : system.Int64;
- // @:op(A % B) public static function mod13(lhs : system.Int16, rhs : system.UInt64) : system.UInt64;
- @:op(A % B) public static function mod14(lhs : system.Int16, rhs : system.Single) : system.Single;
- @:op(A % B) public static function mod15(lhs : system.Int16, rhs : system.Double) : system.Double;
-
- @:op(A + B) public static function add0(lhs : system.Int16, rhs : system.Int16) : system.Int32;
- @:op(A + B) public static function add1(lhs : system.Int16, rhs : Int) : system.Int32;
- @:op(A + B) public static function add2(lhs : Int, rhs : system.Int16) : system.Int32;
- @:op(A + B) public static function add3(lhs : system.Int16, rhs : Float) : Float;
- @:op(A + B) public static function add4(lhs : Float, rhs : system.Int16) : Float;
-
- @:op(A + B) public static function add5(lhs : system.Int16, rhs : system.Char) : system.Int32;
- @:op(A + B) public static function add6(lhs : system.Int16, rhs : system.Byte) : system.Int32;
- @:op(A + B) public static function add7(lhs : system.Int16, rhs : system.Int16) : system.Int32;
- @:op(A + B) public static function add8(lhs : system.Int16, rhs : system.Int32) : system.Int32;
- @:op(A + B) public static function add9(lhs : system.Int16, rhs : system.Int64) : system.Int64;
- @:op(A + B) public static function add10(lhs : system.Int16, rhs : system.SByte) : system.Int32;
- @:op(A + B) public static function add11(lhs : system.Int16, rhs : system.UInt16) : system.Int32;
- @:op(A + B) public static function add12(lhs : system.Int16, rhs : system.UInt32) : system.Int64;
- // @:op(A + B) public static function add13(lhs : system.Int16, rhs : system.UInt64) : system.UInt64;
- @:op(A + B) public static function add14(lhs : system.Int16, rhs : system.Single) : system.Single;
- @:op(A + B) public static function add15(lhs : system.Int16, rhs : system.Double) : system.Double;
- @:op(A + B) public static inline function add16(lhs : system.Int16, rhs : system.CsString) : system.CsString return lhs.ToString() + rhs;
- @:op(A + B) public static inline function add17(lhs : system.Int16, rhs : String) : system.CsString return lhs.ToString() + rhs;
-
-
- @:op(A - B) public static function sub0(lhs : system.Int16, rhs : system.Int16) : system.Int32;
- @:op(A - B) public static function sub1(lhs : system.Int16, rhs : Int) : system.Int32;
- @:op(A - B) public static function sub2(lhs : Int, rhs : system.Int16) : system.Int32;
- @:op(A - B) public static function sub3(lhs : system.Int16, rhs : Float) : Float;
- @:op(A - B) public static function sub4(lhs : Float, rhs : system.Int16) : Float;
-
- @:op(A - B) public static function sub5(lhs : system.Int16, rhs : system.Char) : system.Int32;
- @:op(A - B) public static function sub6(lhs : system.Int16, rhs : system.Byte) : system.Int32;
- @:op(A - B) public static function sub7(lhs : system.Int16, rhs : system.Int16) : system.Int32;
- @:op(A - B) public static function sub8(lhs : system.Int16, rhs : system.Int32) : system.Int32;
- @:op(A - B) public static function sub9(lhs : system.Int16, rhs : system.Int64) : system.Int64;
- @:op(A - B) public static function sub10(lhs : system.Int16, rhs : system.SByte) : system.Int32;
- @:op(A - B) public static function sub11(lhs : system.Int16, rhs : system.UInt16) : system.Int32;
- @:op(A - B) public static function sub12(lhs : system.Int16, rhs : system.UInt32) : system.Int64;
- // @:op-A - B) public static function sub13(lhs : system.Int16, rhs : system.UInt64) : system.UInt64;
- @:op(A - B) public static function sub14(lhs : system.Int16, rhs : system.Single) : system.Single;
- @:op(A - B) public static function sub15(lhs : system.Int16, rhs : system.Double) : system.Double;
-
-
- @:op(A << B) public static function shl0(lhs : system.Int16, rhs : system.Int16) : system.Int32;
- @:op(A << B) public static function shl1(lhs : system.Int16, rhs : Int) : system.Int32;
- @:op(A << B) public static function shl2(lhs : Int, rhs : system.Int16) : system.Int32;
-
- @:op(A << B) public static function shl5(lhs : system.Int16, rhs : system.Char) : system.Int32;
- @:op(A << B) public static function shl6(lhs : system.Int16, rhs : system.Byte) : system.Int32;
- @:op(A << B) public static function shl7(lhs : system.Int16, rhs : system.Int16) : system.Int32;
- @:op(A << B) public static function shl8(lhs : system.Int16, rhs : system.Int32) : system.Int32;
- // @:op(A << B) public static function shl9(lhs : system.Int16, rhs : system.Int64) : system.Int64;
- @:op(A << B) public static function shl10(lhs : system.Int16, rhs : system.SByte) : system.Int32;
- @:op(A << B) public static function shl11(lhs : system.Int16, rhs : system.UInt16) : system.Int32;
- // @:op(A << B) public static function shl12(lhs : system.Int16, rhs : system.UInt32) : system.Int64;
- // @:op-A << B) public static function shl13(lhs : system.Int16, rhs : system.UInt64) : system.UInt64;
-
-
- @:op(A >> B) public static function shr0(lhs : system.Int16, rhs : system.Int16) : system.Int32;
- @:op(A >> B) public static function shr1(lhs : system.Int16, rhs : Int) : system.Int32;
- @:op(A >> B) public static function shr2(lhs : Int, rhs : system.Int16) : system.Int32;
-
- @:op(A >> B) public static function shr5(lhs : system.Int16, rhs : system.Char) : system.Int32;
- @:op(A >> B) public static function shr6(lhs : system.Int16, rhs : system.Byte) : system.Int32;
- @:op(A >> B) public static function shr7(lhs : system.Int16, rhs : system.Int16) : system.Int32;
- @:op(A >> B) public static function shr8(lhs : system.Int16, rhs : system.Int32) : system.Int32;
- // @:op(A >> B) public static function shr9(lhs : system.Int16, rhs : system.Int64) : system.Int64;
- @:op(A >> B) public static function shr10(lhs : system.Int16, rhs : system.SByte) : system.Int32;
- @:op(A >> B) public static function shr11(lhs : system.Int16, rhs : system.UInt16) : system.Int32;
- // @:op(A >> B) public static function shr12(lhs : system.Int16, rhs : system.UInt32) : system.Int64;
- // @:op-A >> B) public static function shr13(lhs : system.Int16, rhs : system.UInt64) : system.UInt64;
-
- @:op(A > B) public static function gt0(lhs : system.Int16, rhs : system.Int16) : system.Boolean;
- @:op(A > B) public static function gt1(lhs : system.Int16, rhs : Int) : system.Boolean;
- @:op(A > B) public static function gt2(lhs : Int, rhs : system.Int16) : system.Boolean;
- @:op(A > B) public static function gt3(lhs : system.Int16, rhs : Float) : system.Boolean;
- @:op(A > B) public static function gt4(lhs : Float, rhs : system.Int16) : system.Boolean;
-
- @:op(A > B) public static function gt5(lhs : system.Int16, rhs : system.Char) : system.Boolean;
- @:op(A > B) public static function gt6(lhs : system.Int16, rhs : system.Byte) : system.Boolean;
- @:op(A > B) public static function gt7(lhs : system.Int16, rhs : system.Int16) : system.Boolean;
- @:op(A > B) public static function gt8(lhs : system.Int16, rhs : system.Int32) : system.Boolean;
- @:op(A > B) public static function gt9(lhs : system.Int16, rhs : system.Int64) : system.Boolean;
- @:op(A > B) public static function gt10(lhs : system.Int16, rhs : system.SByte) : system.Boolean;
- @:op(A > B) public static function gt11(lhs : system.Int16, rhs : system.UInt16) : system.Boolean;
- @:op(A > B) public static function gt12(lhs : system.Int16, rhs : system.UInt32) : system.Boolean;
- @:op(A > B) public static function gt13(lhs : system.Int16, rhs : system.UInt64) : system.Boolean;
- @:op(A > B) public static function gt14(lhs : system.Int16, rhs : system.Single) : system.Boolean;
- @:op(A > B) public static function gt15(lhs : system.Int16, rhs : system.Double) : system.Boolean;
-
-
- @:op(A < B) public static function lt0(lhs : system.Int16, rhs : system.Int16) : system.Boolean;
- @:op(A < B) public static function lt1(lhs : system.Int16, rhs : Int) : system.Boolean;
- @:op(A < B) public static function lt2(lhs : Int, rhs : system.Int16) : system.Boolean;
- @:op(A < B) public static function lt3(lhs : system.Int16, rhs : Float) : system.Boolean;
- @:op(A < B) public static function lt4(lhs : Float, rhs : system.Int16) : system.Boolean;
-
- @:op(A < B) public static function lt5(lhs : system.Int16, rhs : system.Char) : system.Boolean;
- @:op(A < B) public static function lt6(lhs : system.Int16, rhs : system.Byte) : system.Boolean;
- @:op(A < B) public static function lt7(lhs : system.Int16, rhs : system.Int16) : system.Boolean;
- @:op(A < B) public static function lt8(lhs : system.Int16, rhs : system.Int32) : system.Boolean;
- @:op(A < B) public static function lt9(lhs : system.Int16, rhs : system.Int64) : system.Boolean;
- @:op(A < B) public static function lt10(lhs : system.Int16, rhs : system.SByte) : system.Boolean;
- @:op(A < B) public static function lt11(lhs : system.Int16, rhs : system.UInt16) : system.Boolean;
- @:op(A < B) public static function lt12(lhs : system.Int16, rhs : system.UInt32) : system.Boolean;
- @:op(A < B) public static function lt13(lhs : system.Int16, rhs : system.UInt64) : system.Boolean;
- @:op(A < B) public static function lt14(lhs : system.Int16, rhs : system.Single) : system.Boolean;
- @:op(A < B) public static function lt15(lhs : system.Int16, rhs : system.Double) : system.Boolean;
-
-
- @:op(A >= B) public static function gte0(lhs : system.Int16, rhs : system.Int16) : system.Boolean;
- @:op(A >= B) public static function gte1(lhs : system.Int16, rhs : Int) : system.Boolean;
- @:op(A >= B) public static function gte2(lhs : Int, rhs : system.Int16) : system.Boolean;
- @:op(A >= B) public static function gte3(lhs : system.Int16, rhs : Float) : system.Boolean;
- @:op(A >= B) public static function gte4(lhs : Float, rhs : system.Int16) : system.Boolean;
-
- @:op(A >= B) public static function gte5(lhs : system.Int16, rhs : system.Char) : system.Boolean;
- @:op(A >= B) public static function gte6(lhs : system.Int16, rhs : system.Byte) : system.Boolean;
- @:op(A >= B) public static function gte7(lhs : system.Int16, rhs : system.Int16) : system.Boolean;
- @:op(A >= B) public static function gte8(lhs : system.Int16, rhs : system.Int32) : system.Boolean;
- @:op(A >= B) public static function gte9(lhs : system.Int16, rhs : system.Int64) : system.Boolean;
- @:op(A >= B) public static function gte10(lhs : system.Int16, rhs : system.SByte) : system.Boolean;
- @:op(A >= B) public static function gte11(lhs : system.Int16, rhs : system.UInt16) : system.Boolean;
- @:op(A >= B) public static function gte12(lhs : system.Int16, rhs : system.UInt32) : system.Boolean;
- @:op(A >= B) public static function gte13(lhs : system.Int16, rhs : system.UInt64) : system.Boolean;
- @:op(A >= B) public static function gte14(lhs : system.Int16, rhs : system.Single) : system.Boolean;
- @:op(A >= B) public static function gte15(lhs : system.Int16, rhs : system.Double) : system.Boolean;
-
-
- @:op(A <= B) public static function lte0(lhs : system.Int16, rhs : system.Int16) : system.Boolean;
- @:op(A <= B) public static function lte1(lhs : system.Int16, rhs : Int) : system.Boolean;
- @:op(A <= B) public static function lte2(lhs : Int, rhs : system.Int16) : system.Boolean;
- @:op(A <= B) public static function lte3(lhs : system.Int16, rhs : Float) : system.Boolean;
- @:op(A <= B) public static function lte4(lhs : Float, rhs : system.Int16) : system.Boolean;
-
- @:op(A <= B) public static function lte5(lhs : system.Int16, rhs : system.Char) : system.Boolean;
- @:op(A <= B) public static function lte6(lhs : system.Int16, rhs : system.Byte) : system.Boolean;
- @:op(A <= B) public static function lte7(lhs : system.Int16, rhs : system.Int16) : system.Boolean;
- @:op(A <= B) public static function lte8(lhs : system.Int16, rhs : system.Int32) : system.Boolean;
- @:op(A <= B) public static function lte9(lhs : system.Int16, rhs : system.Int64) : system.Boolean;
- @:op(A <= B) public static function lte10(lhs : system.Int16, rhs : system.SByte) : system.Boolean;
- @:op(A <= B) public static function lte11(lhs : system.Int16, rhs : system.UInt16) : system.Boolean;
- @:op(A <= B) public static function lte12(lhs : system.Int16, rhs : system.UInt32) : system.Boolean;
- @:op(A <= B) public static function lte13(lhs : system.Int16, rhs : system.UInt64) : system.Boolean;
- @:op(A <= B) public static function lte14(lhs : system.Int16, rhs : system.Single) : system.Boolean;
- @:op(A <= B) public static function lte15(lhs : system.Int16, rhs : system.Double) : system.Boolean;
-
-
- @:op(A == B) public static function eq0(lhs : system.Int16, rhs : system.Int16) : system.Boolean;
- @:op(A == B) public static function eq1(lhs : system.Int16, rhs : Int) : system.Boolean;
- @:op(A == B) public static function eq2(lhs : Int, rhs : system.Int16) : system.Boolean;
- @:op(A == B) public static function eq3(lhs : system.Int16, rhs : Float) : system.Boolean;
- @:op(A == B) public static function eq4(lhs : Float, rhs : system.Int16) : system.Boolean;
-
- @:op(A == B) public static function eq5(lhs : system.Int16, rhs : system.Char) : system.Boolean;
- @:op(A == B) public static function eq6(lhs : system.Int16, rhs : system.Byte) : system.Boolean;
- @:op(A == B) public static function eq7(lhs : system.Int16, rhs : system.Int16) : system.Boolean;
- @:op(A == B) public static function eq8(lhs : system.Int16, rhs : system.Int32) : system.Boolean;
- @:op(A == B) public static function eq9(lhs : system.Int16, rhs : system.Int64) : system.Boolean;
- @:op(A == B) public static function eq10(lhs : system.Int16, rhs : system.SByte) : system.Boolean;
- @:op(A == B) public static function eq11(lhs : system.Int16, rhs : system.UInt16) : system.Boolean;
- @:op(A == B) public static function eq12(lhs : system.Int16, rhs : system.UInt32) : system.Boolean;
- @:op(A == B) public static function eq13(lhs : system.Int16, rhs : system.UInt64) : system.Boolean;
- @:op(A == B) public static function eq14(lhs : system.Int16, rhs : system.Single) : system.Boolean;
- @:op(A == B) public static function eq15(lhs : system.Int16, rhs : system.Double) : system.Boolean;
-
-
- @:op(A != B) public static function neq0(lhs : system.Int16, rhs : system.Int16) : system.Boolean;
- @:op(A != B) public static function neq1(lhs : system.Int16, rhs : Int) : system.Boolean;
- @:op(A != B) public static function neq2(lhs : Int, rhs : system.Int16) : system.Boolean;
- @:op(A != B) public static function neq3(lhs : system.Int16, rhs : Float) : system.Boolean;
- @:op(A != B) public static function neq4(lhs : Float, rhs : system.Int16) : system.Boolean;
-
- @:op(A != B) public static function neq5(lhs : system.Int16, rhs : system.Char) : system.Boolean;
- @:op(A != B) public static function neq6(lhs : system.Int16, rhs : system.Byte) : system.Boolean;
- @:op(A != B) public static function neq7(lhs : system.Int16, rhs : system.Int16) : system.Boolean;
- @:op(A != B) public static function neq8(lhs : system.Int16, rhs : system.Int32) : system.Boolean;
- @:op(A != B) public static function neq9(lhs : system.Int16, rhs : system.Int64) : system.Boolean;
- @:op(A != B) public static function neq10(lhs : system.Int16, rhs : system.SByte) : system.Boolean;
- @:op(A != B) public static function neq11(lhs : system.Int16, rhs : system.UInt16) : system.Boolean;
- @:op(A != B) public static function neq12(lhs : system.Int16, rhs : system.UInt32) : system.Boolean;
- @:op(A != B) public static function neq13(lhs : system.Int16, rhs : system.UInt64) : system.Boolean;
- @:op(A != B) public static function neq14(lhs : system.Int16, rhs : system.Single) : system.Boolean;
- @:op(A != B) public static function neq15(lhs : system.Int16, rhs : system.Double) : system.Boolean;
-
-
- @:op(A & B) public static function and0(lhs : system.Int16, rhs : system.Int16) : system.Int32;
- @:op(A & B) public static function and1(lhs : system.Int16, rhs : Int) : system.Int32;
- @:op(A & B) public static function and2(lhs : Int, rhs : system.Int16) : system.Int32;
-
- @:op(A & B) public static function and5(lhs : system.Int16, rhs : system.Char) : system.Int32;
- @:op(A & B) public static function and6(lhs : system.Int16, rhs : system.Byte) : system.Int32;
- @:op(A & B) public static function and7(lhs : system.Int16, rhs : system.Int16) : system.Int32;
- @:op(A & B) public static function and8(lhs : system.Int16, rhs : system.Int32) : system.Int32;
- @:op(A & B) public static function and9(lhs : system.Int16, rhs : system.Int64) : system.Int64;
- @:op(A & B) public static function and10(lhs : system.Int16, rhs : system.SByte) : system.Int32;
- @:op(A & B) public static function and11(lhs : system.Int16, rhs : system.UInt16) : system.Int32;
- @:op(A & B) public static function and12(lhs : system.Int16, rhs : system.UInt32) : system.Int64;
- //@:op(A & B) public static function and13(lhs : system.Int16, rhs : system.UInt64) : system.UInt64;
-
-
- @:op(A | B) public static function or0(lhs : system.Int16, rhs : system.Int16) : system.Int32;
- @:op(A | B) public static function or1(lhs : system.Int16, rhs : Int) : system.Int32;
- @:op(A | B) public static function or2(lhs : Int, rhs : system.Int16) : system.Int32;
-
- @:op(A | B) public static function or5(lhs : system.Int16, rhs : system.Char) : system.Int32;
- @:op(A | B) public static function or6(lhs : system.Int16, rhs : system.Byte) : system.Int32;
- @:op(A | B) public static function or7(lhs : system.Int16, rhs : system.Int16) : system.Int32;
- @:op(A | B) public static function or8(lhs : system.Int16, rhs : system.Int32) : system.Int32;
- @:op(A | B) public static function or9(lhs : system.Int16, rhs : system.Int64) : system.Int64;
- @:op(A | B) public static function or10(lhs : system.Int16, rhs : system.SByte) : system.Int32;
- @:op(A | B) public static function or11(lhs : system.Int16, rhs : system.UInt16) : system.Int32;
- @:op(A | B) public static function or12(lhs : system.Int16, rhs : system.UInt32) : system.Int64;
- //@:op(A | B) public static function or13(lhs : system.Int16, rhs : system.UInt64) : system.UInt64;
-
- @:op(A ^ B) public static function xor0(lhs : system.Int16, rhs : system.Int16) : system.Int32;
- @:op(A ^ B) public static function xor1(lhs : system.Int16, rhs : Int) : system.Int32;
- @:op(A ^ B) public static function xor2(lhs : Int, rhs : system.Int16) : system.Int32;
-
- @:op(A ^ B) public static function xor5(lhs : system.Int16, rhs : system.Char) : system.Int32;
- @:op(A ^ B) public static function xor6(lhs : system.Int16, rhs : system.Byte) : system.Int32;
- @:op(A ^ B) public static function xor7(lhs : system.Int16, rhs : system.Int16) : system.Int32;
- @:op(A ^ B) public static function xor8(lhs : system.Int16, rhs : system.Int32) : system.Int32;
- @:op(A ^ B) public static function xor9(lhs : system.Int16, rhs : system.Int64) : system.Int64;
- @:op(A ^ B) public static function xor10(lhs : system.Int16, rhs : system.SByte) : system.Int32;
- @:op(A ^ B) public static function xor11(lhs : system.Int16, rhs : system.UInt16) : system.Int32;
- @:op(A ^ B) public static function xor12(lhs : system.Int16, rhs : system.UInt32) : system.Int64;
- //@:op(A ^ B) public static function xor13(lhs : system.Int16, rhs : system.UInt64) : system.UInt64;
-
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/Int16Array.hx b/Phase/Mscorlib/system/Int16Array.hx
deleted file mode 100644
index 682504aec..000000000
--- a/Phase/Mscorlib/system/Int16Array.hx
+++ /dev/null
@@ -1,21 +0,0 @@
-package system;
-
-abstract Int16Array(js.html.Int16Array)
-{
- public inline function new(length:Int32) this = new js.html.Int16Array(length.ToHaxeInt());
-
- @:from public static inline function fromArray(a:Array):Int16Array return cast new js.html.Int16Array(untyped a);
- @:from public static inline function fromFixedArray(a:FixedArray):Int16Array return cast new js.html.Int16Array(untyped a.ToHaxeArray());
-
- public var Length(get, never):Int32;
- public inline function get_Length() : Int32 return this.length;
-
- @:op([]) public inline function get(index:Int32):Int16 return this[index.ToHaxeInt()];
- @:op([]) public inline function set(index:Int32, val:Int16):Int16 return this[index.ToHaxeInt()] = val.ToHaxeInt();
-
- public inline function iterator() : Iterator return new Int16ArrayIterator(this);
-
- public inline function ToEnumerable() : system.collections.generic.IEnumerable return new Int16ArrayEnumerable(this);
-
- public static inline function empty(size:Int32) return new Int16Array(size);
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/Int16ArrayEnumerable.hx b/Phase/Mscorlib/system/Int16ArrayEnumerable.hx
deleted file mode 100644
index b499c4fd4..000000000
--- a/Phase/Mscorlib/system/Int16ArrayEnumerable.hx
+++ /dev/null
@@ -1,18 +0,0 @@
-package system;
-
-import system.collections.generic.IEnumerable;
-import system.collections.generic.IEnumerator;
-
-class Int16ArrayEnumerable implements IEnumerable
-{
- private var _array:js.html.Int16Array;
- public function new(array:js.html.Int16Array)
- {
- _array= array;
- }
-
- public function GetEnumerator() : IEnumerator
- {
- return new Int16ArrayEnumerator(_array);
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/Int16ArrayEnumerator.hx b/Phase/Mscorlib/system/Int16ArrayEnumerator.hx
deleted file mode 100644
index 99688cf22..000000000
--- a/Phase/Mscorlib/system/Int16ArrayEnumerator.hx
+++ /dev/null
@@ -1,29 +0,0 @@
-package system;
-
-import system.collections.generic.IEnumerator;
-
-class Int16ArrayEnumerator implements IEnumerator
-{
- private var _array:js.html.Int16Array;
- private var _i:Int;
-
- public function new(array:js.html.Int16Array)
- {
- _array = array;
- _i = -1;
- }
-
- public var Current(get, never):Int16;
- public function get_Current() : Int16 return _array[_i];
- public function MoveNext() : Bool
- {
- if(_i >= _array.length - 1) return false;
- _i++;
- return true;
-
- }
- public function Reset():Void
- {
- _i = -1;
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/Int16ArrayIterator.hx b/Phase/Mscorlib/system/Int16ArrayIterator.hx
deleted file mode 100644
index b4713fe40..000000000
--- a/Phase/Mscorlib/system/Int16ArrayIterator.hx
+++ /dev/null
@@ -1,19 +0,0 @@
-package system;
-
-class Int16ArrayIterator
-{
- private var _array:js.html.Int16Array;
- private var _i:Int;
-
- public function new(array:js.html.Int16Array)
- {
- _array = array;
- _i = 0;
- }
-
- public function hasNext() return _i < _array.length;
- public function next() : Int16
- {
- return _array[_i++];
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/Int32.hx b/Phase/Mscorlib/system/Int32.hx
deleted file mode 100644
index 783a310fc..000000000
--- a/Phase/Mscorlib/system/Int32.hx
+++ /dev/null
@@ -1,329 +0,0 @@
-package system;
-
-abstract Int32(Int) from Int
-{
- public inline function new(i:Int) this = i;
-
- public inline function ToHaxeInt(): Int return this;
- public inline function ToString() : system.CsString return Std.string(this);
-
- @:from public static inline function FromChar(c:Char) : Int32 return new Int32(c.ToHaxeInt());
- @:from public static inline function FromByte(c:Byte) : Int32 return new Int32(c.ToHaxeInt());
- @:from public static inline function FromSByte(c:SByte) : Int32 return new Int32(c.ToHaxeInt());
- @:from public static inline function FromInt16(c:Int16) : Int32 return new Int32(c.ToHaxeInt());
-
- public inline function ToBoolean_IFormatProvider(provider:IFormatProvider) : system.Boolean return system.Convert.ToBoolean_Int32(this);
- public inline function ToChar_IFormatProvider(provider:IFormatProvider) : system.Char return system.Convert.ToChar_Int32(this);
- public inline function ToSByte_IFormatProvider(provider:IFormatProvider) : system.SByte return system.Convert.ToSByte_Int32(this);
- public inline function ToByte_IFormatProvider(provider:IFormatProvider) : system.Byte return system.Convert.ToByte_Int32(this);
- public inline function ToInt16_IFormatProvider(provider:IFormatProvider) : system.Int16 return system.Convert.ToInt16_Int32(this);
- public inline function ToUInt16_IFormatProvider(provider:IFormatProvider) : system.UInt16 return system.Convert.ToUInt16_Int32(this);
- public inline function ToInt32_IFormatProvider(provider:IFormatProvider) : system.Int32 return system.Convert.ToInt32_Int32(this);
- public inline function ToUInt32_IFormatProvider(provider:IFormatProvider) : system.UInt32 return system.Convert.ToUInt32_Int32(this);
- public inline function ToInt64_IFormatProvider(provider:IFormatProvider) : system.Int64 return system.Convert.ToInt64_Int32(this);
- public inline function ToUInt64_IFormatProvider(provider:IFormatProvider) : system.UInt64 return system.Convert.ToUInt64_Int32(this);
- public inline function ToSingle_IFormatProvider(provider:IFormatProvider) : system.Single return system.Convert.ToSingle_Int32(this);
- public inline function ToDouble_IFormatProvider(provider:IFormatProvider) : system.Double return system.Convert.ToDouble_Int32(this);
-
- public inline function GetHashCode() : system.Int32 return this;
-
- public function CompareTo_Int32(other:Int32) : Int32
- {
- if (this < other) return -1;
- if (this > other) return 1;
- return 0;
- }
-
-
- @:op(-A) public inline function neg() : system.Int32 return -this;
-
- @:op(~A) public inline function not() : system.Int32 return ~this;
-
- @:op(A++) public inline function postinc() : system.Int32 return this++;
- @:op(++A) public inline function preinc() : system.Int32 return ++this;
-
- @:op(A--) public inline function postdec() : system.Int32 return this--;
- @:op(--A) public inline function predec() : system.Int32 return --this;
-
- @:op(A * B) public static function mul0(lhs : system.Int32, rhs : system.Int32) : system.Int32;
- @:op(A * B) public static function mul1(lhs : system.Int32, rhs : Int) : system.Int32;
- @:op(A * B) public static function mul2(lhs : Int, rhs : system.Int32) : system.Int32;
- @:op(A * B) public static function mul3(lhs : system.Int32, rhs : Float) : system.Double;
- @:op(A * B) public static function mul4(lhs : Float, rhs : system.Int32) : system.Double;
-
- @:op(A * B) public static function mul5(lhs : system.Int32, rhs : system.Char) : system.Int32;
- @:op(A * B) public static function mul6(lhs : system.Int32, rhs : system.Byte) : system.Int32;
- @:op(A * B) public static function mul7(lhs : system.Int32, rhs : system.Int16) : system.Int32;
- @:op(A * B) public static function mul8(lhs : system.Int32, rhs : system.Int32) : system.Int32;
- @:op(A * B) public static function mul9(lhs : system.Int32, rhs : system.Int64) : system.Int64;
- @:op(A * B) public static function mul10(lhs : system.Int32, rhs : system.SByte) : system.Int32;
- @:op(A * B) public static function mul11(lhs : system.Int32, rhs : system.UInt16) : system.Int32;
- @:op(A * B) public static function mul12(lhs : system.Int32, rhs : system.UInt32) : system.Int64;
- // @:op(A * B) public static function mul13(lhs : system.Int32, rhs : system.UInt64) : system.UInt64;
- @:op(A * B) public static function mul14(lhs : system.Int32, rhs : system.Single) : system.Single;
- @:op(A * B) public static function mul15(lhs : system.Int32, rhs : system.Double) : system.Double;
-
-
- @:op(A / B) public static inline function div0(lhs : system.Int32, rhs : system.Int32) : system.Int32 return Std.int(lhs.ToHaxeInt() / rhs.ToHaxeInt());
- @:op(A / B) public static inline function div1(lhs : system.Int32, rhs : Int) : system.Int32 return Std.int(lhs.ToHaxeInt() / rhs);
- @:op(A / B) public static inline function div2(lhs : Int, rhs : system.Int32) : system.Int32 return Std.int(lhs / rhs.ToHaxeInt());
- @:op(A / B) public static function div3(lhs : system.Int32, rhs : Float) : system.Double;
- @:op(A / B) public static function div4(lhs : Float, rhs : system.Int32) : system.Double;
-
- @:op(A / B) public static function div5(lhs : system.Int32, rhs : system.Char) : system.Int32;
- @:op(A / B) public static function div6(lhs : system.Int32, rhs : system.Byte) : system.Int32;
- @:op(A / B) public static function div7(lhs : system.Int32, rhs : system.Int16) : system.Int32;
- @:op(A / B) public static function div8(lhs : system.Int32, rhs : system.Int32) : system.Int32;
- @:op(A / B) public static function div9(lhs : system.Int32, rhs : system.Int64) : system.Int64;
- @:op(A / B) public static function div10(lhs : system.Int32, rhs : system.SByte) : system.Int32;
- @:op(A / B) public static function div11(lhs : system.Int32, rhs : system.UInt16) : system.Int32;
- @:op(A / B) public static function div12(lhs : system.Int32, rhs : system.UInt32) : system.Int64;
- // @:op(A / B) public static function div13(lhs : system.Int32, rhs : system.UInt64) : system.UInt64;
- @:op(A / B) public static function div14(lhs : system.Int32, rhs : system.Single) : system.Single;
- @:op(A / B) public static function div15(lhs : system.Int32, rhs : system.Double) : system.Double;
-
-
- @:op(A % B) public static function mod0(lhs : system.Int32, rhs : system.Int32) : system.Int32;
- @:op(A % B) public static function mod1(lhs : system.Int32, rhs : Int) : system.Int32;
- @:op(A % B) public static function mod2(lhs : Int, rhs : system.Int32) : system.Int32;
- @:op(A % B) public static function mod3(lhs : system.Int32, rhs : Float) : system.Double;
- @:op(A % B) public static function mod4(lhs : Float, rhs : system.Int32) : system.Double;
-
- @:op(A % B) public static function mod5(lhs : system.Int32, rhs : system.Char) : system.Int32;
- @:op(A % B) public static function mod6(lhs : system.Int32, rhs : system.Byte) : system.Int32;
- @:op(A % B) public static function mod7(lhs : system.Int32, rhs : system.Int16) : system.Int32;
- @:op(A % B) public static function mod8(lhs : system.Int32, rhs : system.Int32) : system.Int32;
- @:op(A % B) public static function mod9(lhs : system.Int32, rhs : system.Int64) : system.Int64;
- @:op(A % B) public static function mod10(lhs : system.Int32, rhs : system.SByte) : system.Int32;
- @:op(A % B) public static function mod11(lhs : system.Int32, rhs : system.UInt16) : system.Int32;
- @:op(A % B) public static function mod12(lhs : system.Int32, rhs : system.UInt32) : system.Int64;
- // @:op(A % B) public static function mod13(lhs : system.Int32, rhs : system.UInt64) : system.UInt64;
- @:op(A % B) public static function mod14(lhs : system.Int32, rhs : system.Single) : system.Single;
- @:op(A % B) public static function mod15(lhs : system.Int32, rhs : system.Double) : system.Double;
-
-
- @:op(A + B) public static function add0(lhs : system.Int32, rhs : system.Int32) : system.Int32;
- @:op(A + B) public static function add1(lhs : system.Int32, rhs : Int) : system.Int32;
- @:op(A + B) public static function add2(lhs : Int, rhs : system.Int32) : system.Int32;
- @:op(A + B) public static function add3(lhs : system.Int32, rhs : Float) : system.Double;
- @:op(A + B) public static function add4(lhs : Float, rhs : system.Int32) : system.Double;
-
- @:op(A + B) public static function add5(lhs : system.Int32, rhs : system.Char) : system.Int32;
- @:op(A + B) public static function add6(lhs : system.Int32, rhs : system.Byte) : system.Int32;
- @:op(A + B) public static function add7(lhs : system.Int32, rhs : system.Int16) : system.Int32;
- @:op(A + B) public static function add8(lhs : system.Int32, rhs : system.Int32) : system.Int32;
- @:op(A + B) public static function add9(lhs : system.Int32, rhs : system.Int64) : system.Int64;
- @:op(A + B) public static function add10(lhs : system.Int32, rhs : system.SByte) : system.Int32;
- @:op(A + B) public static function add11(lhs : system.Int32, rhs : system.UInt16) : system.Int32;
- @:op(A + B) public static function add12(lhs : system.Int32, rhs : system.UInt32) : system.Int64;
- // @:op(A + B) public static function add13(lhs : system.Int32, rhs : system.UInt64) : system.UInt64;
- @:op(A + B) public static function add14(lhs : system.Int32, rhs : system.Single) : system.Single;
- @:op(A + B) public static function add15(lhs : system.Int32, rhs : system.Double) : system.Double;
- @:op(A + B) public static inline function add16(lhs : system.Int32, rhs : system.CsString) : system.CsString return lhs.ToString() + rhs;
- @:op(A + B) public static inline function add17(lhs : system.Int32, rhs : String) : system.CsString return lhs.ToString() + rhs;
-
-
- @:op(A - B) public static function sub0(lhs : system.Int32, rhs : system.Int32) : system.Int32;
- @:op(A - B) public static function sub1(lhs : system.Int32, rhs : Int) : system.Int32;
- @:op(A - B) public static function sub2(lhs : Int, rhs : system.Int32) : system.Int32;
- @:op(A - B) public static function sub3(lhs : system.Int32, rhs : Float) : system.Double;
- @:op(A - B) public static function sub4(lhs : Float, rhs : system.Int32) : system.Double;
-
- @:op(A - B) public static function sub5(lhs : system.Int32, rhs : system.Char) : system.Int32;
- @:op(A - B) public static function sub6(lhs : system.Int32, rhs : system.Byte) : system.Int32;
- @:op(A - B) public static function sub7(lhs : system.Int32, rhs : system.Int16) : system.Int32;
- @:op(A - B) public static function sub8(lhs : system.Int32, rhs : system.Int32) : system.Int32;
- @:op(A - B) public static function sub9(lhs : system.Int32, rhs : system.Int64) : system.Int64;
- @:op(A - B) public static function sub10(lhs : system.Int32, rhs : system.SByte) : system.Int32;
- @:op(A - B) public static function sub11(lhs : system.Int32, rhs : system.UInt16) : system.Int32;
- @:op(A - B) public static function sub12(lhs : system.Int32, rhs : system.UInt32) : system.Int64;
- // @:op-A - B) public static function sub13(lhs : system.Int32, rhs : system.UInt64) : system.UInt64;
- @:op(A - B) public static function sub14(lhs : system.Int32, rhs : system.Single) : system.Single;
- @:op(A - B) public static function sub15(lhs : system.Int32, rhs : system.Double) : system.Double;
-
-
- @:op(A << B) public static function shl0(lhs : system.Int32, rhs : system.Int32) : system.Int32;
- @:op(A << B) public static function shl1(lhs : system.Int32, rhs : Int) : system.Int32;
- @:op(A << B) public static function shl2(lhs : Int, rhs : system.Int32) : system.Int32;
-
- @:op(A << B) public static function shl5(lhs : system.Int32, rhs : system.Char) : system.Int32;
- @:op(A << B) public static function shl6(lhs : system.Int32, rhs : system.Byte) : system.Int32;
- @:op(A << B) public static function shl7(lhs : system.Int32, rhs : system.Int16) : system.Int32;
- @:op(A << B) public static function shl8(lhs : system.Int32, rhs : system.Int32) : system.Int32;
- // @:op(A << B) public static function shl9(lhs : system.Int32, rhs : system.Int64) : system.Int64;
- @:op(A << B) public static function shl10(lhs : system.Int32, rhs : system.SByte) : system.Int32;
- @:op(A << B) public static function shl11(lhs : system.Int32, rhs : system.UInt16) : system.Int32;
- // @:op(A << B) public static function shl12(lhs : system.Int32, rhs : system.UInt32) : system.Int64;
- // @:op-A << B) public static function shl13(lhs : system.Int32, rhs : system.UInt64) : system.UInt64;
-
-
- @:op(A >> B) public static function shr0(lhs : system.Int32, rhs : system.Int32) : system.Int32;
- @:op(A >> B) public static function shr1(lhs : system.Int32, rhs : Int) : system.Int32;
- @:op(A >> B) public static function shr2(lhs : Int, rhs : system.Int32) : system.Int32;
-
- @:op(A >> B) public static function shr5(lhs : system.Int32, rhs : system.Char) : system.Int32;
- @:op(A >> B) public static function shr6(lhs : system.Int32, rhs : system.Byte) : system.Int32;
- @:op(A >> B) public static function shr7(lhs : system.Int32, rhs : system.Int16) : system.Int32;
- @:op(A >> B) public static function shr8(lhs : system.Int32, rhs : system.Int32) : system.Int32;
- // @:op(A >> B) public static function shr9(lhs : system.Int32, rhs : system.Int64) : system.Int64;
- @:op(A >> B) public static function shr10(lhs : system.Int32, rhs : system.SByte) : system.Int32;
- @:op(A >> B) public static function shr11(lhs : system.Int32, rhs : system.UInt16) : system.Int32;
- // @:op(A >> B) public static function shr12(lhs : system.Int32, rhs : system.UInt32) : system.Int64;
- // @:op-A >> B) public static function shr13(lhs : system.Int32, rhs : system.UInt64) : system.UInt64;
-
-
- @:op(A > B) public static function gt0(lhs : system.Int32, rhs : system.Int32) : system.Boolean;
- @:op(A > B) public static function gt1(lhs : system.Int32, rhs : Int) : system.Boolean;
- @:op(A > B) public static function gt2(lhs : Int, rhs : system.Int32) : system.Boolean;
- @:op(A > B) public static function gt3(lhs : system.Int32, rhs : Float) : system.Boolean;
- @:op(A > B) public static function gt4(lhs : Float, rhs : system.Int32) : system.Boolean;
-
- @:op(A > B) public static function gt5(lhs : system.Int32, rhs : system.Char) : system.Boolean;
- @:op(A > B) public static function gt6(lhs : system.Int32, rhs : system.Byte) : system.Boolean;
- @:op(A > B) public static function gt7(lhs : system.Int32, rhs : system.Int16) : system.Boolean;
- @:op(A > B) public static function gt8(lhs : system.Int32, rhs : system.Int32) : system.Boolean;
- @:op(A > B) public static function gt9(lhs : system.Int32, rhs : system.Int64) : system.Boolean;
- @:op(A > B) public static function gt10(lhs : system.Int32, rhs : system.SByte) : system.Boolean;
- @:op(A > B) public static function gt11(lhs : system.Int32, rhs : system.UInt16) : system.Boolean;
- @:op(A > B) public static function gt12(lhs : system.Int32, rhs : system.UInt32) : system.Boolean;
- @:op(A > B) public static function gt13(lhs : system.Int32, rhs : system.UInt64) : system.Boolean;
- @:op(A > B) public static function gt14(lhs : system.Int32, rhs : system.Single) : system.Boolean;
- @:op(A > B) public static function gt15(lhs : system.Int32, rhs : system.Double) : system.Boolean;
-
-
- @:op(A < B) public static function lt0(lhs : system.Int32, rhs : system.Int32) : system.Boolean;
- @:op(A < B) public static function lt1(lhs : system.Int32, rhs : Int) : system.Boolean;
- @:op(A < B) public static function lt2(lhs : Int, rhs : system.Int32) : system.Boolean;
- @:op(A < B) public static function lt3(lhs : system.Int32, rhs : Float) : system.Boolean;
- @:op(A < B) public static function lt4(lhs : Float, rhs : system.Int32) : system.Boolean;
-
- @:op(A < B) public static function lt5(lhs : system.Int32, rhs : system.Char) : system.Boolean;
- @:op(A < B) public static function lt6(lhs : system.Int32, rhs : system.Byte) : system.Boolean;
- @:op(A < B) public static function lt7(lhs : system.Int32, rhs : system.Int16) : system.Boolean;
- @:op(A < B) public static function lt8(lhs : system.Int32, rhs : system.Int32) : system.Boolean;
- @:op(A < B) public static function lt9(lhs : system.Int32, rhs : system.Int64) : system.Boolean;
- @:op(A < B) public static function lt10(lhs : system.Int32, rhs : system.SByte) : system.Boolean;
- @:op(A < B) public static function lt11(lhs : system.Int32, rhs : system.UInt16) : system.Boolean;
- @:op(A < B) public static function lt12(lhs : system.Int32, rhs : system.UInt32) : system.Boolean;
- @:op(A < B) public static function lt13(lhs : system.Int32, rhs : system.UInt64) : system.Boolean;
- @:op(A < B) public static function lt14(lhs : system.Int32, rhs : system.Single) : system.Boolean;
- @:op(A < B) public static function lt15(lhs : system.Int32, rhs : system.Double) : system.Boolean;
-
-
- @:op(A >= B) public static function gte0(lhs : system.Int32, rhs : system.Int32) : system.Boolean;
- @:op(A >= B) public static function gte1(lhs : system.Int32, rhs : Int) : system.Boolean;
- @:op(A >= B) public static function gte2(lhs : Int, rhs : system.Int32) : system.Boolean;
- @:op(A >= B) public static function gte3(lhs : system.Int32, rhs : Float) : system.Boolean;
- @:op(A >= B) public static function gte4(lhs : Float, rhs : system.Int32) : system.Boolean;
-
- @:op(A >= B) public static function gte5(lhs : system.Int32, rhs : system.Char) : system.Boolean;
- @:op(A >= B) public static function gte6(lhs : system.Int32, rhs : system.Byte) : system.Boolean;
- @:op(A >= B) public static function gte7(lhs : system.Int32, rhs : system.Int16) : system.Boolean;
- @:op(A >= B) public static function gte8(lhs : system.Int32, rhs : system.Int32) : system.Boolean;
- @:op(A >= B) public static function gte9(lhs : system.Int32, rhs : system.Int64) : system.Boolean;
- @:op(A >= B) public static function gte10(lhs : system.Int32, rhs : system.SByte) : system.Boolean;
- @:op(A >= B) public static function gte11(lhs : system.Int32, rhs : system.UInt16) : system.Boolean;
- @:op(A >= B) public static function gte12(lhs : system.Int32, rhs : system.UInt32) : system.Boolean;
- @:op(A >= B) public static function gte13(lhs : system.Int32, rhs : system.UInt64) : system.Boolean;
- @:op(A >= B) public static function gte14(lhs : system.Int32, rhs : system.Single) : system.Boolean;
- @:op(A >= B) public static function gte15(lhs : system.Int32, rhs : system.Double) : system.Boolean;
-
-
- @:op(A <= B) public static function lte0(lhs : system.Int32, rhs : system.Int32) : system.Boolean;
- @:op(A <= B) public static function lte1(lhs : system.Int32, rhs : Int) : system.Boolean;
- @:op(A <= B) public static function lte2(lhs : Int, rhs : system.Int32) : system.Boolean;
- @:op(A <= B) public static function lte3(lhs : system.Int32, rhs : Float) : system.Boolean;
- @:op(A <= B) public static function lte4(lhs : Float, rhs : system.Int32) : system.Boolean;
-
- @:op(A <= B) public static function lte5(lhs : system.Int32, rhs : system.Char) : system.Boolean;
- @:op(A <= B) public static function lte6(lhs : system.Int32, rhs : system.Byte) : system.Boolean;
- @:op(A <= B) public static function lte7(lhs : system.Int32, rhs : system.Int16) : system.Boolean;
- @:op(A <= B) public static function lte8(lhs : system.Int32, rhs : system.Int32) : system.Boolean;
- @:op(A <= B) public static function lte9(lhs : system.Int32, rhs : system.Int64) : system.Boolean;
- @:op(A <= B) public static function lte10(lhs : system.Int32, rhs : system.SByte) : system.Boolean;
- @:op(A <= B) public static function lte11(lhs : system.Int32, rhs : system.UInt16) : system.Boolean;
- @:op(A <= B) public static function lte12(lhs : system.Int32, rhs : system.UInt32) : system.Boolean;
- @:op(A <= B) public static function lte13(lhs : system.Int32, rhs : system.UInt64) : system.Boolean;
- @:op(A <= B) public static function lte14(lhs : system.Int32, rhs : system.Single) : system.Boolean;
- @:op(A <= B) public static function lte15(lhs : system.Int32, rhs : system.Double) : system.Boolean;
-
-
- @:op(A == B) public static function eq0(lhs : system.Int32, rhs : system.Int32) : system.Boolean;
- @:op(A == B) public static function eq1(lhs : system.Int32, rhs : Int) : system.Boolean;
- @:op(A == B) public static function eq2(lhs : Int, rhs : system.Int32) : system.Boolean;
- @:op(A == B) public static function eq3(lhs : system.Int32, rhs : Float) : system.Boolean;
- @:op(A == B) public static function eq4(lhs : Float, rhs : system.Int32) : system.Boolean;
-
- @:op(A == B) public static function eq5(lhs : system.Int32, rhs : system.Char) : system.Boolean;
- @:op(A == B) public static function eq6(lhs : system.Int32, rhs : system.Byte) : system.Boolean;
- @:op(A == B) public static function eq7(lhs : system.Int32, rhs : system.Int16) : system.Boolean;
- @:op(A == B) public static function eq8(lhs : system.Int32, rhs : system.Int32) : system.Boolean;
- @:op(A == B) public static function eq9(lhs : system.Int32, rhs : system.Int64) : system.Boolean;
- @:op(A == B) public static function eq10(lhs : system.Int32, rhs : system.SByte) : system.Boolean;
- @:op(A == B) public static function eq11(lhs : system.Int32, rhs : system.UInt16) : system.Boolean;
- @:op(A == B) public static function eq12(lhs : system.Int32, rhs : system.UInt32) : system.Boolean;
- @:op(A == B) public static function eq13(lhs : system.Int32, rhs : system.UInt64) : system.Boolean;
- @:op(A == B) public static function eq14(lhs : system.Int32, rhs : system.Single) : system.Boolean;
- @:op(A == B) public static function eq15(lhs : system.Int32, rhs : system.Double) : system.Boolean;
-
-
- @:op(A != B) public static function neq0(lhs : system.Int32, rhs : system.Int32) : system.Boolean;
- @:op(A != B) public static function neq1(lhs : system.Int32, rhs : Int) : system.Boolean;
- @:op(A != B) public static function neq2(lhs : Int, rhs : system.Int32) : system.Boolean;
- @:op(A != B) public static function neq3(lhs : system.Int32, rhs : Float) : system.Boolean;
- @:op(A != B) public static function neq4(lhs : Float, rhs : system.Int32) : system.Boolean;
-
- @:op(A != B) public static function neq5(lhs : system.Int32, rhs : system.Char) : system.Boolean;
- @:op(A != B) public static function neq6(lhs : system.Int32, rhs : system.Byte) : system.Boolean;
- @:op(A != B) public static function neq7(lhs : system.Int32, rhs : system.Int16) : system.Boolean;
- @:op(A != B) public static function neq8(lhs : system.Int32, rhs : system.Int32) : system.Boolean;
- @:op(A != B) public static function neq9(lhs : system.Int32, rhs : system.Int64) : system.Boolean;
- @:op(A != B) public static function neq10(lhs : system.Int32, rhs : system.SByte) : system.Boolean;
- @:op(A != B) public static function neq11(lhs : system.Int32, rhs : system.UInt16) : system.Boolean;
- @:op(A != B) public static function neq12(lhs : system.Int32, rhs : system.UInt32) : system.Boolean;
- @:op(A != B) public static function neq13(lhs : system.Int32, rhs : system.UInt64) : system.Boolean;
- @:op(A != B) public static function neq14(lhs : system.Int32, rhs : system.Single) : system.Boolean;
- @:op(A != B) public static function neq15(lhs : system.Int32, rhs : system.Double) : system.Boolean;
-
- @:op(A & B) public static function and0(lhs : system.Int32, rhs : system.Int32) : system.Int32;
- @:op(A & B) public static function and1(lhs : system.Int32, rhs : Int) : system.Int32;
- @:op(A & B) public static function and2(lhs : Int, rhs : system.Int32) : system.Int32;
-
- @:op(A & B) public static function and5(lhs : system.Int32, rhs : system.Char) : system.Int32;
- @:op(A & B) public static function and6(lhs : system.Int32, rhs : system.Byte) : system.Int32;
- @:op(A & B) public static function and7(lhs : system.Int32, rhs : system.Int16) : system.Int32;
- @:op(A & B) public static function and8(lhs : system.Int32, rhs : system.Int32) : system.Int32;
- @:op(A & B) public static function and9(lhs : system.Int32, rhs : system.Int64) : system.Int64;
- @:op(A & B) public static function and10(lhs : system.Int32, rhs : system.SByte) : system.Int32;
- @:op(A & B) public static function and11(lhs : system.Int32, rhs : system.UInt16) : system.Int32;
- @:op(A & B) public static function and12(lhs : system.Int32, rhs : system.UInt32) : system.Int64;
- //@:op(A & B) public static function and13(lhs : system.Int32, rhs : system.UInt64) : system.UInt64;
-
- @:op(A | B) public static function or0(lhs : system.Int32, rhs : system.Int32) : system.Int32;
- @:op(A | B) public static function or1(lhs : system.Int32, rhs : Int) : system.Int32;
- @:op(A | B) public static function or2(lhs : Int, rhs : system.Int32) : system.Int32;
-
- @:op(A | B) public static function or5(lhs : system.Int32, rhs : system.Char) : system.Int32;
- @:op(A | B) public static function or6(lhs : system.Int32, rhs : system.Byte) : system.Int32;
- @:op(A | B) public static function or7(lhs : system.Int32, rhs : system.Int16) : system.Int32;
- @:op(A | B) public static function or8(lhs : system.Int32, rhs : system.Int32) : system.Int32;
- @:op(A | B) public static function or9(lhs : system.Int32, rhs : system.Int64) : system.Int64;
- @:op(A | B) public static function or10(lhs : system.Int32, rhs : system.SByte) : system.Int32;
- @:op(A | B) public static function or11(lhs : system.Int32, rhs : system.UInt16) : system.Int32;
- @:op(A | B) public static function or12(lhs : system.Int32, rhs : system.UInt32) : system.Int64;
- //@:op(A | B) public static function or13(lhs : system.Int32, rhs : system.UInt64) : system.UInt64;
-
- @:op(A ^ B) public static function xor0(lhs : system.Int32, rhs : system.Int32) : system.Int32;
- @:op(A ^ B) public static function xor1(lhs : system.Int32, rhs : Int) : system.Int32;
- @:op(A ^ B) public static function xor2(lhs : Int, rhs : system.Int32) : system.Int32;
-
- @:op(A ^ B) public static function xor5(lhs : system.Int32, rhs : system.Char) : system.Int32;
- @:op(A ^ B) public static function xor6(lhs : system.Int32, rhs : system.Byte) : system.Int32;
- @:op(A ^ B) public static function xor7(lhs : system.Int32, rhs : system.Int16) : system.Int32;
- @:op(A ^ B) public static function xor8(lhs : system.Int32, rhs : system.Int32) : system.Int32;
- @:op(A ^ B) public static function xor9(lhs : system.Int32, rhs : system.Int64) : system.Int64;
- @:op(A ^ B) public static function xor10(lhs : system.Int32, rhs : system.SByte) : system.Int32;
- @:op(A ^ B) public static function xor11(lhs : system.Int32, rhs : system.UInt16) : system.Int32;
- @:op(A ^ B) public static function xor12(lhs : system.Int32, rhs : system.UInt32) : system.Int64;
- //@:op(A ^ B) public static function xor13(lhs : system.Int32, rhs : system.UInt64) : system.UInt64;
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/Int32Array.hx b/Phase/Mscorlib/system/Int32Array.hx
deleted file mode 100644
index d453caa46..000000000
--- a/Phase/Mscorlib/system/Int32Array.hx
+++ /dev/null
@@ -1,21 +0,0 @@
-package system;
-
-abstract Int32Array(js.html.Int32Array)
-{
- public inline function new(length:Int32) this = new js.html.Int32Array(length.ToHaxeInt());
-
- @:from public static inline function fromArray(a:Array):Int32Array return cast new js.html.Int32Array(untyped a);
- @:from public static inline function fromFixedArray(a:FixedArray):Int32Array return cast new js.html.Int32Array(untyped a.ToHaxeArray());
-
- public var Length(get, never):Int32;
- public inline function get_Length() : Int32 return this.length;
-
- @:op([]) public inline function get(index:Int32):Int32 return this[index.ToHaxeInt()];
- @:op([]) public inline function set(index:Int32, val:Int32):Int32 return this[index.ToHaxeInt()] = val.ToHaxeInt();
-
- public inline function iterator() : Iterator return new Int32ArrayIterator(this);
-
- @:to public inline function ToEnumerable() : system.collections.generic.IEnumerable return new Int32ArrayEnumerable(this);
-
- public static inline function empty(size:Int32) return new Int32Array(size);
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/Int32ArrayEnumerable.hx b/Phase/Mscorlib/system/Int32ArrayEnumerable.hx
deleted file mode 100644
index d3eb3af92..000000000
--- a/Phase/Mscorlib/system/Int32ArrayEnumerable.hx
+++ /dev/null
@@ -1,18 +0,0 @@
-package system;
-
-import system.collections.generic.IEnumerable;
-import system.collections.generic.IEnumerator;
-
-class Int32ArrayEnumerable implements IEnumerable
-{
- private var _array:js.html.Int32Array;
- public function new(array:js.html.Int32Array)
- {
- _array= array;
- }
-
- public function GetEnumerator() : IEnumerator
- {
- return new Int32ArrayEnumerator(_array);
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/Int32ArrayEnumerator.hx b/Phase/Mscorlib/system/Int32ArrayEnumerator.hx
deleted file mode 100644
index ece70c33a..000000000
--- a/Phase/Mscorlib/system/Int32ArrayEnumerator.hx
+++ /dev/null
@@ -1,29 +0,0 @@
-package system;
-
-import system.collections.generic.IEnumerator;
-
-class Int32ArrayEnumerator implements IEnumerator
-{
- private var _array:js.html.Int32Array;
- private var _i:Int;
-
- public function new(array:js.html.Int32Array)
- {
- _array = array;
- _i = -1;
- }
-
- public var Current(get, never):Int32;
- public function get_Current() : Int32 return _array[_i];
- public function MoveNext() : Bool
- {
- if(_i >= _array.length - 1) return false;
- _i++;
- return true;
-
- }
- public function Reset():Void
- {
- _i = -1;
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/Int32ArrayIterator.hx b/Phase/Mscorlib/system/Int32ArrayIterator.hx
deleted file mode 100644
index 881f85c6c..000000000
--- a/Phase/Mscorlib/system/Int32ArrayIterator.hx
+++ /dev/null
@@ -1,19 +0,0 @@
-package system;
-
-class Int32ArrayIterator
-{
- private var _array:js.html.Int32Array;
- private var _i:Int;
-
- public function new(array:js.html.Int32Array)
- {
- _array = array;
- _i = 0;
- }
-
- public function hasNext() return _i < _array.length;
- public function next()
- {
- return _array[_i++];
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/Int64.hx b/Phase/Mscorlib/system/Int64.hx
deleted file mode 100644
index c80228c6f..000000000
--- a/Phase/Mscorlib/system/Int64.hx
+++ /dev/null
@@ -1,322 +0,0 @@
-package system;
-
-// TODO: actual 64bit support
-abstract Int64(Int) from Int
-{
- public inline function new(i:Int) this = i;
-
- public inline function ToHaxeInt(): Int return this;
- public inline function ToString() : system.CsString return Std.string(this);
-
- @:from public static inline function FromByte(c:Byte) : Int64 return new Int64(c.ToHaxeInt());
- @:from public static inline function FromInt16(c:Int16) : Int64 return new Int64(c.ToHaxeInt());
- @:from public static inline function FromInt32(c:Int32) : Int64 return new Int64(c.ToHaxeInt());
-
- public inline function ToBoolean_IFormatProvider(provider:IFormatProvider) : system.Boolean return system.Convert.ToBoolean_Int64(this);
- public inline function ToChar_IFormatProvider(provider:IFormatProvider) : system.Char return system.Convert.ToChar_Int64(this);
- public inline function ToSByte_IFormatProvider(provider:IFormatProvider) : system.SByte return system.Convert.ToSByte_Int64(this);
- public inline function ToByte_IFormatProvider(provider:IFormatProvider) : system.Byte return system.Convert.ToByte_Int64(this);
- public inline function ToInt16_IFormatProvider(provider:IFormatProvider) : system.Int16 return system.Convert.ToInt16_Int64(this);
- public inline function ToUInt16_IFormatProvider(provider:IFormatProvider) : system.UInt16 return system.Convert.ToUInt16_Int64(this);
- public inline function ToInt32_IFormatProvider(provider:IFormatProvider) : system.Int32 return system.Convert.ToInt32_Int64(this);
- public inline function ToUInt32_IFormatProvider(provider:IFormatProvider) : system.UInt32 return system.Convert.ToUInt32_Int64(this);
- public inline function ToInt64_IFormatProvider(provider:IFormatProvider) : system.Int64 return system.Convert.ToInt64_Int64(this);
- public inline function ToUInt64_IFormatProvider(provider:IFormatProvider) : system.UInt64 return system.Convert.ToUInt64_Int64(this);
- public inline function ToSingle_IFormatProvider(provider:IFormatProvider) : system.Single return system.Convert.ToSingle_Int64(this);
- public inline function ToDouble_IFormatProvider(provider:IFormatProvider) : system.Double return system.Convert.ToDouble_Int64(this);
-
- public inline function GetHashCode() : system.Int32 return this;
-
- @:op(-A) public inline function neg() : system.Int64 return -this;
-
- @:op(~A) public inline function not() : system.Int64 return ~this;
-
- @:op(A++) public inline function postinc() : system.Int64 return this++;
- @:op(++A) public inline function preinc() : system.Int64 return ++this;
-
- @:op(A--) public inline function postdec() : system.Int64 return this--;
- @:op(--A) public inline function predec() : system.Int64 return --this;
-
- @:op(A * B) public static function mul1(lhs : system.Int64, rhs : Int) : system.Int64;
- @:op(A * B) public static function mul2(lhs : Int, rhs : system.Int64) : system.Int64;
- @:op(A * B) public static function mul3(lhs : system.Int64, rhs : Float) : system.Double;
- @:op(A * B) public static function mul4(lhs : Float, rhs : system.Int64) : system.Double;
-
- @:op(A * B) public static function mul5(lhs : system.Int64, rhs : system.Char) : system.Int64;
- @:op(A * B) public static function mul6(lhs : system.Int64, rhs : system.Byte) : system.Int64;
- @:op(A * B) public static function mul7(lhs : system.Int64, rhs : system.Int16) : system.Int64;
- @:op(A * B) public static function mul8(lhs : system.Int64, rhs : system.Int32) : system.Int64;
- @:op(A * B) public static function mul9(lhs : system.Int64, rhs : system.Int64) : system.Int64;
- @:op(A * B) public static function mul10(lhs : system.Int64, rhs : system.SByte) : system.Int64;
- @:op(A * B) public static function mul11(lhs : system.Int64, rhs : system.UInt16) : system.Int64;
- @:op(A * B) public static function mul12(lhs : system.Int64, rhs : system.UInt32) : system.Int64;
- // @:op(A * B) public static function mul13(lhs : system.Int64, rhs : system.UInt64) : system.UInt64;
- @:op(A * B) public static function mul14(lhs : system.Int64, rhs : system.Single) : system.Single;
- @:op(A * B) public static function mul15(lhs : system.Int64, rhs : system.Double) : system.Double;
-
-
- @:op(A / B) public static inline function div0(lhs : system.Int64, rhs : system.Int64) : system.Int64 return Std.int(lhs.ToHaxeInt() / rhs.ToHaxeInt());
- @:op(A / B) public static inline function div1(lhs : system.Int64, rhs : Int) : system.Int64 return Std.int(lhs.ToHaxeInt() / rhs);
- @:op(A / B) public static inline function div2(lhs : Int, rhs : system.Int64) : system.Int64 return Std.int(lhs / rhs.ToHaxeInt());
- @:op(A / B) public static function div3(lhs : system.Int64, rhs : Float) : system.Double;
- @:op(A / B) public static function div4(lhs : Float, rhs : system.Int64) : system.Double;
-
- @:op(A / B) public static function div5(lhs : system.Int64, rhs : system.Char) : system.Int64;
- @:op(A / B) public static function div6(lhs : system.Int64, rhs : system.Byte) : system.Int64;
- @:op(A / B) public static function div7(lhs : system.Int64, rhs : system.Int16) : system.Int64;
- @:op(A / B) public static function div8(lhs : system.Int64, rhs : system.Int32) : system.Int64;
- @:op(A / B) public static function div9(lhs : system.Int64, rhs : system.Int64) : system.Int64;
- @:op(A / B) public static function div10(lhs : system.Int64, rhs : system.SByte) : system.Int64;
- @:op(A / B) public static function div11(lhs : system.Int64, rhs : system.UInt16) : system.Int64;
- @:op(A / B) public static function div12(lhs : system.Int64, rhs : system.UInt32) : system.Int64;
- // @:op(A / B) public static function div13(lhs : system.Int64, rhs : system.UInt64) : system.UInt64;
- @:op(A / B) public static function div14(lhs : system.Int64, rhs : system.Single) : system.Single;
- @:op(A / B) public static function div15(lhs : system.Int64, rhs : system.Double) : system.Double;
-
-
- @:op(A % B) public static function mod0(lhs : system.Int64, rhs : system.Int64) : system.Int64;
- @:op(A % B) public static function mod1(lhs : system.Int64, rhs : Int) : system.Int64;
- @:op(A % B) public static function mod2(lhs : Int, rhs : system.Int64) : system.Int64;
- @:op(A % B) public static function mod3(lhs : system.Int64, rhs : Float) : system.Double;
- @:op(A % B) public static function mod4(lhs : Float, rhs : system.Int64) : system.Double;
-
- @:op(A % B) public static function mod5(lhs : system.Int64, rhs : system.Char) : system.Int64;
- @:op(A % B) public static function mod6(lhs : system.Int64, rhs : system.Byte) : system.Int64;
- @:op(A % B) public static function mod7(lhs : system.Int64, rhs : system.Int16) : system.Int64;
- @:op(A % B) public static function mod8(lhs : system.Int64, rhs : system.Int32) : system.Int64;
- @:op(A % B) public static function mod9(lhs : system.Int64, rhs : system.Int64) : system.Int64;
- @:op(A % B) public static function mod10(lhs : system.Int64, rhs : system.SByte) : system.Int64;
- @:op(A % B) public static function mod11(lhs : system.Int64, rhs : system.UInt16) : system.Int64;
- @:op(A % B) public static function mod12(lhs : system.Int64, rhs : system.UInt32) : system.Int64;
- // @:op(A % B) public static function mod13(lhs : system.Int64, rhs : system.UInt64) : system.Int64;
- @:op(A % B) public static function mod14(lhs : system.Int64, rhs : system.Single) : system.Single;
- @:op(A % B) public static function mod15(lhs : system.Int64, rhs : system.Double) : system.Double;
-
-
- @:op(A + B) public static function add0(lhs : system.Int64, rhs : system.Int64) : system.Int64;
- @:op(A + B) public static function add1(lhs : system.Int64, rhs : Int) : system.Int64;
- @:op(A + B) public static function add2(lhs : Int, rhs : system.Int64) : system.Int64;
- @:op(A + B) public static function add3(lhs : system.Int64, rhs : Float) : system.Double;
- @:op(A + B) public static function add4(lhs : Float, rhs : system.Int64) : system.Double;
-
- @:op(A + B) public static function add5(lhs : system.Int64, rhs : system.Char) : system.Int64;
- @:op(A + B) public static function add6(lhs : system.Int64, rhs : system.Byte) : system.Int64;
- @:op(A + B) public static function add7(lhs : system.Int64, rhs : system.Int16) : system.Int64;
- @:op(A + B) public static function add8(lhs : system.Int64, rhs : system.Int32) : system.Int64;
- @:op(A + B) public static function add9(lhs : system.Int64, rhs : system.Int64) : system.Int64;
- @:op(A + B) public static function add10(lhs : system.Int64, rhs : system.SByte) : system.Int64;
- @:op(A + B) public static function add11(lhs : system.Int64, rhs : system.UInt16) : system.Int64;
- @:op(A + B) public static function add12(lhs : system.Int64, rhs : system.UInt32) : system.Int64;
- // @:op(A + B) public static function add13(lhs : system.Int64, rhs : system.UInt64) : system.Int64;
- @:op(A + B) public static function add14(lhs : system.Int64, rhs : system.Single) : system.Single;
- @:op(A + B) public static function add15(lhs : system.Int64, rhs : system.Double) : system.Double;
- @:op(A + B) public static inline function add16(lhs : system.Int64, rhs : system.CsString) : system.CsString return lhs.ToString() + rhs;
- @:op(A + B) public static inline function add17(lhs : system.Int64, rhs : String) : system.CsString return lhs.ToString() + rhs;
-
-
- @:op(A - B) public static function sub0(lhs : system.Int64, rhs : system.Int64) : system.Int64;
- @:op(A - B) public static function sub1(lhs : system.Int64, rhs : Int) : system.Int64;
- @:op(A - B) public static function sub2(lhs : Int, rhs : system.Int64) : system.Int64;
- @:op(A - B) public static function sub3(lhs : system.Int64, rhs : Float) : system.Double;
- @:op(A - B) public static function sub4(lhs : Float, rhs : system.Int64) : system.Double;
-
- @:op(A - B) public static function sub5(lhs : system.Int64, rhs : system.Char) : system.Int64;
- @:op(A - B) public static function sub6(lhs : system.Int64, rhs : system.Byte) : system.Int64;
- @:op(A - B) public static function sub7(lhs : system.Int64, rhs : system.Int16) : system.Int64;
- @:op(A - B) public static function sub8(lhs : system.Int64, rhs : system.Int32) : system.Int64;
- @:op(A - B) public static function sub9(lhs : system.Int64, rhs : system.Int64) : system.Int64;
- @:op(A - B) public static function sub10(lhs : system.Int64, rhs : system.SByte) : system.Int64;
- @:op(A - B) public static function sub11(lhs : system.Int64, rhs : system.UInt16) : system.Int64;
- @:op(A - B) public static function sub12(lhs : system.Int64, rhs : system.UInt32) : system.Int64;
- // @:op-A - B) public static function sub13(lhs : system.Int64, rhs : system.UInt64) : system.Int64;
- @:op(A - B) public static function sub14(lhs : system.Int64, rhs : system.Single) : system.Single;
- @:op(A - B) public static function sub15(lhs : system.Int64, rhs : system.Double) : system.Double;
-
-
- @:op(A << B) public static function shl0(lhs :system.Int64, rhs :system.Int64) :system.Int64;
- @:op(A << B) public static function shl1(lhs :system.Int64, rhs : Int) :system.Int64;
- @:op(A << B) public static function shl2(lhs : Int, rhs :system.Int64) :system.Int64;
-
- @:op(A << B) public static function shl5(lhs : system.Int64, rhs : system.Char) : system.Int64;
- @:op(A << B) public static function shl6(lhs : system.Int64, rhs : system.Byte) : system.Int64;
- @:op(A << B) public static function shl7(lhs : system.Int64, rhs : system.Int16) : system.Int64;
- @:op(A << B) public static function shl8(lhs : system.Int64, rhs : system.Int32) : system.Int64;
- // @:op(A << B) public static function shl9(lhs : system.Int64, rhs : system.Int64) : system.Int64;
- @:op(A << B) public static function shl10(lhs : system.Int64, rhs : system.SByte) : system.Int64;
- @:op(A << B) public static function shl11(lhs : system.Int64, rhs : system.UInt16) : system.Int64;
- // @:op(A << B) public static function shl12(lhs : system.Int64, rhs : system.UInt32) : system.Int64;
- // @:op-A << B) public static function shl13(lhs : system.Int64, rhs : system.UInt64) : system.Int64;
-
-
- @:op(A >> B) public static function shr0(lhs :system.Int64, rhs :system.Int64) :system.Int64;
- @:op(A >> B) public static function shr1(lhs :system.Int64, rhs : Int) :system.Int64;
- @:op(A >> B) public static function shr2(lhs : Int, rhs :system.Int64) :system.Int64;
-
- @:op(A >> B) public static function shr5(lhs : system.Int64, rhs : system.Char) : system.Int64;
- @:op(A >> B) public static function shr6(lhs : system.Int64, rhs : system.Byte) : system.Int64;
- @:op(A >> B) public static function shr7(lhs : system.Int64, rhs : system.Int16) : system.Int64;
- @:op(A >> B) public static function shr8(lhs : system.Int64, rhs : system.Int32) : system.Int64;
- // @:op(A >> B) public static function shr9(lhs : system.Int64, rhs : system.Int64) : system.Int64;
- @:op(A >> B) public static function shr10(lhs : system.Int64, rhs : system.SByte) : system.Int64;
- @:op(A >> B) public static function shr11(lhs : system.Int64, rhs : system.UInt16) : system.Int64;
- // @:op(A >> B) public static function shr12(lhs : system.Int64, rhs : system.UInt32) : system.Int64;
- // @:op-A >> B) public static function shr13(lhs : system.Int64, rhs : system.UInt64) : system.Int64;
-
-
- @:op(A > B) public static function gt0(lhs :system.Int64, rhs : system.Int64) : system.Boolean;
- @:op(A > B) public static function gt1(lhs :system.Int64, rhs : Int) : system.Boolean;
- @:op(A > B) public static function gt2(lhs : Int, rhs :system.Int64) : system.Boolean;
- @:op(A > B) public static function gt3(lhs :system.Int64, rhs : Float) : system.Boolean;
- @:op(A > B) public static function gt4(lhs : Float, rhs :system.Int64) : system.Boolean;
-
- @:op(A > B) public static function gt5(lhs : system.Int64, rhs : system.Char) : system.Boolean;
- @:op(A > B) public static function gt6(lhs : system.Int64, rhs : system.Byte) : system.Boolean;
- @:op(A > B) public static function gt7(lhs : system.Int64, rhs : system.Int16) : system.Boolean;
- @:op(A > B) public static function gt8(lhs : system.Int64, rhs : system.Int32) : system.Boolean;
- @:op(A > B) public static function gt9(lhs : system.Int64, rhs : system.Int64) : system.Boolean;
- @:op(A > B) public static function gt10(lhs : system.Int64, rhs : system.SByte) : system.Boolean;
- @:op(A > B) public static function gt11(lhs : system.Int64, rhs : system.UInt16) : system.Boolean;
- @:op(A > B) public static function gt12(lhs : system.Int64, rhs : system.UInt32) : system.Boolean;
- @:op(A > B) public static function gt13(lhs : system.Int64, rhs : system.UInt64) : system.Boolean;
- @:op(A > B) public static function gt14(lhs : system.Int64, rhs : system.Single) : system.Boolean;
- @:op(A > B) public static function gt15(lhs : system.Int64, rhs : system.Double) : system.Boolean;
-
-
- @:op(A < B) public static function lt0(lhs :system.Int64, rhs :system.Int64) : system.Boolean;
- @:op(A < B) public static function lt1(lhs :system.Int64, rhs : Int) : system.Boolean;
- @:op(A < B) public static function lt2(lhs : Int, rhs :system.Int64) : system.Boolean;
- @:op(A < B) public static function lt3(lhs :system.Int64, rhs : Float) : system.Boolean;
- @:op(A < B) public static function lt4(lhs : Float, rhs :system.Int64) : system.Boolean;
-
- @:op(A < B) public static function lt5(lhs : system.Int64, rhs : system.Char) : system.Boolean;
- @:op(A < B) public static function lt6(lhs : system.Int64, rhs : system.Byte) : system.Boolean;
- @:op(A < B) public static function lt7(lhs : system.Int64, rhs : system.Int16) : system.Boolean;
- @:op(A < B) public static function lt8(lhs : system.Int64, rhs : system.Int32) : system.Boolean;
- @:op(A < B) public static function lt9(lhs : system.Int64, rhs : system.Int64) : system.Boolean;
- @:op(A < B) public static function lt10(lhs : system.Int64, rhs : system.SByte) : system.Boolean;
- @:op(A < B) public static function lt11(lhs : system.Int64, rhs : system.UInt16) : system.Boolean;
- @:op(A < B) public static function lt12(lhs : system.Int64, rhs : system.UInt32) : system.Boolean;
- @:op(A < B) public static function lt13(lhs : system.Int64, rhs : system.UInt64) : system.Boolean;
- @:op(A < B) public static function lt14(lhs : system.Int64, rhs : system.Single) : system.Boolean;
- @:op(A < B) public static function lt15(lhs : system.Int64, rhs : system.Double) : system.Boolean;
-
-
- @:op(A >= B) public static function gte0(lhs :system.Int64, rhs :system.Int64) : system.Boolean;
- @:op(A >= B) public static function gte1(lhs :system.Int64, rhs : Int) : system.Boolean;
- @:op(A >= B) public static function gte2(lhs : Int, rhs :system.Int64) : system.Boolean;
- @:op(A >= B) public static function gte3(lhs :system.Int64, rhs : Float) : system.Boolean;
- @:op(A >= B) public static function gte4(lhs : Float, rhs :system.Int64) : system.Boolean;
-
- @:op(A >= B) public static function gte5(lhs : system.Int64, rhs : system.Char) : system.Boolean;
- @:op(A >= B) public static function gte6(lhs : system.Int64, rhs : system.Byte) : system.Boolean;
- @:op(A >= B) public static function gte7(lhs : system.Int64, rhs : system.Int16) : system.Boolean;
- @:op(A >= B) public static function gte8(lhs : system.Int64, rhs : system.Int32) : system.Boolean;
- @:op(A >= B) public static function gte9(lhs : system.Int64, rhs : system.Int64) : system.Boolean;
- @:op(A >= B) public static function gte10(lhs : system.Int64, rhs : system.SByte) : system.Boolean;
- @:op(A >= B) public static function gte11(lhs : system.Int64, rhs : system.UInt16) : system.Boolean;
- @:op(A >= B) public static function gte12(lhs : system.Int64, rhs : system.UInt32) : system.Boolean;
- @:op(A >= B) public static function gte13(lhs : system.Int64, rhs : system.UInt64) : system.Boolean;
- @:op(A >= B) public static function gte14(lhs : system.Int64, rhs : system.Single) : system.Boolean;
- @:op(A >= B) public static function gte15(lhs : system.Int64, rhs : system.Double) : system.Boolean;
-
-
- @:op(A <= B) public static function lte0(lhs :system.Int64, rhs :system.Int64) : system.Boolean;
- @:op(A <= B) public static function lte1(lhs :system.Int64, rhs : Int) : system.Boolean;
- @:op(A <= B) public static function lte2(lhs : Int, rhs :system.Int64) : system.Boolean;
- @:op(A <= B) public static function lte3(lhs :system.Int64, rhs : Float) : system.Boolean;
- @:op(A <= B) public static function lte4(lhs : Float, rhs :system.Int64) : system.Boolean;
-
- @:op(A <= B) public static function lte5(lhs : system.Int64, rhs : system.Char) : system.Boolean;
- @:op(A <= B) public static function lte6(lhs : system.Int64, rhs : system.Byte) : system.Boolean;
- @:op(A <= B) public static function lte7(lhs : system.Int64, rhs : system.Int16) : system.Boolean;
- @:op(A <= B) public static function lte8(lhs : system.Int64, rhs : system.Int32) : system.Boolean;
- @:op(A <= B) public static function lte9(lhs : system.Int64, rhs : system.Int64) : system.Boolean;
- @:op(A <= B) public static function lte10(lhs : system.Int64, rhs : system.SByte) : system.Boolean;
- @:op(A <= B) public static function lte11(lhs : system.Int64, rhs : system.UInt16) : system.Boolean;
- @:op(A <= B) public static function lte12(lhs : system.Int64, rhs : system.UInt32) : system.Boolean;
- @:op(A <= B) public static function lte13(lhs : system.Int64, rhs : system.UInt64) : system.Boolean;
- @:op(A <= B) public static function lte14(lhs : system.Int64, rhs : system.Single) : system.Boolean;
- @:op(A <= B) public static function lte15(lhs : system.Int64, rhs : system.Double) : system.Boolean;
-
-
- @:op(A == B) public static function eq0(lhs :system.Int64, rhs :system.Int64) : system.Boolean;
- @:op(A == B) public static function eq1(lhs :system.Int64, rhs : Int) : system.Boolean;
- @:op(A == B) public static function eq2(lhs : Int, rhs :system.Int64) : system.Boolean;
- @:op(A == B) public static function eq3(lhs :system.Int64, rhs : Float) : system.Boolean;
- @:op(A == B) public static function eq4(lhs : Float, rhs :system.Int64) : system.Boolean;
-
- @:op(A == B) public static function eq5(lhs : system.Int64, rhs : system.Char) : system.Boolean;
- @:op(A == B) public static function eq6(lhs : system.Int64, rhs : system.Byte) : system.Boolean;
- @:op(A == B) public static function eq7(lhs : system.Int64, rhs : system.Int16) : system.Boolean;
- @:op(A == B) public static function eq8(lhs : system.Int64, rhs : system.Int32) : system.Boolean;
- @:op(A == B) public static function eq9(lhs : system.Int64, rhs : system.Int64) : system.Boolean;
- @:op(A == B) public static function eq10(lhs : system.Int64, rhs : system.SByte) : system.Boolean;
- @:op(A == B) public static function eq11(lhs : system.Int64, rhs : system.UInt16) : system.Boolean;
- @:op(A == B) public static function eq12(lhs : system.Int64, rhs : system.UInt32) : system.Boolean;
- @:op(A == B) public static function eq13(lhs : system.Int64, rhs : system.UInt64) : system.Boolean;
- @:op(A == B) public static function eq14(lhs : system.Int64, rhs : system.Single) : system.Boolean;
- @:op(A == B) public static function eq15(lhs : system.Int64, rhs : system.Double) : system.Boolean;
-
-
- @:op(A != B) public static function neq0(lhs :system.Int64, rhs :system.Int64) : system.Boolean;
- @:op(A != B) public static function neq1(lhs :system.Int64, rhs : Int) : system.Boolean;
- @:op(A != B) public static function neq2(lhs : Int, rhs :system.Int64) : system.Boolean;
- @:op(A != B) public static function neq3(lhs :system.Int64, rhs : Float) : system.Boolean;
- @:op(A != B) public static function neq4(lhs : Float, rhs :system.Int64) : system.Boolean;
-
- @:op(A != B) public static function neq5(lhs : system.Int64, rhs : system.Char) : system.Boolean;
- @:op(A != B) public static function neq6(lhs : system.Int64, rhs : system.Byte) : system.Boolean;
- @:op(A != B) public static function neq7(lhs : system.Int64, rhs : system.Int16) : system.Boolean;
- @:op(A != B) public static function neq8(lhs : system.Int64, rhs : system.Int32) : system.Boolean;
- @:op(A != B) public static function neq9(lhs : system.Int64, rhs : system.Int64) : system.Boolean;
- @:op(A != B) public static function neq10(lhs : system.Int64, rhs : system.SByte) : system.Boolean;
- @:op(A != B) public static function neq11(lhs : system.Int64, rhs : system.UInt16) : system.Boolean;
- @:op(A != B) public static function neq12(lhs : system.Int64, rhs : system.UInt32) : system.Boolean;
- @:op(A != B) public static function neq13(lhs : system.Int64, rhs : system.UInt64) : system.Boolean;
- @:op(A != B) public static function neq14(lhs : system.Int64, rhs : system.Single) : system.Boolean;
- @:op(A != B) public static function neq15(lhs : system.Int64, rhs : system.Double) : system.Boolean;
-
-
- @:op(A & B) public static function and0(lhs :system.Int64, rhs :system.Int64) :system.Int64;
- @:op(A & B) public static function and1(lhs :system.Int64, rhs : Int) :system.Int64;
- @:op(A & B) public static function and2(lhs : Int, rhs :system.Int64) :system.Int64;
-
- @:op(A & B) public static function and5(lhs : system.Int64, rhs : system.Char) : system.Int64;
- @:op(A & B) public static function and6(lhs : system.Int64, rhs : system.Byte) : system.Int64;
- @:op(A & B) public static function and7(lhs : system.Int64, rhs : system.Int16) : system.Int64;
- @:op(A & B) public static function and8(lhs : system.Int64, rhs : system.Int32) : system.Int64;
- @:op(A & B) public static function and9(lhs : system.Int64, rhs : system.Int64) : system.Int64;
- @:op(A & B) public static function and10(lhs : system.Int64, rhs : system.SByte) : system.Int64;
- @:op(A & B) public static function and11(lhs : system.Int64, rhs : system.UInt16) : system.Int64;
- @:op(A & B) public static function and12(lhs : system.Int64, rhs : system.UInt32) : system.Int64;
- //@:op(A & B) public static function and13(lhs : system.Int64, rhs : system.UInt64) : system.Int64;
-
-
- @:op(A | B) public static function or0(lhs :system.Int64, rhs :system.Int64) :system.Int64;
- @:op(A | B) public static function or1(lhs :system.Int64, rhs : Int) :system.Int64;
- @:op(A | B) public static function or2(lhs : Int, rhs :system.Int64) :system.Int64;
-
- @:op(A | B) public static function or5(lhs : system.Int64, rhs : system.Char) : system.Int64;
- @:op(A | B) public static function or6(lhs : system.Int64, rhs : system.Byte) : system.Int64;
- @:op(A | B) public static function or7(lhs : system.Int64, rhs : system.Int16) : system.Int64;
- @:op(A | B) public static function or8(lhs : system.Int64, rhs : system.Int32) : system.Int64;
- @:op(A | B) public static function or9(lhs : system.Int64, rhs : system.Int64) : system.Int64;
- @:op(A | B) public static function or10(lhs : system.Int64, rhs : system.SByte) : system.Int64;
- @:op(A | B) public static function or11(lhs : system.Int64, rhs : system.UInt16) : system.Int64;
- @:op(A | B) public static function or12(lhs : system.Int64, rhs : system.UInt32) : system.Int64;
- //@:op(A | B) public static function or13(lhs : system.Int64, rhs : system.UInt64) : system.UInt64;
-
- @:op(A ^ B) public static function xor0(lhs :system.Int64, rhs : system.Int64) :system.Int64;
- @:op(A ^ B) public static function xor1(lhs :system.Int64, rhs : Int) :system.Int64;
- @:op(A ^ B) public static function xor2(lhs : Int, rhs :system.Int64) :system.Int64;
-
- @:op(A ^ B) public static function xor5(lhs : system.Int64, rhs : system.Char) : system.Int64;
- @:op(A ^ B) public static function xor6(lhs : system.Int64, rhs : system.Byte) : system.Int64;
- @:op(A ^ B) public static function xor7(lhs : system.Int64, rhs : system.Int16) : system.Int64;
- @:op(A ^ B) public static function xor8(lhs : system.Int64, rhs : system.Int32) : system.Int64;
- @:op(A ^ B) public static function xor9(lhs : system.Int64, rhs : system.Int64) : system.Int64;
- @:op(A ^ B) public static function xor10(lhs : system.Int64, rhs : system.SByte) : system.Int64;
- @:op(A ^ B) public static function xor11(lhs : system.Int64, rhs : system.UInt16) : system.Int64;
- @:op(A ^ B) public static function xor12(lhs : system.Int64, rhs : system.UInt32) : system.Int64;
- //@:op(A ^ B) public static function xor13(lhs : system.Int64, rhs : system.UInt64) : system.UInt64;
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/Int64Array.hx b/Phase/Mscorlib/system/Int64Array.hx
deleted file mode 100644
index 1afeea79b..000000000
--- a/Phase/Mscorlib/system/Int64Array.hx
+++ /dev/null
@@ -1,21 +0,0 @@
-package system;
-
-abstract Int64Array(js.html.Int32Array)
-{
- public inline function new(length:Int32) this = new js.html.Int32Array(length.ToHaxeInt());
-
- @:from public static inline function fromArray(a:Array):Int64Array return cast new js.html.Int32Array(untyped a);
- @:from public static inline function fromFixedArray(a:FixedArray):Int64Array return cast new js.html.Int32Array(untyped a.ToHaxeArray());
-
- public var Length(get, never):Int32;
- public inline function get_Length() : Int32 return this.length;
-
- @:op([]) public inline function get(index:Int32):Int64 return this[index.ToHaxeInt()];
- @:op([]) public inline function set(index:Int32, val:Int64):Int64 return this[index.ToHaxeInt()] = val.ToHaxeFloat();
-
- public inline function iterator() : Iterator return new Int64ArrayIterator(this);
-
- public inline function ToEnumerable() : system.collections.generic.IEnumerable return new Int64ArrayEnumerable(this);
-
- public static inline function empty(size:Int32) return new Int64Array(size);
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/Int64ArrayEnumerable.hx b/Phase/Mscorlib/system/Int64ArrayEnumerable.hx
deleted file mode 100644
index 40da6eb91..000000000
--- a/Phase/Mscorlib/system/Int64ArrayEnumerable.hx
+++ /dev/null
@@ -1,18 +0,0 @@
-package system;
-
-import system.collections.generic.IEnumerable;
-import system.collections.generic.IEnumerator;
-
-class Int64ArrayEnumerable implements IEnumerable
-{
- private var _array:js.html.Int32Array;
- public function new(array:js.html.Int32Array)
- {
- _array= array;
- }
-
- public function GetEnumerator() : IEnumerator
- {
- return new Int64ArrayEnumerator(_array);
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/Int64ArrayEnumerator.hx b/Phase/Mscorlib/system/Int64ArrayEnumerator.hx
deleted file mode 100644
index 14f6757ac..000000000
--- a/Phase/Mscorlib/system/Int64ArrayEnumerator.hx
+++ /dev/null
@@ -1,29 +0,0 @@
-package system;
-
-import system.collections.generic.IEnumerator;
-
-class Int64ArrayEnumerator implements IEnumerator
-{
- private var _array:js.html.Int32Array;
- private var _i:Int;
-
- public function new(array:js.html.Int32Array)
- {
- _array = array;
- _i = -1;
- }
-
- public var Current(get, never):Int64;
- public function get_Current() : Int64 return _array[_i];
- public function MoveNext() : Bool
- {
- if(_i >= _array.length - 1) return false;
- _i++;
- return true;
-
- }
- public function Reset():Void
- {
- _i = -1;
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/Int64ArrayIterator.hx b/Phase/Mscorlib/system/Int64ArrayIterator.hx
deleted file mode 100644
index 36d984acb..000000000
--- a/Phase/Mscorlib/system/Int64ArrayIterator.hx
+++ /dev/null
@@ -1,19 +0,0 @@
-package system;
-
-class Int64ArrayIterator
-{
- private var _array:js.html.Int32Array;
- private var _i:Int;
-
- public function new(array:js.html.Int32Array)
- {
- _array = array;
- _i = 0;
- }
-
- public function hasNext() return _i < _array.length;
- public function next() : Int64
- {
- return _array[_i++];
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/InvalidCastException.hx b/Phase/Mscorlib/system/InvalidCastException.hx
deleted file mode 100644
index 9279c42ef..000000000
--- a/Phase/Mscorlib/system/InvalidCastException.hx
+++ /dev/null
@@ -1,10 +0,0 @@
-package system;
-
-class InvalidCastException extends Exception
-{
- public function new(message:String = "")
- {
- super();
- Exception_CsString(message);
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/Nullable.hx b/Phase/Mscorlib/system/Nullable.hx
deleted file mode 100644
index 84ba532e2..000000000
--- a/Phase/Mscorlib/system/Nullable.hx
+++ /dev/null
@@ -1,9 +0,0 @@
-package system;
-
-abstract Nullable(Null) from T
-{
- public inline function new(t:T) this = t;
-
- public var Value(get, never):T;
- public inline function get_Value() : T return this;
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/Object.hx b/Phase/Mscorlib/system/Object.hx
deleted file mode 100644
index bc07599b8..000000000
--- a/Phase/Mscorlib/system/Object.hx
+++ /dev/null
@@ -1,3 +0,0 @@
-package system;
-
-typedef Object = Any;
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/ObjectExtensions.hx b/Phase/Mscorlib/system/ObjectExtensions.hx
deleted file mode 100644
index 1f0d1587e..000000000
--- a/Phase/Mscorlib/system/ObjectExtensions.hx
+++ /dev/null
@@ -1,26 +0,0 @@
-package system;
-
-class ObjectExtensions
-{
- public static inline function ToString(v:system.Object) : CsString return Std.string(v);
- public static inline function ReferenceEquals(a:system.Object, b:system.Object) : system.Boolean return a == b;
- public static inline function GetType(a:T) : system.CsType return new system.CsType(Type.getClass(a));
-
- public static function Equals_Object(left:T1, right:T2) : Bool
- {
- var equals = Reflect.field(left, "Equals");
- if(equals == null)
- {
- equals = Reflect.field(left, "Equals_Object");
- }
-
- if(equals != null)
- {
- return Reflect.callMethod(left, cast equals, [right]);
- }
- else
- {
- return untyped left == untyped right;
- }
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/OverflowException.hx b/Phase/Mscorlib/system/OverflowException.hx
deleted file mode 100644
index d887640b2..000000000
--- a/Phase/Mscorlib/system/OverflowException.hx
+++ /dev/null
@@ -1,10 +0,0 @@
-package system;
-
-class OverflowException extends Exception
-{
- public function new(message:String = "")
- {
- super();
- Exception_CsString(message);
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/SByte.hx b/Phase/Mscorlib/system/SByte.hx
deleted file mode 100644
index 98607b0cb..000000000
--- a/Phase/Mscorlib/system/SByte.hx
+++ /dev/null
@@ -1,319 +0,0 @@
-package system;
-
-
-abstract SByte(Int) from Int
-{
- public inline function new(i:Int) this = system.Convert.ToInt8(i);
-
- public inline function ToHaxeInt(): Int return this;
- public inline function ToString() : system.CsString return Std.string(this);
-
- public inline function ToBoolean_IFormatProvider(provider:IFormatProvider) : system.Boolean return system.Convert.ToBoolean_SByte(this);
- public inline function ToChar_IFormatProvider(provider:IFormatProvider) : system.Char return system.Convert.ToChar_SByte(this);
- public inline function ToSByte_IFormatProvider(provider:IFormatProvider) : system.SByte return system.Convert.ToSByte_SByte(this);
- public inline function ToByte_IFormatProvider(provider:IFormatProvider) : system.Byte return system.Convert.ToByte_SByte(this);
- public inline function ToInt16_IFormatProvider(provider:IFormatProvider) : system.Int16 return system.Convert.ToInt16_SByte(this);
- public inline function ToUInt16_IFormatProvider(provider:IFormatProvider) : system.UInt16 return system.Convert.ToUInt16_SByte(this);
- public inline function ToInt32_IFormatProvider(provider:IFormatProvider) : system.Int32 return system.Convert.ToInt32_SByte(this);
- public inline function ToUInt32_IFormatProvider(provider:IFormatProvider) : system.UInt32 return system.Convert.ToUInt32_SByte(this);
- public inline function ToInt64_IFormatProvider(provider:IFormatProvider) : system.Int64 return system.Convert.ToInt64_SByte(this);
- public inline function ToUInt64_IFormatProvider(provider:IFormatProvider) : system.UInt64 return system.Convert.ToUInt64_SByte(this);
- public inline function ToSingle_IFormatProvider(provider:IFormatProvider) : system.Single return system.Convert.ToSingle_SByte(this);
- public inline function ToDouble_IFormatProvider(provider:IFormatProvider) : system.Double return system.Convert.ToDouble_SByte(this);
-
- public inline function GetHashCode() : system.Int32 return this ^ (this << 8);
-
- @:op(-A) public inline function neg() : Int return -this;
-
- @:op(~A)public inline function not() : Int return ~this;
-
- @:op(A++)public inline function postinc() : system.SByte return this++;
- @:op(++A)public inline function preinc() : system.SByte return ++this;
-
- @:op(A--)public inline function postdec() : system.SByte return this--;
- @:op(--A)public inline function predec() : system.SByte return --this;
-
- @:op(A * B) public static function mul0(lhs : system.SByte, rhs : system.SByte) : system.Int32;
- @:op(A * B) public static function mul1(lhs : system.SByte, rhs : Int) : system.Int32;
- @:op(A * B) public static function mul2(lhs : Int, rhs : system.SByte) : system.Int32;
- @:op(A * B) public static function mul3(lhs : system.SByte, rhs : Float) : system.Double;
- @:op(A * B) public static function mul4(lhs : Float, rhs : system.SByte) : system.Double;
-
- @:op(A * B) public static function mul5(lhs : system.SByte, rhs : system.Char) : system.Int32;
- @:op(A * B) public static function mul6(lhs : system.SByte, rhs : system.Byte) : system.Int32;
- @:op(A * B) public static function mul7(lhs : system.SByte, rhs : system.Int16) : system.Int32;
- @:op(A * B) public static function mul8(lhs : system.SByte, rhs : system.Int32) : system.Int32;
- @:op(A * B) public static function mul9(lhs : system.SByte, rhs : system.Int64) : system.Int64;
- @:op(A * B) public static function mul10(lhs : system.SByte, rhs : system.SByte) : system.Int32;
- @:op(A * B) public static function mul11(lhs : system.SByte, rhs : system.UInt16) : system.Int32;
- @:op(A * B) public static function mul12(lhs : system.SByte, rhs : system.UInt32) : system.Int64;
- // @:op(A * B) public static function mul13(lhs : system.SByte, rhs : system.UInt64) : system.UInt64;
- @:op(A * B) public static function mul14(lhs : system.SByte, rhs : system.Single) : system.Single;
- @:op(A * B) public static function mul15(lhs : system.SByte, rhs : system.Double) : system.Double;
-
-
- @:op(A / B) public static inline function div0(lhs : system.SByte, rhs : system.SByte) : system.Int32 return Std.int(lhs.ToHaxeInt() / rhs.ToHaxeInt());
- @:op(A / B) public static inline function div1(lhs : system.SByte, rhs : Int) : system.Int32 return Std.int(lhs.ToHaxeInt() / rhs);
- @:op(A / B) public static inline function div2(lhs : Int, rhs : system.SByte) : system.Int32 return Std.int(lhs / rhs.ToHaxeInt());
- @:op(A / B) public static function div3(lhs : system.SByte, rhs : Float) : system.Double;
- @:op(A / B) public static function div4(lhs : Float, rhs : system.SByte) : system.Double;
-
- @:op(A / B) public static function div5(lhs : system.SByte, rhs : system.Char) : system.Int32;
- @:op(A / B) public static function div6(lhs : system.SByte, rhs : system.Byte) : system.Int32;
- @:op(A / B) public static function div7(lhs : system.SByte, rhs : system.Int16) : system.Int32;
- @:op(A / B) public static function div8(lhs : system.SByte, rhs : system.Int32) : system.Int32;
- @:op(A / B) public static function div9(lhs : system.SByte, rhs : system.Int64) : system.Int64;
- @:op(A / B) public static function div10(lhs : system.SByte, rhs : system.SByte) : system.Int32;
- @:op(A / B) public static function div11(lhs : system.SByte, rhs : system.UInt16) : system.Int32;
- @:op(A / B) public static function div12(lhs : system.SByte, rhs : system.UInt32) : system.Int64;
- // @:op(A / B) public static function div13(lhs : system.SByte, rhs : system.UInt64) : system.UInt64;
- @:op(A / B) public static function div14(lhs : system.SByte, rhs : system.Single) : system.Single;
- @:op(A / B) public static function div15(lhs : system.SByte, rhs : system.Double) : system.Double;
-
-
- @:op(A % B) public static function mod0(lhs : system.SByte, rhs : system.SByte) : system.Int32;
- @:op(A % B) public static function mod1(lhs : system.SByte, rhs : Int) : system.Int32;
- @:op(A % B) public static function mod2(lhs : Int, rhs : system.SByte) : system.Int32;
- @:op(A % B) public static function mod3(lhs : system.SByte, rhs : Float) : system.Double;
- @:op(A % B) public static function mod4(lhs : Float, rhs : system.SByte) : system.Double;
-
- @:op(A % B) public static function mod5(lhs : system.SByte, rhs : system.Char) : system.Int32;
- @:op(A % B) public static function mod6(lhs : system.SByte, rhs : system.Byte) : system.Int32;
- @:op(A % B) public static function mod7(lhs : system.SByte, rhs : system.Int16) : system.Int32;
- @:op(A % B) public static function mod8(lhs : system.SByte, rhs : system.Int32) : system.Int32;
- @:op(A % B) public static function mod9(lhs : system.SByte, rhs : system.Int64) : system.Int64;
- @:op(A % B) public static function mod10(lhs : system.SByte, rhs : system.SByte) : system.Int32;
- @:op(A % B) public static function mod11(lhs : system.SByte, rhs : system.UInt16) : system.Int32;
- @:op(A % B) public static function mod12(lhs : system.SByte, rhs : system.UInt32) : system.Int64;
- // @:op(A % B) public static function mod13(lhs : system.SByte, rhs : system.UInt64) : system.UInt64;
- @:op(A % B) public static function mod14(lhs : system.SByte, rhs : system.Single) : system.Single;
- @:op(A % B) public static function mod15(lhs : system.SByte, rhs : system.Double) : system.Double;
-
-
- @:op(A + B) public static function add0(lhs : system.SByte, rhs : system.SByte) : system.Int32;
- @:op(A + B) public static function add1(lhs : system.SByte, rhs : Int) : system.Int32;
- @:op(A + B) public static function add2(lhs : Int, rhs : system.SByte) : system.Int32;
- @:op(A + B) public static function add3(lhs : system.SByte, rhs : Float) : system.Double;
- @:op(A + B) public static function add4(lhs : Float, rhs : system.SByte) : system.Double;
-
- @:op(A + B) public static function add5(lhs : system.SByte, rhs : system.Char) : system.Int32;
- @:op(A + B) public static function add6(lhs : system.SByte, rhs : system.Byte) : system.Int32;
- @:op(A + B) public static function add7(lhs : system.SByte, rhs : system.Int16) : system.Int32;
- @:op(A + B) public static function add8(lhs : system.SByte, rhs : system.Int32) : system.Int32;
- @:op(A + B) public static function add9(lhs : system.SByte, rhs : system.Int64) : system.Int64;
- @:op(A + B) public static function add10(lhs : system.SByte, rhs : system.SByte) : system.Int32;
- @:op(A + B) public static function add11(lhs : system.SByte, rhs : system.UInt16) : system.Int32;
- @:op(A + B) public static function add12(lhs : system.SByte, rhs : system.UInt32) : system.Int64;
- // @:op(A + B) public static function add13(lhs : system.SByte, rhs : system.UInt64) : system.UInt64;
- @:op(A + B) public static function add14(lhs : system.SByte, rhs : system.Single) : system.Single;
- @:op(A + B) public static function add15(lhs : system.SByte, rhs : system.Double) : system.Double;
- @:op(A + B) public static inline function add16(lhs : system.SByte, rhs : system.CsString) : system.CsString return lhs.ToString() + rhs;
- @:op(A + B) public static inline function add17(lhs : system.SByte, rhs : String) : system.CsString return lhs.ToString() + rhs;
-
-
- @:op(A - B) public static function sub0(lhs : system.SByte, rhs : system.SByte) : system.Int32;
- @:op(A - B) public static function sub1(lhs : system.SByte, rhs : Int) : system.Int32;
- @:op(A - B) public static function sub2(lhs : Int, rhs : system.SByte) : system.Int32;
- @:op(A - B) public static function sub3(lhs : system.SByte, rhs : Float) : system.Double;
- @:op(A - B) public static function sub4(lhs : Float, rhs : system.SByte) : system.Double;
-
- @:op(A - B) public static function sub5(lhs : system.SByte, rhs : system.Char) : system.Int32;
- @:op(A - B) public static function sub6(lhs : system.SByte, rhs : system.Byte) : system.Int32;
- @:op(A - B) public static function sub7(lhs : system.SByte, rhs : system.Int16) : system.Int32;
- @:op(A - B) public static function sub8(lhs : system.SByte, rhs : system.Int32) : system.Int32;
- @:op(A - B) public static function sub9(lhs : system.SByte, rhs : system.Int64) : system.Int64;
- @:op(A - B) public static function sub10(lhs : system.SByte, rhs : system.SByte) : system.Int32;
- @:op(A - B) public static function sub11(lhs : system.SByte, rhs : system.UInt16) : system.Int32;
- @:op(A - B) public static function sub12(lhs : system.SByte, rhs : system.UInt32) : system.Int64;
- // @:op-A - B) public static function sub13(lhs : system.SByte, rhs : system.UInt64) : system.UInt64;
- @:op(A - B) public static function sub14(lhs : system.SByte, rhs : system.Single) : system.Single;
- @:op(A - B) public static function sub15(lhs : system.SByte, rhs : system.Double) : system.Double;
-
-
- @:op(A << B) public static function shl0(lhs : system.SByte, rhs : system.SByte) : system.Int32;
- @:op(A << B) public static function shl1(lhs : system.SByte, rhs : Int) : system.Int32;
- @:op(A << B) public static function shl2(lhs : Int, rhs : system.SByte) : system.Int32;
-
- @:op(A << B) public static function shl5(lhs : system.SByte, rhs : system.Char) : system.Int32;
- @:op(A << B) public static function shl6(lhs : system.SByte, rhs : system.Byte) : system.Int32;
- @:op(A << B) public static function shl7(lhs : system.SByte, rhs : system.Int16) : system.Int32;
- @:op(A << B) public static function shl8(lhs : system.SByte, rhs : system.Int32) : system.Int32;
- // @:op(A << B) public static function shl9(lhs : system.SByte, rhs : system.Int64) : system.Int64;
- @:op(A << B) public static function shl10(lhs : system.SByte, rhs : system.SByte) : system.Int32;
- @:op(A << B) public static function shl11(lhs : system.SByte, rhs : system.UInt16) : system.Int32;
- // @:op(A << B) public static function shl12(lhs : system.SByte, rhs : system.UInt32) : system.Int64;
- // @:op-A << B) public static function shl13(lhs : system.SByte, rhs : system.UInt64) : system.UInt64;
-
- @:op(A >> B) public static function shr0(lhs : system.SByte, rhs : system.SByte) : system.Int32;
- @:op(A >> B) public static function shr1(lhs : system.SByte, rhs : Int) : system.Int32;
- @:op(A >> B) public static function shr2(lhs : Int, rhs : system.SByte) : system.Int32;
-
- @:op(A >> B) public static function shr5(lhs : system.SByte, rhs : system.Char) : system.Int32;
- @:op(A >> B) public static function shr6(lhs : system.SByte, rhs : system.Byte) : system.Int32;
- @:op(A >> B) public static function shr7(lhs : system.SByte, rhs : system.Int16) : system.Int32;
- @:op(A >> B) public static function shr8(lhs : system.SByte, rhs : system.Int32) : system.Int32;
- // @:op(A >> B) public static function shr9(lhs : system.SByte, rhs : system.Int64) : system.Int64;
- @:op(A >> B) public static function shr10(lhs : system.SByte, rhs : system.SByte) : system.Int32;
- @:op(A >> B) public static function shr11(lhs : system.SByte, rhs : system.UInt16) : system.Int32;
- // @:op(A >> B) public static function shr12(lhs : system.SByte, rhs : system.UInt32) : system.Int64;
- // @:op-A >> B) public static function shr13(lhs : system.SByte, rhs : system.UInt64) : system.UInt64;
-
-
- @:op(A > B) public static function gt0(lhs : system.SByte, rhs : system.SByte) : system.Boolean;
- @:op(A > B) public static function gt1(lhs : system.SByte, rhs : Int) : system.Boolean;
- @:op(A > B) public static function gt2(lhs : Int, rhs : system.SByte) : system.Boolean;
- @:op(A > B) public static function gt3(lhs : system.SByte, rhs : Float) : system.Boolean;
- @:op(A > B) public static function gt4(lhs : Float, rhs : system.SByte) : system.Boolean;
-
- @:op(A > B) public static function gt5(lhs : system.SByte, rhs : system.Char) : system.Boolean;
- @:op(A > B) public static function gt6(lhs : system.SByte, rhs : system.Byte) : system.Boolean;
- @:op(A > B) public static function gt7(lhs : system.SByte, rhs : system.Int16) : system.Boolean;
- @:op(A > B) public static function gt8(lhs : system.SByte, rhs : system.Int32) : system.Boolean;
- @:op(A > B) public static function gt9(lhs : system.SByte, rhs : system.Int64) : system.Boolean;
- @:op(A > B) public static function gt10(lhs : system.SByte, rhs : system.SByte) : system.Boolean;
- @:op(A > B) public static function gt11(lhs : system.SByte, rhs : system.UInt16) : system.Boolean;
- @:op(A > B) public static function gt12(lhs : system.SByte, rhs : system.UInt32) : system.Boolean;
- @:op(A > B) public static function gt13(lhs : system.SByte, rhs : system.UInt64) : system.Boolean;
- @:op(A > B) public static function gt14(lhs : system.SByte, rhs : system.Single) : system.Boolean;
- @:op(A > B) public static function gt15(lhs : system.SByte, rhs : system.Double) : system.Boolean;
-
-
- @:op(A < B) public static function lt0(lhs : system.SByte, rhs : system.SByte) : system.Boolean;
- @:op(A < B) public static function lt1(lhs : system.SByte, rhs : Int) : system.Boolean;
- @:op(A < B) public static function lt2(lhs : Int, rhs : system.SByte) : system.Boolean;
- @:op(A < B) public static function lt3(lhs : system.SByte, rhs : Float) : system.Boolean;
- @:op(A < B) public static function lt4(lhs : Float, rhs : system.SByte) : system.Boolean;
-
- @:op(A < B) public static function lt5(lhs : system.SByte, rhs : system.Char) : system.Boolean;
- @:op(A < B) public static function lt6(lhs : system.SByte, rhs : system.Byte) : system.Boolean;
- @:op(A < B) public static function lt7(lhs : system.SByte, rhs : system.Int16) : system.Boolean;
- @:op(A < B) public static function lt8(lhs : system.SByte, rhs : system.Int32) : system.Boolean;
- @:op(A < B) public static function lt9(lhs : system.SByte, rhs : system.Int64) : system.Boolean;
- @:op(A < B) public static function lt10(lhs : system.SByte, rhs : system.SByte) : system.Boolean;
- @:op(A < B) public static function lt11(lhs : system.SByte, rhs : system.UInt16) : system.Boolean;
- @:op(A < B) public static function lt12(lhs : system.SByte, rhs : system.UInt32) : system.Boolean;
- @:op(A < B) public static function lt13(lhs : system.SByte, rhs : system.UInt64) : system.Boolean;
- @:op(A < B) public static function lt14(lhs : system.SByte, rhs : system.Single) : system.Boolean;
- @:op(A < B) public static function lt15(lhs : system.SByte, rhs : system.Double) : system.Boolean;
-
-
- @:op(A >= B) public static function gte0(lhs : system.SByte, rhs : system.SByte) : system.Boolean;
- @:op(A >= B) public static function gte1(lhs : system.SByte, rhs : Int) : system.Boolean;
- @:op(A >= B) public static function gte2(lhs : Int, rhs : system.SByte) : system.Boolean;
- @:op(A >= B) public static function gte3(lhs : system.SByte, rhs : Float) : system.Boolean;
- @:op(A >= B) public static function gte4(lhs : Float, rhs : system.SByte) : system.Boolean;
-
- @:op(A >= B) public static function gte5(lhs : system.SByte, rhs : system.Char) : system.Boolean;
- @:op(A >= B) public static function gte6(lhs : system.SByte, rhs : system.Byte) : system.Boolean;
- @:op(A >= B) public static function gte7(lhs : system.SByte, rhs : system.Int16) : system.Boolean;
- @:op(A >= B) public static function gte8(lhs : system.SByte, rhs : system.Int32) : system.Boolean;
- @:op(A >= B) public static function gte9(lhs : system.SByte, rhs : system.Int64) : system.Boolean;
- @:op(A >= B) public static function gte10(lhs : system.SByte, rhs : system.SByte) : system.Boolean;
- @:op(A >= B) public static function gte11(lhs : system.SByte, rhs : system.UInt16) : system.Boolean;
- @:op(A >= B) public static function gte12(lhs : system.SByte, rhs : system.UInt32) : system.Boolean;
- @:op(A >= B) public static function gte13(lhs : system.SByte, rhs : system.UInt64) : system.Boolean;
- @:op(A >= B) public static function gte14(lhs : system.SByte, rhs : system.Single) : system.Boolean;
- @:op(A >= B) public static function gte15(lhs : system.SByte, rhs : system.Double) : system.Boolean;
-
-
- @:op(A <= B) public static function lte0(lhs : system.SByte, rhs : system.SByte) : system.Boolean;
- @:op(A <= B) public static function lte1(lhs : system.SByte, rhs : Int) : system.Boolean;
- @:op(A <= B) public static function lte2(lhs : Int, rhs : system.SByte) : system.Boolean;
- @:op(A <= B) public static function lte3(lhs : system.SByte, rhs : Float) : system.Boolean;
- @:op(A <= B) public static function lte4(lhs : Float, rhs : system.SByte) : system.Boolean;
-
- @:op(A <= B) public static function lte5(lhs : system.SByte, rhs : system.Char) : system.Boolean;
- @:op(A <= B) public static function lte6(lhs : system.SByte, rhs : system.Byte) : system.Boolean;
- @:op(A <= B) public static function lte7(lhs : system.SByte, rhs : system.Int16) : system.Boolean;
- @:op(A <= B) public static function lte8(lhs : system.SByte, rhs : system.Int32) : system.Boolean;
- @:op(A <= B) public static function lte9(lhs : system.SByte, rhs : system.Int64) : system.Boolean;
- @:op(A <= B) public static function lte10(lhs : system.SByte, rhs : system.SByte) : system.Boolean;
- @:op(A <= B) public static function lte11(lhs : system.SByte, rhs : system.UInt16) : system.Boolean;
- @:op(A <= B) public static function lte12(lhs : system.SByte, rhs : system.UInt32) : system.Boolean;
- @:op(A <= B) public static function lte13(lhs : system.SByte, rhs : system.UInt64) : system.Boolean;
- @:op(A <= B) public static function lte14(lhs : system.SByte, rhs : system.Single) : system.Boolean;
- @:op(A <= B) public static function lte15(lhs : system.SByte, rhs : system.Double) : system.Boolean;
-
-
- @:op(A == B) public static function eq0(lhs : system.SByte, rhs : system.SByte) : system.Boolean;
- @:op(A == B) public static function eq1(lhs : system.SByte, rhs : Int) : system.Boolean;
- @:op(A == B) public static function eq2(lhs : Int, rhs : system.SByte) : system.Boolean;
- @:op(A == B) public static function eq3(lhs : system.SByte, rhs : Float) : system.Boolean;
- @:op(A == B) public static function eq4(lhs : Float, rhs : system.SByte) : system.Boolean;
-
- @:op(A == B) public static function eq5(lhs : system.SByte, rhs : system.Char) : system.Boolean;
- @:op(A == B) public static function eq6(lhs : system.SByte, rhs : system.Byte) : system.Boolean;
- @:op(A == B) public static function eq7(lhs : system.SByte, rhs : system.Int16) : system.Boolean;
- @:op(A == B) public static function eq8(lhs : system.SByte, rhs : system.Int32) : system.Boolean;
- @:op(A == B) public static function eq9(lhs : system.SByte, rhs : system.Int64) : system.Boolean;
- @:op(A == B) public static function eq10(lhs : system.SByte, rhs : system.SByte) : system.Boolean;
- @:op(A == B) public static function eq11(lhs : system.SByte, rhs : system.UInt16) : system.Boolean;
- @:op(A == B) public static function eq12(lhs : system.SByte, rhs : system.UInt32) : system.Boolean;
- @:op(A == B) public static function eq13(lhs : system.SByte, rhs : system.UInt64) : system.Boolean;
- @:op(A == B) public static function eq14(lhs : system.SByte, rhs : system.Single) : system.Boolean;
- @:op(A == B) public static function eq15(lhs : system.SByte, rhs : system.Double) : system.Boolean;
-
-
- @:op(A != B) public static function neq0(lhs : system.SByte, rhs : system.SByte) : system.Boolean;
- @:op(A != B) public static function neq1(lhs : system.SByte, rhs : Int) : system.Boolean;
- @:op(A != B) public static function neq2(lhs : Int, rhs : system.SByte) : system.Boolean;
- @:op(A != B) public static function neq3(lhs : system.SByte, rhs : Float) : system.Boolean;
- @:op(A != B) public static function neq4(lhs : Float, rhs : system.SByte) : system.Boolean;
-
- @:op(A != B) public static function neq5(lhs : system.SByte, rhs : system.Char) : system.Boolean;
- @:op(A != B) public static function neq6(lhs : system.SByte, rhs : system.Byte) : system.Boolean;
- @:op(A != B) public static function neq7(lhs : system.SByte, rhs : system.Int16) : system.Boolean;
- @:op(A != B) public static function neq8(lhs : system.SByte, rhs : system.Int32) : system.Boolean;
- @:op(A != B) public static function neq9(lhs : system.SByte, rhs : system.Int64) : system.Boolean;
- @:op(A != B) public static function neq10(lhs : system.SByte, rhs : system.SByte) : system.Boolean;
- @:op(A != B) public static function neq11(lhs : system.SByte, rhs : system.UInt16) : system.Boolean;
- @:op(A != B) public static function neq12(lhs : system.SByte, rhs : system.UInt32) : system.Boolean;
- @:op(A != B) public static function neq13(lhs : system.SByte, rhs : system.UInt64) : system.Boolean;
- @:op(A != B) public static function neq14(lhs : system.SByte, rhs : system.Single) : system.Boolean;
- @:op(A != B) public static function neq15(lhs : system.SByte, rhs : system.Double) : system.Boolean;
-
-
- @:op(A & B) public static function and0(lhs : system.SByte, rhs : system.SByte) : system.Int32;
- @:op(A & B) public static function and1(lhs : system.SByte, rhs : Int) : system.Int32;
- @:op(A & B) public static function and2(lhs : Int, rhs : system.SByte) : system.Int32;
-
- @:op(A & B) public static function and5(lhs : system.SByte, rhs : system.Char) : system.Int32;
- @:op(A & B) public static function and6(lhs : system.SByte, rhs : system.Byte) : system.Int32;
- @:op(A & B) public static function and7(lhs : system.SByte, rhs : system.Int16) : system.Int32;
- @:op(A & B) public static function and8(lhs : system.SByte, rhs : system.Int32) : system.Int32;
- @:op(A & B) public static function and9(lhs : system.SByte, rhs : system.Int64) : system.Int64;
- @:op(A & B) public static function and10(lhs : system.SByte, rhs : system.SByte) : system.Int32;
- @:op(A & B) public static function and11(lhs : system.SByte, rhs : system.UInt16) : system.Int32;
- @:op(A & B) public static function and12(lhs : system.SByte, rhs : system.UInt32) : system.Int64;
- //@:op(A & B) public static function and13(lhs : system.SByte, rhs : system.UInt64) : system.UInt64;
-
-
- @:op(A | B) public static function or0(lhs : system.SByte, rhs : system.SByte) : system.Int32;
- @:op(A | B) public static function or1(lhs : system.SByte, rhs : Int) : system.Int32;
- @:op(A | B) public static function or2(lhs : Int, rhs : system.SByte) : system.Int32;
-
- @:op(A | B) public static function or5(lhs : system.SByte, rhs : system.Char) : system.Int32;
- @:op(A | B) public static function or6(lhs : system.SByte, rhs : system.Byte) : system.Int32;
- @:op(A | B) public static function or7(lhs : system.SByte, rhs : system.Int16) : system.Int32;
- @:op(A | B) public static function or8(lhs : system.SByte, rhs : system.Int32) : system.Int32;
- @:op(A | B) public static function or9(lhs : system.SByte, rhs : system.Int64) : system.Int64;
- @:op(A | B) public static function or10(lhs : system.SByte, rhs : system.SByte) : system.Int32;
- @:op(A | B) public static function or11(lhs : system.SByte, rhs : system.UInt16) : system.Int32;
- @:op(A | B) public static function or12(lhs : system.SByte, rhs : system.UInt32) : system.Int64;
- //@:op(A | B) public static function or13(lhs : system.SByte, rhs : system.UInt64) : system.UInt64;
-
-
- @:op(A ^ B) public static function xor0(lhs : system.SByte, rhs : system.SByte) : system.Int32;
- @:op(A ^ B) public static function xor1(lhs : system.SByte, rhs : Int) : system.Int32;
- @:op(A ^ B) public static function xor2(lhs : Int, rhs : system.SByte) : system.Int32;
-
- @:op(A ^ B) public static function xor5(lhs : system.SByte, rhs : system.Char) : system.Int32;
- @:op(A ^ B) public static function xor6(lhs : system.SByte, rhs : system.Byte) : system.Int32;
- @:op(A ^ B) public static function xor7(lhs : system.SByte, rhs : system.Int16) : system.Int32;
- @:op(A ^ B) public static function xor8(lhs : system.SByte, rhs : system.Int32) : system.Int32;
- @:op(A ^ B) public static function xor9(lhs : system.SByte, rhs : system.Int64) : system.Int64;
- @:op(A ^ B) public static function xor10(lhs : system.SByte, rhs : system.SByte) : system.Int32;
- @:op(A ^ B) public static function xor11(lhs : system.SByte, rhs : system.UInt16) : system.Int32;
- @:op(A ^ B) public static function xor12(lhs : system.SByte, rhs : system.UInt32) : system.Int64;
- //@:op(A ^ B) public static function xor13(lhs : system.SByte, rhs : system.UInt64) : system.UInt64;
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/SByteArray.hx b/Phase/Mscorlib/system/SByteArray.hx
deleted file mode 100644
index b82bf6f22..000000000
--- a/Phase/Mscorlib/system/SByteArray.hx
+++ /dev/null
@@ -1,21 +0,0 @@
-package system;
-
-abstract SByteArray(js.html.Int8Array)
-{
- public inline function new(length:Int32) this = new js.html.Int8Array(length.ToHaxeInt());
-
- @:from public static inline function fromArray(a:Array):SByteArray return cast new js.html.Int8Array(untyped a);
- @:from public static inline function fromFixedArray(a:FixedArray):SByteArray return cast new js.html.Int8Array(untyped a.ToHaxeArray());
-
- public var Length(get, never):Int32;
- public inline function get_Length() : Int32 return this.length;
-
- @:op([]) public inline function get(index:Int32):SByte return this[index.ToHaxeInt()];
- @:op([]) public inline function set(index:Int32, val:SByte):SByte return this[index.ToHaxeInt()] = val.ToHaxeFloat();
-
- public inline function iterator() : Iterator return new SByteArrayIterator(this);
-
- public inline function ToEnumerable() : system.collections.generic.IEnumerable return new SByteArrayEnumerable(this);
-
- public static inline function empty(size:Int32) return new SByteArray(size);
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/SByteArrayEnumerable.hx b/Phase/Mscorlib/system/SByteArrayEnumerable.hx
deleted file mode 100644
index c0c05e62f..000000000
--- a/Phase/Mscorlib/system/SByteArrayEnumerable.hx
+++ /dev/null
@@ -1,18 +0,0 @@
-package system;
-
-import system.collections.generic.IEnumerable;
-import system.collections.generic.IEnumerator;
-
-class SByteArrayEnumerable implements IEnumerable
-{
- private var _array:js.html.Int8Array;
- public function new(array:js.html.Int8Array)
- {
- _array= array;
- }
-
- public function GetEnumerator() : IEnumerator
- {
- return new SByteArrayEnumerator(_array);
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/SByteArrayEnumerator.hx b/Phase/Mscorlib/system/SByteArrayEnumerator.hx
deleted file mode 100644
index 995245882..000000000
--- a/Phase/Mscorlib/system/SByteArrayEnumerator.hx
+++ /dev/null
@@ -1,29 +0,0 @@
-package system;
-
-import system.collections.generic.IEnumerator;
-
-class SByteArrayEnumerator implements IEnumerator
-{
- private var _array:js.html.Int8Array;
- private var _i:Int;
-
- public function new(array:js.html.Int8Array)
- {
- _array = array;
- _i = -1;
- }
-
- public var Current(get, never):SByte;
- public function get_Current() : SByte return _array[_i];
- public function MoveNext() : Bool
- {
- if(_i >= _array.length - 1) return false;
- _i++;
- return true;
-
- }
- public function Reset():Void
- {
- _i = -1;
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/SByteArrayIterator.hx b/Phase/Mscorlib/system/SByteArrayIterator.hx
deleted file mode 100644
index 6eaa472b1..000000000
--- a/Phase/Mscorlib/system/SByteArrayIterator.hx
+++ /dev/null
@@ -1,19 +0,0 @@
-package system;
-
-class SByteArrayIterator
-{
- private var _array:js.html.Int8Array;
- private var _i:Int;
-
- public function new(array:js.html.Int8Array)
- {
- _array = array;
- _i = 0;
- }
-
- public function hasNext() return _i < _array.length;
- public function next() : SByte
- {
- return _array[_i++];
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/Single.hx b/Phase/Mscorlib/system/Single.hx
deleted file mode 100644
index 60edf8652..000000000
--- a/Phase/Mscorlib/system/Single.hx
+++ /dev/null
@@ -1,244 +0,0 @@
-package system;
-
-abstract Single(Float) from Float from Int
-{
- public inline function new(i:Float) this = i;
-
- @:from public static inline function FromInt(i:Int) : Single return new Single(i);
- @:from public static inline function FromByte(i:system.Byte) : Single return new Single(i.ToHaxeInt());
- @:from public static inline function FromInt16(i:system.Int16) : Single return new Single(i.ToHaxeInt());
- @:from public static inline function FromInt32(i:system.Int32) : Single return new Single(i.ToHaxeInt());
- @:from public static inline function FromInt64(i:system.Int64) : Single return new Single(i.ToHaxeInt());
- @:from public static inline function FromSByte(i:system.Byte) : Single return new Single(i.ToHaxeInt());
- @:from public static inline function FromUInt16(i:system.UInt16) : Single return new Single(i.ToHaxeInt());
- @:from public static inline function FromUInt32(i:system.UInt32) : Single return new Single(i.ToHaxeInt());
- @:from public static inline function FromUInt64(i:system.UInt64) : Single return new Single(i.ToHaxeInt());
-
- public inline function ToBoolean_IFormatProvider(provider:IFormatProvider) : system.Boolean return system.Convert.ToBoolean_Single(this);
- public inline function ToChar_IFormatProvider(provider:IFormatProvider) : system.Char return system.Convert.ToChar_Single(this);
- public inline function ToSByte_IFormatProvider(provider:IFormatProvider) : system.SByte return system.Convert.ToSByte_Single(this);
- public inline function ToByte_IFormatProvider(provider:IFormatProvider) : system.Byte return system.Convert.ToByte_Single(this);
- public inline function ToInt16_IFormatProvider(provider:IFormatProvider) : system.Int16 return system.Convert.ToInt16_Single(this);
- public inline function ToUInt16_IFormatProvider(provider:IFormatProvider) : system.UInt16 return system.Convert.ToUInt16_Single(this);
- public inline function ToInt32_IFormatProvider(provider:IFormatProvider) : system.Int32 return system.Convert.ToInt32_Single(this);
- public inline function ToUInt32_IFormatProvider(provider:IFormatProvider) : system.UInt32 return system.Convert.ToUInt32_Single(this);
- public inline function ToInt64_IFormatProvider(provider:IFormatProvider) : system.Int64 return system.Convert.ToInt64_Single(this);
- public inline function ToUInt64_IFormatProvider(provider:IFormatProvider) : system.UInt64 return system.Convert.ToUInt64_Single(this);
- public inline function ToSingle_IFormatProvider(provider:IFormatProvider) : system.Single return system.Convert.ToSingle_Single(this);
- public inline function ToDouble_IFormatProvider(provider:IFormatProvider) : system.Double return system.Convert.ToDouble_Single(this);
-
-
- public inline function ToHaxeFloat(): Float return this;
- public inline function ToString() : CsString return Std.string(this);
- public function GetHashCode() : system.Int32 return system.Convert.ToHashCode_Single(this);
-
- public static var NaN(get, never) : system.Single;
- public static inline function get_NaN() : system.Single return Math.NaN;
- public static inline function IsNaN(v:system.Single) : system.Boolean return Math.isNaN(v.ToHaxeFloat());
-
- @:op(-A) public inline function neg() : system.Single return -this;
-
- @:op(A++) public inline function postinc() : system.Single return this++;
- @:op(++A) public inline function preinc() : system.Single return ++this;
-
- @:op(A--) public inline function postdec() : system.Single return this--;
- @:op(--A) public inline function predec() : system.Single return --this;
-
- @:op(A * B) public static function mul1(lhs : system.Single, rhs : Int) : system.Single;
- @:op(A * B) public static function mul2(lhs : Int, rhs : system.Single) : system.Single;
- @:op(A * B) public static function mul3(lhs : system.Single, rhs : Float) : system.Single;
- @:op(A * B) public static function mul4(lhs : Float, rhs : system.Single) : system.Single;
-
- @:op(A * B) public static function mul5(lhs : system.Single, rhs : system.Char) : system.Single;
- @:op(A * B) public static function mul6(lhs : system.Single, rhs : system.Byte) : system.Single;
- @:op(A * B) public static function mul7(lhs : system.Single, rhs : system.Int16) : system.Single;
- @:op(A * B) public static function mul8(lhs : system.Single, rhs : system.Int32) : system.Single;
- @:op(A * B) public static function mul9(lhs : system.Single, rhs : system.Int64) : system.Single;
- @:op(A * B) public static function mul10(lhs : system.Single, rhs : system.SByte) : system.Single;
- @:op(A * B) public static function mul11(lhs : system.Single, rhs : system.UInt16) : system.Single;
- @:op(A * B) public static function mul12(lhs : system.Single, rhs : system.UInt32) : system.Single;
- @:op(A * B) public static function mul13(lhs : system.Single, rhs : system.UInt64) : system.Single;
- @:op(A * B) public static function mul14(lhs : system.Single, rhs : system.Single) : system.Single;
- @:op(A * B) public static function mul15(lhs : system.Single, rhs : system.Double) : system.Single;
-
-
- @:op(A / B) public static function div1(lhs : system.Single, rhs : Int) : system.Single;
- @:op(A / B) public static function div2(lhs : Int, rhs : system.Single) : system.Single;
- @:op(A / B) public static function div3(lhs : system.Single, rhs : Float) : system.Single;
- @:op(A / B) public static function div4(lhs : Float, rhs : system.Single) : system.Single;
-
- @:op(A / B) public static function div5(lhs : system.Single, rhs : system.Char) : system.Single;
- @:op(A / B) public static function div6(lhs : system.Single, rhs : system.Byte) : system.Single;
- @:op(A / B) public static function div7(lhs : system.Single, rhs : system.Int16) : system.Single;
- @:op(A / B) public static function div8(lhs : system.Single, rhs : system.Int32) : system.Single;
- @:op(A / B) public static function div9(lhs : system.Single, rhs : system.Int64) : system.Single;
- @:op(A / B) public static function div10(lhs : system.Single, rhs : system.SByte) : system.Single;
- @:op(A / B) public static function div11(lhs : system.Single, rhs : system.UInt16) : system.Single;
- @:op(A / B) public static function div12(lhs : system.Single, rhs : system.UInt32) : system.Single;
- @:op(A / B) public static function div13(lhs : system.Single, rhs : system.UInt64) : system.Single;
- @:op(A / B) public static function div14(lhs : system.Single, rhs : system.Single) : system.Single;
- @:op(A / B) public static function div15(lhs : system.Single, rhs : system.Double) : system.Single;
-
-
- @:op(A % B) public static function mod1(lhs : system.Single, rhs : Int) : system.Single;
- @:op(A % B) public static function mod2(lhs : Int, rhs : system.Single) : system.Single;
- @:op(A % B) public static function mod3(lhs : system.Single, rhs : Float) : system.Single;
- @:op(A % B) public static function mod4(lhs : Float, rhs : system.Single) : system.Single;
-
- @:op(A % B) public static function mod5(lhs : system.Single, rhs : system.Char) : system.Single;
- @:op(A % B) public static function mod6(lhs : system.Single, rhs : system.Byte) : system.Single;
- @:op(A % B) public static function mod7(lhs : system.Single, rhs : system.Int16) : system.Single;
- @:op(A % B) public static function mod8(lhs : system.Single, rhs : system.Int32) : system.Single;
- @:op(A % B) public static function mod9(lhs : system.Single, rhs : system.Int64) : system.Single;
- @:op(A % B) public static function mod10(lhs : system.Single, rhs : system.SByte) : system.Single;
- @:op(A % B) public static function mod11(lhs : system.Single, rhs : system.UInt16) : system.Single;
- @:op(A % B) public static function mod12(lhs : system.Single, rhs : system.UInt32) : system.Single;
- @:op(A % B) public static function mod13(lhs : system.Single, rhs : system.UInt64) : system.Single;
- @:op(A % B) public static function mod14(lhs : system.Single, rhs : system.Single) : system.Single;
- @:op(A % B) public static function mod15(lhs : system.Single, rhs : system.Double) : system.Single;
-
-
- @:op(A + B) public static function add1(lhs : system.Single, rhs : Int) : system.Single;
- @:op(A + B) public static function add2(lhs : Int, rhs : system.Single) : system.Single;
- @:op(A + B) public static function add3(lhs : system.Single, rhs : Float) : system.Single;
- @:op(A + B) public static function add4(lhs : Float, rhs : system.Single) : system.Single;
-
- @:op(A + B) public static function add5(lhs : system.Single, rhs : system.Char) : system.Single;
- @:op(A + B) public static function add6(lhs : system.Single, rhs : system.Byte) : system.Single;
- @:op(A + B) public static function add7(lhs : system.Single, rhs : system.Int16) : system.Single;
- @:op(A + B) public static function add8(lhs : system.Single, rhs : system.Int32) : system.Single;
- @:op(A + B) public static function add9(lhs : system.Single, rhs : system.Int64) : system.Single;
- @:op(A + B) public static function add10(lhs : system.Single, rhs : system.SByte) : system.Single;
- @:op(A + B) public static function add11(lhs : system.Single, rhs : system.UInt16) : system.Single;
- @:op(A + B) public static function add12(lhs : system.Single, rhs : system.UInt32) : system.Single;
- @:op(A + B) public static function add13(lhs : system.Single, rhs : system.UInt64) : system.Single;
- @:op(A + B) public static function add14(lhs : system.Single, rhs : system.Single) : system.Single;
- @:op(A + B) public static function add15(lhs : system.Single, rhs : system.Double) : system.Single;
- @:op(A + B) public static inline function add16(lhs : system.Single, rhs : system.CsString) : system.CsString return lhs.ToString() + rhs;
- @:op(A + B) public static inline function add17(lhs : system.Single, rhs : String) : system.CsString return lhs.ToString() + rhs;
-
-
- @:op(A - B) public static function sub1(lhs : system.Single, rhs : Int) : system.Single;
- @:op(A - B) public static function sub2(lhs : Int, rhs : system.Single) : system.Single;
- @:op(A - B) public static function sub3(lhs : system.Single, rhs : Float) : system.Single;
- @:op(A - B) public static function sub4(lhs : Float, rhs : system.Single) : system.Single;
-
- @:op(A - B) public static function sub5(lhs : system.Single, rhs : system.Char) : system.Single;
- @:op(A - B) public static function sub6(lhs : system.Single, rhs : system.Byte) : system.Single;
- @:op(A - B) public static function sub7(lhs : system.Single, rhs : system.Int16) : system.Single;
- @:op(A - B) public static function sub8(lhs : system.Single, rhs : system.Int32) : system.Single;
- @:op(A - B) public static function sub9(lhs : system.Single, rhs : system.Int64) : system.Single;
- @:op(A - B) public static function sub10(lhs : system.Single, rhs : system.SByte) : system.Single;
- @:op(A - B) public static function sub11(lhs : system.Single, rhs : system.UInt16) : system.Single;
- @:op(A - B) public static function sub12(lhs : system.Single, rhs : system.UInt32) : system.Single;
- @:op(A - B) public static function sub13(lhs : system.Single, rhs : system.UInt64) : system.Single;
- @:op(A - B) public static function sub14(lhs : system.Single, rhs : system.Single) : system.Single;
- @:op(A - B) public static function sub15(lhs : system.Single, rhs : system.Double) : system.Single;
-
-
- @:op(A > B) public static function gt1(lhs : system.Single, rhs : Int) : system.Boolean;
- @:op(A > B) public static function gt2(lhs : Int, rhs : system.Single) : system.Boolean;
- @:op(A > B) public static function gt3(lhs : system.Single, rhs : Float) : system.Boolean;
- @:op(A > B) public static function gt4(lhs : Float, rhs : system.Single) : system.Boolean;
-
- @:op(A > B) public static function gt5(lhs : system.Single, rhs : system.Char) : system.Boolean;
- @:op(A > B) public static function gt6(lhs : system.Single, rhs : system.Byte) : system.Boolean;
- @:op(A > B) public static function gt7(lhs : system.Single, rhs : system.Int16) : system.Boolean;
- @:op(A > B) public static function gt8(lhs : system.Single, rhs : system.Int32) : system.Boolean;
- @:op(A > B) public static function gt9(lhs : system.Single, rhs : system.Int64) : system.Boolean;
- @:op(A > B) public static function gt10(lhs : system.Single, rhs : system.SByte) : system.Boolean;
- @:op(A > B) public static function gt11(lhs : system.Single, rhs : system.UInt16) : system.Boolean;
- @:op(A > B) public static function gt12(lhs : system.Single, rhs : system.UInt32) : system.Boolean;
- @:op(A > B) public static function gt13(lhs : system.Single, rhs : system.UInt64) : system.Boolean;
- @:op(A > B) public static function gt14(lhs : system.Single, rhs : system.Single) : system.Boolean;
- @:op(A > B) public static function gt15(lhs : system.Single, rhs : system.Double) : system.Boolean;
-
- @:op(A < B) public static function lt1(lhs : system.Single, rhs : Int) : system.Boolean;
- @:op(A < B) public static function lt2(lhs : Int, rhs : system.Single) : system.Boolean;
- @:op(A < B) public static function lt3(lhs : system.Single, rhs : Float) : system.Boolean;
- @:op(A < B) public static function lt4(lhs : Float, rhs : system.Single) : system.Boolean;
-
- @:op(A < B) public static function lt5(lhs : system.Single, rhs : system.Char) : system.Boolean;
- @:op(A < B) public static function lt6(lhs : system.Single, rhs : system.Byte) : system.Boolean;
- @:op(A < B) public static function lt7(lhs : system.Single, rhs : system.Int16) : system.Boolean;
- @:op(A < B) public static function lt8(lhs : system.Single, rhs : system.Int32) : system.Boolean;
- @:op(A < B) public static function lt9(lhs : system.Single, rhs : system.Int64) : system.Boolean;
- @:op(A < B) public static function lt10(lhs : system.Single, rhs : system.SByte) : system.Boolean;
- @:op(A < B) public static function lt11(lhs : system.Single, rhs : system.UInt16) : system.Boolean;
- @:op(A < B) public static function lt12(lhs : system.Single, rhs : system.UInt32) : system.Boolean;
- @:op(A < B) public static function lt13(lhs : system.Single, rhs : system.UInt64) : system.Boolean;
- @:op(A < B) public static function lt14(lhs : system.Single, rhs : system.Single) : system.Boolean;
- @:op(A < B) public static function lt15(lhs : system.Single, rhs : system.Double) : system.Boolean;
-
-
- @:op(A >= B) public static function gte1(lhs : system.Single, rhs : Int) : system.Boolean;
- @:op(A >= B) public static function gte2(lhs : Int, rhs : system.Single) : system.Boolean;
- @:op(A >= B) public static function gte3(lhs : system.Single, rhs : Float) : system.Boolean;
- @:op(A >= B) public static function gte4(lhs : Float, rhs : system.Single) : system.Boolean;
-
- @:op(A >= B) public static function gte5(lhs : system.Single, rhs : system.Char) : system.Boolean;
- @:op(A >= B) public static function gte6(lhs : system.Single, rhs : system.Byte) : system.Boolean;
- @:op(A >= B) public static function gte7(lhs : system.Single, rhs : system.Int16) : system.Boolean;
- @:op(A >= B) public static function gte8(lhs : system.Single, rhs : system.Int32) : system.Boolean;
- @:op(A >= B) public static function gte9(lhs : system.Single, rhs : system.Int64) : system.Boolean;
- @:op(A >= B) public static function gte10(lhs : system.Single, rhs : system.SByte) : system.Boolean;
- @:op(A >= B) public static function gte11(lhs : system.Single, rhs : system.UInt16) : system.Boolean;
- @:op(A >= B) public static function gte12(lhs : system.Single, rhs : system.UInt32) : system.Boolean;
- @:op(A >= B) public static function gte13(lhs : system.Single, rhs : system.UInt64) : system.Boolean;
- @:op(A >= B) public static function gte14(lhs : system.Single, rhs : system.Single) : system.Boolean;
- @:op(A >= B) public static function gte15(lhs : system.Single, rhs : system.Double) : system.Boolean;
-
-
- @:op(A <= B) public static function lte1(lhs : system.Single, rhs : Int) : system.Boolean;
- @:op(A <= B) public static function lte2(lhs : Int, rhs : system.Single) : system.Boolean;
- @:op(A <= B) public static function lte3(lhs : system.Single, rhs : Float) : system.Boolean;
- @:op(A <= B) public static function lte4(lhs : Float, rhs : system.Single) : system.Boolean;
-
- @:op(A <= B) public static function lte5(lhs : system.Single, rhs : system.Char) : system.Boolean;
- @:op(A <= B) public static function lte6(lhs : system.Single, rhs : system.Byte) : system.Boolean;
- @:op(A <= B) public static function lte7(lhs : system.Single, rhs : system.Int16) : system.Boolean;
- @:op(A <= B) public static function lte8(lhs : system.Single, rhs : system.Int32) : system.Boolean;
- @:op(A <= B) public static function lte9(lhs : system.Single, rhs : system.Int64) : system.Boolean;
- @:op(A <= B) public static function lte10(lhs : system.Single, rhs : system.SByte) : system.Boolean;
- @:op(A <= B) public static function lte11(lhs : system.Single, rhs : system.UInt16) : system.Boolean;
- @:op(A <= B) public static function lte12(lhs : system.Single, rhs : system.UInt32) : system.Boolean;
- @:op(A <= B) public static function lte13(lhs : system.Single, rhs : system.UInt64) : system.Boolean;
- @:op(A <= B) public static function lte14(lhs : system.Single, rhs : system.Single) : system.Boolean;
- @:op(A <= B) public static function lte15(lhs : system.Single, rhs : system.Double) : system.Boolean;
-
- @:op(A == B) public static function eq1(lhs : system.Single, rhs : Int) : system.Boolean;
- @:op(A == B) public static function eq2(lhs : Int, rhs : system.Single) : system.Boolean;
- @:op(A == B) public static function eq3(lhs : system.Single, rhs : Float) : system.Boolean;
- @:op(A == B) public static function eq4(lhs : Float, rhs : system.Single) : system.Boolean;
-
- @:op(A == B) public static function eq5(lhs : system.Single, rhs : system.Char) : system.Boolean;
- @:op(A == B) public static function eq6(lhs : system.Single, rhs : system.Byte) : system.Boolean;
- @:op(A == B) public static function eq7(lhs : system.Single, rhs : system.Int16) : system.Boolean;
- @:op(A == B) public static function eq8(lhs : system.Single, rhs : system.Int32) : system.Boolean;
- @:op(A == B) public static function eq9(lhs : system.Single, rhs : system.Int64) : system.Boolean;
- @:op(A == B) public static function eq10(lhs : system.Single, rhs : system.SByte) : system.Boolean;
- @:op(A == B) public static function eq11(lhs : system.Single, rhs : system.UInt16) : system.Boolean;
- @:op(A == B) public static function eq12(lhs : system.Single, rhs : system.UInt32) : system.Boolean;
- @:op(A == B) public static function eq13(lhs : system.Single, rhs : system.UInt64) : system.Boolean;
- @:op(A == B) public static function eq14(lhs : system.Single, rhs : system.Single) : system.Boolean;
- @:op(A == B) public static function eq15(lhs : system.Single, rhs : system.Double) : system.Boolean;
-
-
- @:op(A != B) public static function neq1(lhs : system.Single, rhs : Int) : system.Boolean;
- @:op(A != B) public static function neq2(lhs : Int, rhs : system.Single) : system.Boolean;
- @:op(A != B) public static function neq3(lhs : system.Single, rhs : Float) : system.Boolean;
- @:op(A != B) public static function neq4(lhs : Float, rhs : system.Single) : system.Boolean;
-
- @:op(A != B) public static function neq5(lhs : system.Single, rhs : system.Char) : system.Boolean;
- @:op(A != B) public static function neq6(lhs : system.Single, rhs : system.Byte) : system.Boolean;
- @:op(A != B) public static function neq7(lhs : system.Single, rhs : system.Int16) : system.Boolean;
- @:op(A != B) public static function neq8(lhs : system.Single, rhs : system.Int32) : system.Boolean;
- @:op(A != B) public static function neq9(lhs : system.Single, rhs : system.Int64) : system.Boolean;
- @:op(A != B) public static function neq10(lhs : system.Single, rhs : system.SByte) : system.Boolean;
- @:op(A != B) public static function neq11(lhs : system.Single, rhs : system.UInt16) : system.Boolean;
- @:op(A != B) public static function neq12(lhs : system.Single, rhs : system.UInt32) : system.Boolean;
- @:op(A != B) public static function neq13(lhs : system.Single, rhs : system.UInt64) : system.Boolean;
- @:op(A != B) public static function neq14(lhs : system.Single, rhs : system.Single) : system.Boolean;
- @:op(A != B) public static function neq15(lhs : system.Single, rhs : system.Double) : system.Boolean;
-
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/SingleArray.hx b/Phase/Mscorlib/system/SingleArray.hx
deleted file mode 100644
index b46c6b59c..000000000
--- a/Phase/Mscorlib/system/SingleArray.hx
+++ /dev/null
@@ -1,21 +0,0 @@
-package system;
-
-abstract SingleArray(js.html.Float32Array)
-{
- public inline function new(length:Int32) this = new js.html.Float32Array(length.ToHaxeInt());
-
- @:from public static inline function fromArray(a:Array):SingleArray return cast new js.html.Float32Array(untyped a);
- @:from public static inline function fromFixedArray(a:FixedArray):SingleArray return cast new js.html.Float32Array(untyped a.ToHaxeArray());
-
- public var Length(get, never):Int32;
- public inline function get_Length() : Int32 return this.length;
-
- @:op([]) public inline function get(index:Int32):Single return this[index.ToHaxeInt()];
- @:op([]) public inline function set(index:Int32, val:Single):Single return this[index.ToHaxeInt()] = val.ToHaxeFloat();
-
- public inline function iterator() : Iterator return new SingleArrayIterator(this);
-
- public inline function ToEnumerable() : system.collections.generic.IEnumerable return new SingleArrayEnumerable(this);
-
- public static inline function empty(size:Int32) return new SingleArray(size);
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/SingleArrayEnumerable.hx b/Phase/Mscorlib/system/SingleArrayEnumerable.hx
deleted file mode 100644
index 99e63cc21..000000000
--- a/Phase/Mscorlib/system/SingleArrayEnumerable.hx
+++ /dev/null
@@ -1,18 +0,0 @@
-package system;
-
-import system.collections.generic.IEnumerable;
-import system.collections.generic.IEnumerator;
-
-class SingleArrayEnumerable implements IEnumerable
-{
- private var _array:js.html.Float32Array;
- public function new(array:js.html.Float32Array)
- {
- _array= array;
- }
-
- public function GetEnumerator() : IEnumerator
- {
- return new SingleArrayEnumerator(_array);
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/SingleArrayEnumerator.hx b/Phase/Mscorlib/system/SingleArrayEnumerator.hx
deleted file mode 100644
index 3ca962f4d..000000000
--- a/Phase/Mscorlib/system/SingleArrayEnumerator.hx
+++ /dev/null
@@ -1,29 +0,0 @@
-package system;
-
-import system.collections.generic.IEnumerator;
-
-class SingleArrayEnumerator implements IEnumerator
-{
- private var _array:js.html.Float32Array;
- private var _i:Int;
-
- public function new(array:js.html.Float32Array)
- {
- _array = array;
- _i = -1;
- }
-
- public var Current(get, never):Single;
- public function get_Current() : Single return _array[_i];
- public function MoveNext() : Bool
- {
- if(_i >= _array.length - 1) return false;
- _i++;
- return true;
-
- }
- public function Reset():Void
- {
- _i = -1;
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/SingleArrayIterator.hx b/Phase/Mscorlib/system/SingleArrayIterator.hx
deleted file mode 100644
index 619d9da31..000000000
--- a/Phase/Mscorlib/system/SingleArrayIterator.hx
+++ /dev/null
@@ -1,19 +0,0 @@
-package system;
-
-class SingleArrayIterator
-{
- private var _array:js.html.Float32Array;
- private var _i:Int;
-
- public function new(array:js.html.Float32Array)
- {
- _array = array;
- _i = 0;
- }
-
- public function hasNext() return _i < _array.length;
- public function next()
- {
- return _array[_i++];
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/UInt16.hx b/Phase/Mscorlib/system/UInt16.hx
deleted file mode 100644
index 898882fdc..000000000
--- a/Phase/Mscorlib/system/UInt16.hx
+++ /dev/null
@@ -1,321 +0,0 @@
-package system;
-
-
-abstract UInt16(Int) from Int
-{
- public inline function new(i:Int) this = system.Convert.ToUInt16(i);
-
- public inline function ToHaxeInt(): Int return this;
- public inline function ToString() : system.CsString return Std.string(this);
-
- public inline function ToBoolean_IFormatProvider(provider:IFormatProvider) : system.Boolean return system.Convert.ToBoolean_UInt16(this);
- public inline function ToChar_IFormatProvider(provider:IFormatProvider) : system.Char return system.Convert.ToChar_UInt16(this);
- public inline function ToSByte_IFormatProvider(provider:IFormatProvider) : system.SByte return system.Convert.ToSByte_UInt16(this);
- public inline function ToByte_IFormatProvider(provider:IFormatProvider) : system.Byte return system.Convert.ToByte_UInt16(this);
- public inline function ToInt16_IFormatProvider(provider:IFormatProvider) : system.Int16 return system.Convert.ToInt16_UInt16(this);
- public inline function ToUInt16_IFormatProvider(provider:IFormatProvider) : system.UInt16 return system.Convert.ToUInt16_UInt16(this);
- public inline function ToInt32_IFormatProvider(provider:IFormatProvider) : system.Int32 return system.Convert.ToInt32_UInt16(this);
- public inline function ToUInt32_IFormatProvider(provider:IFormatProvider) : system.UInt32 return system.Convert.ToUInt32_UInt16(this);
- public inline function ToInt64_IFormatProvider(provider:IFormatProvider) : system.Int64 return system.Convert.ToInt64_UInt16(this);
- public inline function ToUInt64_IFormatProvider(provider:IFormatProvider) : system.UInt64 return system.Convert.ToUInt64_UInt16(this);
- public inline function ToSingle_IFormatProvider(provider:IFormatProvider) : system.Single return system.Convert.ToSingle_UInt16(this);
- public inline function ToDouble_IFormatProvider(provider:IFormatProvider) : system.Double return system.Convert.ToDouble_UInt16(this);
-
- public function GetHashCode() : system.Int32 return this;
-
- @:op(-A) public inline function neg() : system.Int32 return -this;
-
- @:op(~A)public inline function not() : system.Int32 return ~this;
-
- @:op(A++)public inline function postinc() : system.UInt16 return this++;
- @:op(++A)public inline function preinc() : system.UInt16 return ++this;
-
- @:op(A--)public inline function postdec() : system.UInt16 return this--;
- @:op(--A)public inline function predec() : system.UInt16 return --this;
-
- @:op(A * B) public static function mul0(lhs : system.UInt16, rhs : system.UInt16) : system.Int32;
- @:op(A * B) public static function mul1(lhs : system.UInt16, rhs : Int) : system.Int32;
- @:op(A * B) public static function mul2(lhs : Int, rhs : system.UInt16) : system.Int32;
- @:op(A * B) public static function mul3(lhs : system.UInt16, rhs : Float) : system.Double;
- @:op(A * B) public static function mul4(lhs : Float, rhs : system.UInt16) : system.Double;
-
- @:op(A * B) public static function mul5(lhs : system.UInt16, rhs : system.Char) : system.Int32;
- @:op(A * B) public static function mul6(lhs : system.UInt16, rhs : system.Byte) : system.Int32;
- @:op(A * B) public static function mul7(lhs : system.UInt16, rhs : system.Int16) : system.Int32;
- @:op(A * B) public static function mul8(lhs : system.UInt16, rhs : system.Int32) : system.Int32;
- @:op(A * B) public static function mul9(lhs : system.UInt16, rhs : system.Int64) : system.Int64;
- @:op(A * B) public static function mul10(lhs : system.UInt16, rhs : system.SByte) : system.Int32;
- @:op(A * B) public static function mul11(lhs : system.UInt16, rhs : system.UInt16) : system.Int32;
- @:op(A * B) public static function mul12(lhs : system.UInt16, rhs : system.UInt32) : system.UInt32;
- @:op(A * B) public static function mul13(lhs : system.UInt16, rhs : system.UInt64) : system.UInt64;
- @:op(A * B) public static function mul14(lhs : system.UInt16, rhs : system.Single) : system.Single;
- @:op(A * B) public static function mul15(lhs : system.UInt16, rhs : system.Double) : system.Double;
-
-
- @:op(A / B) public static inline function div0(lhs : system.UInt16, rhs : system.UInt16) : system.Int32 return Std.int(lhs.ToHaxeInt() / rhs.ToHaxeInt());
- @:op(A / B) public static inline function div1(lhs : system.UInt16, rhs : Int) : system.Int32 return Std.int(lhs.ToHaxeInt() / rhs);
- @:op(A / B) public static inline function div2(lhs : Int, rhs : system.UInt16) : system.Int32 return Std.int(lhs / rhs.ToHaxeInt());
- @:op(A / B) public static function div3(lhs : system.UInt16, rhs : Float) : system.Double;
- @:op(A / B) public static function div4(lhs : Float, rhs : system.UInt16) : system.Double;
-
- @:op(A / B) public static function div5(lhs : system.UInt16, rhs : system.Char) : system.Int32;
- @:op(A / B) public static function div6(lhs : system.UInt16, rhs : system.Byte) : system.Int32;
- @:op(A / B) public static function div7(lhs : system.UInt16, rhs : system.Int16) : system.Int32;
- @:op(A / B) public static function div8(lhs : system.UInt16, rhs : system.Int32) : system.Int32;
- @:op(A / B) public static function div9(lhs : system.UInt16, rhs : system.Int64) : system.Int64;
- @:op(A / B) public static function div10(lhs : system.UInt16, rhs : system.SByte) : system.Int32;
- @:op(A / B) public static function div11(lhs : system.UInt16, rhs : system.UInt16) : system.Int32;
- @:op(A / B) public static function div12(lhs : system.UInt16, rhs : system.UInt32) : system.UInt32;
- @:op(A / B) public static function div13(lhs : system.UInt16, rhs : system.UInt64) : system.UInt64;
- @:op(A / B) public static function div14(lhs : system.UInt16, rhs : system.Single) : system.Single;
- @:op(A / B) public static function div15(lhs : system.UInt16, rhs : system.Double) : system.Double;
-
-
- @:op(A % B) public static function mod0(lhs : system.UInt16, rhs : system.UInt16) : system.Int32;
- @:op(A % B) public static function mod1(lhs : system.UInt16, rhs : Int) : system.Int32;
- @:op(A % B) public static function mod2(lhs : Int, rhs : system.UInt16) : system.Int32;
- @:op(A % B) public static function mod3(lhs : system.UInt16, rhs : Float) : system.Double;
- @:op(A % B) public static function mod4(lhs : Float, rhs : system.UInt16) : system.Double;
-
- @:op(A % B) public static function mod5(lhs : system.UInt16, rhs : system.Char) : system.Int32;
- @:op(A % B) public static function mod6(lhs : system.UInt16, rhs : system.Byte) : system.Int32;
- @:op(A % B) public static function mod7(lhs : system.UInt16, rhs : system.Int16) : system.Int32;
- @:op(A % B) public static function mod8(lhs : system.UInt16, rhs : system.Int32) : system.Int32;
- @:op(A % B) public static function mod9(lhs : system.UInt16, rhs : system.Int64) : system.Int64;
- @:op(A % B) public static function mod10(lhs : system.UInt16, rhs : system.SByte) : system.Int32;
- @:op(A % B) public static function mod11(lhs : system.UInt16, rhs : system.UInt16) : system.Int32;
- @:op(A % B) public static function mod12(lhs : system.UInt16, rhs : system.UInt32) : system.UInt32;
- @:op(A % B) public static function mod13(lhs : system.UInt16, rhs : system.UInt64) : system.UInt64;
- @:op(A % B) public static function mod14(lhs : system.UInt16, rhs : system.Single) : system.Single;
- @:op(A % B) public static function mod15(lhs : system.UInt16, rhs : system.Double) : system.Double;
-
-
- @:op(A + B) public static function add0(lhs : system.UInt16, rhs : system.UInt16) : system.Int32;
- @:op(A + B) public static function add1(lhs : system.UInt16, rhs : Int) : system.Int32;
- @:op(A + B) public static function add2(lhs : Int, rhs : system.UInt16) : system.Int32;
- @:op(A + B) public static function add3(lhs : system.UInt16, rhs : Float) : system.Double;
- @:op(A + B) public static function add4(lhs : Float, rhs : system.UInt16) : system.Double;
-
- @:op(A + B) public static function add5(lhs : system.UInt16, rhs : system.Char) : system.Int32;
- @:op(A + B) public static function add6(lhs : system.UInt16, rhs : system.Byte) : system.Int32;
- @:op(A + B) public static function add7(lhs : system.UInt16, rhs : system.Int16) : system.Int32;
- @:op(A + B) public static function add8(lhs : system.UInt16, rhs : system.Int32) : system.Int32;
- @:op(A + B) public static function add9(lhs : system.UInt16, rhs : system.Int64) : system.Int64;
- @:op(A + B) public static function add10(lhs : system.UInt16, rhs : system.SByte) : system.Int32;
- @:op(A + B) public static function add11(lhs : system.UInt16, rhs : system.UInt16) : system.Int32;
- @:op(A + B) public static function add12(lhs : system.UInt16, rhs : system.UInt32) : system.UInt32;
- @:op(A + B) public static function add13(lhs : system.UInt16, rhs : system.UInt64) : system.UInt64;
- @:op(A + B) public static function add14(lhs : system.UInt16, rhs : system.Single) : system.Single;
- @:op(A + B) public static function add15(lhs : system.UInt16, rhs : system.Double) : system.Double;
- @:op(A + B) public static inline function add16(lhs : system.UInt16, rhs : system.CsString) : system.CsString return lhs.ToString() + rhs;
- @:op(A + B) public static inline function add17(lhs : system.UInt16, rhs : String) : system.CsString return lhs.ToString() + rhs;
-
-
- @:op(A - B) public static function sub0(lhs : system.UInt16, rhs : system.UInt16) : system.Int32;
- @:op(A - B) public static function sub1(lhs : system.UInt16, rhs : Int) : system.Int32;
- @:op(A - B) public static function sub2(lhs : Int, rhs : system.UInt16) : system.Int32;
- @:op(A - B) public static function sub3(lhs : system.UInt16, rhs : Float) : system.Double;
- @:op(A - B) public static function sub4(lhs : Float, rhs : system.UInt16) : system.Double;
-
- @:op(A - B) public static function sub5(lhs : system.UInt16, rhs : system.Char) : system.Int32;
- @:op(A - B) public static function sub6(lhs : system.UInt16, rhs : system.Byte) : system.Int32;
- @:op(A - B) public static function sub7(lhs : system.UInt16, rhs : system.Int16) : system.Int32;
- @:op(A - B) public static function sub8(lhs : system.UInt16, rhs : system.Int32) : system.Int32;
- @:op(A - B) public static function sub9(lhs : system.UInt16, rhs : system.Int64) : system.Int64;
- @:op(A - B) public static function sub10(lhs : system.UInt16, rhs : system.SByte) : system.Int32;
- @:op(A - B) public static function sub11(lhs : system.UInt16, rhs : system.UInt16) : system.Int32;
- @:op(A - B) public static function sub12(lhs : system.UInt16, rhs : system.UInt32) : system.UInt32;
- @:op(A - B) public static function sub13(lhs : system.UInt16, rhs : system.UInt64) : system.UInt64;
- @:op(A - B) public static function sub14(lhs : system.UInt16, rhs : system.Single) : system.Single;
- @:op(A - B) public static function sub15(lhs : system.UInt16, rhs : system.Double) : system.Double;
-
-
- @:op(A << B) public static function shl0(lhs : system.UInt16, rhs : system.UInt16) : system.Int32;
- @:op(A << B) public static function shl1(lhs : system.UInt16, rhs : Int) : system.Int32;
- @:op(A << B) public static function shl2(lhs : Int, rhs : system.UInt16) : system.Int32;
-
- @:op(A << B) public static function shl5(lhs : system.UInt16, rhs : system.Char) : system.Int32;
- @:op(A << B) public static function shl6(lhs : system.UInt16, rhs : system.Byte) : system.Int32;
- @:op(A << B) public static function shl7(lhs : system.UInt16, rhs : system.Int16) : system.Int32;
- @:op(A << B) public static function shl8(lhs : system.UInt16, rhs : system.Int32) : system.Int32;
- // @:op(A << B) public static function shl9(lhs : system.UInt16, rhs : system.Int64) : system.Int64;
- @:op(A << B) public static function shl10(lhs : system.UInt16, rhs : system.SByte) : system.Int32;
- @:op(A << B) public static function shl11(lhs : system.UInt16, rhs : system.UInt16) : system.Int32;
- // @:op(A << B) public static function shl12(lhs : system.UInt16, rhs : system.UInt32) : system.UInt32;
- // @:op(A << B) public static function shl13(lhs : system.UInt16, rhs : system.UInt64) : system.UInt64;
-
-
- @:op(A >> B) public static function shr0(lhs : system.UInt16, rhs : system.UInt16) : system.Int32;
- @:op(A >> B) public static function shr1(lhs : system.UInt16, rhs : Int) : system.Int32;
- @:op(A >> B) public static function shr2(lhs : Int, rhs : system.UInt16) : system.Int32;
-
- @:op(A >> B) public static function shr5(lhs : system.UInt16, rhs : system.Char) : system.Int32;
- @:op(A >> B) public static function shr6(lhs : system.UInt16, rhs : system.Byte) : system.Int32;
- @:op(A >> B) public static function shr7(lhs : system.UInt16, rhs : system.Int16) : system.Int32;
- @:op(A >> B) public static function shr8(lhs : system.UInt16, rhs : system.Int32) : system.Int32;
- // @:op(A >> B) public static function shr9(lhs : system.UInt16, rhs : system.Int64) : system.Int64;
- @:op(A >> B) public static function shr10(lhs : system.UInt16, rhs : system.SByte) : system.Int32;
- @:op(A >> B) public static function shr11(lhs : system.UInt16, rhs : system.UInt16) : system.Int32;
- // @:op(A >> B) public static function shr12(lhs : system.UInt16, rhs : system.UInt32) : system.UInt32;
- // @:op(A >> B) public static function shr13(lhs : system.UInt16, rhs : system.UInt64) : system.UInt64;
-
-
- @:op(A > B) public static function gt0(lhs : system.UInt16, rhs : system.UInt16) : system.Boolean;
- @:op(A > B) public static function gt1(lhs : system.UInt16, rhs : Int) : system.Boolean;
- @:op(A > B) public static function gt2(lhs : Int, rhs : system.UInt16) : system.Boolean;
- @:op(A > B) public static function gt3(lhs : system.UInt16, rhs : Float) : system.Boolean;
- @:op(A > B) public static function gt4(lhs : Float, rhs : system.UInt16) : system.Boolean;
-
- @:op(A > B) public static function gt5(lhs : system.UInt16, rhs : system.Char) : system.Boolean;
- @:op(A > B) public static function gt6(lhs : system.UInt16, rhs : system.Byte) : system.Boolean;
- @:op(A > B) public static function gt7(lhs : system.UInt16, rhs : system.Int16) : system.Boolean;
- @:op(A > B) public static function gt8(lhs : system.UInt16, rhs : system.Int32) : system.Boolean;
- @:op(A > B) public static function gt9(lhs : system.UInt16, rhs : system.Int64) : system.Boolean;
- @:op(A > B) public static function gt10(lhs : system.UInt16, rhs : system.SByte) : system.Boolean;
- @:op(A > B) public static function gt11(lhs : system.UInt16, rhs : system.UInt16) : system.Boolean;
- @:op(A > B) public static function gt12(lhs : system.UInt16, rhs : system.UInt32) : system.Boolean;
- @:op(A > B) public static function gt13(lhs : system.UInt16, rhs : system.UInt64) : system.Boolean;
- @:op(A > B) public static function gt14(lhs : system.UInt16, rhs : system.Single) : system.Boolean;
- @:op(A > B) public static function gt15(lhs : system.UInt16, rhs : system.Double) : system.Boolean;
-
-
- @:op(A < B) public static function lt0(lhs : system.UInt16, rhs : system.UInt16) : system.Boolean;
- @:op(A < B) public static function lt1(lhs : system.UInt16, rhs : Int) : system.Boolean;
- @:op(A < B) public static function lt2(lhs : Int, rhs : system.UInt16) : system.Boolean;
- @:op(A < B) public static function lt3(lhs : system.UInt16, rhs : Float) : system.Boolean;
- @:op(A < B) public static function lt4(lhs : Float, rhs : system.UInt16) : system.Boolean;
-
- @:op(A < B) public static function lt5(lhs : system.UInt16, rhs : system.Char) : system.Boolean;
- @:op(A < B) public static function lt6(lhs : system.UInt16, rhs : system.Byte) : system.Boolean;
- @:op(A < B) public static function lt7(lhs : system.UInt16, rhs : system.Int16) : system.Boolean;
- @:op(A < B) public static function lt8(lhs : system.UInt16, rhs : system.Int32) : system.Boolean;
- @:op(A < B) public static function lt9(lhs : system.UInt16, rhs : system.Int64) : system.Boolean;
- @:op(A < B) public static function lt10(lhs : system.UInt16, rhs : system.SByte) : system.Boolean;
- @:op(A < B) public static function lt11(lhs : system.UInt16, rhs : system.UInt16) : system.Boolean;
- @:op(A < B) public static function lt12(lhs : system.UInt16, rhs : system.UInt32) : system.Boolean;
- @:op(A < B) public static function lt13(lhs : system.UInt16, rhs : system.UInt64) : system.Boolean;
- @:op(A < B) public static function lt14(lhs : system.UInt16, rhs : system.Single) : system.Boolean;
- @:op(A < B) public static function lt15(lhs : system.UInt16, rhs : system.Double) : system.Boolean;
-
-
- @:op(A >= B) public static function gte0(lhs : system.UInt16, rhs : system.UInt16) : system.Boolean;
- @:op(A >= B) public static function gte1(lhs : system.UInt16, rhs : Int) : system.Boolean;
- @:op(A >= B) public static function gte2(lhs : Int, rhs : system.UInt16) : system.Boolean;
- @:op(A >= B) public static function gte3(lhs : system.UInt16, rhs : Float) : system.Boolean;
- @:op(A >= B) public static function gte4(lhs : Float, rhs : system.UInt16) : system.Boolean;
-
- @:op(A >= B) public static function gte5(lhs : system.UInt16, rhs : system.Char) : system.Boolean;
- @:op(A >= B) public static function gte6(lhs : system.UInt16, rhs : system.Byte) : system.Boolean;
- @:op(A >= B) public static function gte7(lhs : system.UInt16, rhs : system.Int16) : system.Boolean;
- @:op(A >= B) public static function gte8(lhs : system.UInt16, rhs : system.Int32) : system.Boolean;
- @:op(A >= B) public static function gte9(lhs : system.UInt16, rhs : system.Int64) : system.Boolean;
- @:op(A >= B) public static function gte10(lhs : system.UInt16, rhs : system.SByte) : system.Boolean;
- @:op(A >= B) public static function gte11(lhs : system.UInt16, rhs : system.UInt16) : system.Boolean;
- @:op(A >= B) public static function gte12(lhs : system.UInt16, rhs : system.UInt32) : system.Boolean;
- @:op(A >= B) public static function gte13(lhs : system.UInt16, rhs : system.UInt64) : system.Boolean;
- @:op(A >= B) public static function gte14(lhs : system.UInt16, rhs : system.Single) : system.Boolean;
- @:op(A >= B) public static function gte15(lhs : system.UInt16, rhs : system.Double) : system.Boolean;
-
-
- @:op(A <= B) public static function lte0(lhs : system.UInt16, rhs : system.UInt16) : system.Boolean;
- @:op(A <= B) public static function lte1(lhs : system.UInt16, rhs : Int) : system.Boolean;
- @:op(A <= B) public static function lte2(lhs : Int, rhs : system.UInt16) : system.Boolean;
- @:op(A <= B) public static function lte3(lhs : system.UInt16, rhs : Float) : system.Boolean;
- @:op(A <= B) public static function lte4(lhs : Float, rhs : system.UInt16) : system.Boolean;
-
- @:op(A <= B) public static function lte5(lhs : system.UInt16, rhs : system.Char) : system.Boolean;
- @:op(A <= B) public static function lte6(lhs : system.UInt16, rhs : system.Byte) : system.Boolean;
- @:op(A <= B) public static function lte7(lhs : system.UInt16, rhs : system.Int16) : system.Boolean;
- @:op(A <= B) public static function lte8(lhs : system.UInt16, rhs : system.Int32) : system.Boolean;
- @:op(A <= B) public static function lte9(lhs : system.UInt16, rhs : system.Int64) : system.Boolean;
- @:op(A <= B) public static function lte10(lhs : system.UInt16, rhs : system.SByte) : system.Boolean;
- @:op(A <= B) public static function lte11(lhs : system.UInt16, rhs : system.UInt16) : system.Boolean;
- @:op(A <= B) public static function lte12(lhs : system.UInt16, rhs : system.UInt32) : system.Boolean;
- @:op(A <= B) public static function lte13(lhs : system.UInt16, rhs : system.UInt64) : system.Boolean;
- @:op(A <= B) public static function lte14(lhs : system.UInt16, rhs : system.Single) : system.Boolean;
- @:op(A <= B) public static function lte15(lhs : system.UInt16, rhs : system.Double) : system.Boolean;
-
-
- @:op(A == B) public static function eq0(lhs : system.UInt16, rhs : system.UInt16) : system.Boolean;
- @:op(A == B) public static function eq1(lhs : system.UInt16, rhs : Int) : system.Boolean;
- @:op(A == B) public static function eq2(lhs : Int, rhs : system.UInt16) : system.Boolean;
- @:op(A == B) public static function eq3(lhs : system.UInt16, rhs : Float) : system.Boolean;
- @:op(A == B) public static function eq4(lhs : Float, rhs : system.UInt16) : system.Boolean;
-
- @:op(A == B) public static function eq5(lhs : system.UInt16, rhs : system.Char) : system.Boolean;
- @:op(A == B) public static function eq6(lhs : system.UInt16, rhs : system.Byte) : system.Boolean;
- @:op(A == B) public static function eq7(lhs : system.UInt16, rhs : system.Int16) : system.Boolean;
- @:op(A == B) public static function eq8(lhs : system.UInt16, rhs : system.Int32) : system.Boolean;
- @:op(A == B) public static function eq9(lhs : system.UInt16, rhs : system.Int64) : system.Boolean;
- @:op(A == B) public static function eq10(lhs : system.UInt16, rhs : system.SByte) : system.Boolean;
- @:op(A == B) public static function eq11(lhs : system.UInt16, rhs : system.UInt16) : system.Boolean;
- @:op(A == B) public static function eq12(lhs : system.UInt16, rhs : system.UInt32) : system.Boolean;
- @:op(A == B) public static function eq13(lhs : system.UInt16, rhs : system.UInt64) : system.Boolean;
- @:op(A == B) public static function eq14(lhs : system.UInt16, rhs : system.Single) : system.Boolean;
- @:op(A == B) public static function eq15(lhs : system.UInt16, rhs : system.Double) : system.Boolean;
-
-
- @:op(A != B) public static function neq0(lhs : system.UInt16, rhs : system.UInt16) : system.Boolean;
- @:op(A != B) public static function neq1(lhs : system.UInt16, rhs : Int) : system.Boolean;
- @:op(A != B) public static function neq2(lhs : Int, rhs : system.UInt16) : system.Boolean;
- @:op(A != B) public static function neq3(lhs : system.UInt16, rhs : Float) : system.Boolean;
- @:op(A != B) public static function neq4(lhs : Float, rhs : system.UInt16) : system.Boolean;
-
- @:op(A != B) public static function neq5(lhs : system.UInt16, rhs : system.Char) : system.Boolean;
- @:op(A != B) public static function neq6(lhs : system.UInt16, rhs : system.Byte) : system.Boolean;
- @:op(A != B) public static function neq7(lhs : system.UInt16, rhs : system.Int16) : system.Boolean;
- @:op(A != B) public static function neq8(lhs : system.UInt16, rhs : system.Int32) : system.Boolean;
- @:op(A != B) public static function neq9(lhs : system.UInt16, rhs : system.Int64) : system.Boolean;
- @:op(A != B) public static function neq10(lhs : system.UInt16, rhs : system.SByte) : system.Boolean;
- @:op(A != B) public static function neq11(lhs : system.UInt16, rhs : system.UInt16) : system.Boolean;
- @:op(A != B) public static function neq12(lhs : system.UInt16, rhs : system.UInt32) : system.Boolean;
- @:op(A != B) public static function neq13(lhs : system.UInt16, rhs : system.UInt64) : system.Boolean;
- @:op(A != B) public static function neq14(lhs : system.UInt16, rhs : system.Single) : system.Boolean;
- @:op(A != B) public static function neq15(lhs : system.UInt16, rhs : system.Double) : system.Boolean;
-
-
- @:op(A & B) public static function and0(lhs : system.UInt16, rhs : system.UInt16) : system.Int32;
- @:op(A & B) public static function and1(lhs : system.UInt16, rhs : Int) : system.Int32;
- @:op(A & B) public static function and2(lhs : Int, rhs : system.UInt16) : system.Int32;
-
- @:op(A & B) public static function and5(lhs : system.UInt16, rhs : system.Char) : system.Int32;
- @:op(A & B) public static function and6(lhs : system.UInt16, rhs : system.Byte) : system.Int32;
- @:op(A & B) public static function and7(lhs : system.UInt16, rhs : system.Int16) : system.Int32;
- @:op(A & B) public static function and8(lhs : system.UInt16, rhs : system.Int32) : system.Int32;
- @:op(A & B) public static function and9(lhs : system.UInt16, rhs : system.Int64) : system.Int64;
- @:op(A & B) public static function and10(lhs : system.UInt16, rhs : system.SByte) : system.Int32;
- @:op(A & B) public static function and11(lhs : system.UInt16, rhs : system.UInt16) : system.Int32;
- @:op(A & B) public static function and12(lhs : system.UInt16, rhs : system.UInt32) : system.UInt32;
- @:op(A & B) public static function and13(lhs : system.UInt16, rhs : system.UInt64) : system.UInt64;
-
-
- @:op(A | B) public static function or0(lhs : system.UInt16, rhs : system.UInt16) : system.Int32;
- @:op(A | B) public static function or1(lhs : system.UInt16, rhs : Int) : system.Int32;
- @:op(A | B) public static function or2(lhs : Int, rhs : system.UInt16) : system.Int32;
-
- @:op(A | B) public static function or5(lhs : system.UInt16, rhs : system.Char) : system.Int32;
- @:op(A | B) public static function or6(lhs : system.UInt16, rhs : system.Byte) : system.Int32;
- @:op(A | B) public static function or7(lhs : system.UInt16, rhs : system.Int16) : system.Int32;
- @:op(A | B) public static function or8(lhs : system.UInt16, rhs : system.Int32) : system.Int32;
- @:op(A | B) public static function or9(lhs : system.UInt16, rhs : system.Int64) : system.Int64;
- @:op(A | B) public static function or10(lhs : system.UInt16, rhs : system.SByte) : system.Int32;
- @:op(A | B) public static function or11(lhs : system.UInt16, rhs : system.UInt16) : system.Int32;
- @:op(A | B) public static function or12(lhs : system.UInt16, rhs : system.UInt32) : system.UInt32;
- @:op(A | B) public static function or13(lhs : system.UInt16, rhs : system.UInt64) : system.UInt64;
-
-
- @:op(A ^ B) public static function xor0(lhs : system.UInt16, rhs : system.UInt16) : system.Int32;
- @:op(A ^ B) public static function xor1(lhs : system.UInt16, rhs : Int) : system.Int32;
- @:op(A ^ B) public static function xor2(lhs : Int, rhs : system.UInt16) : system.Int32;
-
- @:op(A ^ B) public static function xor5(lhs : system.UInt16, rhs : system.Char) : system.Int32;
- @:op(A ^ B) public static function xor6(lhs : system.UInt16, rhs : system.Byte) : system.Int32;
- @:op(A ^ B) public static function xor7(lhs : system.UInt16, rhs : system.Int16) : system.Int32;
- @:op(A ^ B) public static function xor8(lhs : system.UInt16, rhs : system.Int32) : system.Int32;
- @:op(A ^ B) public static function xor9(lhs : system.UInt16, rhs : system.Int64) : system.Int64;
- @:op(A ^ B) public static function xor10(lhs : system.UInt16, rhs : system.SByte) : system.Int32;
- @:op(A ^ B) public static function xor11(lhs : system.UInt16, rhs : system.UInt16) : system.Int32;
- @:op(A ^ B) public static function xor12(lhs : system.UInt16, rhs : system.UInt32) : system.UInt32;
- @:op(A ^ B) public static function xor13(lhs : system.UInt16, rhs : system.UInt64) : system.UInt64;
-
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/UInt16Array.hx b/Phase/Mscorlib/system/UInt16Array.hx
deleted file mode 100644
index af471c71f..000000000
--- a/Phase/Mscorlib/system/UInt16Array.hx
+++ /dev/null
@@ -1,21 +0,0 @@
-package system;
-
-abstract UInt16Array(js.html.Uint16Array)
-{
- public inline function new(length:Int32) this = new js.html.Uint16Array(length.ToHaxeInt());
-
- @:from public static inline function fromArray(a:Array):UInt16Array return cast new js.html.Uint16Array(untyped a);
- @:from public static inline function fromFixedArray(a:FixedArray):UInt16Array return cast new js.html.Uint16Array(untyped a.ToHaxeArray());
-
- public var Length(get, never):Int32;
- public inline function get_Length() : Int32 return this.length;
-
- @:op([]) public inline function get(index:Int32):UInt16 return this[index.ToHaxeInt()];
- @:op([]) public inline function set(index:Int32, val:UInt16):UInt16 return this[index.ToHaxeInt()] = val.ToHaxeFloat();
-
- public inline function iterator() : Iterator return new UInt16ArrayIterator(this);
-
- public inline function ToEnumerable() : system.collections.generic.IEnumerable return new UInt16ArrayEnumerable(this);
-
- public static inline function empty(size:Int32) return new UInt16Array(size);
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/UInt16ArrayEnumerable.hx b/Phase/Mscorlib/system/UInt16ArrayEnumerable.hx
deleted file mode 100644
index d599804d2..000000000
--- a/Phase/Mscorlib/system/UInt16ArrayEnumerable.hx
+++ /dev/null
@@ -1,18 +0,0 @@
-package system;
-
-import system.collections.generic.IEnumerable;
-import system.collections.generic.IEnumerator;
-
-class UInt16ArrayEnumerable implements IEnumerable
-{
- private var _array:js.html.Uint16Array;
- public function new(array:js.html.Uint16Array)
- {
- _array= array;
- }
-
- public function GetEnumerator() : IEnumerator
- {
- return new UInt16ArrayEnumerator(_array);
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/UInt16ArrayEnumerator.hx b/Phase/Mscorlib/system/UInt16ArrayEnumerator.hx
deleted file mode 100644
index 8af965218..000000000
--- a/Phase/Mscorlib/system/UInt16ArrayEnumerator.hx
+++ /dev/null
@@ -1,29 +0,0 @@
-package system;
-
-import system.collections.generic.IEnumerator;
-
-class UInt16ArrayEnumerator implements IEnumerator
-{
- private var _array:js.html.Uint16Array;
- private var _i:Int;
-
- public function new(array:js.html.Uint16Array)
- {
- _array = array;
- _i = -1;
- }
-
- public var Current(get, never):UInt16;
- public function get_Current() : UInt16 return _array[_i];
- public function MoveNext() : Bool
- {
- if(_i >= _array.length - 1) return false;
- _i++;
- return true;
-
- }
- public function Reset():Void
- {
- _i = -1;
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/UInt16Iterator.hx b/Phase/Mscorlib/system/UInt16Iterator.hx
deleted file mode 100644
index d77d630dd..000000000
--- a/Phase/Mscorlib/system/UInt16Iterator.hx
+++ /dev/null
@@ -1,19 +0,0 @@
-package system;
-
-class UInt16ArrayIterator
-{
- private var _array:js.html.Uint16Array;
- private var _i:Int;
-
- public function new(array:js.html.Uint16Array)
- {
- _array = array;
- _i = 0;
- }
-
- public function hasNext() return _i < _array.length;
- public function next()
- {
- return _array[_i++];
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/UInt32.hx b/Phase/Mscorlib/system/UInt32.hx
deleted file mode 100644
index b5c35f397..000000000
--- a/Phase/Mscorlib/system/UInt32.hx
+++ /dev/null
@@ -1,319 +0,0 @@
-package system;
-
-abstract UInt32(Int) from Int
-{
- public inline function new(i:Int) this = system.Convert.ToUInt32(i);
-
- public inline function ToHaxeInt(): Int return this;
- public inline function ToString() : system.CsString return Std.string(this);
-
- public inline function ToBoolean_IFormatProvider(provider:IFormatProvider) : system.Boolean return system.Convert.ToBoolean_UInt32(this);
- public inline function ToChar_IFormatProvider(provider:IFormatProvider) : system.Char return system.Convert.ToChar_UInt32(this);
- public inline function ToSByte_IFormatProvider(provider:IFormatProvider) : system.SByte return system.Convert.ToSByte_UInt32(this);
- public inline function ToByte_IFormatProvider(provider:IFormatProvider) : system.Byte return system.Convert.ToByte_UInt32(this);
- public inline function ToInt16_IFormatProvider(provider:IFormatProvider) : system.Int16 return system.Convert.ToInt16_UInt32(this);
- public inline function ToUInt16_IFormatProvider(provider:IFormatProvider) : system.UInt16 return system.Convert.ToUInt16_UInt32(this);
- public inline function ToInt32_IFormatProvider(provider:IFormatProvider) : system.Int32 return system.Convert.ToInt32_UInt32(this);
- public inline function ToUInt32_IFormatProvider(provider:IFormatProvider) : system.UInt32 return system.Convert.ToUInt32_UInt32(this);
- public inline function ToInt64_IFormatProvider(provider:IFormatProvider) : system.Int64 return system.Convert.ToInt64_UInt32(this);
- public inline function ToUInt64_IFormatProvider(provider:IFormatProvider) : system.UInt64 return system.Convert.ToUInt64_UInt32(this);
- public inline function ToSingle_IFormatProvider(provider:IFormatProvider) : system.Single return system.Convert.ToSingle_UInt32(this);
- public inline function ToDouble_IFormatProvider(provider:IFormatProvider) : system.Double return system.Convert.ToDouble_UInt32(this);
-
- public function GetHashCode() : system.Int32 return this;
-
- @:op(-A) public inline function neg() : system.Int64 return -this;
-
- @:op(~A)public inline function not() : system.UInt32 return ~this;
-
- @:op(A++)public inline function postinc() : system.UInt32 return this++;
- @:op(++A)public inline function preinc() : system.UInt32 return ++this;
-
- @:op(A--)public inline function postdec() : system.UInt32 return this--;
- @:op(--A)public inline function predec() : system.UInt32 return --this;
-
- @:op(A * B) public static function mul0(lhs : system.UInt32, rhs : system.UInt32) : system.UInt32;
- @:op(A * B) public static function mul1(lhs : system.UInt32, rhs : Int) : system.Int64;
- @:op(A * B) public static function mul2(lhs : Int, rhs : system.UInt32) : system.Int64;
- @:op(A * B) public static function mul3(lhs : system.UInt32, rhs : Float) : system.Double;
- @:op(A * B) public static function mul4(lhs : Float, rhs : system.UInt32) : system.Double;
-
- @:op(A * B) public static function mul5(lhs : system.UInt32, rhs : system.Char) : system.Int32;
- @:op(A * B) public static function mul6(lhs : system.UInt32, rhs : system.Byte) : system.Int32;
- @:op(A * B) public static function mul7(lhs : system.UInt32, rhs : system.Int16) : system.Int32;
- @:op(A * B) public static function mul8(lhs : system.UInt32, rhs : system.Int32) : system.Int32;
- @:op(A * B) public static function mul9(lhs : system.UInt32, rhs : system.Int64) : system.Int64;
- @:op(A * B) public static function mul10(lhs : system.UInt32, rhs : system.SByte) : system.Int32;
- @:op(A * B) public static function mul11(lhs : system.UInt32, rhs : system.UInt16) : system.Int32;
- @:op(A * B) public static function mul12(lhs : system.UInt32, rhs : system.UInt32) : system.UInt32;
- @:op(A * B) public static function mul13(lhs : system.UInt32, rhs : system.UInt64) : system.UInt64;
- @:op(A * B) public static function mul14(lhs : system.UInt32, rhs : system.Single) : system.Single;
- @:op(A * B) public static function mul15(lhs : system.UInt32, rhs : system.Double) : system.Double;
-
-
- @:op(A / B) public static inline function div0(lhs : system.UInt32, rhs : system.UInt32) : system.UInt32 return Std.int(lhs.ToHaxeInt() / rhs.ToHaxeInt());
- @:op(A / B) public static inline function div1(lhs : system.UInt32, rhs : Int) : system.Int64 return Std.int(lhs.ToHaxeInt() / rhs);
- @:op(A / B) public static inline function div2(lhs : Int, rhs : system.UInt32) : system.Int64 return Std.int(lhs / rhs.ToHaxeInt());
- @:op(A / B) public static function div3(lhs : system.UInt32, rhs : Float) : system.Double;
- @:op(A / B) public static function div4(lhs : Float, rhs : system.UInt32) : system.Double;
-
- @:op(A / B) public static function div5(lhs : system.UInt32, rhs : system.Char) : system.Int32;
- @:op(A / B) public static function div6(lhs : system.UInt32, rhs : system.Byte) : system.Int32;
- @:op(A / B) public static function div7(lhs : system.UInt32, rhs : system.Int16) : system.Int32;
- @:op(A / B) public static function div8(lhs : system.UInt32, rhs : system.Int32) : system.Int32;
- @:op(A / B) public static function div9(lhs : system.UInt32, rhs : system.Int64) : system.Int64;
- @:op(A / B) public static function div10(lhs : system.UInt32, rhs : system.SByte) : system.Int32;
- @:op(A / B) public static function div11(lhs : system.UInt32, rhs : system.UInt16) : system.Int32;
- @:op(A / B) public static function div12(lhs : system.UInt32, rhs : system.UInt32) : system.UInt32;
- @:op(A / B) public static function div13(lhs : system.UInt32, rhs : system.UInt64) : system.UInt64;
- @:op(A / B) public static function div14(lhs : system.UInt32, rhs : system.Single) : system.Single;
- @:op(A / B) public static function div15(lhs : system.UInt32, rhs : system.Double) : system.Double;
-
-
- @:op(A % B) public static function mod0(lhs : system.UInt32, rhs : system.UInt32) : system.UInt32;
- @:op(A % B) public static function mod1(lhs : system.UInt32, rhs : Int) : system.Int64;
- @:op(A % B) public static function mod2(lhs : Int, rhs : system.UInt32) : system.Int64;
- @:op(A % B) public static function mod3(lhs : system.UInt32, rhs : Float) : system.Double;
- @:op(A % B) public static function mod4(lhs : Float, rhs : system.UInt32) : system.Double;
-
- @:op(A % B) public static function mod5(lhs : system.UInt32, rhs : system.Char) : system.Int32;
- @:op(A % B) public static function mod6(lhs : system.UInt32, rhs : system.Byte) : system.Int32;
- @:op(A % B) public static function mod7(lhs : system.UInt32, rhs : system.Int16) : system.Int32;
- @:op(A % B) public static function mod8(lhs : system.UInt32, rhs : system.Int32) : system.Int32;
- @:op(A % B) public static function mod9(lhs : system.UInt32, rhs : system.Int64) : system.Int64;
- @:op(A % B) public static function mod10(lhs : system.UInt32, rhs : system.SByte) : system.Int32;
- @:op(A % B) public static function mod11(lhs : system.UInt32, rhs : system.UInt16) : system.Int32;
- @:op(A % B) public static function mod12(lhs : system.UInt32, rhs : system.UInt32) : system.UInt32;
- @:op(A % B) public static function mod13(lhs : system.UInt32, rhs : system.UInt64) : system.UInt64;
- @:op(A % B) public static function mod14(lhs : system.UInt32, rhs : system.Single) : system.Single;
- @:op(A % B) public static function mod15(lhs : system.UInt32, rhs : system.Double) : system.Double;
-
-
- @:op(A + B) public static function add0(lhs : system.UInt32, rhs : system.UInt32) : system.UInt32;
- @:op(A + B) public static function add1(lhs : system.UInt32, rhs : Int) : system.Int64;
- @:op(A + B) public static function add2(lhs : Int, rhs : system.UInt32) : system.Int64;
- @:op(A + B) public static function add3(lhs : system.UInt32, rhs : Float) : system.Double;
- @:op(A + B) public static function add4(lhs : Float, rhs : system.UInt32) : system.Double;
-
- @:op(A + B) public static function add5(lhs : system.UInt32, rhs : system.Char) : system.Int32;
- @:op(A + B) public static function add6(lhs : system.UInt32, rhs : system.Byte) : system.Int32;
- @:op(A + B) public static function add7(lhs : system.UInt32, rhs : system.Int16) : system.Int32;
- @:op(A + B) public static function add8(lhs : system.UInt32, rhs : system.Int32) : system.Int32;
- @:op(A + B) public static function add9(lhs : system.UInt32, rhs : system.Int64) : system.Int64;
- @:op(A + B) public static function add10(lhs : system.UInt32, rhs : system.SByte) : system.Int32;
- @:op(A + B) public static function add11(lhs : system.UInt32, rhs : system.UInt16) : system.Int32;
- @:op(A + B) public static function add12(lhs : system.UInt32, rhs : system.UInt32) : system.UInt32;
- @:op(A + B) public static function add13(lhs : system.UInt32, rhs : system.UInt64) : system.UInt64;
- @:op(A + B) public static function add14(lhs : system.UInt32, rhs : system.Single) : system.Single;
- @:op(A + B) public static function add15(lhs : system.UInt32, rhs : system.Double) : system.Double;
- @:op(A + B) public static inline function add16(lhs : system.UInt32, rhs : system.CsString) : system.CsString return lhs.ToString() + rhs;
- @:op(A + B) public static inline function add17(lhs : system.UInt32, rhs : String) : system.CsString return lhs.ToString() + rhs;
-
-
- @:op(A - B) public static function sub0(lhs : system.UInt32, rhs : system.UInt32) : system.UInt32;
- @:op(A - B) public static function sub1(lhs : system.UInt32, rhs : Int) : system.Int64;
- @:op(A - B) public static function sub2(lhs : Int, rhs : system.UInt32) : system.Int64;
- @:op(A - B) public static function sub3(lhs : system.UInt32, rhs : Float) : system.Double;
- @:op(A - B) public static function sub4(lhs : Float, rhs : system.UInt32) : system.Double;
-
- @:op(A - B) public static function sub5(lhs : system.UInt32, rhs : system.Char) : system.Int32;
- @:op(A - B) public static function sub6(lhs : system.UInt32, rhs : system.Byte) : system.Int32;
- @:op(A - B) public static function sub7(lhs : system.UInt32, rhs : system.Int16) : system.Int32;
- @:op(A - B) public static function sub8(lhs : system.UInt32, rhs : system.Int32) : system.Int32;
- @:op(A - B) public static function sub9(lhs : system.UInt32, rhs : system.Int64) : system.Int64;
- @:op(A - B) public static function sub10(lhs : system.UInt32, rhs : system.SByte) : system.Int32;
- @:op(A - B) public static function sub11(lhs : system.UInt32, rhs : system.UInt16) : system.Int32;
- @:op(A - B) public static function sub12(lhs : system.UInt32, rhs : system.UInt32) : system.UInt32;
- @:op(A - B) public static function sub13(lhs : system.UInt32, rhs : system.UInt64) : system.UInt64;
- @:op(A - B) public static function sub14(lhs : system.UInt32, rhs : system.Single) : system.Single;
- @:op(A - B) public static function sub15(lhs : system.UInt32, rhs : system.Double) : system.Double;
-
-
- @:op(A << B) public static function shl0(lhs : system.UInt32, rhs : system.UInt32) : system.UInt32;
- @:op(A << B) public static function shl1(lhs : system.UInt32, rhs : Int) : system.UInt32;
- @:op(A << B) public static function shl2(lhs : Int, rhs : system.UInt32) : system.UInt32;
-
- @:op(A << B) public static function shl5(lhs : system.UInt32, rhs : system.Char) : system.Int32;
- @:op(A << B) public static function shl6(lhs : system.UInt32, rhs : system.Byte) : system.Int32;
- @:op(A << B) public static function shl7(lhs : system.UInt32, rhs : system.Int16) : system.Int32;
- @:op(A << B) public static function shl8(lhs : system.UInt32, rhs : system.Int32) : system.Int32;
- // @:op(A << B) public static function shl9(lhs : system.UInt32, rhs : system.Int64) : system.Int64;
- @:op(A << B) public static function shl10(lhs : system.UInt32, rhs : system.SByte) : system.Int32;
- @:op(A << B) public static function shl11(lhs : system.UInt32, rhs : system.UInt16) : system.Int32;
- // @:op(A << B) public static function shl12(lhs : system.UInt32, rhs : system.UInt32) : system.UInt32;
- // @:op(A << B) public static function shl13(lhs : system.UInt32, rhs : system.UInt64) : system.UInt64;
-
-
- @:op(A >> B) public static function shr0(lhs : system.UInt32, rhs : system.UInt32) : system.UInt32;
- @:op(A >> B) public static function shr1(lhs : system.UInt32, rhs : Int) : system.UInt32;
- @:op(A >> B) public static function shr2(lhs : Int, rhs : system.UInt32) : system.UInt32;
-
- @:op(A >> B) public static function shr5(lhs : system.UInt32, rhs : system.Char) : system.Int32;
- @:op(A >> B) public static function shr6(lhs : system.UInt32, rhs : system.Byte) : system.Int32;
- @:op(A >> B) public static function shr7(lhs : system.UInt32, rhs : system.Int16) : system.Int32;
- @:op(A >> B) public static function shr8(lhs : system.UInt32, rhs : system.Int32) : system.Int32;
- // @:op(A >> B) public static function shr9(lhs : system.UInt32, rhs : system.Int64) : system.Int64;
- @:op(A >> B) public static function shr10(lhs : system.UInt32, rhs : system.SByte) : system.Int32;
- @:op(A >> B) public static function shr11(lhs : system.UInt32, rhs : system.UInt16) : system.Int32;
- // @:op(A >> B) public static function shr12(lhs : system.UInt32, rhs : system.UInt32) : system.UInt32;
- // @:op(A >> B) public static function shr13(lhs : system.UInt32, rhs : system.UInt64) : system.UInt64;
-
-
- @:op(A > B) public static function gt0(lhs : system.UInt32, rhs : system.UInt32) : system.Boolean;
- @:op(A > B) public static function gt1(lhs : system.UInt32, rhs : Int) : system.Boolean;
- @:op(A > B) public static function gt2(lhs : Int, rhs : system.UInt32) : system.Boolean;
- @:op(A > B) public static function gt3(lhs : system.UInt32, rhs : Float) : system.Boolean;
- @:op(A > B) public static function gt4(lhs : Float, rhs : system.UInt32) : system.Boolean;
-
- @:op(A > B) public static function gt5(lhs : system.UInt32, rhs : system.Char) : system.Boolean;
- @:op(A > B) public static function gt6(lhs : system.UInt32, rhs : system.Byte) : system.Boolean;
- @:op(A > B) public static function gt7(lhs : system.UInt32, rhs : system.Int16) : system.Boolean;
- @:op(A > B) public static function gt8(lhs : system.UInt32, rhs : system.Int32) : system.Boolean;
- @:op(A > B) public static function gt9(lhs : system.UInt32, rhs : system.Int64) : system.Boolean;
- @:op(A > B) public static function gt10(lhs : system.UInt32, rhs : system.SByte) : system.Boolean;
- @:op(A > B) public static function gt11(lhs : system.UInt32, rhs : system.UInt16) : system.Boolean;
- @:op(A > B) public static function gt12(lhs : system.UInt32, rhs : system.UInt32) : system.Boolean;
- @:op(A > B) public static function gt13(lhs : system.UInt32, rhs : system.UInt64) : system.Boolean;
- @:op(A > B) public static function gt14(lhs : system.UInt32, rhs : system.Single) : system.Boolean;
- @:op(A > B) public static function gt15(lhs : system.UInt32, rhs : system.Double) : system.Boolean;
-
-
- @:op(A < B) public static function lt0(lhs : system.UInt32, rhs : system.UInt32) : system.Boolean;
- @:op(A < B) public static function lt1(lhs : system.UInt32, rhs : Int) : system.Boolean;
- @:op(A < B) public static function lt2(lhs : Int, rhs : system.UInt32) : system.Boolean;
- @:op(A < B) public static function lt3(lhs : system.UInt32, rhs : Float) : system.Boolean;
- @:op(A < B) public static function lt4(lhs : Float, rhs : system.UInt32) : system.Boolean;
-
- @:op(A < B) public static function lt5(lhs : system.UInt32, rhs : system.Char) : system.Boolean;
- @:op(A < B) public static function lt6(lhs : system.UInt32, rhs : system.Byte) : system.Boolean;
- @:op(A < B) public static function lt7(lhs : system.UInt32, rhs : system.Int16) : system.Boolean;
- @:op(A < B) public static function lt8(lhs : system.UInt32, rhs : system.Int32) : system.Boolean;
- @:op(A < B) public static function lt9(lhs : system.UInt32, rhs : system.Int64) : system.Boolean;
- @:op(A < B) public static function lt10(lhs : system.UInt32, rhs : system.SByte) : system.Boolean;
- @:op(A < B) public static function lt11(lhs : system.UInt32, rhs : system.UInt16) : system.Boolean;
- @:op(A < B) public static function lt12(lhs : system.UInt32, rhs : system.UInt32) : system.Boolean;
- @:op(A < B) public static function lt13(lhs : system.UInt32, rhs : system.UInt64) : system.Boolean;
- @:op(A < B) public static function lt14(lhs : system.UInt32, rhs : system.Single) : system.Boolean;
- @:op(A < B) public static function lt15(lhs : system.UInt32, rhs : system.Double) : system.Boolean;
-
-
- @:op(A >= B) public static function gte0(lhs : system.UInt32, rhs : system.UInt32) : system.Boolean;
- @:op(A >= B) public static function gte1(lhs : system.UInt32, rhs : Int) : system.Boolean;
- @:op(A >= B) public static function gte2(lhs : Int, rhs : system.UInt32) : system.Boolean;
- @:op(A >= B) public static function gte3(lhs : system.UInt32, rhs : Float) : system.Boolean;
- @:op(A >= B) public static function gte4(lhs : Float, rhs : system.UInt32) : system.Boolean;
-
- @:op(A >= B) public static function gte5(lhs : system.UInt32, rhs : system.Char) : system.Boolean;
- @:op(A >= B) public static function gte6(lhs : system.UInt32, rhs : system.Byte) : system.Boolean;
- @:op(A >= B) public static function gte7(lhs : system.UInt32, rhs : system.Int16) : system.Boolean;
- @:op(A >= B) public static function gte8(lhs : system.UInt32, rhs : system.Int32) : system.Boolean;
- @:op(A >= B) public static function gte9(lhs : system.UInt32, rhs : system.Int64) : system.Boolean;
- @:op(A >= B) public static function gte10(lhs : system.UInt32, rhs : system.SByte) : system.Boolean;
- @:op(A >= B) public static function gte11(lhs : system.UInt32, rhs : system.UInt16) : system.Boolean;
- @:op(A >= B) public static function gte12(lhs : system.UInt32, rhs : system.UInt32) : system.Boolean;
- @:op(A >= B) public static function gte13(lhs : system.UInt32, rhs : system.UInt64) : system.Boolean;
- @:op(A >= B) public static function gte14(lhs : system.UInt32, rhs : system.Single) : system.Boolean;
- @:op(A >= B) public static function gte15(lhs : system.UInt32, rhs : system.Double) : system.Boolean;
-
-
- @:op(A <= B) public static function lte0(lhs : system.UInt32, rhs : system.UInt32) : system.Boolean;
- @:op(A <= B) public static function lte1(lhs : system.UInt32, rhs : Int) : system.Boolean;
- @:op(A <= B) public static function lte2(lhs : Int, rhs : system.UInt32) : system.Boolean;
- @:op(A <= B) public static function lte3(lhs : system.UInt32, rhs : Float) : system.Boolean;
- @:op(A <= B) public static function lte4(lhs : Float, rhs : system.UInt32) : system.Boolean;
-
- @:op(A <= B) public static function lte5(lhs : system.UInt32, rhs : system.Char) : system.Boolean;
- @:op(A <= B) public static function lte6(lhs : system.UInt32, rhs : system.Byte) : system.Boolean;
- @:op(A <= B) public static function lte7(lhs : system.UInt32, rhs : system.Int16) : system.Boolean;
- @:op(A <= B) public static function lte8(lhs : system.UInt32, rhs : system.Int32) : system.Boolean;
- @:op(A <= B) public static function lte9(lhs : system.UInt32, rhs : system.Int64) : system.Boolean;
- @:op(A <= B) public static function lte10(lhs : system.UInt32, rhs : system.SByte) : system.Boolean;
- @:op(A <= B) public static function lte11(lhs : system.UInt32, rhs : system.UInt16) : system.Boolean;
- @:op(A <= B) public static function lte12(lhs : system.UInt32, rhs : system.UInt32) : system.Boolean;
- @:op(A <= B) public static function lte13(lhs : system.UInt32, rhs : system.UInt64) : system.Boolean;
- @:op(A <= B) public static function lte14(lhs : system.UInt32, rhs : system.Single) : system.Boolean;
- @:op(A <= B) public static function lte15(lhs : system.UInt32, rhs : system.Double) : system.Boolean;
-
-
- @:op(A == B) public static function eq0(lhs : system.UInt32, rhs : system.UInt32) : system.Boolean;
- @:op(A == B) public static function eq1(lhs : system.UInt32, rhs : Int) : system.Boolean;
- @:op(A == B) public static function eq2(lhs : Int, rhs : system.UInt32) : system.Boolean;
- @:op(A == B) public static function eq3(lhs : system.UInt32, rhs : Float) : system.Boolean;
- @:op(A == B) public static function eq4(lhs : Float, rhs : system.UInt32) : system.Boolean;
-
- @:op(A == B) public static function eq5(lhs : system.UInt32, rhs : system.Char) : system.Boolean;
- @:op(A == B) public static function eq6(lhs : system.UInt32, rhs : system.Byte) : system.Boolean;
- @:op(A == B) public static function eq7(lhs : system.UInt32, rhs : system.Int16) : system.Boolean;
- @:op(A == B) public static function eq8(lhs : system.UInt32, rhs : system.Int32) : system.Boolean;
- @:op(A == B) public static function eq9(lhs : system.UInt32, rhs : system.Int64) : system.Boolean;
- @:op(A == B) public static function eq10(lhs : system.UInt32, rhs : system.SByte) : system.Boolean;
- @:op(A == B) public static function eq11(lhs : system.UInt32, rhs : system.UInt16) : system.Boolean;
- @:op(A == B) public static function eq12(lhs : system.UInt32, rhs : system.UInt32) : system.Boolean;
- @:op(A == B) public static function eq13(lhs : system.UInt32, rhs : system.UInt64) : system.Boolean;
- @:op(A == B) public static function eq14(lhs : system.UInt32, rhs : system.Single) : system.Boolean;
- @:op(A == B) public static function eq15(lhs : system.UInt32, rhs : system.Double) : system.Boolean;
-
-
- @:op(A != B) public static function neq0(lhs : system.UInt32, rhs : system.UInt32) : system.Boolean;
- @:op(A != B) public static function neq1(lhs : system.UInt32, rhs : Int) : system.Boolean;
- @:op(A != B) public static function neq2(lhs : Int, rhs : system.UInt32) : system.Boolean;
- @:op(A != B) public static function neq3(lhs : system.UInt32, rhs : Float) : system.Boolean;
- @:op(A != B) public static function neq4(lhs : Float, rhs : system.UInt32) : system.Boolean;
-
- @:op(A != B) public static function neq5(lhs : system.UInt32, rhs : system.Char) : system.Boolean;
- @:op(A != B) public static function neq6(lhs : system.UInt32, rhs : system.Byte) : system.Boolean;
- @:op(A != B) public static function neq7(lhs : system.UInt32, rhs : system.Int16) : system.Boolean;
- @:op(A != B) public static function neq8(lhs : system.UInt32, rhs : system.Int32) : system.Boolean;
- @:op(A != B) public static function neq9(lhs : system.UInt32, rhs : system.Int64) : system.Boolean;
- @:op(A != B) public static function neq10(lhs : system.UInt32, rhs : system.SByte) : system.Boolean;
- @:op(A != B) public static function neq11(lhs : system.UInt32, rhs : system.UInt16) : system.Boolean;
- @:op(A != B) public static function neq12(lhs : system.UInt32, rhs : system.UInt32) : system.Boolean;
- @:op(A != B) public static function neq13(lhs : system.UInt32, rhs : system.UInt64) : system.Boolean;
- @:op(A != B) public static function neq14(lhs : system.UInt32, rhs : system.Single) : system.Boolean;
- @:op(A != B) public static function neq15(lhs : system.UInt32, rhs : system.Double) : system.Boolean;
-
- @:op(A & B) public static function and0(lhs : system.UInt32, rhs : system.UInt32) : system.UInt32;
- @:op(A & B) public static function and1(lhs : system.UInt32, rhs : Int) : system.Int64;
- @:op(A & B) public static function and2(lhs : Int, rhs : system.UInt32) : system.Int64;
-
- @:op(A & B) public static function and5(lhs : system.UInt32, rhs : system.Char) : system.Int32;
- @:op(A & B) public static function and6(lhs : system.UInt32, rhs : system.Byte) : system.Int32;
- @:op(A & B) public static function and7(lhs : system.UInt32, rhs : system.Int16) : system.Int32;
- @:op(A & B) public static function and8(lhs : system.UInt32, rhs : system.Int32) : system.Int32;
- @:op(A & B) public static function and9(lhs : system.UInt32, rhs : system.Int64) : system.Int64;
- @:op(A & B) public static function and10(lhs : system.UInt32, rhs : system.SByte) : system.Int32;
- @:op(A & B) public static function and11(lhs : system.UInt32, rhs : system.UInt16) : system.Int32;
- @:op(A & B) public static function and12(lhs : system.UInt32, rhs : system.UInt32) : system.UInt32;
- @:op(A & B) public static function and13(lhs : system.UInt32, rhs : system.UInt64) : system.UInt64;
-
-
- @:op(A | B) public static function or0(lhs : system.UInt32, rhs : system.UInt32) : system.UInt32;
- @:op(A | B) public static function or1(lhs : system.UInt32, rhs : Int) : system.Int64;
- @:op(A | B) public static function or2(lhs : Int, rhs : system.UInt32) : system.Int64;
-
- @:op(A | B) public static function or5(lhs : system.UInt32, rhs : system.Char) : system.Int32;
- @:op(A | B) public static function or6(lhs : system.UInt32, rhs : system.Byte) : system.Int32;
- @:op(A | B) public static function or7(lhs : system.UInt32, rhs : system.Int16) : system.Int32;
- @:op(A | B) public static function or8(lhs : system.UInt32, rhs : system.Int32) : system.Int32;
- @:op(A | B) public static function or9(lhs : system.UInt32, rhs : system.Int64) : system.Int64;
- @:op(A | B) public static function or10(lhs : system.UInt32, rhs : system.SByte) : system.Int32;
- @:op(A | B) public static function or11(lhs : system.UInt32, rhs : system.UInt16) : system.Int32;
- @:op(A | B) public static function or12(lhs : system.UInt32, rhs : system.UInt32) : system.UInt32;
- @:op(A | B) public static function or13(lhs : system.UInt32, rhs : system.UInt64) : system.UInt64;
-
-
- @:op(A ^ B) public static function xor0(lhs : system.UInt32, rhs : system.UInt32) : system.UInt32;
- @:op(A ^ B) public static function xor1(lhs : Int, rhs : system.UInt32) : system.Int64;
- @:op(A ^ B) public static function xor2(lhs : system.UInt32, rhs : Int) : system.Int64;
-
- @:op(A ^ B) public static function xor5(lhs : system.UInt32, rhs : system.Char) : system.Int32;
- @:op(A ^ B) public static function xor6(lhs : system.UInt32, rhs : system.Byte) : system.Int32;
- @:op(A ^ B) public static function xor7(lhs : system.UInt32, rhs : system.Int16) : system.Int32;
- @:op(A ^ B) public static function xor8(lhs : system.UInt32, rhs : system.Int32) : system.Int32;
- @:op(A ^ B) public static function xor9(lhs : system.UInt32, rhs : system.Int64) : system.Int64;
- @:op(A ^ B) public static function xor10(lhs : system.UInt32, rhs : system.SByte) : system.Int32;
- @:op(A ^ B) public static function xor11(lhs : system.UInt32, rhs : system.UInt16) : system.Int32;
- @:op(A ^ B) public static function xor12(lhs : system.UInt32, rhs : system.UInt32) : system.UInt32;
- @:op(A ^ B) public static function xor13(lhs : system.UInt32, rhs : system.UInt64) : system.UInt64;
-
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/UInt32Array.hx b/Phase/Mscorlib/system/UInt32Array.hx
deleted file mode 100644
index e85e80cae..000000000
--- a/Phase/Mscorlib/system/UInt32Array.hx
+++ /dev/null
@@ -1,21 +0,0 @@
-package system;
-
-abstract UInt32Array(js.html.Uint32Array)
-{
- public inline function new(length:Int32) this = new js.html.Uint32Array(length.ToHaxeInt());
-
- @:from public static inline function fromArray(a:Array):UInt32Array return cast new js.html.Uint32Array(untyped a);
- @:from public static inline function fromFixedArray(a:FixedArray):UInt32Array return cast new js.html.Uint32Array(untyped a.ToHaxeArray());
-
- public var Length(get, never):Int32;
- public inline function get_Length() : Int32 return this.length;
-
- @:op([]) public inline function get(index:Int32):UInt32 return this[index.ToHaxeInt()];
- @:op([]) public inline function set(index:Int32, val:UInt32):UInt32 return this[index.ToHaxeInt()] = val.ToHaxeFloat();
-
- public inline function iterator() : Iterator return new UInt32ArrayIterator(this);
-
- public inline function ToEnumerable() : system.collections.generic.IEnumerable return new UInt32ArrayEnumerable(this);
-
- public static inline function empty(size:Int32) return new UInt32Array(size);
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/UInt32ArrayEnumerable.hx b/Phase/Mscorlib/system/UInt32ArrayEnumerable.hx
deleted file mode 100644
index 8ee89450b..000000000
--- a/Phase/Mscorlib/system/UInt32ArrayEnumerable.hx
+++ /dev/null
@@ -1,18 +0,0 @@
-package system;
-
-import system.collections.generic.IEnumerable;
-import system.collections.generic.IEnumerator;
-
-class UInt32ArrayEnumerable implements IEnumerable
-{
- private var _array:js.html.Uint32Array;
- public function new(array:js.html.Uint32Array)
- {
- _array= array;
- }
-
- public function GetEnumerator() : IEnumerator
- {
- return new UInt32ArrayEnumerator(_array);
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/UInt32ArrayEnumerator.hx b/Phase/Mscorlib/system/UInt32ArrayEnumerator.hx
deleted file mode 100644
index 0450005ba..000000000
--- a/Phase/Mscorlib/system/UInt32ArrayEnumerator.hx
+++ /dev/null
@@ -1,29 +0,0 @@
-package system;
-
-import system.collections.generic.IEnumerator;
-
-class UInt32ArrayEnumerator implements IEnumerator
-{
- private var _array:js.html.Uint32Array;
- private var _i:Int;
-
- public function new(array:js.html.Uint32Array)
- {
- _array = array;
- _i = -1;
- }
-
- public var Current(get, never):UInt32;
- public function get_Current() : UInt32 return _array[_i];
- public function MoveNext() : Bool
- {
- if(_i >= _array.length - 1) return false;
- _i++;
- return true;
-
- }
- public function Reset():Void
- {
- _i = -1;
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/UInt32ArrayIterator.hx b/Phase/Mscorlib/system/UInt32ArrayIterator.hx
deleted file mode 100644
index 0db0f0f46..000000000
--- a/Phase/Mscorlib/system/UInt32ArrayIterator.hx
+++ /dev/null
@@ -1,19 +0,0 @@
-package system;
-
-class UInt32ArrayIterator
-{
- private var _array:js.html.Uint32Array;
- private var _i:Int;
-
- public function new(array:js.html.Uint32Array)
- {
- _array = array;
- _i = 0;
- }
-
- public function hasNext() return _i < _array.length;
- public function next() : UInt32
- {
- return _array[_i++];
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/UInt64.hx b/Phase/Mscorlib/system/UInt64.hx
deleted file mode 100644
index e8ae4820d..000000000
--- a/Phase/Mscorlib/system/UInt64.hx
+++ /dev/null
@@ -1,286 +0,0 @@
-package system;
-
-abstract UInt64(Int) from Int
-{
- public inline function new(i:Int) this = system.Convert.ToUInt64(i);
-
- public inline function ToHaxeInt(): Int return this;
- public inline function ToString() : system.CsString return Std.string(this);
-
- public inline function ToBoolean_IFormatProvider(provider:IFormatProvider) : system.Boolean return system.Convert.ToBoolean_UInt64(this);
- public inline function ToChar_IFormatProvider(provider:IFormatProvider) : system.Char return system.Convert.ToChar_UInt64(this);
- public inline function ToSByte_IFormatProvider(provider:IFormatProvider) : system.SByte return system.Convert.ToSByte_UInt64(this);
- public inline function ToByte_IFormatProvider(provider:IFormatProvider) : system.Byte return system.Convert.ToByte_UInt64(this);
- public inline function ToInt16_IFormatProvider(provider:IFormatProvider) : system.Int16 return system.Convert.ToInt16_UInt64(this);
- public inline function ToUInt16_IFormatProvider(provider:IFormatProvider) : system.UInt16 return system.Convert.ToUInt16_UInt64(this);
- public inline function ToInt32_IFormatProvider(provider:IFormatProvider) : system.Int32 return system.Convert.ToInt32_UInt64(this);
- public inline function ToUInt32_IFormatProvider(provider:IFormatProvider) : system.UInt32 return system.Convert.ToUInt32_UInt64(this);
- public inline function ToInt64_IFormatProvider(provider:IFormatProvider) : system.Int64 return system.Convert.ToInt64_UInt64(this);
- public inline function ToUInt64_IFormatProvider(provider:IFormatProvider) : system.UInt64 return system.Convert.ToUInt64_UInt64(this);
- public inline function ToSingle_IFormatProvider(provider:IFormatProvider) : system.Single return system.Convert.ToSingle_UInt64(this);
- public inline function ToDouble_IFormatProvider(provider:IFormatProvider) : system.Double return system.Convert.ToDouble_UInt64(this);
-
- public function GetHashCode() : system.Int32 return this;
-
- @:op(~A)public inline function not() : system.UInt64 return ~this;
-
- @:op(A++)public inline function postinc() : system.UInt64 return this++;
- @:op(++A)public inline function preinc() : system.UInt64 return ++this;
-
- @:op(A--)public inline function postdec() : system.UInt64 return this--;
- @:op(--A)public inline function predec() : system.UInt64 return --this;
-
- @:op(A * B) public static function mul0(lhs : system.UInt64, rhs : system.UInt64) : system.UInt64;
- @:op(A * B) public static function mul1(lhs : system.UInt64, rhs : Float) : system.Double;
- @:op(A * B) public static function mul2(lhs : Float, rhs : system.UInt64) : system.Double;
-
- @:op(A * B) public static function mul5(lhs : system.UInt64, rhs : system.Char) : system.UInt64;
- @:op(A * B) public static function mul6(lhs : system.UInt64, rhs : system.Byte) : system.UInt64;
- //@:op(A * B) public static function mul7(lhs : system.UInt64, rhs : system.Int16) : system.UInt64;
- //@:op(A * B) public static function mul8(lhs : system.UInt64, rhs : system.Int32) : system.UInt64;
- //@:op(A * B) public static function mul9(lhs : system.UInt64, rhs : system.Int64) : system.UInt64;
- //@:op(A * B) public static function mul10(lhs : system.UInt64, rhs : system.SByte) : system.UInt64;
- @:op(A * B) public static function mul11(lhs : system.UInt64, rhs : system.UInt16) : system.UInt64;
- @:op(A * B) public static function mul12(lhs : system.UInt64, rhs : system.UInt32) : system.UInt64;
- @:op(A * B) public static function mul13(lhs : system.UInt64, rhs : system.UInt64) : system.UInt64;
- @:op(A * B) public static function mul14(lhs : system.UInt64, rhs : system.Single) : system.Single;
- @:op(A * B) public static function mul15(lhs : system.UInt64, rhs : system.Double) : system.Double;
-
-
- @:op(A / B) public static inline function div0(lhs : system.UInt64, rhs : system.UInt64) : system.UInt64 return Std.int(lhs.ToHaxeInt() / rhs.ToHaxeInt());
- @:op(A / B) public static function div1(lhs : system.UInt64, rhs : Float) : system.Double;
- @:op(A / B) public static function div2(lhs : Float, rhs : system.UInt64) : system.Double;
-
- @:op(A / B) public static function div5(lhs : system.UInt64, rhs : system.Char) : system.UInt64;
- @:op(A / B) public static function div6(lhs : system.UInt64, rhs : system.Byte) : system.UInt64;
- //@:op(A / B) public static function div7(lhs : system.UInt64, rhs : system.Int16) : system.UInt64;
- //@:op(A / B) public static function div8(lhs : system.UInt64, rhs : system.Int32) : system.UInt64;
- //@:op(A / B) public static function div9(lhs : system.UInt64, rhs : system.Int64) : system.UInt64;
- //@:op(A / B) public static function div10(lhs : system.UInt64, rhs : system.SByte) : system.UInt64;
- @:op(A / B) public static function div11(lhs : system.UInt64, rhs : system.UInt16) : system.UInt64;
- @:op(A / B) public static function div12(lhs : system.UInt64, rhs : system.UInt32) : system.UInt64;
- @:op(A / B) public static function div13(lhs : system.UInt64, rhs : system.UInt64) : system.UInt64;
- @:op(A / B) public static function div14(lhs : system.UInt64, rhs : system.Single) : system.Single;
- @:op(A / B) public static function div15(lhs : system.UInt64, rhs : system.Double) : system.Double;
-
-
- @:op(A % B) public static function mod0(lhs : system.UInt64, rhs : system.UInt64) : system.UInt64;
- @:op(A % B) public static function mod1(lhs : system.UInt64, rhs : Float) : system.Double;
- @:op(A % B) public static function mod2(lhs : Float, rhs : system.UInt64) : system.Double;
-
- @:op(A % B) public static function mod5(lhs : system.UInt64, rhs : system.Char) : system.UInt64;
- @:op(A % B) public static function mod6(lhs : system.UInt64, rhs : system.Byte) : system.UInt64;
- //@:op(A % B) public static function mod7(lhs : system.UInt64, rhs : system.Int16) : system.UInt64;
- //@:op(A % B) public static function mod8(lhs : system.UInt64, rhs : system.Int32) : system.UInt64;
- //@:op(A % B) public static function mod9(lhs : system.UInt64, rhs : system.Int64) : system.UInt64;
- //@:op(A % B) public static function mod10(lhs : system.UInt64, rhs : system.SByte) : system.UInt64;
- @:op(A % B) public static function mod11(lhs : system.UInt64, rhs : system.UInt16) : system.UInt64;
- @:op(A % B) public static function mod12(lhs : system.UInt64, rhs : system.UInt32) : system.UInt64;
- @:op(A % B) public static function mod13(lhs : system.UInt64, rhs : system.UInt64) : system.UInt64;
- @:op(A % B) public static function mod14(lhs : system.UInt64, rhs : system.Single) : system.Single;
- @:op(A % B) public static function mod15(lhs : system.UInt64, rhs : system.Double) : system.Double;
-
-
- @:op(A + B) public static function add0(lhs : system.UInt64, rhs : system.UInt64) : system.UInt64;
- @:op(A + B) public static function add1(lhs : system.UInt64, rhs : Float) : system.Double;
- @:op(A + B) public static function add2(lhs : Float, rhs : system.UInt64) : system.Double;
-
- @:op(A + B) public static function add5(lhs : system.UInt64, rhs : system.Char) : system.UInt64;
- @:op(A + B) public static function add6(lhs : system.UInt64, rhs : system.Byte) : system.UInt64;
- //@:op(A + B) public static function add7(lhs : system.UInt64, rhs : system.Int16) : system.UInt64;
- //@:op(A + B) public static function add8(lhs : system.UInt64, rhs : system.Int32) : system.UInt64;
- //@:op(A + B) public static function add9(lhs : system.UInt64, rhs : system.Int64) : system.UInt64;
- //@:op(A + B) public static function add10(lhs : system.UInt64, rhs : system.SByte) : system.UInt64;
- @:op(A + B) public static function add11(lhs : system.UInt64, rhs : system.UInt16) : system.UInt64;
- @:op(A + B) public static function add12(lhs : system.UInt64, rhs : system.UInt32) : system.UInt64;
- @:op(A + B) public static function add13(lhs : system.UInt64, rhs : system.UInt64) : system.UInt64;
- @:op(A + B) public static function add14(lhs : system.UInt64, rhs : system.Single) : system.Single;
- @:op(A + B) public static function add15(lhs : system.UInt64, rhs : system.Double) : system.Double;
- @:op(A + B) public static inline function add16(lhs : system.UInt64, rhs : system.CsString) : system.CsString return lhs.ToString() + rhs;
- @:op(A + B) public static inline function add17(lhs : system.UInt64, rhs : String) : system.CsString return lhs.ToString() + rhs;
-
-
- @:op(A - B) public static function sub0(lhs : system.UInt64, rhs : system.UInt64) : system.UInt64;
- @:op(A - B) public static function sub1(lhs : system.UInt64, rhs : Float) : system.Double;
- @:op(A - B) public static function sub2(lhs : Float, rhs : system.UInt64) : system.Double;
-
- @:op(A - B) public static function sub5(lhs : system.UInt64, rhs : system.Char) : system.UInt64;
- @:op(A - B) public static function sub6(lhs : system.UInt64, rhs : system.Byte) : system.UInt64;
- //@:op(A - B) public static function sub7(lhs : system.UInt64, rhs : system.Int16) : system.UInt64;
- //@:op(A - B) public static function sub8(lhs : system.UInt64, rhs : system.Int32) : system.UInt64;
- //@:op(A - B) public static function sub9(lhs : system.UInt64, rhs : system.Int64) : system.UInt64;
- //@:op(A - B) public static function sub10(lhs : system.UInt64, rhs : system.SByte) : system.UInt64;
- @:op(A - B) public static function sub11(lhs : system.UInt64, rhs : system.UInt16) : system.UInt64;
- @:op(A - B) public static function sub12(lhs : system.UInt64, rhs : system.UInt32) : system.UInt64;
- @:op(A - B) public static function sub13(lhs : system.UInt64, rhs : system.UInt64) : system.UInt64;
- @:op(A - B) public static function sub14(lhs : system.UInt64, rhs : system.Single) : system.Single;
- @:op(A - B) public static function sub15(lhs : system.UInt64, rhs : system.Double) : system.Double;
-
-
- @:op(A << B) public static function shl0(lhs : system.UInt64, rhs : system.UInt64) : system.UInt64;
- @:op(A << B) public static function shl1(lhs : system.UInt64, rhs : Int) : system.UInt64;
- @:op(A << B) public static function shl2(lhs : Int, rhs : system.UInt64) : system.UInt64;
-
- @:op(A << B) public static function shl5(lhs : system.UInt64, rhs : system.Char) : system.UInt64;
- @:op(A << B) public static function shl6(lhs : system.UInt64, rhs : system.Byte) : system.UInt64;
- @:op(A << B) public static function shl7(lhs : system.UInt64, rhs : system.Int16) : system.UInt64;
- @:op(A << B) public static function shl8(lhs : system.UInt64, rhs : system.Int32) : system.UInt64;
- // @:op(A << B) public static function shl9(lhs : system.UInt64, rhs : system.Int64) : system.UInt64;
- @:op(A << B) public static function shl10(lhs : system.UInt64, rhs : system.SByte) : system.UInt64;
- @:op(A << B) public static function shl11(lhs : system.UInt64, rhs : system.UInt16) : system.UInt64;
- // @:op(A << B) public static function shl12(lhs : system.UInt64, rhs : system.UInt32) : system.UInt64;
- // @:op(A << B) public static function shl13(lhs : system.UInt64, rhs : system.UInt64) : system.UInt64;
-
-
- @:op(A >> B) public static function shr0(lhs : system.UInt64, rhs : system.UInt64) : system.UInt64;
- @:op(A >> B) public static function shr1(lhs : system.UInt64, rhs : Int) : system.UInt64;
- @:op(A >> B) public static function shr2(lhs : Int, rhs : system.UInt64) : system.UInt64;
-
- @:op(A >> B) public static function shr5(lhs : system.UInt64, rhs : system.Char) : system.UInt64;
- @:op(A >> B) public static function shr6(lhs : system.UInt64, rhs : system.Byte) : system.UInt64;
- @:op(A >> B) public static function shr7(lhs : system.UInt64, rhs : system.Int16) : system.UInt64;
- @:op(A >> B) public static function shr8(lhs : system.UInt64, rhs : system.Int32) : system.UInt64;
- // @:op(A >> B) public static function shr9(lhs : system.UInt64, rhs : system.Int64) : system.UInt64;
- @:op(A >> B) public static function shr10(lhs : system.UInt64, rhs : system.SByte) : system.UInt64;
- @:op(A >> B) public static function shr11(lhs : system.UInt64, rhs : system.UInt16) : system.UInt64;
- // @:op(A >> B) public static function shr12(lhs : system.UInt64, rhs : system.UInt32) : system.UInt64;
- // @:op(A >> B) public static function shr13(lhs : system.UInt64, rhs : system.UInt64) : system.UInt64;
-
-
- @:op(A > B) public static function gt0(lhs : system.UInt64, rhs : system.UInt64) : system.Boolean;
- @:op(A > B) public static function gt1(lhs : system.UInt64, rhs : Float) : system.Boolean;
- @:op(A > B) public static function gt2(lhs : Float, rhs : system.UInt64) : system.Boolean;
-
- @:op(A > B) public static function gt5(lhs : system.UInt64, rhs : system.Char) : system.Boolean;
- @:op(A > B) public static function gt6(lhs : system.UInt64, rhs : system.Byte) : system.Boolean;
- //@:op(A > B) public static function gt7(lhs : system.UInt64, rhs : system.Int16) : system.Boolean;
- //@:op(A > B) public static function gt8(lhs : system.UInt64, rhs : system.Int32) : system.Boolean;
- //@:op(A > B) public static function gt9(lhs : system.UInt64, rhs : system.Int64) : system.Boolean;
- //@:op(A > B) public static function gt10(lhs : system.UInt64, rhs : system.SByte) : system.Boolean;
- @:op(A > B) public static function gt11(lhs : system.UInt64, rhs : system.UInt16) : system.Boolean;
- @:op(A > B) public static function gt12(lhs : system.UInt64, rhs : system.UInt32) : system.Boolean;
- @:op(A > B) public static function gt13(lhs : system.UInt64, rhs : system.UInt64) : system.Boolean;
- @:op(A > B) public static function gt14(lhs : system.UInt64, rhs : system.Single) : system.Boolean;
- @:op(A > B) public static function gt15(lhs : system.UInt64, rhs : system.Double) : system.Boolean;
-
-
- @:op(A < B) public static function lt0(lhs : system.UInt64, rhs : system.UInt64) : system.Boolean;
- @:op(A < B) public static function lt1(lhs : system.UInt64, rhs : Float) : system.Boolean;
- @:op(A < B) public static function lt2(lhs : Float, rhs : system.UInt64) : system.Boolean;
-
- @:op(A < B) public static function lt5(lhs : system.UInt64, rhs : system.Char) : system.Boolean;
- @:op(A < B) public static function lt6(lhs : system.UInt64, rhs : system.Byte) : system.Boolean;
- //@:op(A < B) public static function lt7(lhs : system.UInt64, rhs : system.Int16) : system.Boolean;
- //@:op(A < B) public static function lt8(lhs : system.UInt64, rhs : system.Int32) : system.Boolean;
- //@:op(A < B) public static function lt9(lhs : system.UInt64, rhs : system.Int64) : system.Boolean;
- //@:op(A < B) public static function lt10(lhs : system.UInt64, rhs : system.SByte) : system.Boolean;
- @:op(A < B) public static function lt11(lhs : system.UInt64, rhs : system.UInt16) : system.Boolean;
- @:op(A < B) public static function lt12(lhs : system.UInt64, rhs : system.UInt32) : system.Boolean;
- @:op(A < B) public static function lt13(lhs : system.UInt64, rhs : system.UInt64) : system.Boolean;
- @:op(A < B) public static function lt14(lhs : system.UInt64, rhs : system.Single) : system.Boolean;
- @:op(A < B) public static function lt15(lhs : system.UInt64, rhs : system.Double) : system.Boolean;
-
-
- @:op(A >= B) public static function gte0(lhs : system.UInt64, rhs : system.UInt64) : system.Boolean;
- @:op(A >= B) public static function gte1(lhs : system.UInt64, rhs : Float) : system.Boolean;
- @:op(A >= B) public static function gte2(lhs : Float, rhs : system.UInt64) : system.Boolean;
-
- @:op(A >= B) public static function gte5(lhs : system.UInt64, rhs : system.Char) : system.Boolean;
- @:op(A >= B) public static function gte6(lhs : system.UInt64, rhs : system.Byte) : system.Boolean;
- //@:op(A >= B) public static function gte7(lhs : system.UInt64, rhs : system.Int16) : system.Boolean;
- //@:op(A >= B) public static function gte8(lhs : system.UInt64, rhs : system.Int32) : system.Boolean;
- //@:op(A >= B) public static function gte9(lhs : system.UInt64, rhs : system.Int64) : system.Boolean;
- //@:op(A >= B) public static function gte10(lhs : system.UInt64, rhs : system.SByte) : system.Boolean;
- @:op(A >= B) public static function gte11(lhs : system.UInt64, rhs : system.UInt16) : system.Boolean;
- @:op(A >= B) public static function gte12(lhs : system.UInt64, rhs : system.UInt32) : system.Boolean;
- @:op(A >= B) public static function gte13(lhs : system.UInt64, rhs : system.UInt64) : system.Boolean;
- @:op(A >= B) public static function gte14(lhs : system.UInt64, rhs : system.Single) : system.Boolean;
- @:op(A >= B) public static function gte15(lhs : system.UInt64, rhs : system.Double) : system.Boolean;
-
-
- @:op(A <= B) public static function lte0(lhs : system.UInt64, rhs : system.UInt64) : system.Boolean;
- @:op(A <= B) public static function lte1(lhs : system.UInt64, rhs : Float) : system.Boolean;
- @:op(A <= B) public static function lte2(lhs : Float, rhs : system.UInt64) : system.Boolean;
-
- @:op(A <= B) public static function lte5(lhs : system.UInt64, rhs : system.Char) : system.Boolean;
- @:op(A <= B) public static function lte6(lhs : system.UInt64, rhs : system.Byte) : system.Boolean;
- //@:op(A <= B) public static function lte7(lhs : system.UInt64, rhs : system.Int16) : system.Boolean;
- //@:op(A <= B) public static function lte8(lhs : system.UInt64, rhs : system.Int32) : system.Boolean;
- //@:op(A <= B) public static function lte9(lhs : system.UInt64, rhs : system.Int64) : system.Boolean;
- //@:op(A <= B) public static function lte10(lhs : system.UInt64, rhs : system.SByte) : system.Boolean;
- @:op(A <= B) public static function lte11(lhs : system.UInt64, rhs : system.UInt16) : system.Boolean;
- @:op(A <= B) public static function lte12(lhs : system.UInt64, rhs : system.UInt32) : system.Boolean;
- @:op(A <= B) public static function lte13(lhs : system.UInt64, rhs : system.UInt64) : system.Boolean;
- @:op(A <= B) public static function lte14(lhs : system.UInt64, rhs : system.Single) : system.Boolean;
- @:op(A <= B) public static function lte15(lhs : system.UInt64, rhs : system.Double) : system.Boolean;
-
- @:op(A == B) public static function eq0(lhs : system.UInt64, rhs : system.UInt64) : system.Boolean;
- @:op(A == B) public static function eq1(lhs : system.UInt64, rhs : Float) : system.Boolean;
- @:op(A == B) public static function eq2(lhs : Float, rhs : system.UInt64) : system.Boolean;
-
- @:op(A == B) public static function eq5(lhs : system.UInt64, rhs : system.Char) : system.Boolean;
- @:op(A == B) public static function eq6(lhs : system.UInt64, rhs : system.Byte) : system.Boolean;
- //@:op(A == B) public static function eq7(lhs : system.UInt64, rhs : system.Int16) : system.Boolean;
- //@:op(A == B) public static function eq8(lhs : system.UInt64, rhs : system.Int32) : system.Boolean;
- //@:op(A == B) public static function eq9(lhs : system.UInt64, rhs : system.Int64) : system.Boolean;
- //@:op(A == B) public static function eq10(lhs : system.UInt64, rhs : system.SByte) : system.Boolean;
- @:op(A == B) public static function eq11(lhs : system.UInt64, rhs : system.UInt16) : system.Boolean;
- @:op(A == B) public static function eq12(lhs : system.UInt64, rhs : system.UInt32) : system.Boolean;
- @:op(A == B) public static function eq13(lhs : system.UInt64, rhs : system.UInt64) : system.Boolean;
- @:op(A == B) public static function eq14(lhs : system.UInt64, rhs : system.Single) : system.Boolean;
- @:op(A == B) public static function eq15(lhs : system.UInt64, rhs : system.Double) : system.Boolean;
-
- @:op(A != B) public static function neq0(lhs : system.UInt64, rhs : system.UInt64) : system.Boolean;
- @:op(A != B) public static function neq1(lhs : system.UInt64, rhs : Float) : system.Boolean;
- @:op(A != B) public static function neq2(lhs : Float, rhs : system.UInt64) : system.Boolean;
-
- @:op(A != B) public static function neq5(lhs : system.UInt64, rhs : system.Char) : system.Boolean;
- @:op(A != B) public static function neq6(lhs : system.UInt64, rhs : system.Byte) : system.Boolean;
- // @:op(A != B) public static function neq7(lhs : system.UInt64, rhs : system.Int16) : system.Boolean;
- // @:op(A != B) public static function neq8(lhs : system.UInt64, rhs : system.Int32) : system.Boolean;
- // @:op(A != B) public static function neq9(lhs : system.UInt64, rhs : system.Int64) : system.Boolean;
- // @:op(A != B) public static function neq10(lhs : system.UInt64, rhs : system.SByte) : system.Boolean;
- @:op(A != B) public static function neq11(lhs : system.UInt64, rhs : system.UInt16) : system.Boolean;
- @:op(A != B) public static function neq12(lhs : system.UInt64, rhs : system.UInt32) : system.Boolean;
- @:op(A != B) public static function neq13(lhs : system.UInt64, rhs : system.UInt64) : system.Boolean;
- @:op(A != B) public static function neq14(lhs : system.UInt64, rhs : system.Single) : system.Boolean;
- @:op(A != B) public static function neq15(lhs : system.UInt64, rhs : system.Double) : system.Boolean;
-
-
- @:op(A & B) public static function and0(lhs : system.UInt64, rhs : system.UInt64) : system.UInt64;
-
- @:op(A & B) public static function and5(lhs : system.UInt64, rhs : system.Char) : system.UInt64;
- @:op(A & B) public static function and6(lhs : system.UInt64, rhs : system.Byte) : system.UInt64;
- //@:op(A & B) public static function and7(lhs : system.UInt64, rhs : system.Int16) : system.UInt64;
- //@:op(A & B) public static function and8(lhs : system.UInt64, rhs : system.Int32) : system.UInt64;
- //@:op(A & B) public static function and9(lhs : system.UInt64, rhs : system.Int64) : system.UInt64;
- //@:op(A & B) public static function and10(lhs : system.UInt64, rhs : system.SByte) : system.UInt64;
- @:op(A & B) public static function and11(lhs : system.UInt64, rhs : system.UInt16) : system.UInt64;
- @:op(A & B) public static function and12(lhs : system.UInt64, rhs : system.UInt32) : system.UInt64;
- @:op(A & B) public static function and13(lhs : system.UInt64, rhs : system.UInt64) : system.UInt64;
-
-
- @:op(A | B) public static function or0(lhs : system.UInt64, rhs : system.UInt64) : system.UInt64;
-
- @:op(A | B) public static function or5(lhs : system.UInt64, rhs : system.Char) : system.UInt64;
- @:op(A | B) public static function or6(lhs : system.UInt64, rhs : system.Byte) : system.UInt64;
- @:op(A | B) public static function or7(lhs : system.UInt64, rhs : system.Int16) : system.UInt64;
- //@:op(A | B) public static function or8(lhs : system.UInt64, rhs : system.Int32) : system.UInt64;
- //@:op(A | B) public static function or9(lhs : system.UInt64, rhs : system.Int64) : system.UInt64;
- //@:op(A | B) public static function or10(lhs : system.UInt64, rhs : system.SByte) : system.UInt64;
- //@:op(A | B) public static function or11(lhs : system.UInt64, rhs : system.UInt16) : system.UInt64;
- @:op(A | B) public static function or12(lhs : system.UInt64, rhs : system.UInt32) : system.UInt64;
- @:op(A | B) public static function or13(lhs : system.UInt64, rhs : system.UInt64) : system.UInt64;
-
- @:op(A ^ B) public static function xor0(lhs : system.UInt64, rhs : system.UInt64) : system.UInt64;
-
- @:op(A ^ B) public static function xor5(lhs : system.UInt64, rhs : system.Char) : system.UInt64;
- @:op(A ^ B) public static function xor6(lhs : system.UInt64, rhs : system.Byte) : system.UInt64;
- //@:op(A ^ B) public static function xor7(lhs : system.UInt64, rhs : system.Int16) : system.UInt64;
- //@:op(A ^ B) public static function xor8(lhs : system.UInt64, rhs : system.Int32) : system.UInt64;
- //@:op(A ^ B) public static function xor9(lhs : system.UInt64, rhs : system.Int64) : system.UInt64;
- //@:op(A ^ B) public static function xor10(lhs : system.UInt64, rhs : system.SByte) : system.UInt64;
- @:op(A ^ B) public static function xor11(lhs : system.UInt64, rhs : system.UInt16) : system.UInt64;
- @:op(A ^ B) public static function xor12(lhs : system.UInt64, rhs : system.UInt32) : system.UInt64;
- @:op(A ^ B) public static function xor13(lhs : system.UInt64, rhs : system.UInt64) : system.UInt64;
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/UInt64Array.hx b/Phase/Mscorlib/system/UInt64Array.hx
deleted file mode 100644
index 54dc6e328..000000000
--- a/Phase/Mscorlib/system/UInt64Array.hx
+++ /dev/null
@@ -1,21 +0,0 @@
-package system;
-
-abstract UInt64Array(js.html.UInt32Array)
-{
- public inline function new(length:Int32) this = new js.html.UInt32Array(length.ToHaxeInt());
-
- @:from public static inline function fromArray(a:Array):UInt64Array return cast new js.html.UInt32Array(untyped a);
- @:from public static inline function fromFixedArray(a:FixedArray):UInt64Array return cast new js.html.UInt32Array(untyped a.ToHaxeArray());
-
- public var Length(get, never):Int32;
- public inline function get_Length() : Int32 return this.length;
-
- @:op([]) public inline function get(index:Int32):UInt64 return this[index.ToHaxeInt()];
- @:op([]) public inline function set(index:Int32, val:UInt64):UInt64 return this[index.ToHaxeInt()] = val.ToHaxeFloat();
-
- public inline function iterator() : Iterator return new UInt64ArrayIterator(this);
-
- public inline function ToEnumerable() : system.collections.generic.IEnumerable return new UInt64ArrayEnumerable(this);
-
- public static inline function empty(size:Int32) return new UInt64Array(size);
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/UInt64ArrayEnumerable.hx b/Phase/Mscorlib/system/UInt64ArrayEnumerable.hx
deleted file mode 100644
index 4d21a0cf0..000000000
--- a/Phase/Mscorlib/system/UInt64ArrayEnumerable.hx
+++ /dev/null
@@ -1,18 +0,0 @@
-package system;
-
-import system.collections.generic.IEnumerable;
-import system.collections.generic.IEnumerator;
-
-class UInt64ArrayEnumerable implements IEnumerable
-{
- private var _array:js.html.Uint32Array;
- public function new(array:js.html.Uint32Array)
- {
- _array= array;
- }
-
- public function GetEnumerator() : IEnumerator
- {
- return new UInt64ArrayEnumerator(_array);
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/UInt64ArrayEnumerator.hx b/Phase/Mscorlib/system/UInt64ArrayEnumerator.hx
deleted file mode 100644
index ff5867887..000000000
--- a/Phase/Mscorlib/system/UInt64ArrayEnumerator.hx
+++ /dev/null
@@ -1,29 +0,0 @@
-package system;
-
-import system.collections.generic.IEnumerator;
-
-class UInt64ArrayEnumerator implements IEnumerator
-{
- private var _array:js.html.Uint32Array;
- private var _i:Int;
-
- public function new(array:js.html.Uint32Array)
- {
- _array = array;
- _i = -1;
- }
-
- public var Current(get, never):UInt64;
- public function get_Current() : UInt64 return _array[_i];
- public function MoveNext() : Bool
- {
- if(_i >= _array.length - 1) return false;
- _i++;
- return true;
-
- }
- public function Reset():Void
- {
- _i = -1;
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/UInt64ArrayIterator.hx b/Phase/Mscorlib/system/UInt64ArrayIterator.hx
deleted file mode 100644
index 274acd785..000000000
--- a/Phase/Mscorlib/system/UInt64ArrayIterator.hx
+++ /dev/null
@@ -1,19 +0,0 @@
-package system;
-
-class UInt64ArrayIterator
-{
- private var _array:js.html.Uint32Array;
- private var _i:Int;
-
- public function new(array:js.html.Uint32Array)
- {
- _array = array;
- _i = 0;
- }
-
- public function hasNext() return _i < _array.length;
- public function next() : UInt64
- {
- return _array[_i++];
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/collections/generic/IEnumerable.hx b/Phase/Mscorlib/system/collections/generic/IEnumerable.hx
deleted file mode 100644
index fa1efefb1..000000000
--- a/Phase/Mscorlib/system/collections/generic/IEnumerable.hx
+++ /dev/null
@@ -1,6 +0,0 @@
-package system.collections.generic;
-
-interface IEnumerable
-{
- function GetEnumerator() : IEnumerator;
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/collections/generic/IEnumerator.hx b/Phase/Mscorlib/system/collections/generic/IEnumerator.hx
deleted file mode 100644
index 36e1edde6..000000000
--- a/Phase/Mscorlib/system/collections/generic/IEnumerator.hx
+++ /dev/null
@@ -1,8 +0,0 @@
-package system.collections.generic;
-
-interface IEnumerator
-{
- var Current(get, never):T;
- function MoveNext() : Bool;
- function Reset():Void;
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/collections/generic/IterableEnumerable.hx b/Phase/Mscorlib/system/collections/generic/IterableEnumerable.hx
deleted file mode 100644
index 8fc24d60a..000000000
--- a/Phase/Mscorlib/system/collections/generic/IterableEnumerable.hx
+++ /dev/null
@@ -1,15 +0,0 @@
-package system.collections.generic;
-
-class IterableEnumerable implements IEnumerable
-{
- private var _iterable:Iterable;
- public function new(i:Iterable)
- {
- _iterable= i;
- }
-
- public function GetEnumerator() : IEnumerator
- {
- return new IteratorEnumerator(_iterable.iterator());
- }
-}
\ No newline at end of file
diff --git a/Phase/Mscorlib/system/collections/generic/IteratorEnumerator.hx b/Phase/Mscorlib/system/collections/generic/IteratorEnumerator.hx
deleted file mode 100644
index 3fdd1c509..000000000
--- a/Phase/Mscorlib/system/collections/generic/IteratorEnumerator.hx
+++ /dev/null
@@ -1,29 +0,0 @@
-package system.collections.generic;
-
-class IteratorEnumerator implements IEnumerator
-{
- private var _it:Iterator;
- private var _current:T;
-
- public function new(i:Iterator)
- {
- _it = i;
- }
-
- public var Current(get, never):T;
- public function get_Current() : T return _current;
- public function MoveNext() : Bool
- {
- if(_it.hasNext())
- {
- _current = _it.next();
- return true;
- }
- return false;
-
- }
- public function Reset():Void
- {
- throw "not supported";
- }
-}
\ No newline at end of file
diff --git a/README.md b/README.md
index b5390a280..e3375c842 100644
--- a/README.md
+++ b/README.md
@@ -1,45 +1,53 @@
# AlphaTab
-[](https://alphatab.net)
-[](http://www.gnu.org/licenses/lgpl-3.0.html)
+[](https://alphatab.net)
+[](https://www.mozilla.org/en-US/MPL/2.0/)
[](https://twitter.com/alphaTabMusic)
[](https://facebook.com/alphaTabMusic)
alphaTab is a cross platform music notation and guitar tablature rendering library. You can use alphaTab within your own website or application to load and display music sheets from data sources like Guitar Pro or the built in markup language named alphaTex.
-
+
## Build Status
- | `master` | `develop`
---- | --- | ---
-**Build** | [](https://ci.appveyor.com/project/Danielku15/alphaTab/branch/master) | [](https://ci.appveyor.com/project/Danielku15/alphaTab/branch/develop)
-**Documentation** | [](https://docs.alphatab.net/master) | [](https://docs.alphatab.net/develop)
+> Until the official 1.0 release we recommend to use pre release versions based on the `develop` branch.
-# Features
-alphaTab mostly focuses on web based platforms allowing music notation to be embedded into websites and browser based apps but is designed to be used also from .net based platforms like Windows, UWP and Xamarin.
+ |
+--- | ---
+**Build** | 
+**Documentation** | [](https://www2.alphatab.net/)
+
+# Downloads
+
+The latest binaries based are available for download at either npmjs.org or NuGet.org.
+Use the links below to grab the binaries from the latest builds. Please do not use the GitHub releases yet, they are not maintained. We recommend using package managers to pull the files to your projects.
-Before reading further you might simply jump to our demos:
+> Until the official 1.0 release we recommend to use `develop` branch which are available as "pre-release" versions on the package registries.
-> [Feature Demo](https://docs.alphatab.net/master/features/) - *Take a look at all visual elements that alphaTab can render*
->
-> [Player Demo](https://docs.alphatab.net/master/assets/files/player.html) - *By integrating alphaSynth the you get a web based music sheet player*
->
-> [alphaTex Introduction](https://docs.alphatab.net/master/alphatex/) - *Learn about alphaTex, the built-in markup language for writing music notation*
+ |
+--- | --- |
+**JavaScript** | [NPM](https://www.npmjs.com/package/@coderline/alphatab)
+**.net** | [NuGet](https://www.nuget.org/profiles/CoderLine)
-alphaTab can load music notation from various sources like Guitar Pro 3-5, Guitar Pro 6, AlphaTex and MusicXML (experimental) and render them into beautiful music sheets right within your browser (or application). Using [alphaSynth](http://github.com/CoderLine/alphaSynth) the music sheets can also be played in your browser without the need of any plugins (HTML5 Web Audio if available, fallback to flash) .
+# Features
+alphaTab mostly focuses on web based platforms allowing music notation to be embedded into websites and browser based apps but is designed to be used also from .net based platforms like Windows, UWP and Xamarin.
+
+alphaTab can load music notation from various sources like Guitar Pro 3-7, AlphaTex and MusicXML (experimental) and render them into beautiful music sheets right within your browser (or application). Using a built in midi synthesizer named alphaSynth the music sheets can also be played in your browser.
* load GuitarPro 3-5, GuitarPro 6, AlphaTex or MusicXML (experimental)
-* render as SVG, HTML5 canvas, GDI+,...
-* display single or multiple instruments as standard music notation and guitar tablatures consisting of song information, repeats, alternate endings, guitar tunints, clefs, key signatures, time signatures, notes, rests, accidentals, drum tabs, piano grand staff, tied notes, grace notes, dead notes, ghost notes, markers, tempos, lyrics, chords, vibratos, dynamics, tap/slap/pop, fade-in, let-ring, palm-mute, string bends, whammy bar, tremolo picking, strokes, slides, trills, pick strokes, tuplets, fingering, triplet feels,...
-* adapt to your responsive design by dynamic resizing
-* play the music sheet via HTML5 Web Audio API and Flash
+* render as SVG, HTML5 canvas, GDI+,...
+* display single or multiple instruments as standard music notation and guitar tablatures consisting of song information, repeats, alternate endings, guitar tunints, clefs, key signatures, time signatures, notes, rests, accidentals, drum tabs, piano grand staff, tied notes, grace notes, dead notes, ghost notes, markers, tempos, lyrics, chords, vibratos, dynamics, tap/slap/pop, fade-in, let-ring, palm-mute, string bends, whammy bar, tremolo picking, strokes, slides, trills, pick strokes, tuplets, fingering, triplet feels,...
+* adapt to your responsive design by dynamic resizing
+* play the music sheet via HTML5 Web Audio API (only if browser supports it)
-# Thanks to...
+# Thanks to...
-... the guys of BrowserStack for a free plan. This allows me to test alphaTab on all browsers on all operating systems. Only with this I can ensure that alphaTab is shown to all your visitors as expected.
+... the guys of BrowserStack for a free plan. This allows me to test alphaTab on all browsers on all operating systems. Only with this I can ensure that alphaTab is shown to all your visitors as expected.
-
+
-... to all you people using alphaTab providing new feature ideas and and bug reports.
+... to [Bernhard Schelling](https://github.com/schellingb/TinySoundFont) the author of TinySoundFont and [Steve Folta](https://github.com/stevefolta/SFZero) the author of SFZero for providing the core of the synthesis engine.
+
+... to all you people using alphaTab providing new feature ideas and and bug reports.
diff --git a/Samples/CSharp/AlphaTab.Samples.Player/AlphaTab.Samples.Player.csproj b/Samples/CSharp/AlphaTab.Samples.Player/AlphaTab.Samples.Player.csproj
deleted file mode 100644
index 34a12b5bb..000000000
--- a/Samples/CSharp/AlphaTab.Samples.Player/AlphaTab.Samples.Player.csproj
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
- net471
- Exe
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Samples/CSharp/AlphaTab.Samples.Player/NAudioSynthOutput.cs b/Samples/CSharp/AlphaTab.Samples.Player/NAudioSynthOutput.cs
deleted file mode 100644
index 37019b9d4..000000000
--- a/Samples/CSharp/AlphaTab.Samples.Player/NAudioSynthOutput.cs
+++ /dev/null
@@ -1,127 +0,0 @@
-using System;
-using AlphaTab.Audio.Synth;
-using AlphaTab.Audio.Synth.Ds;
-using AlphaTab.Audio.Synth.Util;
-using NAudio.Wave;
-
-namespace AlphaTab.Samples.PngDump
-{
- class NAudioSynthOutput : WaveProvider32, ISynthOutput
- {
- private const int BufferSize = 4096;
- private const int BufferCount = 10;
- private const int PreferredSampleRate = 44100;
-
- private DirectSoundOut _context;
-
- private CircularSampleBuffer _circularBuffer;
-
- private bool _finished;
-
- public int SampleRate
- {
- get { return PreferredSampleRate; }
- }
-
- public NAudioSynthOutput()
- : base(PreferredSampleRate, 2)
- {
- }
-
- public void Open()
- {
- _finished = false;
- _circularBuffer = new CircularSampleBuffer(BufferSize * BufferCount);
-
- _context = new DirectSoundOut(100);
- _context.Init(this);
-
- Ready();
- }
-
- public void Close()
- {
- _finished = true;
- _context.Stop();
- _circularBuffer.Clear();
- _context.Dispose();
- }
-
- public void Play()
- {
- RequestBuffers();
- _finished = false;
- _context.Play();
- }
-
- public void Pause()
- {
- _context.Pause();
- }
-
- public void SequencerFinished()
- {
- _finished = true;
- }
-
- public void AddSamples(SampleArray f)
- {
- _circularBuffer.Write(f, 0, f.Length);
- }
-
- public void ResetSamples()
- {
- _circularBuffer.Clear();
- }
-
- private void RequestBuffers()
- {
- // if we fall under the half of buffers
- // we request one half
- const int count = (BufferCount / 2) * BufferSize;
- if (_circularBuffer.Count < count && SampleRequest != null)
- {
- for (int i = 0; i < BufferCount / 2; i++)
- {
- SampleRequest();
- }
- }
- }
-
- public override int Read(float[] buffer, int offset, int count)
- {
- if (_circularBuffer.Count < count)
- {
- if (_finished)
- {
- Finished();
- }
- }
- else
- {
- var read = new SampleArray(count);
- _circularBuffer.Read(read, 0, read.Length);
-
- for (int i = 0; i < count; i++)
- {
- buffer[offset + i] = read[i];
- }
-
- var samples = count / 2;
- SamplesPlayed(samples);
- }
-
- if (!_finished)
- {
- RequestBuffers();
- }
-
- return count;
- }
-
- public event Action Ready;
- public event Action SamplesPlayed;
- public event Action SampleRequest;
- public event Action Finished;
- }
-}
\ No newline at end of file
diff --git a/Samples/CSharp/AlphaTab.Samples.Player/Program.cs b/Samples/CSharp/AlphaTab.Samples.Player/Program.cs
deleted file mode 100644
index 115f6adf4..000000000
--- a/Samples/CSharp/AlphaTab.Samples.Player/Program.cs
+++ /dev/null
@@ -1,91 +0,0 @@
-/*
- * This file is part of alphaTab.
- * Copyright © 2018, Daniel Kuschny and Contributors, All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3.0 of the License, or at your option any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library.
- */
-using System;
-using System.Collections.Generic;
-using System.Drawing;
-using System.IO;
-using AlphaTab.Audio.Generator;
-using AlphaTab.Audio.Synth;
-using AlphaTab.Audio.Synth.Midi;
-using AlphaTab.Importer;
-using AlphaTab.Model;
-using AlphaTab.Rendering;
-using AlphaTab.Util;
-using SkiaSharp;
-
-namespace AlphaTab.Samples.PngDump
-{
- class Program
- {
- static void Main(string[] args)
- {
- if (args.Length != 2)
- {
- Console.WriteLine("Usage AlphaTab.ScoreDump.exe PathToFile PathToSoundFont");
- return;
- }
-
- // load score
- var score = ScoreLoader.LoadScoreFromBytes(File.ReadAllBytes(args[0]));
-
- // generate midi
- var midiFile = new MidiFile();
- var handler = new AlphaSynthMidiFileHandler(midiFile);
- var generator = new MidiFileGenerator(score, null, handler);
- generator.Generate();
-
- var player = new AlphaSynth(new NAudioSynthOutput());
- player.MidiLoaded += () => { Console.WriteLine("Midi loaded"); };
- player.SoundFontLoaded += () => { Console.WriteLine("SoundFont loaded"); };
- player.MidiLoadFailed += e => { Console.WriteLine("Midi load failed"); };
- player.SoundFontLoadFailed += e => { Console.WriteLine("SoundFont load failed"); };
- player.Finished += _ =>
- {
- Console.WriteLine("Playback finished");
- ((NAudioSynthOutput)player.Output).Close();
- };
- player.PositionChanged += e =>
- {
- TimeSpan currentTime = TimeSpan.FromMilliseconds(e.CurrentTime);
- TimeSpan endTime = TimeSpan.FromMilliseconds(e.EndTime);
-
- Console.CursorTop--;
- Console.Write("".PadLeft(Console.BufferWidth - 1, ' '));
- Console.CursorLeft = 0;
- Console.WriteLine("{0:mm\\:ss\\:fff} ({1}) of {2:mm\\:ss\\:fff} ({3})",
- currentTime, e.CurrentTick, endTime, e.EndTick);
- };
- player.ReadyForPlayback += () =>
- {
- Console.WriteLine("Ready for playback");
- };
- player.LoadSoundFont(File.ReadAllBytes(args[1]));
- player.LoadMidi(midiFile);
-
- Console.WriteLine("Start playing");
- player.Play();
-
- Console.WriteLine("Press enter to exit");
- Console.ReadLine();
-
- player.Pause();
-
- Console.ReadLine();
- }
- }
-}
diff --git a/Samples/CSharp/AlphaTab.Samples.Player/Properties/launchSettings.json b/Samples/CSharp/AlphaTab.Samples.Player/Properties/launchSettings.json
deleted file mode 100644
index a8fcc1d57..000000000
--- a/Samples/CSharp/AlphaTab.Samples.Player/Properties/launchSettings.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "profiles": {
- "AlphaTab.Samples.Player": {
- "commandName": "Project",
- "commandLineArgs": "$(SolutionDir)\\Samples\\JavaScript\\Files\\NightWish.gp5 $(SolutionDir)\\Build\\JavaScript\\default.sf2"
- }
- }
-}
\ No newline at end of file
diff --git a/Samples/CSharp/AlphaTab.Samples.PngDump/AlphaTab.Samples.PngDump.csproj b/Samples/CSharp/AlphaTab.Samples.PngDump/AlphaTab.Samples.PngDump.csproj
deleted file mode 100644
index 1c24cabd6..000000000
--- a/Samples/CSharp/AlphaTab.Samples.PngDump/AlphaTab.Samples.PngDump.csproj
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
- netstandard2.0
- Exe
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Samples/CSharp/AlphaTab.Samples.PngDump/Program.cs b/Samples/CSharp/AlphaTab.Samples.PngDump/Program.cs
deleted file mode 100644
index e40d73ce1..000000000
--- a/Samples/CSharp/AlphaTab.Samples.PngDump/Program.cs
+++ /dev/null
@@ -1,95 +0,0 @@
-/*
- * This file is part of alphaTab.
- * Copyright © 2018, Daniel Kuschny and Contributors, All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3.0 of the License, or at your option any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library.
- */
-using System;
-using System.Collections.Generic;
-using System.Drawing;
-using System.IO;
-using AlphaTab.Importer;
-using AlphaTab.Rendering;
-using SkiaSharp;
-
-namespace AlphaTab.Samples.PngDump
-{
- class Program
- {
- static void Main(string[] args)
- {
- if (args.Length != 1)
- {
- Console.WriteLine("Usage AlphaTab.ScoreDump.exe Path");
- return;
- }
-
- // load score
- var score = ScoreLoader.LoadScoreFromBytes(File.ReadAllBytes(args[0]));
-
- // render score with svg engine and desired rendering width
- var settings = Settings.Defaults;
- settings.Engine = "skia";
- settings.Width = 970;
- var renderer = new ScoreRenderer(settings);
-
- // iterate tracks
- for (int i = 0, j = score.Tracks.Count; i < j; i++)
- {
- var track = score.Tracks[i];
-
- // render track
- Console.WriteLine("Rendering track {0} - {1}", i + 1, track.Name);
- var images = new List();
- var totalWidth = 0;
- var totalHeight = 0;
- renderer.PartialRenderFinished += r =>
- {
- images.Add((SKImage)r.RenderResult);
- };
- renderer.RenderFinished += r =>
- {
- totalWidth = (int)r.TotalWidth;
- totalHeight = (int)r.TotalHeight;
- };
- renderer.Render(score, new[] { track.Index });
-
- // write png
- var info = new FileInfo(args[0]);
- var path = Path.Combine(info.DirectoryName, Path.GetFileNameWithoutExtension(info.Name) + "-" + i + ".png");
-
- using (var full = SKSurface.Create(totalWidth, totalHeight, SKImageInfo.PlatformColorType, SKAlphaType.Premul))
- {
- int y = 0;
- foreach (var image in images)
- {
- full.Canvas.DrawImage(image, new SKRect(0, 0, image.Width, image.Height), new SKRect(0, y, image.Width, y + image.Height));
- y += image.Height;
- }
-
- using (var fullImage = full.Snapshot())
- {
- using (var data = fullImage.Encode(SKEncodedImageFormat.Png, 100).AsStream(true))
- {
- using (var fileStream = new FileStream(path, FileMode.Create, FileAccess.Write))
- {
- data.CopyTo(fileStream);
- }
- }
- }
- }
- }
- }
- }
-}
diff --git a/Samples/CSharp/AlphaTab.Samples.ScoreDump/AlphaTab.Samples.ScoreDump.csproj b/Samples/CSharp/AlphaTab.Samples.ScoreDump/AlphaTab.Samples.ScoreDump.csproj
deleted file mode 100644
index 1c24cabd6..000000000
--- a/Samples/CSharp/AlphaTab.Samples.ScoreDump/AlphaTab.Samples.ScoreDump.csproj
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
- netstandard2.0
- Exe
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Samples/CSharp/AlphaTab.Samples.ScoreDump/Program.cs b/Samples/CSharp/AlphaTab.Samples.ScoreDump/Program.cs
deleted file mode 100644
index 30b32a15f..000000000
--- a/Samples/CSharp/AlphaTab.Samples.ScoreDump/Program.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * This file is part of alphaTab.
- * Copyright © 2018, Daniel Kuschny and Contributors, All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3.0 of the License, or at your option any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library.
- */
-using System;
-using System.IO;
-using System.Linq;
-using AlphaTab.Importer;
-using AlphaTab.Model;
-
-namespace AlphaTab.Samples.ScoreDump
-{
- class Program
- {
- static void Main(string[] args)
- {
- if (args.Length != 1)
- {
- Console.WriteLine("Usage AlphaTab.ScoreDump.exe Path");
- return;
- }
-
- var score = ScoreLoader.LoadScoreFromBytes(File.ReadAllBytes(args[0]));
-
- // score info
- Console.WriteLine("Title: {0}", score.Title);
- Console.WriteLine("Subtitle: {0}", score.SubTitle);
- Console.WriteLine("Artist: {0}", score.Artist);
- Console.WriteLine("Tempo: {0}", score.Tempo);
- Console.WriteLine("Bars: {0}", score.MasterBars.Count);
- Console.WriteLine("Time Signature: {0}/{1}", score.MasterBars[0].TimeSignatureNumerator,
- score.MasterBars[0].TimeSignatureDenominator);
- // tracks
- Console.WriteLine("Tracks: ");
- for (int i = 0; i < score.Tracks.Count; i++)
- {
- Track track = (Track)score.Tracks[i];
- Console.WriteLine(" {0} - {1} - {2}", i + 1, track.Name, track.Staves.Any(s=>s.StaffKind == StaffKind.Percussion) ? "Percussion" : "Midi Instrument: " + track.PlaybackInfo.Program);
- }
- }
- }
-}
diff --git a/Samples/CSharp/AlphaTab.Samples.WinForms/AlphaTab.Samples.WinForms.csproj b/Samples/CSharp/AlphaTab.Samples.WinForms/AlphaTab.Samples.WinForms.csproj
deleted file mode 100644
index d53afc53f..000000000
--- a/Samples/CSharp/AlphaTab.Samples.WinForms/AlphaTab.Samples.WinForms.csproj
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
- net471
- WinExe
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Samples/CSharp/AlphaTab.Samples.WinForms/MainWindow.cs b/Samples/CSharp/AlphaTab.Samples.WinForms/MainWindow.cs
deleted file mode 100644
index 29ef54e9b..000000000
--- a/Samples/CSharp/AlphaTab.Samples.WinForms/MainWindow.cs
+++ /dev/null
@@ -1,168 +0,0 @@
-/*
- * This file is part of alphaTab.
- * Copyright © 2018, Daniel Kuschny and Contributors, All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3.0 of the License, or at your option any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library.
- */
-
-using System;
-using System.IO;
-using System.Windows.Forms;
-using AlphaTab.Importer;
-using AlphaTab.Model;
-using Track = AlphaTab.Model.Track;
-
-namespace AlphaTab.Samples.WinForms
-{
- public partial class MainWindow : Form
- {
- private Score _score;
- private int _currentTrackIndex;
-
- public MainWindow()
- {
- InitializeComponent();
- cmbRenderEngine.SelectedIndex = 0;
- }
-
- private void openFileButton_Click(object sender, EventArgs e)
- {
- OpenFile();
- }
-
- #region Score Data
-
- public Score Score
- {
- get { return _score; }
- set
- {
- _score = value;
- showScoreInfo.Enabled = value != null;
- Text = "AlphaTab - " + (value == null ? "No File Opened" : value.Title);
- CurrentTrackIndex = 0;
- }
- }
-
- public int CurrentTrackIndex
- {
- get { return _currentTrackIndex; }
- set
- {
- _currentTrackIndex = value;
- UpdateSelectedTrack();
- var track = CurrentTrack;
- if (track != null)
- {
- alphaTabControl1.Tracks = new[] { track };
- }
- }
- }
-
- public Track CurrentTrack
- {
- get
- {
- if (Score == null || CurrentTrackIndex < 0 || CurrentTrackIndex >= _score.Tracks.Count) return null;
- return _score.Tracks[_currentTrackIndex];
- }
- }
-
- #endregion
-
- #region Score Loading
-
- private void OpenFile()
- {
- using (OpenFileDialog dialog = new OpenFileDialog())
- {
- dialog.Filter = "Supported Files (*.gp3, *.gp4, *.gp5, *.gpx)|*.gp3;*.gp4;*.gp5;*.gpx";
- if (dialog.ShowDialog(this) == DialogResult.OK)
- {
- OpenFile(dialog.FileName);
- }
- }
- }
-
- private void OpenFile(string file)
- {
- if (!string.IsNullOrWhiteSpace(file) && File.Exists(file))
- {
- InternalOpenFile(file);
- }
- }
-
- private void InternalOpenFile(string file)
- {
- try
- {
- // load the score from the filesystem
- Score = ScoreLoader.LoadScoreFromBytes(File.ReadAllBytes(file));
-
- trackDetails.Controls.Clear();
- trackBars.Controls.Clear();
- for (int i = Score.Tracks.Count - 1; i >= 0; i--)
- {
- TrackDetailsControl details = new TrackDetailsControl(Score.Tracks[i]);
- details.Dock = DockStyle.Top;
- details.Height = 25;
- trackDetails.Controls.Add(details);
- details.Selected += details_Click;
-
- TrackBarsControl bars = new TrackBarsControl(Score.Tracks[i]);
- bars.Dock = DockStyle.Top;
- trackBars.Controls.Add(bars);
- }
-
- UpdateSelectedTrack();
- }
- catch (Exception e)
- {
- MessageBox.Show(this, e.Message, "An error during opening the file occured", MessageBoxButtons.OK,
- MessageBoxIcon.Error);
- }
- }
-
- private void details_Click(object sender, EventArgs e)
- {
- TrackDetailsControl details = (TrackDetailsControl)sender;
- CurrentTrackIndex = _score.Tracks.IndexOf(details.Track);
- }
-
- private void UpdateSelectedTrack()
- {
- var currentTrack = CurrentTrack;
- foreach (TrackDetailsControl trackViewModel in trackDetails.Controls)
- {
- trackViewModel.IsSelected = currentTrack == trackViewModel.Track;
- }
- }
-
- #endregion
-
- private void showScoreInfo_Click(object sender, EventArgs e)
- {
- if (_score == null) return;
- using (ScoreInfoWindow window = new ScoreInfoWindow(_score))
- {
- window.ShowDialog(this);
- }
- }
-
- private void cmbRenderEngine_SelectedIndexChanged(object sender, EventArgs e)
- {
- alphaTabControl1.RenderEngine = cmbRenderEngine.SelectedItem.ToString();
- }
- }
-}
diff --git a/Samples/CSharp/AlphaTab.Samples.WinForms/Program.cs b/Samples/CSharp/AlphaTab.Samples.WinForms/Program.cs
deleted file mode 100644
index aa0f2e989..000000000
--- a/Samples/CSharp/AlphaTab.Samples.WinForms/Program.cs
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * This file is part of alphaTab.
- * Copyright © 2018, Daniel Kuschny and Contributors, All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3.0 of the License, or at your option any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library.
- */
-
-using System;
-using System.Windows.Forms;
-
-namespace AlphaTab.Samples.WinForms
-{
- static class Program
- {
- ///
- /// The main entry point for the application.
- ///
- [STAThread]
- static void Main()
- {
- Application.EnableVisualStyles();
- Application.SetCompatibleTextRenderingDefault(false);
- Application.Run(new MainWindow());
- }
- }
-}
diff --git a/Samples/CSharp/AlphaTab.Samples.WinForms/ScoreInfoWindow.cs b/Samples/CSharp/AlphaTab.Samples.WinForms/ScoreInfoWindow.cs
deleted file mode 100644
index 7a0235fb2..000000000
--- a/Samples/CSharp/AlphaTab.Samples.WinForms/ScoreInfoWindow.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * This file is part of alphaTab.
- * Copyright © 2018, Daniel Kuschny and Contributors, All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3.0 of the License, or at your option any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library.
- */
-
-using System.Windows.Forms;
-using AlphaTab.Model;
-
-namespace AlphaTab.Samples.WinForms
-{
- public partial class ScoreInfoWindow : Form
- {
- public ScoreInfoWindow()
- {
- InitializeComponent();
- }
-
- public ScoreInfoWindow(Score score)
- {
- InitializeComponent();
- txtAlbum.Text = score.Album;
- txtArtist.Text = score.Artist;
- txtCopyright.Text = score.Copyright;
- txtLyrics.Text = score.Words;
- txtMusic.Text = score.Music;
- txtNotes.Text = score.Notices;
- txtSubTitle.Text = score.SubTitle;
- txtTab.Text = score.Tab;
- txtTitle.Text = score.Title;
- }
- }
-}
diff --git a/Samples/CSharp/AlphaTab.Samples.WinForms/TrackBarsControl.cs b/Samples/CSharp/AlphaTab.Samples.WinForms/TrackBarsControl.cs
deleted file mode 100644
index 733726345..000000000
--- a/Samples/CSharp/AlphaTab.Samples.WinForms/TrackBarsControl.cs
+++ /dev/null
@@ -1,108 +0,0 @@
-/*
- * This file is part of alphaTab.
- * Copyright © 2018, Daniel Kuschny and Contributors, All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3.0 of the License, or at your option any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library.
- */
-
-using System.Drawing;
-using System.Drawing.Drawing2D;
-using System.Windows.Forms;
-using AlphaTab.Model;
-
-namespace AlphaTab.Samples.WinForms
-{
- class TrackBarsControl : Control
- {
- private static readonly Size BlockSize = new Size(25, 25);
- private readonly bool[] _usedBars;
- private Color _startColor;
- private Color _endColor;
-
- public TrackBarsControl(Track track)
- {
- SetStyle(ControlStyles.FixedHeight, true);
- SetStyle(ControlStyles.DoubleBuffer, true);
- SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
- SetStyle(ControlStyles.ResizeRedraw, true);
- SetStyle(ControlStyles.UserPaint, true);
- base.DoubleBuffered = true;
- base.BackColor = Color.FromArgb(93, 95, 94);
-
- _usedBars = new bool[track.Score.MasterBars.Count];
- for (int s = 0; s < track.Staves.Count; s++)
- {
- var staff = track.Staves[s];
- for (int barI = 0; barI < staff.Bars.Count; barI++)
- {
- var bar = staff.Bars[barI];
- _usedBars[barI] = false;
-
- for (int voiceI = 0; voiceI < bar.Voices.Count && (!_usedBars[barI]); voiceI++)
- {
- Voice voice = bar.Voices[voiceI];
- for (int i = 0; i < voice.Beats.Count; i++)
- {
- var b = voice.Beats[i];
- if (!b.IsRest)
- {
- _usedBars[barI] = true;
- }
- }
- }
- }
- }
- PerformLayout();
- Width = BlockSize.Width * _usedBars.Length;
- Height = BlockSize.Height;
- MinimumSize = BlockSize;
-
- SetColor(track.Color);
- }
-
- private void SetColor(Platform.Model.Color color)
- {
- var baseColor = Color.FromArgb(color.R, color.G, color.B);
- double h, s, l;
- ColorTools.RGB2HSL(baseColor, out h, out s, out l);
-
- _startColor = ColorTools.HSL2RGB(h, System.Math.Max(0, System.Math.Min(1, s - 0.2)),
- System.Math.Max(0, System.Math.Min(1, l + 0.2)));
- _endColor = ColorTools.HSL2RGB(h, System.Math.Max(0, System.Math.Min(1, s - 0.2)),
- System.Math.Max(0, System.Math.Min(1, l - 0.2)));
- }
-
- protected override void OnPaint(PaintEventArgs e)
- {
- base.OnPaint(e);
- if (_usedBars == null) return;
-
- using (LinearGradientBrush brush = new LinearGradientBrush(DisplayRectangle, _startColor, _endColor, LinearGradientMode.Vertical))
- {
- e.Graphics.FillRectangle(brush, new Rectangle(0, 0, _usedBars.Length * BlockSize.Width, BlockSize.Height));
- }
-
- using (Pen pen = new Pen(Color.FromArgb(75,255,255,255)))
- {
- for (int i = 0; i < _usedBars.Length; i++)
- {
- e.Graphics.DrawLine(pen, (i + 1) * BlockSize.Width, 0, (i + 1) * BlockSize.Width, BlockSize.Height);
- }
- pen.Color = Color.FromArgb(51, 51, 51);
- e.Graphics.DrawLine(pen, 0, Height - 1, _usedBars.Length * BlockSize.Width, Height - 1);
- }
-
- }
- }
-}
diff --git a/Samples/CSharp/AlphaTab.Samples.WinForms/TrackDetailsControl.cs b/Samples/CSharp/AlphaTab.Samples.WinForms/TrackDetailsControl.cs
deleted file mode 100644
index 47dedbe48..000000000
--- a/Samples/CSharp/AlphaTab.Samples.WinForms/TrackDetailsControl.cs
+++ /dev/null
@@ -1,83 +0,0 @@
-using System;
-using System.Drawing;
-using System.Windows.Forms;
-using AlphaTab.Model;
-
-namespace AlphaTab.Samples.WinForms
-{
- public partial class TrackDetailsControl : UserControl
- {
- private bool _isSelected;
- private Track _track;
-
- public bool IsSelected
- {
- get { return _isSelected; }
- set
- {
- _isSelected = value;
- BackColor = value ? Color.FromArgb(116, 118, 117) : Color.FromArgb(93, 94, 95);
- }
- }
-
- public Track Track
- {
- get { return _track; }
- set
- {
- _track = value;
- TrackName = value.Name;
- Volume = value.PlaybackInfo.Volume;
- IsSolo = value.PlaybackInfo.IsSolo;
- IsMute = value.PlaybackInfo.IsMute;
- }
- }
-
- public string TrackName
- {
- get { return lblName.Text; }
- set { lblName.Text = value; }
- }
-
- public int Volume
- {
- get { return volumeTrack.Value; }
- set { volumeTrack.Value = value; }
- }
-
- public bool IsSolo
- {
- get { return isSoloCheck.Checked; }
- set { isSoloCheck.Checked = value; }
- }
-
- public bool IsMute
- {
- get { return isMuteCheck.Checked; }
- set { isMuteCheck.Checked = value; }
- }
-
- public TrackDetailsControl()
- {
- InitializeComponent();
- }
-
- public TrackDetailsControl(Track track)
- {
- InitializeComponent();
- Track = track;
- }
-
- public event EventHandler Selected;
- protected virtual void OnSelected()
- {
- EventHandler handler = Selected;
- if (handler != null) handler(this, EventArgs.Empty);
- }
-
- private void lblName_Click(object sender, EventArgs e)
- {
- OnSelected();
- }
- }
-}
diff --git a/Samples/CSharp/AlphaTab.Samples.WinForms/TrackHeaderControl.cs b/Samples/CSharp/AlphaTab.Samples.WinForms/TrackHeaderControl.cs
deleted file mode 100644
index 1bd15b25e..000000000
--- a/Samples/CSharp/AlphaTab.Samples.WinForms/TrackHeaderControl.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * This file is part of alphaTab.
- * Copyright © 2018, Daniel Kuschny and Contributors, All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3.0 of the License, or at your option any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library.
- */
-
-using System.Windows.Forms;
-
-namespace AlphaTab.Samples.WinForms
-{
- public partial class TrackHeaderControl : UserControl
- {
- public TrackHeaderControl()
- {
- InitializeComponent();
- }
- }
-}
diff --git a/Samples/CSharp/AlphaTab.Samples.WinForms/packages.config b/Samples/CSharp/AlphaTab.Samples.WinForms/packages.config
deleted file mode 100644
index 593e8d1cd..000000000
--- a/Samples/CSharp/AlphaTab.Samples.WinForms/packages.config
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/Samples/CSharp/AlphaTab.Samples.Wpf/AlphaTab.Samples.Wpf.csproj b/Samples/CSharp/AlphaTab.Samples.Wpf/AlphaTab.Samples.Wpf.csproj
deleted file mode 100644
index 68ba9d43f..000000000
--- a/Samples/CSharp/AlphaTab.Samples.Wpf/AlphaTab.Samples.Wpf.csproj
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
- net471
- WinExe
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Samples/CSharp/AlphaTab.Samples.Wpf/App.xaml b/Samples/CSharp/AlphaTab.Samples.Wpf/App.xaml
deleted file mode 100644
index b28faeae9..000000000
--- a/Samples/CSharp/AlphaTab.Samples.Wpf/App.xaml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Samples/CSharp/AlphaTab.Samples.Wpf/App.xaml.cs b/Samples/CSharp/AlphaTab.Samples.Wpf/App.xaml.cs
deleted file mode 100644
index 8882d7455..000000000
--- a/Samples/CSharp/AlphaTab.Samples.Wpf/App.xaml.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * This file is part of alphaTab.
- * Copyright © 2018, Daniel Kuschny and Contributors, All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3.0 of the License, or at your option any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library.
- */
-using System.Globalization;
-using System.Threading;
-using System.Windows;
-using System.Windows.Markup;
-using AlphaTab.Samples.Wpf.ViewModel;
-
-namespace AlphaTab.Samples.Wpf
-{
- ///
- /// Interaction logic for App.xaml
- ///
- public partial class App
- {
- public static void InitializeCultures()
- {
- Thread.CurrentThread.CurrentCulture = new CultureInfo("en-us");
- Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-us");
-
- FrameworkElement.LanguageProperty.OverrideMetadata(typeof(FrameworkElement), new FrameworkPropertyMetadata(
- XmlLanguage.GetLanguage(CultureInfo.CurrentCulture.IetfLanguageTag)));
- }
-
- protected override void OnStartup(StartupEventArgs e)
- {
- base.OnStartup(e);
- ViewModelBase.Initialize();
- }
- }
-}
diff --git a/Samples/CSharp/AlphaTab.Samples.Wpf/Controls/ToolBarCustom.cs b/Samples/CSharp/AlphaTab.Samples.Wpf/Controls/ToolBarCustom.cs
deleted file mode 100644
index 3d9843e84..000000000
--- a/Samples/CSharp/AlphaTab.Samples.Wpf/Controls/ToolBarCustom.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * This file is part of alphaTab.
- * Copyright © 2018, Daniel Kuschny and Contributors, All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3.0 of the License, or at your option any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library.
- */
-
-using System.Windows;
-using System.Windows.Controls;
-
-namespace AlphaTab.Samples.Wpf.Controls
-{
- ///
- /// A custom toolbar with hidden overflow button
- ///
- public class ToolBarCustom : ToolBar
- {
- public ToolBarCustom()
- {
- Loaded += OnLoaded;
- }
-
- private void OnLoaded(object sender, RoutedEventArgs e)
- {
- var overflowGrid = Template.FindName("OverflowGrid", this) as FrameworkElement;
- if (overflowGrid != null)
- {
- overflowGrid.Visibility = Visibility.Collapsed;
- }
- }
- }
-}
diff --git a/Samples/CSharp/AlphaTab.Samples.Wpf/Converter/BoolToBrushConverter.cs b/Samples/CSharp/AlphaTab.Samples.Wpf/Converter/BoolToBrushConverter.cs
deleted file mode 100644
index a677ced56..000000000
--- a/Samples/CSharp/AlphaTab.Samples.Wpf/Converter/BoolToBrushConverter.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * This file is part of alphaTab.
- * Copyright © 2018, Daniel Kuschny and Contributors, All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3.0 of the License, or at your option any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library.
- */
-
-using System;
-using System.Globalization;
-using System.Windows.Data;
-using System.Windows.Media;
-
-namespace AlphaTab.Samples.Wpf.Converter
-{
- ///
- /// A simple ValueConverter which converts a bool to a associated brush.
- ///
- public class BoolToBrushConverter : IValueConverter
- {
- public Brush TrueBrush { get; set; }
- public Brush FalseBrush { get; set; }
-
- public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
- {
- return value is bool && (bool) value ? TrueBrush : FalseBrush;
- }
-
- public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
- {
- throw new NotImplementedException();
- }
- }
-}
diff --git a/Samples/CSharp/AlphaTab.Samples.Wpf/Data/DialogService.cs b/Samples/CSharp/AlphaTab.Samples.Wpf/Data/DialogService.cs
deleted file mode 100644
index 33e1a7c1d..000000000
--- a/Samples/CSharp/AlphaTab.Samples.Wpf/Data/DialogService.cs
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * This file is part of alphaTab.
- * Copyright © 2018, Daniel Kuschny and Contributors, All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3.0 of the License, or at your option any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library.
- */
-
-using System.Windows;
-using AlphaTab.Model;
-using AlphaTab.Samples.Wpf.ViewModel;
-using Microsoft.Win32;
-
-namespace AlphaTab.Samples.Wpf.Data
-{
- ///
- /// This DialogService implementation opens uses WPF dialogs
- ///
- public class DialogService :IDialogService
- {
- public string OpenFile()
- {
- OpenFileDialog dialog = new OpenFileDialog
- {
- Filter = "Supported Files (*.gp3, *.gp4, *.gp5, *.gpx)|*.gp3;*.gp4;*.gp5;*.gpx"
- };
- if (dialog.ShowDialog(Application.Current.MainWindow).GetValueOrDefault())
- {
- return dialog.FileName;
- }
- return null;
- }
-
- public void ShowScoreInfo(Score score)
- {
- ScoreInfoViewModel viewModel = new ScoreInfoViewModel(score);
- ScoreInfoWindow window = new ScoreInfoWindow();
- window.DataContext = viewModel;
- window.ShowDialog();
- }
- }
-}
diff --git a/Samples/CSharp/AlphaTab.Samples.Wpf/Data/ErrorService.cs b/Samples/CSharp/AlphaTab.Samples.Wpf/Data/ErrorService.cs
deleted file mode 100644
index 8037cacd7..000000000
--- a/Samples/CSharp/AlphaTab.Samples.Wpf/Data/ErrorService.cs
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * This file is part of alphaTab.
- * Copyright © 2017, Daniel Kuschny and Contributors, All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3.0 of the License, or at your option any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library.
- */
-
-using System;
-using System.Windows;
-using AlphaTab.Samples.Wpf.ViewModel;
-
-namespace AlphaTab.Samples.Wpf.Data
-{
- ///
- /// This error service implementation shows errors as messageboxes on the main window
- ///
- public class ErrorService : IErrorService
- {
- public void OpenFailed(Exception e)
- {
- ViewModelBase.InvokeOnUi(() =>
- {
- MessageBox.Show(Application.Current.MainWindow, e.Message, "An error during opening the file occured",
- MessageBoxButton.OK, MessageBoxImage.Error);
- });
- }
- }
-}
\ No newline at end of file
diff --git a/Samples/CSharp/AlphaTab.Samples.Wpf/Data/IDialogService.cs b/Samples/CSharp/AlphaTab.Samples.Wpf/Data/IDialogService.cs
deleted file mode 100644
index 815e295d2..000000000
--- a/Samples/CSharp/AlphaTab.Samples.Wpf/Data/IDialogService.cs
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * This file is part of alphaTab.
- * Copyright © 2018, Daniel Kuschny and Contributors, All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3.0 of the License, or at your option any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library.
- */
-
-using AlphaTab.Model;
-
-namespace AlphaTab.Samples.Wpf.Data
-{
- public interface IDialogService
- {
- ///
- /// Called when the application wants to open a new file.
- /// Implementation should ask the user to select a file from the filesystem.
- ///
- /// The path to the file which should be opened or null if no file should be opened
- string OpenFile();
-
- ///
- /// Called when the application wants to show a score information.
- ///
- void ShowScoreInfo(Score score);
- }
-}
diff --git a/Samples/CSharp/AlphaTab.Samples.Wpf/Data/IErrorService.cs b/Samples/CSharp/AlphaTab.Samples.Wpf/Data/IErrorService.cs
deleted file mode 100644
index 288b9fb27..000000000
--- a/Samples/CSharp/AlphaTab.Samples.Wpf/Data/IErrorService.cs
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * This file is part of alphaTab.
- * Copyright © 2018, Daniel Kuschny and Contributors, All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3.0 of the License, or at your option any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library.
- */
-
-using System;
-
-namespace AlphaTab.Samples.Wpf.Data
-{
- ///
- /// Implement this interface to handle application errors.
- ///
- public interface IErrorService
- {
- ///
- /// Called when an error during opening a file occurs.
- ///
- /// The exception occured during opening the file
- void OpenFailed(Exception e);
- }
-}
diff --git a/Samples/CSharp/AlphaTab.Samples.Wpf/MainWindow.xaml.cs b/Samples/CSharp/AlphaTab.Samples.Wpf/MainWindow.xaml.cs
deleted file mode 100644
index e802613ba..000000000
--- a/Samples/CSharp/AlphaTab.Samples.Wpf/MainWindow.xaml.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * This file is part of alphaTab.
- * Copyright © 2018, Daniel Kuschny and Contributors, All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3.0 of the License, or at your option any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library.
- */
-using System.Windows;
-using AlphaTab.Samples.Wpf.Data;
-using AlphaTab.Samples.Wpf.ViewModel;
-
-namespace AlphaTab.Samples.Wpf
-{
- ///
- /// Interaction logic for MainWindow.xaml
- ///
- public partial class MainWindow : Window
- {
- public MainWindow()
- {
- InitializeComponent();
-
- // ensure the UI is using en-us as culture
- // we need this culture for correct WPF path string generation
- // in a German culture it could happen that we have a , as a decimal separator.
- App.InitializeCultures();
-
- // create a our viewmodel for databinding
- MainViewModel viewModel = new MainViewModel(new DialogService(), new ErrorService());
- DataContext = viewModel;
- }
- }
-}
diff --git a/Samples/CSharp/AlphaTab.Samples.Wpf/ScoreInfoWindow.xaml.cs b/Samples/CSharp/AlphaTab.Samples.Wpf/ScoreInfoWindow.xaml.cs
deleted file mode 100644
index 0c5294537..000000000
--- a/Samples/CSharp/AlphaTab.Samples.Wpf/ScoreInfoWindow.xaml.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * This file is part of alphaTab.
- * Copyright © 2018, Daniel Kuschny and Contributors, All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3.0 of the License, or at your option any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library.
- */
-using System.Windows;
-using System.Windows.Input;
-
-namespace AlphaTab.Samples.Wpf
-{
- ///
- /// Interaction logic for ScoreInfoWindow.xaml
- ///
- public partial class ScoreInfoWindow
- {
- public ScoreInfoWindow()
- {
- InitializeComponent();
- }
-
- private void OnOkClick(object sender, RoutedEventArgs e)
- {
- DialogResult = true;
- }
-
- protected override void OnPreviewKeyDown(KeyEventArgs e)
- {
- base.OnPreviewKeyDown(e);
- if (e.Key == Key.Escape)
- {
- DialogResult = false;
- e.Handled = true;
- }
- }
-
- }
-}
diff --git a/Samples/CSharp/AlphaTab.Samples.Wpf/Utils/RelayCommand.cs b/Samples/CSharp/AlphaTab.Samples.Wpf/Utils/RelayCommand.cs
deleted file mode 100644
index 2d070a862..000000000
--- a/Samples/CSharp/AlphaTab.Samples.Wpf/Utils/RelayCommand.cs
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * This file is part of alphaTab.
- * Copyright © 2018, Daniel Kuschny and Contributors, All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3.0 of the License, or at your option any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library.
- */
-
-using System;
-using System.Windows.Input;
-using AlphaTab.Samples.Wpf.ViewModel;
-
-namespace AlphaTab.Samples.Wpf.Utils
-{
- ///
- /// This command implementation delegates the execution to a referenced method.
- ///
- public class RelayCommand : ICommand
- {
- private readonly Action _action;
- private readonly Func _canExecute;
-
- public RelayCommand(Action action, Func canExecute = null)
- {
- _action = action;
- _canExecute = canExecute;
- }
-
- public bool CanExecute(object parameter)
- {
- return _canExecute == null || _canExecute();
- }
-
- public void Execute(object parameter)
- {
- _action();
- }
-
- public event EventHandler CanExecuteChanged;
- public virtual void RaiseCanExecuteChanged()
- {
- EventHandler handler = CanExecuteChanged;
- if (handler != null)
- {
- ViewModelBase.InvokeOnUi(() =>
- {
- handler(this, EventArgs.Empty);
- });
- }
- }
- }
-}
diff --git a/Samples/CSharp/AlphaTab.Samples.Wpf/ViewModel/MainViewModel.cs b/Samples/CSharp/AlphaTab.Samples.Wpf/ViewModel/MainViewModel.cs
deleted file mode 100644
index 612b76758..000000000
--- a/Samples/CSharp/AlphaTab.Samples.Wpf/ViewModel/MainViewModel.cs
+++ /dev/null
@@ -1,263 +0,0 @@
-/*
- * This file is part of alphaTab.
- * Copyright © 2018, Daniel Kuschny and Contributors, All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3.0 of the License, or at your option any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library.
- */
-
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Linq;
-using System.Threading.Tasks;
-using System.Windows.Input;
-using AlphaTab.Importer;
-using AlphaTab.Model;
-using AlphaTab.Samples.Wpf.Data;
-using AlphaTab.Samples.Wpf.Utils;
-
-namespace AlphaTab.Samples.Wpf.ViewModel
-{
- ///
- /// This viewmodel contains the data and logic for the main application window.
- ///
- public class MainViewModel : ViewModelBase
- {
- // references to the services we want to use
- private readonly IDialogService _dialogService;
- private readonly IErrorService _errorService;
-
- #region Score Data
-
- // those properties store the score information
-
- private Score _score;
- private int _currentTrackIndex;
- private IEnumerable _trackInfos;
- private TrackViewModel _selectedTrackInfo;
- private readonly RelayCommand _showScoreInfoCommand;
- private string[] _renderEngines;
- private string _renderEngine;
-
- ///
- /// A command which raises the method
- ///
- public ICommand ShowScoreInfoCommand
- {
- get { return _showScoreInfoCommand; }
- }
-
- public string[] RenderEngines
- {
- get { return _renderEngines; }
- }
-
- public string RenderEngine
- {
- get { return _renderEngine; }
- set
- {
- if (value == _renderEngine) return;
- _renderEngine = value;
- OnPropertyChanged();
- }
- }
-
- ///
- /// Gets or sets the currently opened score.
- /// If a new score is selected, the first track gets loaded.
- ///
- public Score Score
- {
- get { return _score; }
- set
- {
- _score = value;
- OnPropertyChanged();
- OnPropertyChanged("ScoreTitle");
- _showScoreInfoCommand.RaiseCanExecuteChanged();
-
- // select the first track
- CurrentTrackIndex = 0;
- }
- }
-
- ///
- /// Gets or sets the title of the currently loaded sore.
- ///
- public string ScoreTitle
- {
- get
- {
- return _score == null ? "No File Opened" : _score.Title;
- }
- }
-
- ///
- /// Gets or sets the index of the track which should be currently displayed.
- ///
- public int CurrentTrackIndex
- {
- get { return _currentTrackIndex; }
- set
- {
- _currentTrackIndex = value;
-
- // update the visual track selection if a new track is selected
- UpdateSelectedViewModel();
-
- // notify the ui
- OnPropertyChanged();
- OnPropertyChanged(nameof(CurrentTracks));
- }
- }
-
- ///
- /// Gets the currently selected track.
- ///
- public IEnumerable