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(); 6266if (possibleTypeArgumentFlags == ScanTypeFlags.NotType) 6394return ScanTypeFlags.NotType; 6415case ScanTypeFlags.NotType: 6417return ScanTypeFlags.NotType; 6532return ScanTypeFlags.NotType; 7183return ScanTypeFlags.NotType; 7237if (result == ScanTypeFlags.NotType) 7239return ScanTypeFlags.NotType; 7258if (result == ScanTypeFlags.NotType) 7260return ScanTypeFlags.NotType; 7282if (result == ScanTypeFlags.NotType || mode == ParseTypeMode.DefinitePattern && this.CurrentToken.Kind != SyntaxKind.OpenBracketToken) 7285return ScanTypeFlags.NotType; 7296return ScanTypeFlags.NotType; 7351return ScanTypeFlags.NotType; 7374if (tupleElementType != ScanTypeFlags.NotType) 7388if (tupleElementType == ScanTypeFlags.NotType) 7391return ScanTypeFlags.NotType; 7411return ScanTypeFlags.NotType; 8626if (st == ScanTypeFlags.NotType) 9004return !IsPossibleMemberName() || st == ScanTypeFlags.NotType; 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) 9884if (ScanType(mode, out lastTokenOfType) == ScanTypeFlags.NotType) 10367st = ScanTypeFlags.NotType; 10451bool condition2 = st != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken; 10613return ScanType() is not ScanTypeFlags.NotType && isValidScopedTypeCase(); 10857if (ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind == SyntaxKind.IdentifierToken) 12791this.ScanType() == ScanTypeFlags.NotType) 12931if (type == ScanTypeFlags.NotType) 13153if (st == ScanTypeFlags.NotType || this.CurrentToken.Kind != SyntaxKind.OpenParenToken) 13445if (scanTypeFlags != ScanTypeFlags.NotType) 14182return this.ScanType() != ScanTypeFlags.NotType && this.CurrentToken.Kind is SyntaxKind.IdentifierToken or SyntaxKind.InKeyword;