16 references to ScanType
Microsoft.CodeAnalysis.CSharp (16)
Parser\LanguageParser.cs (15)
1548if (ScanType() != ScanTypeFlags.NotType) 1668if (this.ScanType() == ScanTypeFlags.NotType) 8567ScanTypeFlags st = this.ScanType(); 8953ScanTypeFlags st = this.ScanType(); 9522this.ScanType() != ScanTypeFlags.NotType && 9597isDeclaration = ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken; 9609this.ScanType() != ScanTypeFlags.NotType && 9800if (ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken) 10329st = this.ScanType(); 10562return ScanType() is not ScanTypeFlags.NotType && isValidScopedTypeCase(); 10806if (ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken) 12723this.ScanType() == ScanTypeFlags.NotType) 12862var type = this.ScanType(forPattern); 13081var st = ScanType(); 14068return this.ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind is SyntaxKind.IdentifierToken or SyntaxKind.InKeyword;
Parser\LanguageParser_Patterns.cs (1)
506return ScanType(forPattern: true) != ScanTypeFlags.NotType;