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) 1357if (EndOfFile || At(SyntaxKind.NewLine)) 1583!EndOfFile) 1613if (EndOfFile || At(SyntaxKind.NewLine)) 1633if (tokenDescriptor.Optional && (EndOfFile || At(SyntaxKind.NewLine))) 1637else if (EndOfFile) 1767if (EndOfFile) 1842else if (!EndOfFile) 2030if (EndOfFile) 2220if (!EndOfFile) 2347else if (!EndOfFile) 2668while (!TryAccept(SyntaxKind.RightParenthesis) && !EndOfFile) 2811while (!EndOfFile) 2933if (EndOfFile && ((mode & BalancingModes.NoErrorOnFailure) != BalancingModes.NoErrorOnFailure)) 2950if (!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) 1304while (!EndOfFile && !IsEndOfAttributeValue(quote, CurrentToken)) 1457return EndOfFile || token == null || 1485while (!seenEndScript && !EndOfFile) 1665while (!EndOfFile) 1864while (!EndOfFile) 1872Debug.Assert(EndOfFile); 1900if (whitespace.Count == 0 && EndOfFile) 2037if (EndOfFile || CurrentToken.Kind != SyntaxKind.DoubleHyphen) 2119while (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);