16 references to ScanType
Microsoft.CodeAnalysis.CSharp (16)
Parser\LanguageParser.cs (15)
1593if (ScanType() != ScanTypeFlags.NotType) 1725if (this.ScanType() == ScanTypeFlags.NotType) 8656ScanTypeFlags st = this.ScanType(); 9042ScanTypeFlags st = this.ScanType(); 9611this.ScanType() != ScanTypeFlags.NotType && 9686isDeclaration = ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken; 9698this.ScanType() != ScanTypeFlags.NotType && 9889if (ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken) 10418st = this.ScanType(); 10651return ScanType() is not ScanTypeFlags.NotType && isValidScopedTypeCase(); 10895if (ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken) 12816this.ScanType() == ScanTypeFlags.NotType) 12955var type = this.ScanType(forPattern); 13174var st = ScanType(); 14161return this.ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind is SyntaxKind.IdentifierToken or SyntaxKind.InKeyword;
Parser\LanguageParser_Patterns.cs (1)
506return ScanType(forPattern: true) != ScanTypeFlags.NotType;