46 references to EndOfFile
Microsoft.CodeAnalysis.Razor.Compiler (46)
Language\Legacy\CSharpCodeParser.cs (23)
273if (EndOfFile) 414else if (EndOfFile) 488if (!EndOfFile) 549if (!EndOfFile) 721if (EndOfFile) 768while (!EndOfFile && !At(SyntaxKind.RightBrace)) 796if (EndOfFile) 881if (EndOfFile) 983while (!EndOfFile) 1341if (EndOfFile || At(SyntaxKind.NewLine)) 1567!EndOfFile) 1597if (EndOfFile || At(SyntaxKind.NewLine)) 1617if (tokenDescriptor.Optional && (EndOfFile || At(SyntaxKind.NewLine))) 1621else if (EndOfFile) 1751if (EndOfFile) 1826else if (!EndOfFile) 2014if (EndOfFile) 2204if (!EndOfFile) 2331else if (!EndOfFile) 2652while (!TryAccept(SyntaxKind.RightParenthesis) && !EndOfFile) 2795while (!EndOfFile) 2917if (EndOfFile && ((mode & BalancingModes.NoErrorOnFailure) != BalancingModes.NoErrorOnFailure)) 2934if (!EndOfFile &&
Language\Legacy\HtmlMarkupParser.cs (18)
229while (!EndOfFile && !stopCondition(CurrentToken)) 311while (!EndOfFile && _tagTracker.Count > 0); 455} while (!EndOfFile && CurrentToken.Kind != SyntaxKind.NewLine); 461if (!EndOfFile && CurrentToken.Kind == SyntaxKind.NewLine) 684if (EndOfFile || !At(SyntaxKind.CloseAngle)) 1012while (!EndOfFile && !IsEndOfTag()) 1043while (!EndOfFile) 1046if (!EndOfFile) 1057if (!EndOfFile) 1303while (!EndOfFile && !IsEndOfAttributeValue(quote, CurrentToken)) 1456return EndOfFile || token == null || 1484while (!seenEndScript && !EndOfFile) 1664while (!EndOfFile) 1858while (!EndOfFile) 1866Debug.Assert(EndOfFile); 1894if (whitespace.Count == 0 && EndOfFile) 2031if (EndOfFile || CurrentToken.Kind != SyntaxKind.DoubleHyphen) 2113while (nesting > 0 && !EndOfFile)
Language\Legacy\TokenizerBackedParser.cs (5)
184Debug.Assert(!EndOfFile && CurrentToken.Kind == expectedType); 216if (!EndOfFile && CurrentToken != null) 267return !EndOfFile && CurrentToken != null && CurrentToken.Kind == type; 432Debug.Assert(!EndOfFile && CurrentToken != null); 440Debug.Assert(!EndOfFile && CurrentToken != null && kind == CurrentToken.Kind);