From a5668bdbab36e0d772136294b1421deb73d3a971 Mon Sep 17 00:00:00 2001 From: Pranav K Date: Tue, 16 Sep 2014 22:49:22 -0700 Subject: [PATCH] Make CompleteBlock accessible to derived parser --- src/Microsoft.AspNet.Razor/Parser/CSharpCodeParser.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Microsoft.AspNet.Razor/Parser/CSharpCodeParser.cs b/src/Microsoft.AspNet.Razor/Parser/CSharpCodeParser.cs index 6534f3e86..41f3a7448 100644 --- a/src/Microsoft.AspNet.Razor/Parser/CSharpCodeParser.cs +++ b/src/Microsoft.AspNet.Razor/Parser/CSharpCodeParser.cs @@ -425,17 +425,17 @@ private bool MethodCallOrArrayIndex(AcceptedCharacters acceptedCharacters) return false; } - private void CompleteBlock() + protected void CompleteBlock() { CompleteBlock(insertMarkerIfNecessary: true); } - private void CompleteBlock(bool insertMarkerIfNecessary) + protected void CompleteBlock(bool insertMarkerIfNecessary) { CompleteBlock(insertMarkerIfNecessary, captureWhitespaceToEndOfLine: insertMarkerIfNecessary); } - private void CompleteBlock(bool insertMarkerIfNecessary, bool captureWhitespaceToEndOfLine) + protected void CompleteBlock(bool insertMarkerIfNecessary, bool captureWhitespaceToEndOfLine) { if (insertMarkerIfNecessary && Context.LastAcceptedCharacters != AcceptedCharacters.Any) {