14 references to ModeIs
Microsoft.CodeAnalysis.CSharp (14)
Parser\Lexer.cs (14)
660if (this.ModeIs(LexerMode.DebuggerSyntax)) 929if (this.ModeIs(LexerMode.DebuggerSyntax) && TextWindow.PeekChar() == '#') 1479if (!this.ModeIs(LexerMode.DebuggerSyntax) || _identLen > 0) 1505this.ModeIs(LexerMode.DebuggerSyntax) && 1540if (_identLen == 0 && this.ModeIs(LexerMode.DebuggerSyntax) && TextWindow.PeekChar(1) == '>') 1850if (this.ModeIs(LexerMode.Directive)) 3401if (this.ModeIs(LexerMode.XmlAttributeTextDoubleQuote)) 3411if (this.ModeIs(LexerMode.XmlAttributeTextQuote)) 3467if (this.ModeIs(LexerMode.XmlAttributeTextDoubleQuote)) 3476if (this.ModeIs(LexerMode.XmlAttributeTextQuote)) 3624if (this.ModeIs(LexerMode.XmlCrefDoubleQuote) || this.ModeIs(LexerMode.XmlNameDoubleQuote)) 3633if (this.ModeIs(LexerMode.XmlCrefQuote) || this.ModeIs(LexerMode.XmlNameQuote))