diff options
author | jfrijters <jfrijters> | 2011-02-14 08:58:49 +0300 |
---|---|---|
committer | jfrijters <jfrijters> | 2011-02-14 08:58:49 +0300 |
commit | 4ed819c9dd86a0d1416d5879c7e4bd7d4ec09c13 (patch) | |
tree | 2579e6a1e859c90f9cf3f79ba8bf071fa7085db1 /reflect/Reader | |
parent | 3e0deab87a6fb05af85a16be28c3f809b774bdc9 (diff) |
Optimized the Type == operator.
Diffstat (limited to 'reflect/Reader')
-rw-r--r-- | reflect/Reader/GenericTypeParameter.cs | 5 | ||||
-rw-r--r-- | reflect/Reader/TypeDefImpl.cs | 5 |
2 files changed, 0 insertions, 10 deletions
diff --git a/reflect/Reader/GenericTypeParameter.cs b/reflect/Reader/GenericTypeParameter.cs index cbed322a..2895457d 100644 --- a/reflect/Reader/GenericTypeParameter.cs +++ b/reflect/Reader/GenericTypeParameter.cs @@ -73,11 +73,6 @@ namespace IKVM.Reflection.Reader get { return TypeAttributes.Public; } } - public sealed override Type UnderlyingSystemType - { - get { return this; } - } - public sealed override string FullName { get { return null; } diff --git a/reflect/Reader/TypeDefImpl.cs b/reflect/Reader/TypeDefImpl.cs index 4be7dcc9..707d803b 100644 --- a/reflect/Reader/TypeDefImpl.cs +++ b/reflect/Reader/TypeDefImpl.cs @@ -216,11 +216,6 @@ namespace IKVM.Reflection.Reader get { return GetFullName(); } } - public override Type UnderlyingSystemType - { - get { return this; } - } - public override int MetadataToken { get { return (TypeDefTable.Index << 24) + index + 1; } |