Fix build warnings in razor repo.

This involved indicating that we really wanted to hide certain methods.

#43
This commit is contained in:
N. Taylor Mullen 2014-05-28 17:34:22 -07:00
parent 4f255f8583
commit dd90767036
1 changed files with 9 additions and 9 deletions

View File

@ -18,42 +18,42 @@ namespace Microsoft.AspNet.Razor.Generator.Compiler.CSharp
public LineMappingManager LineMappingManager { get; private set; }
public CSharpCodeWriter Write(string data)
public new CSharpCodeWriter Write(string data)
{
return (CSharpCodeWriter)base.Write(data);
}
public CSharpCodeWriter Indent(int size)
public new CSharpCodeWriter Indent(int size)
{
return (CSharpCodeWriter)base.Indent(size);
}
public CSharpCodeWriter ResetIndent()
public new CSharpCodeWriter ResetIndent()
{
return (CSharpCodeWriter)base.ResetIndent();
}
public CSharpCodeWriter SetIndent(int size)
public new CSharpCodeWriter SetIndent(int size)
{
return (CSharpCodeWriter)base.SetIndent(size);
}
public CSharpCodeWriter IncreaseIndent(int size)
public new CSharpCodeWriter IncreaseIndent(int size)
{
return (CSharpCodeWriter)base.IncreaseIndent(size);
}
public CSharpCodeWriter DecreaseIndent(int size)
public new CSharpCodeWriter DecreaseIndent(int size)
{
return (CSharpCodeWriter)base.DecreaseIndent(size);
}
public CSharpCodeWriter WriteLine(string data)
public new CSharpCodeWriter WriteLine(string data)
{
return (CSharpCodeWriter)base.WriteLine(data);
}
public CSharpCodeWriter WriteLine()
public new CSharpCodeWriter WriteLine()
{
return (CSharpCodeWriter)base.WriteLine();
}