diff options
author | Raja R Harinath <harinath@hurrynot.org> | 2006-01-28 11:11:13 +0300 |
---|---|---|
committer | Raja R Harinath <harinath@hurrynot.org> | 2006-01-28 11:11:13 +0300 |
commit | 2e2c958f5513a1e3f89c5efc13942be3be52ab91 (patch) | |
tree | 6c39318fdd0bd623b99920a0ad03fa045809f09b /mcs/gmcs/typemanager.cs | |
parent | c2471811ff1b125b14c82f0bd522567e081f3e6b (diff) |
In mcs:
* typemanager.cs (GenericParameterPosition): New.
* doc.cs: Use it.
In gmcs:
* typemanager.cs (GenericParameterPosition): New.
* doc.cs: Use it.
svn path=/trunk/mcs/; revision=56201
Diffstat (limited to 'mcs/gmcs/typemanager.cs')
-rw-r--r-- | mcs/gmcs/typemanager.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mcs/gmcs/typemanager.cs b/mcs/gmcs/typemanager.cs index 91a28d33f8e..7572e2904db 100644 --- a/mcs/gmcs/typemanager.cs +++ b/mcs/gmcs/typemanager.cs @@ -2443,6 +2443,11 @@ public partial class TypeManager { return type.IsGenericParameter; } + public static int GenericParameterPosition (Type type) + { + return type.GenericParameterPosition; + } + #region MemberLookup implementation // |