Browse Source

Added index getter to type parameter reference.

pull/45/merge
Mike Krüger 12 years ago
parent
commit
18e17deda6
  1. 8
      ICSharpCode.NRefactory/TypeSystem/Implementation/TypeParameterReference.cs

8
ICSharpCode.NRefactory/TypeSystem/Implementation/TypeParameterReference.cs

@ -48,7 +48,13 @@ namespace ICSharpCode.NRefactory.TypeSystem.Implementation @@ -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;

Loading…
Cancel
Save