16 references to ScanType
Microsoft.CodeAnalysis.CSharp (16)
Parser\LanguageParser.cs (15)
1593if (ScanType() != ScanTypeFlags.NotType) 1725if (this.ScanType() == ScanTypeFlags.NotType) 8677ScanTypeFlags st = this.ScanType(); 9063ScanTypeFlags st = this.ScanType(); 9634this.ScanType() != ScanTypeFlags.NotType && 9709isDeclaration = ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken; 9721this.ScanType() != ScanTypeFlags.NotType && 9912if (ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken) 10441st = this.ScanType(); 10674return ScanType() is not ScanTypeFlags.NotType && isValidScopedTypeCase(); 10918if (ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken) 12852this.ScanType() == ScanTypeFlags.NotType) 12991var type = this.ScanType(forPattern); 13210var st = ScanType(); 14197return this.ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind is SyntaxKind.IdentifierToken or SyntaxKind.InKeyword;
Parser\LanguageParser_Patterns.cs (1)
506return ScanType(forPattern: true) != ScanTypeFlags.NotType;