Commit c3bf2bd5 authored by Marc Gravell's avatar Marc Gravell

Fix InternalRegexCompiledOption on DNX; prepare 1.1.572 release

parent 157abb43
......@@ -11,7 +11,7 @@
],
"dependencies": {
"StackExchange.Redis": {
"version": "1.1.0-alpha2",
"version": "1.1.572-alpha",
"target": "project"
}
},
......
{
"version": "1.1.0-alpha2",
"version": "1.1.572-alpha",
"description": "High performance Redis client, incorporating both synchronous and asynchronous usage.",
"authors": [ "Stack Exchange inc., marc.gravell" ],
"owners": [ "marc.gravell" ],
......
......@@ -7,7 +7,7 @@
"licenseUrl": "",
"dependencies": {
"StackExchange.Redis": {
"version": "1.1.0-alpha2",
"version": "1.1.572-alpha",
"target": "project"
}
},
......
......@@ -13,8 +13,10 @@ internal static class InternalRegexCompiledOption
static InternalRegexCompiledOption()
{
#if CORE_CLR
if (!Enum.TryParse("Compiled", out RegexCompiledOption))
RegexCompiledOption = RegexOptions.None;
RegexOptions tmp;
if (!Enum.TryParse("Compiled", out tmp))
tmp = RegexOptions.None;
Default = tmp;
#else
Default = RegexOptions.Compiled;
#endif
......
{
"version": "1.1.0-alpha2",
"version": "1.1.572-alpha",
"description": "High performance Redis client, incorporating both synchronous and asynchronous usage.",
"authors": [ "Stack Exchange inc., marc.gravell" ],
"owners": [ "marc.gravell" ],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment