14 references to ModeIs
Microsoft.CodeAnalysis.CSharp (14)
Parser\Lexer.cs (14)
786if (this.ModeIs(LexerMode.DebuggerSyntax)) 1119if (this.ModeIs(LexerMode.DebuggerSyntax) && TextWindow.PeekChar() == '#') 1728if (!this.ModeIs(LexerMode.DebuggerSyntax) || _identLen > 0) 1805this.ModeIs(LexerMode.DebuggerSyntax) && 1848if (_identLen == 0 && this.ModeIs(LexerMode.DebuggerSyntax) && TextWindow.PeekChar(1) == '>') 2228if (this.ModeIs(LexerMode.Directive)) 3739if (this.ModeIs(LexerMode.XmlAttributeTextDoubleQuote)) 3749if (this.ModeIs(LexerMode.XmlAttributeTextQuote)) 3805if (this.ModeIs(LexerMode.XmlAttributeTextDoubleQuote)) 3814if (this.ModeIs(LexerMode.XmlAttributeTextQuote)) 3962if (this.ModeIs(LexerMode.XmlCrefDoubleQuote) || this.ModeIs(LexerMode.XmlNameDoubleQuote)) 3971if (this.ModeIs(LexerMode.XmlCrefQuote) || this.ModeIs(LexerMode.XmlNameQuote))