6 references to HasOption
Microsoft.CodeAnalysis.Features (6)
EmbeddedLanguages\RegularExpressions\RegexLexer.cs (3)
137
if (
HasOption
(options, RegexOptions.IgnorePatternWhitespace))
200
if (
HasOption
(options, RegexOptions.IgnorePatternWhitespace))
443
if (
HasOption
(options, RegexOptions.ECMAScript) && currentVal >= 0x20)
EmbeddedLanguages\RegularExpressions\RegexParser.CaptureInfoAnalyzer.cs (1)
151
if (
HasOption
(options, RegexOptions.ExplicitCapture))
EmbeddedLanguages\RegularExpressions\RegexParser.cs (2)
1682
return
HasOption
(_options, RegexOptions.ECMAScript)
1878
if (!
HasOption
(_options, RegexOptions.ECMAScript) && RegexCharClass.IsBoundaryWordChar(ch))