diff options
author | Raja R Harinath <harinath@hurrynot.org> | 2005-12-15 14:30:45 +0300 |
---|---|---|
committer | Raja R Harinath <harinath@hurrynot.org> | 2005-12-15 14:30:45 +0300 |
commit | afaff9b06f8af25ecc3664f6664057705f62cf83 (patch) | |
tree | 508a7f820c7cd458caf460359e0ccfb50c27f1ed /mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs | |
parent | 32e6360abaf2c91fe52f21708e62bb659edffac1 (diff) |
* System/Type.cs (IsGenericType): Make virtual.
* System.Reflection.Emit/TypeBuilder.cs (IsGenericType): Implement override.
* Test/System.Reflection.Emit/TypeBuilderTest.cs (GenericType): Add a minimal
testcase for generic type builders.
svn path=/trunk/mcs/; revision=54444
Diffstat (limited to 'mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs')
-rw-r--r-- | mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs b/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs index 2db9e6ee242..e89cc6c9b56 100644 --- a/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs +++ b/mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs @@ -1494,6 +1494,10 @@ namespace System.Reflection.Emit { } } + public override bool IsGenericType { + get { return IsGenericTypeDefinition; } + } + public override int GenericParameterPosition { get { throw new NotImplementedException (); |