Skip to content
This repository has been archived by the owner on Dec 19, 2018. It is now read-only.

Commit

Permalink
Make CompleteBlock accessible to derived parser
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavkm committed Sep 17, 2014
1 parent 83c4fde commit a5668bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Microsoft.AspNet.Razor/Parser/CSharpCodeParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit a5668bd

Please sign in to comment.