14 references to ModeIs
Microsoft.CodeAnalysis.CSharp (14)
Parser\Lexer.cs (14)
640if (this.ModeIs(LexerMode.DebuggerSyntax)) 909if (this.ModeIs(LexerMode.DebuggerSyntax) && TextWindow.PeekChar() == '#') 1455if (!this.ModeIs(LexerMode.DebuggerSyntax) || _identLen > 0) 1481this.ModeIs(LexerMode.DebuggerSyntax) && 1516if (_identLen == 0 && this.ModeIs(LexerMode.DebuggerSyntax) && TextWindow.PeekChar(1) == '>') 1826if (this.ModeIs(LexerMode.Directive)) 3396if (this.ModeIs(LexerMode.XmlAttributeTextDoubleQuote)) 3406if (this.ModeIs(LexerMode.XmlAttributeTextQuote)) 3462if (this.ModeIs(LexerMode.XmlAttributeTextDoubleQuote)) 3471if (this.ModeIs(LexerMode.XmlAttributeTextQuote)) 3619if (this.ModeIs(LexerMode.XmlCrefDoubleQuote) || this.ModeIs(LexerMode.XmlNameDoubleQuote)) 3628if (this.ModeIs(LexerMode.XmlCrefQuote) || this.ModeIs(LexerMode.XmlNameQuote))