Remove unused parser options config code.

- This was supposed to be removed when code generation was added but was not.
This commit is contained in:
N. Taylor Mullen 2016-12-14 12:12:00 -08:00
parent eb230e0408
commit 6ae3feff29
2 changed files with 0 additions and 14 deletions

View File

@ -13,13 +13,6 @@ namespace Microsoft.AspNetCore.Razor.Evolution
{ {
internal class DefaultRazorCSharpLoweringPhase : RazorEnginePhaseBase, IRazorCSharpLoweringPhase internal class DefaultRazorCSharpLoweringPhase : RazorEnginePhaseBase, IRazorCSharpLoweringPhase
{ {
private IRazorConfigureParserFeature[] _parserOptionsCallbacks;
protected override void OnIntialized()
{
_parserOptionsCallbacks = Engine.Features.OfType<IRazorConfigureParserFeature>().ToArray();
}
protected override void ExecuteCore(RazorCodeDocument codeDocument) protected override void ExecuteCore(RazorCodeDocument codeDocument)
{ {
var irDocument = codeDocument.GetIRDocument(); var irDocument = codeDocument.GetIRDocument();

View File

@ -11,13 +11,6 @@ namespace Microsoft.AspNetCore.Razor.Evolution
{ {
internal class DefaultRazorIRLoweringPhase : RazorEnginePhaseBase, IRazorIRLoweringPhase internal class DefaultRazorIRLoweringPhase : RazorEnginePhaseBase, IRazorIRLoweringPhase
{ {
private IRazorConfigureParserFeature[] _parserOptionsCallbacks;
protected override void OnIntialized()
{
_parserOptionsCallbacks = Engine.Features.OfType<IRazorConfigureParserFeature>().ToArray();
}
protected override void ExecuteCore(RazorCodeDocument codeDocument) protected override void ExecuteCore(RazorCodeDocument codeDocument)
{ {
var syntaxTree = codeDocument.GetSyntaxTree(); var syntaxTree = codeDocument.GetSyntaxTree();