forked from jehugaleahsa/SQLGeneration
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Converted project to a Portable Class Library project. - StringComparer reverts to OrdinalIgnoreCase if InvariantCultureIgnoreCase not found. - RegexOptions only uses "Compiled" if "Compiled" is available on the platform.
- Loading branch information
Showing
11 changed files
with
186 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,31 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 2012 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SQLGeneration", "SQLGeneration\SQLGeneration.csproj", "{A57BC336-3100-415B-91A5-B779CC64EF91}" | ||
EndProject | ||
# Visual Studio 14 | ||
VisualStudioVersion = 14.0.23107.0 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SQLGeneration.Tests", "SQLGeneration.Tests\SQLGeneration.Tests.csproj", "{0B721A48-59F1-4D97-A321-5C1A56BC68A1}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SQLGeneration", "SQLGeneration\SQLGeneration.csproj", "{A83B3DF1-C48E-4C61-BA0E-DBF31AE139CD}" | ||
EndProject | ||
Global | ||
GlobalSection(TestCaseManagementSettings) = postSolution | ||
CategoryFile = SQLGeneration.vsmdi | ||
EndGlobalSection | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{A57BC336-3100-415B-91A5-B779CC64EF91}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{A57BC336-3100-415B-91A5-B779CC64EF91}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{A57BC336-3100-415B-91A5-B779CC64EF91}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{A57BC336-3100-415B-91A5-B779CC64EF91}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{0B721A48-59F1-4D97-A321-5C1A56BC68A1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{0B721A48-59F1-4D97-A321-5C1A56BC68A1}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{0B721A48-59F1-4D97-A321-5C1A56BC68A1}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{0B721A48-59F1-4D97-A321-5C1A56BC68A1}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{A83B3DF1-C48E-4C61-BA0E-DBF31AE139CD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{A83B3DF1-C48E-4C61-BA0E-DBF31AE139CD}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{A83B3DF1-C48E-4C61-BA0E-DBF31AE139CD}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{A83B3DF1-C48E-4C61-BA0E-DBF31AE139CD}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(TestCaseManagementSettings) = postSolution | ||
CategoryFile = SQLGeneration.vsmdi | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using System; | ||
using System.Text.RegularExpressions; | ||
|
||
namespace SQLGeneration | ||
{ | ||
|
||
internal static class RegexOptionsHelper | ||
{ | ||
private static readonly RegexOptions CompiledOption; | ||
|
||
static RegexOptionsHelper() | ||
{ | ||
// Not all platforms support compiled regex's but those that do will be supported! | ||
if (!Enum.TryParse("Compiled", out CompiledOption)) | ||
CompiledOption = RegexOptions.None; | ||
} | ||
|
||
public static RegexOptions DefaultOptions | ||
{ | ||
get | ||
{ | ||
return CompiledOption; | ||
} | ||
} | ||
} | ||
} | ||
|
||
|
Oops, something went wrong.