16 references to ScanType
Microsoft.CodeAnalysis.CSharp (16)
Parser\LanguageParser_Patterns.cs (1)
506return ScanType(forPattern: true) != ScanTypeFlags.NotType;
Parser\LanguageParser.cs (15)
1552if (ScanType() != ScanTypeFlags.NotType) 1735return this.ScanType() != ScanTypeFlags.NotType && IsPossibleMemberName(); 8613ScanTypeFlags st = this.ScanType(); 8999ScanTypeFlags st = this.ScanType(); 9570this.ScanType() != ScanTypeFlags.NotType && 9645isDeclaration = ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken; 9657this.ScanType() != ScanTypeFlags.NotType && 9848if (ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken) 10377st = this.ScanType(); 10610return ScanType() is not ScanTypeFlags.NotType && isValidScopedTypeCase(); 10854if (ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken) 12788this.ScanType() == ScanTypeFlags.NotType) 12927var type = this.ScanType(forPattern); 13149var st = ScanType(); 14179return this.ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind is SyntaxKind.IdentifierToken or SyntaxKind.InKeyword;