|
|
|
@ -31,82 +31,82 @@ namespace ICSharpCode.NRefactory.TypeSystem
@@ -31,82 +31,82 @@ namespace ICSharpCode.NRefactory.TypeSystem
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets a type reference pointing to the <c>void</c> type.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static readonly KnownTypeReference Void = new KnownTypeReference(TypeCode.Empty); |
|
|
|
|
public static readonly ITypeReference Void = new KnownTypeReference(TypeCode.Empty); |
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets a type reference pointing to the <c>object</c> type.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static readonly KnownTypeReference Object = new KnownTypeReference(TypeCode.Object); |
|
|
|
|
public static readonly ITypeReference Object = new KnownTypeReference(TypeCode.Object); |
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets a type reference pointing to the <c>bool</c> type.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static readonly KnownTypeReference Boolean = new KnownTypeReference(TypeCode.Boolean); |
|
|
|
|
public static readonly ITypeReference Boolean = new KnownTypeReference(TypeCode.Boolean); |
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets a type reference pointing to the <c>char</c> type.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static readonly KnownTypeReference Char = new KnownTypeReference(TypeCode.Char); |
|
|
|
|
public static readonly ITypeReference Char = new KnownTypeReference(TypeCode.Char); |
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets a type reference pointing to the <c>sbyte</c> type.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static readonly KnownTypeReference SByte = new KnownTypeReference(TypeCode.SByte); |
|
|
|
|
public static readonly ITypeReference SByte = new KnownTypeReference(TypeCode.SByte); |
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets a type reference pointing to the <c>byte</c> type.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static readonly KnownTypeReference Byte = new KnownTypeReference(TypeCode.Byte); |
|
|
|
|
public static readonly ITypeReference Byte = new KnownTypeReference(TypeCode.Byte); |
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets a type reference pointing to the <c>short</c> type.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static readonly KnownTypeReference Int16 = new KnownTypeReference(TypeCode.Int16); |
|
|
|
|
public static readonly ITypeReference Int16 = new KnownTypeReference(TypeCode.Int16); |
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets a type reference pointing to the <c>ushort</c> type.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static readonly KnownTypeReference UInt16 = new KnownTypeReference(TypeCode.UInt16); |
|
|
|
|
public static readonly ITypeReference UInt16 = new KnownTypeReference(TypeCode.UInt16); |
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets a type reference pointing to the <c>int</c> type.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static readonly KnownTypeReference Int32 = new KnownTypeReference(TypeCode.Int32); |
|
|
|
|
public static readonly ITypeReference Int32 = new KnownTypeReference(TypeCode.Int32); |
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets a type reference pointing to the <c>uint</c> type.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static readonly KnownTypeReference UInt32 = new KnownTypeReference(TypeCode.UInt32); |
|
|
|
|
public static readonly ITypeReference UInt32 = new KnownTypeReference(TypeCode.UInt32); |
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets a type reference pointing to the <c>long</c> type.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static readonly KnownTypeReference Int64 = new KnownTypeReference(TypeCode.Int64); |
|
|
|
|
public static readonly ITypeReference Int64 = new KnownTypeReference(TypeCode.Int64); |
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets a type reference pointing to the <c>ulong</c> type.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static readonly KnownTypeReference UInt64 = new KnownTypeReference(TypeCode.UInt64); |
|
|
|
|
public static readonly ITypeReference UInt64 = new KnownTypeReference(TypeCode.UInt64); |
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets a type reference pointing to the <c>float</c> type.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static readonly KnownTypeReference Single = new KnownTypeReference(TypeCode.Single); |
|
|
|
|
public static readonly ITypeReference Single = new KnownTypeReference(TypeCode.Single); |
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets a type reference pointing to the <c>double</c> type.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static readonly KnownTypeReference Double = new KnownTypeReference(TypeCode.Double); |
|
|
|
|
public static readonly ITypeReference Double = new KnownTypeReference(TypeCode.Double); |
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets a type reference pointing to the <c>decimal</c> type.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static readonly KnownTypeReference Decimal = new KnownTypeReference(TypeCode.Decimal); |
|
|
|
|
public static readonly ITypeReference Decimal = new KnownTypeReference(TypeCode.Decimal); |
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets a type reference pointing to the <c>string</c> type.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static readonly KnownTypeReference String = new KnownTypeReference(TypeCode.String); |
|
|
|
|
public static readonly ITypeReference String = new KnownTypeReference(TypeCode.String); |
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets a type reference pointing to the <c>System.Type</c> type.
|
|
|
|
|