Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaja R Harinath <harinath@hurrynot.org>2005-12-15 14:30:45 +0300
committerRaja R Harinath <harinath@hurrynot.org>2005-12-15 14:30:45 +0300
commitafaff9b06f8af25ecc3664f6664057705f62cf83 (patch)
tree508a7f820c7cd458caf460359e0ccfb50c27f1ed /mcs/class/corlib/System.Reflection.Emit/TypeBuilder.cs
parent32e6360abaf2c91fe52f21708e62bb659edffac1 (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.cs4
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 ();