boo-lang /src/Boo.Lang.Compiler/TypeSystem/Types.cs

Language C# Lines 133
MD5 Hash 5d33a0d35d1a9c8d5ac3cd7686422281 Estimated Cost $1,359 (why?)
Repository https://github.com/boo/boo-lang.git View Raw File View Project SPDX
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
#region license
// Copyright (c) 2004, Rodrigo B. de Oliveira (rbo@acm.org)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
//     * Redistributions of source code must retain the above copyright notice,
//     this list of conditions and the following disclaimer.
//     * Redistributions in binary form must reproduce the above copyright notice,
//     this list of conditions and the following disclaimer in the documentation
//     and/or other materials provided with the distribution.
//     * Neither the name of Rodrigo B. de Oliveira nor the names of its
//     contributors may be used to endorse or promote products derived from this
//     software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
// THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#endregion

namespace Boo.Lang.Compiler.TypeSystem
{
	using System;
	using System.Collections;
	using System.Text.RegularExpressions;
	using Boo.Lang.Runtime;

	public class Types
	{
		public static readonly Type RuntimeServices = typeof(RuntimeServices);

		public static readonly Type Builtins = typeof(Builtins);

		public static readonly Type List = typeof(List);

		public static readonly Type Hash = typeof(Hash);

		public static readonly Type ICallable = typeof(ICallable);

		public static readonly Type ICollection = typeof(ICollection);

		public static readonly Type IList = typeof(IList);

		public static readonly Type IDictionary = typeof(IDictionary);

		public static readonly Type IEnumerable = typeof(IEnumerable);

		public static readonly Type IEnumerator = typeof(IEnumerator);

		public static readonly Type Object = typeof(object);

		public static readonly Type Regex = typeof(Regex);

		public static readonly Type ValueType = typeof(ValueType);

		public static readonly Type Array = typeof(Array);

		public static readonly Type ObjectArray = Type.GetType("System.Object[]");

		public static readonly Type Void = typeof(void);

		public static readonly Type String = typeof(string);

		public static readonly Type Byte = typeof(byte);

		public static readonly Type SByte = typeof(sbyte);

		public static readonly Type Char = typeof(char);

		public static readonly Type Short = typeof(short);

		public static readonly Type Int = typeof(int);

		public static readonly Type Long = typeof(long);

		public static readonly Type UShort = typeof(ushort);

		public static readonly Type UInt = typeof(uint);

		public static readonly Type ULong = typeof(ulong);

		public static readonly Type TimeSpan = typeof(TimeSpan);

		public static readonly Type DateTime = typeof(DateTime);

		public static readonly Type Single = typeof(float);

		public static readonly Type Double = typeof(double);

		public static readonly Type Decimal = typeof(decimal);

		public static readonly Type Date = typeof(DateTime);

		public static readonly Type Bool = typeof(bool);

		public static readonly Type IntPtr = typeof(IntPtr);

		public static readonly Type UIntPtr = typeof(UIntPtr);

		public static readonly Type Type = typeof(Type);

		public static readonly Type MulticastDelegate = typeof(MulticastDelegate);

		public static readonly Type Delegate = typeof(Delegate);

		public static readonly Type DuckTypedAttribute = typeof(Boo.Lang.DuckTypedAttribute);

		public static readonly Type BooExtensionAttribute = typeof(Boo.Lang.ExtensionAttribute);

		public static readonly Type ClrExtensionAttribute = Type.GetType("System.Runtime.CompilerServices.ExtensionAttribute, System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089");

		public static readonly Type DllImportAttribute = typeof(System.Runtime.InteropServices.DllImportAttribute);

		public static readonly Type ModuleAttribute = typeof(System.Runtime.CompilerServices.CompilerGlobalScopeAttribute);

		public static readonly Type ParamArrayAttribute = typeof(ParamArrayAttribute);

		public static readonly Type DefaultMemberAttribute = typeof(System.Reflection.DefaultMemberAttribute);

		public static readonly Type Nullable = typeof(Nullable<>);

	}
}
Back to Top