17 references to ScanType
Microsoft.CodeAnalysis.CSharp (17)
Parser\LanguageParser_Patterns.cs (1)
506return ScanType(forPattern: true) != ScanTypeFlags.NotType;
Parser\LanguageParser.cs (16)
1504return this.ScanType() != ScanTypeFlags.NotType && IsPossibleMemberName(); 1607if (ScanType() != ScanTypeFlags.NotType) 1741if (this.ScanType() == ScanTypeFlags.NotType) 8637ScanTypeFlags st = this.ScanType(); 9023ScanTypeFlags st = this.ScanType(); 9594this.ScanType() != ScanTypeFlags.NotType && 9669isDeclaration = ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken; 9681this.ScanType() != ScanTypeFlags.NotType && 9872if (ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken) 10401st = this.ScanType(); 10634return ScanType() is not ScanTypeFlags.NotType && isValidScopedTypeCase(); 10878if (ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken) 12812this.ScanType() == ScanTypeFlags.NotType) 12951var type = this.ScanType(forPattern); 13170var st = ScanType(); 14157return this.ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind is SyntaxKind.IdentifierToken or SyntaxKind.InKeyword;