1- using DynamicExpresso . Parsing ;
21using System ;
32using System . Linq . Expressions ;
3+ using DynamicExpresso . Parsing ;
44
55namespace DynamicExpresso
66{
@@ -9,25 +9,25 @@ public static class LanguageConstants
99 public const string This = "this" ;
1010
1111 public static readonly ReferenceType [ ] PrimitiveTypes = {
12- new ReferenceType ( typeof ( object ) ) ,
13- new ReferenceType ( typeof ( bool ) ) ,
14- new ReferenceType ( typeof ( char ) ) ,
15- new ReferenceType ( typeof ( string ) ) ,
16- new ReferenceType ( typeof ( sbyte ) ) ,
17- new ReferenceType ( typeof ( byte ) ) ,
18- new ReferenceType ( typeof ( short ) ) ,
19- new ReferenceType ( typeof ( ushort ) ) ,
20- new ReferenceType ( typeof ( int ) ) ,
21- new ReferenceType ( typeof ( uint ) ) ,
22- new ReferenceType ( typeof ( long ) ) ,
23- new ReferenceType ( typeof ( ulong ) ) ,
24- new ReferenceType ( typeof ( float ) ) ,
25- new ReferenceType ( typeof ( double ) ) ,
26- new ReferenceType ( typeof ( decimal ) ) ,
27- new ReferenceType ( typeof ( DateTime ) ) ,
28- new ReferenceType ( typeof ( TimeSpan ) ) ,
29- new ReferenceType ( typeof ( Guid ) )
30- } ;
12+ new ReferenceType ( typeof ( object ) ) ,
13+ new ReferenceType ( typeof ( bool ) ) ,
14+ new ReferenceType ( typeof ( char ) ) ,
15+ new ReferenceType ( typeof ( string ) ) ,
16+ new ReferenceType ( typeof ( sbyte ) ) ,
17+ new ReferenceType ( typeof ( byte ) ) ,
18+ new ReferenceType ( typeof ( short ) ) ,
19+ new ReferenceType ( typeof ( ushort ) ) ,
20+ new ReferenceType ( typeof ( int ) ) ,
21+ new ReferenceType ( typeof ( uint ) ) ,
22+ new ReferenceType ( typeof ( long ) ) ,
23+ new ReferenceType ( typeof ( ulong ) ) ,
24+ new ReferenceType ( typeof ( float ) ) ,
25+ new ReferenceType ( typeof ( double ) ) ,
26+ new ReferenceType ( typeof ( decimal ) ) ,
27+ new ReferenceType ( typeof ( DateTime ) ) ,
28+ new ReferenceType ( typeof ( TimeSpan ) ) ,
29+ new ReferenceType ( typeof ( Guid ) )
30+ } ;
3131
3232 /// <summary>
3333 /// Primitive types alias (string, int, ...)
@@ -54,10 +54,10 @@ public static class LanguageConstants
5454 /// Common .NET Types (Math, Convert, Enumerable)
5555 /// </summary>
5656 public static readonly ReferenceType [ ] CommonTypes = {
57- new ReferenceType ( typeof ( Math ) ) ,
58- new ReferenceType ( typeof ( Convert ) ) ,
59- new ReferenceType ( typeof ( System . Linq . Enumerable ) )
60- } ;
57+ new ReferenceType ( typeof ( Math ) ) ,
58+ new ReferenceType ( typeof ( Convert ) ) ,
59+ new ReferenceType ( typeof ( System . Linq . Enumerable ) )
60+ } ;
6161
6262 /// <summary>
6363 /// true, false, null
0 commit comments