Created
February 16, 2013 20:49
-
-
Save anonymous/4968682 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public abstract class TypeName { | |
} | |
private sealed class BuiltInTypeName : TypeName { | |
private BuiltInTypeName() { | |
} | |
public static bool operator ==(BuiltInTypeName a, BuiltInTypeName b) { | |
return Object.ReferenceEquals(a, b); | |
} | |
public static BuiltInTypeName UByteTypeName = new BuiltInTypeName(); | |
public static BuiltInTypeName SByteTypeName = new BuiltInTypeName(); | |
public static BuiltInTypeName UShortTypeName = new BuiltInTypeName(); | |
public static BuiltInTypeName SShortTypeName = new BuiltInTypeName(); | |
public static BuiltInTypeName UIntTypeName = new BuiltInTypeName(); | |
public static BuiltInTypeName SIntTypeName = new BuiltInTypeName(); | |
public static BuiltInTypeName ULongTypeName = new BuiltInTypeName(); | |
public static BuiltInTypeName SLongTypeName = new BuiltInTypeName(); | |
} | |
public sealed class QualifiedTypeName : TypeName { | |
public IList<string> Segments { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment