16 references to ScanType
Microsoft.CodeAnalysis.CSharp (16)
Parser\LanguageParser.cs (15)
1561if (ScanType() != ScanTypeFlags.NotType) 1693if (this.ScanType() == ScanTypeFlags.NotType) 8610ScanTypeFlags st = this.ScanType(); 8996ScanTypeFlags st = this.ScanType(); 9565this.ScanType() != ScanTypeFlags.NotType && 9640isDeclaration = ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken; 9652this.ScanType() != ScanTypeFlags.NotType && 9843if (ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken) 10372st = this.ScanType(); 10605return ScanType() is not ScanTypeFlags.NotType && isValidScopedTypeCase(); 10849if (ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken) 12766this.ScanType() == ScanTypeFlags.NotType) 12905var type = this.ScanType(forPattern); 13124var st = ScanType(); 14111return this.ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind is SyntaxKind.IdentifierToken or SyntaxKind.InKeyword;
Parser\LanguageParser_Patterns.cs (1)
506return ScanType(forPattern: true) != ScanTypeFlags.NotType;