Browse Source

[Ast] Added missing where keyword property to constraints.

newNRvisualizers
Mike Krüger 14 years ago
parent
commit
76c38c94ef
  1. 6
      ICSharpCode.NRefactory.CSharp/Ast/GeneralScope/Constraint.cs

6
ICSharpCode.NRefactory.CSharp/Ast/GeneralScope/Constraint.cs

@ -41,7 +41,11 @@ namespace ICSharpCode.NRefactory.CSharp
return NodeType.Unknown; return NodeType.Unknown;
} }
} }
public CSharpTokenNode WhereKeyword {
get { return GetChildByRole (Roles.WhereKeyword); }
}
public SimpleType TypeParameter { public SimpleType TypeParameter {
get { get {
return GetChildByRole (Roles.ConstraintTypeParameter); return GetChildByRole (Roles.ConstraintTypeParameter);

Loading…
Cancel
Save