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)) 3417if (this.ModeIs(LexerMode.XmlAttributeTextDoubleQuote)) 3427if (this.ModeIs(LexerMode.XmlAttributeTextQuote)) 3483if (this.ModeIs(LexerMode.XmlAttributeTextDoubleQuote)) 3492if (this.ModeIs(LexerMode.XmlAttributeTextQuote)) 3640if (this.ModeIs(LexerMode.XmlCrefDoubleQuote) || this.ModeIs(LexerMode.XmlNameDoubleQuote)) 3649if (this.ModeIs(LexerMode.XmlCrefQuote) || this.ModeIs(LexerMode.XmlNameQuote))