37 references to NotType
Microsoft.CodeAnalysis.CSharp (37)
Parser\LanguageParser_Patterns.cs (1)
506return ScanType(forPattern: true) != ScanTypeFlags.NotType;
Parser\LanguageParser.cs (36)
1552if (ScanType() != ScanTypeFlags.NotType) 1735return this.ScanType() != ScanTypeFlags.NotType && IsPossibleMemberName(); 6263if (possibleTypeArgumentFlags == ScanTypeFlags.NotType) 6391return ScanTypeFlags.NotType; 6412case ScanTypeFlags.NotType: 6414return ScanTypeFlags.NotType; 6529return ScanTypeFlags.NotType; 7180return ScanTypeFlags.NotType; 7234if (result == ScanTypeFlags.NotType) 7236return ScanTypeFlags.NotType; 7255if (result == ScanTypeFlags.NotType) 7257return ScanTypeFlags.NotType; 7279if (result == ScanTypeFlags.NotType || mode == ParseTypeMode.DefinitePattern && this.CurrentToken.Kind != SyntaxKind.OpenBracketToken) 7282return ScanTypeFlags.NotType; 7293return ScanTypeFlags.NotType; 7348return ScanTypeFlags.NotType; 7371if (tupleElementType != ScanTypeFlags.NotType) 7385if (tupleElementType == ScanTypeFlags.NotType) 7388return ScanTypeFlags.NotType; 7408return ScanTypeFlags.NotType; 8623if (st == ScanTypeFlags.NotType) 9001return !IsPossibleMemberName() || st == ScanTypeFlags.NotType; 9570this.ScanType() != ScanTypeFlags.NotType && 9645isDeclaration = ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken; 9657this.ScanType() != ScanTypeFlags.NotType && 9848if (ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken) 9881if (ScanType(mode, out lastTokenOfType) == ScanTypeFlags.NotType) 10364st = ScanTypeFlags.NotType; 10448bool condition2 = st != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken; 10610return ScanType() is not ScanTypeFlags.NotType && isValidScopedTypeCase(); 10854if (ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken) 12788this.ScanType() == ScanTypeFlags.NotType) 12928if (type == ScanTypeFlags.NotType) 13150if (st == ScanTypeFlags.NotType || this.CurrentToken.Kind != SyntaxKind.OpenParenToken) 13442if (scanTypeFlags != ScanTypeFlags.NotType) 14179return this.ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind is SyntaxKind.IdentifierToken or SyntaxKind.InKeyword;