37 references to NotType
Microsoft.CodeAnalysis.CSharp (37)
Parser\LanguageParser_Patterns.cs (1)
506return ScanType(forPattern: true) != ScanTypeFlags.NotType;
Parser\LanguageParser.cs (36)
1565if (ScanType() != ScanTypeFlags.NotType) 1760return this.ScanType() != ScanTypeFlags.NotType && IsPossibleMemberName(); 6295if (possibleTypeArgumentFlags == ScanTypeFlags.NotType) 6423return ScanTypeFlags.NotType; 6444case ScanTypeFlags.NotType: 6446return ScanTypeFlags.NotType; 6561return ScanTypeFlags.NotType; 7212return ScanTypeFlags.NotType; 7266if (result == ScanTypeFlags.NotType) 7268return ScanTypeFlags.NotType; 7287if (result == ScanTypeFlags.NotType) 7289return ScanTypeFlags.NotType; 7311if (result == ScanTypeFlags.NotType || mode == ParseTypeMode.DefinitePattern && this.CurrentToken.Kind != SyntaxKind.OpenBracketToken) 7314return ScanTypeFlags.NotType; 7325return ScanTypeFlags.NotType; 7380return ScanTypeFlags.NotType; 7403if (tupleElementType != ScanTypeFlags.NotType) 7417if (tupleElementType == ScanTypeFlags.NotType) 7420return ScanTypeFlags.NotType; 7440return ScanTypeFlags.NotType; 8655if (st == ScanTypeFlags.NotType) 9033return !IsPossibleMemberName() || st == ScanTypeFlags.NotType; 9602this.ScanType() != ScanTypeFlags.NotType && 9677isDeclaration = ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken; 9689this.ScanType() != ScanTypeFlags.NotType && 9880if (ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken) 9913if (ScanType(mode, out lastTokenOfType) == ScanTypeFlags.NotType) 10396st = ScanTypeFlags.NotType; 10480bool condition2 = st != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken; 10642return ScanType() is not ScanTypeFlags.NotType && isValidScopedTypeCase(); 10886if (ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken) 12820this.ScanType() == ScanTypeFlags.NotType) 12960if (type == ScanTypeFlags.NotType) 13182if (st == ScanTypeFlags.NotType || this.CurrentToken.Kind != SyntaxKind.OpenParenToken) 13474if (scanTypeFlags != ScanTypeFlags.NotType) 14211return this.ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind is SyntaxKind.IdentifierToken or SyntaxKind.InKeyword;