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;