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) 886if (EndOfFile) 988while (!EndOfFile) 1346if (EndOfFile || At(SyntaxKind.NewLine)) 1572!EndOfFile) 1602if (EndOfFile || At(SyntaxKind.NewLine)) 1622if (tokenDescriptor.Optional && (EndOfFile || At(SyntaxKind.NewLine))) 1626else if (EndOfFile) 1756if (EndOfFile) 1831else if (!EndOfFile) 2019if (EndOfFile) 2209if (!EndOfFile) 2336else if (!EndOfFile) 2660while (!TryAccept(SyntaxKind.RightParenthesis) && !EndOfFile) 2804while (!EndOfFile) 2926if (EndOfFile && ((mode & BalancingModes.NoErrorOnFailure) != BalancingModes.NoErrorOnFailure)) 2943if (!EndOfFile &&
Language\Legacy\HtmlMarkupParser.cs (18)
229while (!EndOfFile && !stopCondition(CurrentToken)) 311while (!EndOfFile && _tagTracker.Count > 0); 461} while (!EndOfFile && CurrentToken.Kind != SyntaxKind.NewLine); 467if (!EndOfFile && CurrentToken.Kind == SyntaxKind.NewLine) 690if (EndOfFile || !At(SyntaxKind.CloseAngle)) 1018while (!EndOfFile && !IsEndOfTag()) 1049while (!EndOfFile) 1052if (!EndOfFile) 1063if (!EndOfFile) 1309while (!EndOfFile && !IsEndOfAttributeValue(quote, CurrentToken)) 1462return EndOfFile || token == null || 1490while (!seenEndScript && !EndOfFile) 1670while (!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);