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:
parent
eb230e0408
commit
6ae3feff29
|
|
@ -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();
|
||||||
|
|
|
||||||
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue