From 18e17deda6ed11300e4999b4e6e83eaa6e0420e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Kr=C3=BCger?= Date: Fri, 7 Jun 2013 10:59:33 +0200 Subject: [PATCH] Added index getter to type parameter reference. --- .../TypeSystem/Implementation/TypeParameterReference.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ICSharpCode.NRefactory/TypeSystem/Implementation/TypeParameterReference.cs b/ICSharpCode.NRefactory/TypeSystem/Implementation/TypeParameterReference.cs index 4345cdc2e3..3514b8ac07 100644 --- a/ICSharpCode.NRefactory/TypeSystem/Implementation/TypeParameterReference.cs +++ b/ICSharpCode.NRefactory/TypeSystem/Implementation/TypeParameterReference.cs @@ -48,7 +48,13 @@ namespace ICSharpCode.NRefactory.TypeSystem.Implementation readonly EntityType ownerType; readonly int index; - + + public int Index { + get { + return index; + } + } + public TypeParameterReference(EntityType ownerType, int index) { this.ownerType = ownerType;