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(); 8616ScanTypeFlags st = this.ScanType(); 9002ScanTypeFlags st = this.ScanType(); 9573this.ScanType() != ScanTypeFlags.NotType && 9648isDeclaration = ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken; 9660this.ScanType() != ScanTypeFlags.NotType && 9851if (ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken) 10380st = this.ScanType(); 10613return ScanType() is not ScanTypeFlags.NotType && isValidScopedTypeCase(); 10857if (ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken) 12791this.ScanType() == ScanTypeFlags.NotType) 12930var type = this.ScanType(forPattern); 13152var st = ScanType(); 14182return this.ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind is SyntaxKind.IdentifierToken or SyntaxKind.InKeyword;