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

Commit a5668bd

Browse files
committed
Make CompleteBlock accessible to derived parser
1 parent 83c4fde commit a5668bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Microsoft.AspNet.Razor/Parser/CSharpCodeParser.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -425,17 +425,17 @@ private bool MethodCallOrArrayIndex(AcceptedCharacters acceptedCharacters)
425425
return false;
426426
}
427427

428-
private void CompleteBlock()
428+
protected void CompleteBlock()
429429
{
430430
CompleteBlock(insertMarkerIfNecessary: true);
431431
}
432432

433-
private void CompleteBlock(bool insertMarkerIfNecessary)
433+
protected void CompleteBlock(bool insertMarkerIfNecessary)
434434
{
435435
CompleteBlock(insertMarkerIfNecessary, captureWhitespaceToEndOfLine: insertMarkerIfNecessary);
436436
}
437437

438-
private void CompleteBlock(bool insertMarkerIfNecessary, bool captureWhitespaceToEndOfLine)
438+
protected void CompleteBlock(bool insertMarkerIfNecessary, bool captureWhitespaceToEndOfLine)
439439
{
440440
if (insertMarkerIfNecessary && Context.LastAcceptedCharacters != AcceptedCharacters.Any)
441441
{

0 commit comments

Comments
 (0)