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 @@ ...@@ -11,7 +11,7 @@
], ],
"dependencies": { "dependencies": {
"StackExchange.Redis": { "StackExchange.Redis": {
"version": "1.1.0-alpha2", "version": "1.1.572-alpha",
"target": "project" "target": "project"
} }
}, },
......
{ {
"version": "1.1.0-alpha2", "version": "1.1.572-alpha",
"description": "High performance Redis client, incorporating both synchronous and asynchronous usage.", "description": "High performance Redis client, incorporating both synchronous and asynchronous usage.",
"authors": [ "Stack Exchange inc., marc.gravell" ], "authors": [ "Stack Exchange inc., marc.gravell" ],
"owners": [ "marc.gravell" ], "owners": [ "marc.gravell" ],
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
"licenseUrl": "", "licenseUrl": "",
"dependencies": { "dependencies": {
"StackExchange.Redis": { "StackExchange.Redis": {
"version": "1.1.0-alpha2", "version": "1.1.572-alpha",
"target": "project" "target": "project"
} }
}, },
......
...@@ -13,8 +13,10 @@ internal static class InternalRegexCompiledOption ...@@ -13,8 +13,10 @@ internal static class InternalRegexCompiledOption
static InternalRegexCompiledOption() static InternalRegexCompiledOption()
{ {
#if CORE_CLR #if CORE_CLR
if (!Enum.TryParse("Compiled", out RegexCompiledOption)) RegexOptions tmp;
RegexCompiledOption = RegexOptions.None; if (!Enum.TryParse("Compiled", out tmp))
tmp = RegexOptions.None;
Default = tmp;
#else #else
Default = RegexOptions.Compiled; Default = RegexOptions.Compiled;
#endif #endif
......
{ {
"version": "1.1.0-alpha2", "version": "1.1.572-alpha",
"description": "High performance Redis client, incorporating both synchronous and asynchronous usage.", "description": "High performance Redis client, incorporating both synchronous and asynchronous usage.",
"authors": [ "Stack Exchange inc., marc.gravell" ], "authors": [ "Stack Exchange inc., marc.gravell" ],
"owners": [ "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