46 references to EndOfFile
Microsoft.CodeAnalysis.Razor.Compiler (46)
Language\Legacy\CSharpCodeParser.cs (23)
275if (EndOfFile) 416else if (EndOfFile) 490if (!EndOfFile) 551if (!EndOfFile) 723if (EndOfFile) 770while (!EndOfFile && !At(SyntaxKind.RightBrace)) 798if (EndOfFile) 883if (EndOfFile) 985while (!EndOfFile) 1368if (EndOfFile || At(SyntaxKind.NewLine)) 1594!EndOfFile) 1624if (EndOfFile || At(SyntaxKind.NewLine)) 1644if (tokenDescriptor.Optional && (EndOfFile || At(SyntaxKind.NewLine))) 1648else if (EndOfFile) 1778if (EndOfFile) 1853else if (!EndOfFile) 2185if (EndOfFile) 2375if (!EndOfFile) 2502else if (!EndOfFile) 2823while (!TryAccept(SyntaxKind.RightParenthesis) && !EndOfFile) 2966while (!EndOfFile) 3088if (EndOfFile && ((mode & BalancingModes.NoErrorOnFailure) != BalancingModes.NoErrorOnFailure)) 3105if (!EndOfFile &&
Language\Legacy\HtmlMarkupParser.cs (18)
247while (!EndOfFile && !stopCondition(CurrentToken)) 329while (!EndOfFile && _tagTracker.Count > 0); 473} while (!EndOfFile && CurrentToken.Kind != SyntaxKind.NewLine); 479if (!EndOfFile && CurrentToken.Kind == SyntaxKind.NewLine) 714if (EndOfFile || !At(SyntaxKind.CloseAngle)) 1039while (!EndOfFile && !IsEndOfTag()) 1070while (!EndOfFile) 1073if (!EndOfFile) 1084if (!EndOfFile) 1331while (!EndOfFile && !IsEndOfAttributeValue(quote, CurrentToken)) 1484return EndOfFile || token == null || 1512while (!seenEndScript && !EndOfFile) 1692while (!EndOfFile) 1891while (!EndOfFile) 1910Debug.Assert(EndOfFile); 1937if (whitespace.Count == 0 && EndOfFile) 2079if (EndOfFile || CurrentToken.Kind != SyntaxKind.DoubleHyphen) 2161while (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);