16 references to ScanType
Microsoft.CodeAnalysis.CSharp (16)
Parser\LanguageParser.cs (15)
1574if (ScanType() != ScanTypeFlags.NotType) 1706if (this.ScanType() == ScanTypeFlags.NotType) 8623ScanTypeFlags st = this.ScanType(); 9009ScanTypeFlags st = this.ScanType(); 9578this.ScanType() != ScanTypeFlags.NotType && 9653isDeclaration = ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken; 9665this.ScanType() != ScanTypeFlags.NotType && 9856if (ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken) 10385st = this.ScanType(); 10618return ScanType() is not ScanTypeFlags.NotType && isValidScopedTypeCase(); 10862if (ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken) 12779this.ScanType() == ScanTypeFlags.NotType) 12918var type = this.ScanType(forPattern); 13137var st = ScanType(); 14124return this.ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind is SyntaxKind.IdentifierToken or SyntaxKind.InKeyword;
Parser\LanguageParser_Patterns.cs (1)
506return ScanType(forPattern: true) != ScanTypeFlags.NotType;