14 references to ModeIs
Microsoft.CodeAnalysis.CSharp (14)
Parser\Lexer.cs (14)
655if (this.ModeIs(LexerMode.DebuggerSyntax)) 924if (this.ModeIs(LexerMode.DebuggerSyntax) && TextWindow.PeekChar() == '#') 1474if (!this.ModeIs(LexerMode.DebuggerSyntax) || _identLen > 0) 1500this.ModeIs(LexerMode.DebuggerSyntax) && 1535if (_identLen == 0 && this.ModeIs(LexerMode.DebuggerSyntax) && TextWindow.PeekChar(1) == '>') 1845if (this.ModeIs(LexerMode.Directive)) 3419if (this.ModeIs(LexerMode.XmlAttributeTextDoubleQuote)) 3429if (this.ModeIs(LexerMode.XmlAttributeTextQuote)) 3485if (this.ModeIs(LexerMode.XmlAttributeTextDoubleQuote)) 3494if (this.ModeIs(LexerMode.XmlAttributeTextQuote)) 3642if (this.ModeIs(LexerMode.XmlCrefDoubleQuote) || this.ModeIs(LexerMode.XmlNameDoubleQuote)) 3651if (this.ModeIs(LexerMode.XmlCrefQuote) || this.ModeIs(LexerMode.XmlNameQuote))