Include "new" modifier on interface methods

This commit is contained in:
Sam Harwell 2013-02-25 12:42:36 -06:00
parent 2e1d284a12
commit f0cb48b650
4 changed files with 10 additions and 10 deletions

View File

@ -34,32 +34,32 @@ namespace Antlr4.Runtime
{
public interface IWritableToken : IToken
{
string Text
new string Text
{
set;
}
int Type
new int Type
{
set;
}
int Line
new int Line
{
set;
}
int Column
new int Column
{
set;
}
int Channel
new int Channel
{
set;
}
int TokenIndex
new int TokenIndex
{
set;
}

View File

@ -49,13 +49,13 @@ namespace Antlr4.Runtime.Tree
/// </summary>
public interface IParseTree : ISyntaxTree
{
IParseTree Parent
new IParseTree Parent
{
get;
}
// the following methods narrow the return type; they are not additional methods
IParseTree GetChild(int i);
new IParseTree GetChild(int i);
/// <summary>
/// The

View File

@ -39,7 +39,7 @@ namespace Antlr4.Runtime.Tree
get;
}
IRuleNode Parent
new IRuleNode Parent
{
get;
}

View File

@ -40,7 +40,7 @@ namespace Antlr4.Runtime.Tree
get;
}
IRuleNode Parent
new IRuleNode Parent
{
get;
}