diff --git a/.nuget/packages.config b/.nuget/packages.config
index ab2469f..af17f43 100644
--- a/.nuget/packages.config
+++ b/.nuget/packages.config
@@ -1,4 +1,4 @@
-
+
\ No newline at end of file
diff --git a/BuildNuGet.cmd b/BuildNuGet.cmd
index 9763943..ad9e8b8 100644
--- a/BuildNuGet.cmd
+++ b/BuildNuGet.cmd
@@ -1,3 +1,6 @@
+echo ------------------------------ Portable ------------------------------
+msbuild Seterlund.CodeGuard.Portable\Seterlund.CodeGuard.Portable.csproj /t:Clean;ReBuild /p:Configuration=Release
+copy Seterlund.CodeGuard.Portable\bin\Release\Seterlund.CodeGuard.dll NuGet\lib\portable-net403+sl5+netcore45+wpa81+wp8+MonoAndroid1+MonoTouch1\
echo ------------------------------ .Net 4.0 ------------------------------
msbuild CodeGuard\Seterlund.CodeGuard.csproj /t:Clean;ReBuild /p:Configuration=Release;TargetFrameworkVersion=v4.0
@@ -12,14 +15,14 @@ echo ------------------------------ Build package and upload it ----------------
pushd NuGet
-..\packages\NuGet.CommandLine.2.2.1\tools\NuGet.exe pack Seterlund.CodeGuard.nuspec
-..\packages\NuGet.CommandLine.2.2.1\tools\NuGet.exe push Seterlund.CodeGuard.2.3.4.nupkg
+..\packages\NuGet.CommandLine.2.8.3\tools\NuGet.exe pack Seterlund.CodeGuard.nuspec
+..\packages\NuGet.CommandLine.2.8.3\tools\NuGet.exe push Seterlund.CodeGuard.2.3.4.nupkg
popd
echo ------------------------------Source files ------------------------------
pushd NuGet_Src
powershell -file replace.ps1
-..\packages\NuGet.CommandLine.2.2.1\tools\NuGet.exe pack Seterlund.CodeGuard.Source.nuspec
-..\packages\NuGet.CommandLine.2.2.1\tools\NuGet.exe push Seterlund.CodeGuard.Source.2.3.4.nupkg
+..\packages\NuGet.CommandLine.2.8.3\tools\NuGet.exe pack Seterlund.CodeGuard.Source.nuspec
+..\packages\NuGet.CommandLine.2.8.3\tools\NuGet.exe push Seterlund.CodeGuard.Source.2.3.4.nupkg
popd
diff --git a/CodeGuard.sln b/CodeGuard.sln
index c8a271b..9b403d6 100644
--- a/CodeGuard.sln
+++ b/CodeGuard.sln
@@ -1,6 +1,8 @@
-Microsoft Visual Studio Solution File, Format Version 11.00
-# Visual Studio 2010
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2013
+VisualStudioVersion = 12.0.31101.0
+MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Seterlund.CodeGuard", "CodeGuard\Seterlund.CodeGuard.csproj", "{534D625B-C310-4A98-8E05-1806E7AE389F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Seterlund.CodeGuard.UnitTests", "UnitTests\Seterlund.CodeGuard.UnitTests.csproj", "{B7F516F7-E137-4922-B119-C87FFCDA8BBB}"
@@ -20,9 +22,24 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{FF11F4
.nuget\packages.config = .nuget\packages.config
EndProjectSection
EndProject
+Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Seterlund.CodeGuard.Shared", "Seterlund.CodeGuard.Shared\Seterlund.CodeGuard.Shared.shproj", "{D51ADD7B-4B7D-4898-803F-67A8A9CD373C}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Seterlund.CodeGuard.Portable", "Seterlund.CodeGuard.Portable\Seterlund.CodeGuard.Portable.csproj", "{E274FC37-9EDF-43AE-A657-F817C5E0182C}"
+EndProject
+Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Seterlund.CodeGuard.UnitTests.Shared", "Seterlund.CodeGuard.UnitTests.Shared\Seterlund.CodeGuard.UnitTests.Shared.shproj", "{A27E6E1C-0266-4761-B459-C1FF94DF5ABB}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Seterlund.CodeGuard.UnitTests.Portable", "Seterlund.CodeGuard.UnitTests.Portable\Seterlund.CodeGuard.UnitTests.Portable.csproj", "{D324F1DF-C516-435E-9673-AB1F5E3B8171}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Unit Tests", "Unit Tests", "{7E9E9E0A-D6F4-437D-94A0-CE139421C4BD}"
+EndProject
Global
- GlobalSection(TestCaseManagementSettings) = postSolution
- CategoryFile = CodeGuard.vsmdi
+ GlobalSection(SharedMSBuildProjectFiles) = preSolution
+ Seterlund.CodeGuard.Shared\Seterlund.CodeGuard.Shared.projitems*{e274fc37-9edf-43ae-a657-f817c5e0182c}*SharedItemsImports = 4
+ Seterlund.CodeGuard.Shared\Seterlund.CodeGuard.Shared.projitems*{534d625b-c310-4a98-8e05-1806e7ae389f}*SharedItemsImports = 4
+ Seterlund.CodeGuard.UnitTests.Shared\Seterlund.CodeGuard.UnitTests.Shared.projitems*{b7f516f7-e137-4922-b119-c87ffcda8bbb}*SharedItemsImports = 4
+ Seterlund.CodeGuard.UnitTests.Shared\Seterlund.CodeGuard.UnitTests.Shared.projitems*{d324f1df-c516-435e-9673-ab1f5e3b8171}*SharedItemsImports = 4
+ Seterlund.CodeGuard.Shared\Seterlund.CodeGuard.Shared.projitems*{d51add7b-4b7d-4898-803f-67a8a9cd373c}*SharedItemsImports = 13
+ Seterlund.CodeGuard.UnitTests.Shared\Seterlund.CodeGuard.UnitTests.Shared.projitems*{a27e6e1c-0266-4761-b459-c1ff94df5abb}*SharedItemsImports = 13
EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -37,8 +54,24 @@ Global
{B7F516F7-E137-4922-B119-C87FFCDA8BBB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B7F516F7-E137-4922-B119-C87FFCDA8BBB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B7F516F7-E137-4922-B119-C87FFCDA8BBB}.Release|Any CPU.Build.0 = Release|Any CPU
+ {E274FC37-9EDF-43AE-A657-F817C5E0182C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {E274FC37-9EDF-43AE-A657-F817C5E0182C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {E274FC37-9EDF-43AE-A657-F817C5E0182C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {E274FC37-9EDF-43AE-A657-F817C5E0182C}.Release|Any CPU.Build.0 = Release|Any CPU
+ {D324F1DF-C516-435E-9673-AB1F5E3B8171}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {D324F1DF-C516-435E-9673-AB1F5E3B8171}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {D324F1DF-C516-435E-9673-AB1F5E3B8171}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {D324F1DF-C516-435E-9673-AB1F5E3B8171}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
+ GlobalSection(NestedProjects) = preSolution
+ {B7F516F7-E137-4922-B119-C87FFCDA8BBB} = {7E9E9E0A-D6F4-437D-94A0-CE139421C4BD}
+ {A27E6E1C-0266-4761-B459-C1FF94DF5ABB} = {7E9E9E0A-D6F4-437D-94A0-CE139421C4BD}
+ {D324F1DF-C516-435E-9673-AB1F5E3B8171} = {7E9E9E0A-D6F4-437D-94A0-CE139421C4BD}
+ EndGlobalSection
+ GlobalSection(TestCaseManagementSettings) = postSolution
+ CategoryFile = CodeGuard.vsmdi
+ EndGlobalSection
EndGlobal
diff --git a/CodeGuard.sln.DotSettings.user b/CodeGuard.sln.DotSettings.user
index a000459..7eb2bc2 100644
--- a/CodeGuard.sln.DotSettings.user
+++ b/CodeGuard.sln.DotSettings.user
@@ -3,6 +3,14 @@
C:\Program Files (x86)\NUnit 2.5.10\bin\net-2.0\
Never
True
+ True
+ 4
+ All Tests in CodeGuard
+ <Session><e Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsEqual2_WhenArgumentIsNotEqual_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.NotNullOrEmpty_WhenArgumentIsValid_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComplexExpressionTests.ComplexGuardInsideMethod_ValidResult_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.StartsWith_ArgumentStartsWithValue_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPrime_ArgumentIsPrime_DoesNotThrow(7)" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.EnumValidatorTests.HasFlagSet_ArgumentDoesHaveFlagSet_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.NotNullOrWhiteSpace_WhenStringArgumentIsNotNullOrWhitespace_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsEqual_WhenArgumentIsNotEqual_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ClassValidatorTests.IsNotNull_ArgumentIsNull_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComplexExpressionTests.ProperyWithField_ValidResult_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests.IsNotDefault_WhenArgumentIsNotDefault_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.IsMatch_ArgumentDoesNotMatch_Throws("NOMATCH","\\d")" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPositive_ArgumentIsNotPositive_Throws(-1)" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPrime_ArgumentIsPrime_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsNotEqual_WhenFuncArgumentIsEqual_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ValidateTests" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ValidateTests.GetResult_WhenCalledWithOneFailingCheck_ReturnListWithOneMessage" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsInRange_WhenArgumentOutOfRange_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.IsMatch_ArgumentDoesNotMatch_Throws("NOMATCH","\\d")" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComplexExpressionTests.ProperyWithProperty_ValidResult_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPositive_ArgumentIsNegative_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.StartsWith_ArgumentDoesNotStartWithValue_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.EnumValidatorTests.IsValidValue_ArgumentIsInvalidEnumValue_DoesThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ClassValidatorTests.IsNotNull_NullableTypeIsNull_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ReflectionTests.FuncOfT_Used_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.BooleanValidatorTests.IsTrue_WhenArgumentIsFalse_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.EnumValidatorTests.HasFlagSet_ArgumentDoesHaveFlagSet_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsOdd_ArgumentIsOdd_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ValidateTests.GetResult_WhenCalledWithtwoFailingChecks_ReturnListWithTwoMessages" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.IsMatch_ArgumentNotMatches_Throws("1234","\\d")" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsOdd_ArgumentIsOdd_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsLessThan_WhenArgumentIsLess_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPositive_ArgumentIsPositive_DoesNotThrow(20)" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.EnumerableValidatorTests.IsNotEmpty_ArgumentIsListWithItems_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.Length_ArgumentHasSameLength_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsNotEqual_WhenArgumentIsEqual_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.EnumerableValidatorTests.Contains_ArgumentContainsElement_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests.IsOneOf_WhenArgumentIsInCollection_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ArrayValidatorTests.CountIs_ArgumentHasMoreItems_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsLessThan_WhenArgumentIsEqual_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.GuardTests.That_CalledWithValueAndName_MessageHandlerISet" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.GuidValidatorTests.IsNotEmpty_ArgumentValidGuid_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.NotNull_WhenArgumentIsNotNull_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ArrayValidatorTests.IsEmpty_ArgumentIsNotEmptyArray_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.GuidValidatorTests.IsNotEmpty_ArgumentValidGuid_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.BooleanValidatorTests.IsFalse_WhenArgumentIsFalse_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ClassValidatorTests.IsNotNull_ArgumentIsNotNull_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsEqual_WhenArgumentIsNotEqual_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.SpeedTests.TestLambdaExpressionSpeed" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.GuardTests.That_ArgumentNameSuppliedAndError_ThrowsAndUsedArgumentName" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsEqual_WhenArgumentIsEqual_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests.IsOneOf_WhenArgumentIsInCollection_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.StartsWith_ArgumentDoesNotStartWithValue_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ArrayValidatorTests.IsEmpty_ArgumentIsEmptyArray_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPrime_ArgumentIsNotPrime_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.NotEmpty_WhenArgumentIsNotEmpty_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.NotEmpty_WhenArgumentIsEmpty_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.GuidValidatorTests.IsNotEmpty_ArgumentIsEmpty_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.GuardTests.Is_WhenArgumentImplementsType_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.BooleanValidatorTests" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.GuidValidatorTests" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComplexExpressionTests.ProperyWithProperty_InvalidResult_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPrime_ArgumentIsPrime_DoesNotThrow(5)" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsGreaterThan_WhenArgumentIsEqual_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.Contains_ArgumentContainsValueWrongCase_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsEven_ArgumentIsEven_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.SpeedTests" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.BooleanValidatorTests.IsFalse_WhenArgumentIsTrue_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.BooleanValidatorTests" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsEqual_WhenArgumentIsEqual_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.Length_ArgumentHasDifferentLength_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.SpeedTests.TestLambdaExpressionSpeed" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPositive_ArgumentIsNotPositive_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComplexExpressionTests" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.Length_ArgumentHasSameLength_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests.IsOneOf_WhenArgumentIsNotInCollection_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ClassValidatorTests" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.EnumValidatorTests.HasFlagSet_ArgumentDoesNotHaveFlagSet_DoesThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ClassValidatorTests" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.NotNullOrEmpty_WhenArgumentIsNull_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.NotNullOrWhiteSpace_WhenStringArgumentIsNull_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComplexExpressionTests.ComplexGuardInsideMethod_ValidResult_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ReflectionTests" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComplexExpressionTests" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.EndsWith_ArgumentEndsWithValue_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPositive_ArgumentIsPositive_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests.Is_ArgumentTestedAgainstBaseType_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.Contains_ArgumentDoesNotContainValue_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.GuardTests.Is_WhenArgumentIsWrongType_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.IsMatch_ArgumentNotMatches_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.EnumerableValidatorTests" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsEven_ArgumentIsOdd_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsNotEqual_WhenFuncArgumentIsEqual_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests.IsTrue_WhenArgumentIsFalse_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ClassValidatorTests.IsNotNull_ArgumentIsNull_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsEqual2_WhenArgumentIsEqual_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.NotEmpty_WhenArgumentIsNotEmpty_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests.Is_ArgumentTestedAgainstBaseType_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.SpeedTests.TestVariableSpeed" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPrime_ArgumentIsNotPrime_Throws(-1)" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.EndsWith_ArgumentDoesNotEndWithValue_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPositive_ArgumentIsNotPositive_Throws(-10)" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.NullableValidatorTests" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ArrayValidatorTests.IsEmpty_ArgumentIsEmptyArray_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ArrayValidatorTests" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests.Is_ArgumentIsSameType_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.GuardTests.That_CalledWithValue_MessageHandlerISet" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests.Is_ArgumentIsSameType_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ArrayValidatorTests.CountIs_ArgumentHasMoreItems_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.GuardTests.IsEqual_WhenArgumentIsProperty_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComplexExpressionTests.ProperyWithField_ValidResult_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests.IsNotDefault_WhenArgumentIsDefault_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.NotNullOrEmpty_WhenArgumentIsNull_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsInRange_WhenArgumentBetweenStartAndStop_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPrime_ArgumentIsNotPrime_Throws(4)" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.IsMatch_ArgumentDoesNotMatch_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.IsMatch_ArgumentNotMatches_Throws("perij@online.no","\\w+([-+.]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*([,;]\\s*\\w+([-+.]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*)*")" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.GuardTests" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests.IsTrue_WhenArgumentIsFalse_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPositive_ArgumentIsNotNegative_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPrime_ArgumentIsPrime_DoesNotThrow(3)" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPrime_ArgumentIsNotPrime_Throws(0)" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComplexExpressionTests.ProperyWithProperty_InvalidResult_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsGreaterThan_WhenArgumentIsGreather_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsLessThan_WhenArgumentIsLess_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPositive_ArgumentIsNotNegative_Throws(10)" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPrime_ArgumentIsPrime_DoesNotThrow(3)" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.NotEmpty_WhenArgumentIsNull_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.GuardTests.That_CalledWithValueAndName_MessageHandlerISet" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.EnumerableValidatorTests.IsNotEmpty_ArgumentIsEmptyList_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.EnumValidatorTests.IsValidValue_ArgumentIsInvalidEnumValue_DoesThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.IsMatch_ArgumentDoesNotMatch_Throws("perij@online","\\w+([-+.]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*([,;]\\s*\\w+([-+.]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*)*")" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPrime_ArgumentIsNotPrime_Throws(0)" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsLessThan_WhenArgumentIsGreaterThan_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPositive_ArgumentIsPositive_DoesNotThrow(2)" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsInRange_WhenArgumentOutOfRange_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.NotNull_WhenStringArgumentIsNull_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.GuidValidatorTests" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsInRange_WhenArgumentEqualsStart_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComplexExpressionTests.ComplexGuardInsideMethod_ValidResultNonExpression_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.EnumerableValidatorTests.Conatins_ArgumentIsEmptyList_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPrime_ArgumentIsNotPrime_Throws(-1)" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.EnumerableValidatorTests.IsNotEmpty_ArgumentIsListWithItems_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.NotNullOrWhiteSpace_WhenStringArgumentIsWhiteSpace_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.IsMatch_ArgumentNotMatches_Throws("perij@online.no","\\w+([-+.]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*([,;]\\s*\\w+([-+.]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*)*")" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsGreaterThan_WhenArgumentIsEqual_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ClassValidatorTests.IsNotNull_ArgumentIsNotNull_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.EnumerableValidatorTests.Conatins_ArgumentIsEmptyList_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests.IsNotDefault_WhenArgumentIsNotDefault_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.NullableValidatorTests.IsNotNull_ArgumentIsNull_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsGreaterThan_WhenArgumentIsGreather_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.IsMatch_ArgumentNotMatches_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ReflectionTests.GenericBaseClass_Called_DoesNotCauseBadImageFormatException" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.EnumValidatorTests" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPositive_ArgumentIsNotNegative_Throws(1)" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.GuardTests.Is_WhenArgumentIsSameType_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.Contains_ArgumentContainsValueWrongCase_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.NotNullOrEmpty_WhenArgumentIsValid_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ValidateTests.GetResult_WhenCalledWithtwoFailingChecks_ReturnListWithTwoMessages" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.NotNull_WhenStringArgumentIsNull_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPrime_ArgumentIsPrime_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.GuardTests.That_CalledWithFunc_MessageHandlerISet" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsEven_ArgumentIsEven_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.IsMatch_ArgumentDoesNotMatch_Throws("perij@online","\\w+([-+.]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*([,;]\\s*\\w+([-+.]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*)*")" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ValidateTests" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.Contains_ArgumentContainsValue_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.EnumValidatorTests" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests.Is_ArgumentIsDifferentType_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.NotNullOrWhiteSpace_WhenStringArgumentIsNull_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.EnumValidatorTests.IsValidValue_ArgumentIsValidEnumValue_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.GuidValidatorTests.IsNotEmpty_ArgumentIsEmpty_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPositive_ArgumentIsNegative_DoesNotThrow(-2)" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPositive_ArgumentIsNegative_DoesNotThrow(-3)" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ClassValidatorTests.IsNotNull_NullableTypeIsNull_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPrime_ArgumentIsPrime_DoesNotThrow(5)" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.GuardTests.Is_WhenArgumentIsSameType_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ReflectionTests" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.SpeedTests.TestVariableSpeed" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.EnumerableValidatorTests.Contains_ArgumentContainsElement_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.GuardTests.Is_WhenArgumentIsWrongType_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.IsMatch_ArgumentNotMatches_Throws("1234","\\d")" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.GuardTests.That_CalledWithValue_MessageHandlerISet" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.EndsWith_ArgumentDoesNotEndWithValue_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.SpeedTests" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.GuardTests.IsEqual_WhenArgumentIsProperty_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsOdd_ArgumentIsEven_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPrime_ArgumentIsNotPrime_Throws(4)" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.BooleanValidatorTests.IsTrue_WhenArgumentIsFalse_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsLessThan_WhenArgumentIsEqual_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.NotNullOrWhiteSpace_WhenStringArgumentIsWhiteSpace_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.NullableValidatorTests" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ArrayValidatorTests.CountIs_ArgumentHasCorrectCount_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.GuardTests.Is_WhenArgumentDoesNotImplementType_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.GuardTests.Is_WhenArgumentDoesNotImplementType_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.GuardTests.Is_WhenArgumentImplementsType_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ValidateTests.GetResult_WhenCalledWithOneFailingCheck_ReturnListWithOneMessage" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsInRange_WhenArgumentEqualsStart_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.EnumerableValidatorTests" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests.IsNotDefault_WhenArgumentIsDefault_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPrime_ArgumentIsNotPrime_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.NotNull_WhenArgumentIsNotNull_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.BooleanValidatorTests.IsFalse_WhenArgumentIsFalse_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.NotEmpty_WhenArgumentIsNull_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComplexExpressionTests.ComplexGuardInsideMethod_ValidResultNonExpression_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.EnumerableValidatorTests.IsNotEmpty_ArgumentIsEmptyList_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ArrayValidatorTests.IsEmpty_ArgumentIsNotEmptyArray_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPositive_ArgumentIsPositive_DoesNotThrow(3)" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsEqual2_WhenArgumentIsEqual_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsGreaterThan_WhenArgumentIsLessThan_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsLessThan_WhenArgumentIsGreaterThan_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ReflectionTests.FuncOfT_Used_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.IsMatch_ArgumentDoesNotMatch_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.Contains_ArgumentDoesNotContainValue_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests.IsOneOf_WhenArgumentIsNotInCollection_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsNotEqual_WhenArgumentIsEqual_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.Contains_ArgumentContainsValue_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.NotNullOrEmpty_WhenArgumentIsEmpty_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComplexExpressionTests.ProperyWithProperty_ValidResult_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.NullableValidatorTests.IsNotNull_ArgumentIsNotNull_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsInRange_WhenArgumentBetweenStartAndStop_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ArrayValidatorTests" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPositive_ArgumentIsNotNegative_Throws(0)" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.BooleanValidatorTests.IsFalse_WhenArgumentIsTrue_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.GuardTests.That_CalledWithFunc_MessageHandlerISet" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ArrayValidatorTests.CountIs_ArgumentHasCorrectCount_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsEven_ArgumentIsOdd_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.NotNullOrWhiteSpace_WhenStringArgumentIsNotNullOrWhitespace_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.GuardTests.That_ArgumentNameSuppliedAndError_ThrowsAndUsedArgumentName" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.StartsWith_ArgumentStartsWithValue_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPositive_ArgumentIsNotPositive_Throws(0)" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsOdd_ArgumentIsEven_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.BooleanValidatorTests.IsTrue_WhenArgumentIsTrue_DoesNotThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.BooleanValidatorTests.IsTrue_WhenArgumentIsTrue_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPositive_ArgumentIsNegative_DoesNotThrow(-20)" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPrime_ArgumentIsPrime_DoesNotThrow(7)" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.NotNullOrEmpty_WhenArgumentIsEmpty_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.NotEmpty_WhenArgumentIsEmpty_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsGreaterThan_WhenArgumentIsLessThan_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.NullableValidatorTests.IsNotNull_ArgumentIsNotNull_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests.Is_ArgumentIsDifferentType_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsEqual2_WhenArgumentIsNotEqual_Throws" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.GuardTests" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.NullableValidatorTests.IsNotNull_ArgumentIsNull_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.EnumValidatorTests.IsValidValue_ArgumentIsValidEnumValue_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.ReflectionTests.GenericBaseClass_Called_DoesNotCauseBadImageFormatException" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.Length_ArgumentHasDifferentLength_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.EnumValidatorTests.HasFlagSet_ArgumentDoesNotHaveFlagSet_DoesThrow" Project="D324F1DF-C516-435E-9673-AB1F5E3B8171" Provider="nUnit" /><e Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.EndsWith_ArgumentEndsWithValue_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" Provider="nUnit" /></Session>
True
Session
- <Session><Elements><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ArrayValidatorTests" type="NUnitTestFixtureElement" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.BooleanValidatorTests" type="NUnitTestFixtureElement" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ClassValidatorTests" type="NUnitTestFixtureElement" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests" type="NUnitTestFixtureElement" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ComplexExpressionTests" type="NUnitTestFixtureElement" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.EnumerableValidatorTests" type="NUnitTestFixtureElement" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.GuardTests" type="NUnitTestFixtureElement" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.GuidValidatorTests" type="NUnitTestFixtureElement" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests" type="NUnitTestFixtureElement" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.NullableValidatorTests" type="NUnitTestFixtureElement" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests" type="NUnitTestFixtureElement" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ReflectionTests" type="NUnitTestFixtureElement" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.SpeedTests" type="NUnitTestFixtureElement" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests" type="NUnitTestFixtureElement" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ValidateTests" type="NUnitTestFixtureElement" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ComplexExpressionTests.ComplexGuardInsideMethod_ValidResult_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.ComplexExpressionTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ComplexExpressionTests" MethodName="ComplexGuardInsideMethod_ValidResult_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ComplexExpressionTests.ComplexGuardInsideMethod_ValidResultNonExpression_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.ComplexExpressionTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ComplexExpressionTests" MethodName="ComplexGuardInsideMethod_ValidResultNonExpression_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.EnumerableValidatorTests.Conatins_ArgumentIsEmptyList_Throws" ParentId="Seterlund.CodeGuard.UnitTests.EnumerableValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.EnumerableValidatorTests" MethodName="Conatins_ArgumentIsEmptyList_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.EnumerableValidatorTests.Contains_ArgumentContainsElement_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.EnumerableValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.EnumerableValidatorTests" MethodName="Contains_ArgumentContainsElement_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.Contains_ArgumentContainsValue_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.StringValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.StringValidatorTests" MethodName="Contains_ArgumentContainsValue_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.Contains_ArgumentContainsValueWrongCase_Throws" ParentId="Seterlund.CodeGuard.UnitTests.StringValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.StringValidatorTests" MethodName="Contains_ArgumentContainsValueWrongCase_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.Contains_ArgumentDoesNotContainValue_Throws" ParentId="Seterlund.CodeGuard.UnitTests.StringValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.StringValidatorTests" MethodName="Contains_ArgumentDoesNotContainValue_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ArrayValidatorTests.CountIs_ArgumentHasCorrectCount_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.ArrayValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ArrayValidatorTests" MethodName="CountIs_ArgumentHasCorrectCount_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ArrayValidatorTests.CountIs_ArgumentHasMoreItems_Throws" ParentId="Seterlund.CodeGuard.UnitTests.ArrayValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ArrayValidatorTests" MethodName="CountIs_ArgumentHasMoreItems_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.EndsWith_ArgumentDoesNotEndWithValue_Throws" ParentId="Seterlund.CodeGuard.UnitTests.StringValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.StringValidatorTests" MethodName="EndsWith_ArgumentDoesNotEndWithValue_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.EndsWith_ArgumentEndsWithValue_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.StringValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.StringValidatorTests" MethodName="EndsWith_ArgumentEndsWithValue_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ReflectionTests.FuncOfT_Used_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.ReflectionTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ReflectionTests" MethodName="FuncOfT_Used_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ReflectionTests.GenericBaseClass_Called_DoesNotCauseBadImageFormatException" ParentId="Seterlund.CodeGuard.UnitTests.ReflectionTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ReflectionTests" MethodName="GenericBaseClass_Called_DoesNotCauseBadImageFormatException" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ValidateTests.GetResult_WhenCalledWithOneFailingCheck_ReturnListWithOneMessage" ParentId="Seterlund.CodeGuard.UnitTests.ValidateTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ValidateTests" MethodName="GetResult_WhenCalledWithOneFailingCheck_ReturnListWithOneMessage" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ValidateTests.GetResult_WhenCalledWithtwoFailingChecks_ReturnListWithTwoMessages" ParentId="Seterlund.CodeGuard.UnitTests.ValidateTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ValidateTests" MethodName="GetResult_WhenCalledWithtwoFailingChecks_ReturnListWithTwoMessages" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests.Is_ArgumentIsDifferentType_Throws" ParentId="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests" MethodName="Is_ArgumentIsDifferentType_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests.Is_ArgumentIsSameType_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests" MethodName="Is_ArgumentIsSameType_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests.Is_ArgumentTestedAgainstBaseType_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests" MethodName="Is_ArgumentTestedAgainstBaseType_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.GuardTests.Is_WhenArgumentDoesNotImplementType_Throws" ParentId="Seterlund.CodeGuard.UnitTests.GuardTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.GuardTests" MethodName="Is_WhenArgumentDoesNotImplementType_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.GuardTests.Is_WhenArgumentImplementsType_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.GuardTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.GuardTests" MethodName="Is_WhenArgumentImplementsType_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.GuardTests.Is_WhenArgumentIsSameType_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.GuardTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.GuardTests" MethodName="Is_WhenArgumentIsSameType_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.GuardTests.Is_WhenArgumentIsWrongType_Throws" ParentId="Seterlund.CodeGuard.UnitTests.GuardTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.GuardTests" MethodName="Is_WhenArgumentIsWrongType_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ArrayValidatorTests.IsEmpty_ArgumentIsEmptyArray_Throws" ParentId="Seterlund.CodeGuard.UnitTests.ArrayValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ArrayValidatorTests" MethodName="IsEmpty_ArgumentIsEmptyArray_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ArrayValidatorTests.IsEmpty_ArgumentIsNotEmptyArray_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.ArrayValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ArrayValidatorTests" MethodName="IsEmpty_ArgumentIsNotEmptyArray_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsEqual_WhenArgumentIsEqual_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests" MethodName="IsEqual_WhenArgumentIsEqual_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsEqual_WhenArgumentIsNotEqual_Throws" ParentId="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests" MethodName="IsEqual_WhenArgumentIsNotEqual_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.GuardTests.IsEqual_WhenArgumentIsProperty_Throws" ParentId="Seterlund.CodeGuard.UnitTests.GuardTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.GuardTests" MethodName="IsEqual_WhenArgumentIsProperty_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsEqual2_WhenArgumentIsEqual_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests" MethodName="IsEqual2_WhenArgumentIsEqual_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsEqual2_WhenArgumentIsNotEqual_Throws" ParentId="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests" MethodName="IsEqual2_WhenArgumentIsNotEqual_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsEven_ArgumentIsEven_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests" MethodName="IsEven_ArgumentIsEven_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsEven_ArgumentIsOdd_Throws" ParentId="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests" MethodName="IsEven_ArgumentIsOdd_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.BooleanValidatorTests.IsFalse_WhenArgumentIsFalse_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.BooleanValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.BooleanValidatorTests" MethodName="IsFalse_WhenArgumentIsFalse_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.BooleanValidatorTests.IsFalse_WhenArgumentIsTrue_Throws" ParentId="Seterlund.CodeGuard.UnitTests.BooleanValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.BooleanValidatorTests" MethodName="IsFalse_WhenArgumentIsTrue_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsGreaterThan_WhenArgumentIsEqual_Throws" ParentId="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests" MethodName="IsGreaterThan_WhenArgumentIsEqual_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsGreaterThan_WhenArgumentIsGreather_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests" MethodName="IsGreaterThan_WhenArgumentIsGreather_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsGreaterThan_WhenArgumentIsLessThan_Throws" ParentId="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests" MethodName="IsGreaterThan_WhenArgumentIsLessThan_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsInRange_WhenArgumentBetweenStartAndStop_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests" MethodName="IsInRange_WhenArgumentBetweenStartAndStop_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsInRange_WhenArgumentEqualsStart_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests" MethodName="IsInRange_WhenArgumentEqualsStart_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsInRange_WhenArgumentOutOfRange_Throws" ParentId="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests" MethodName="IsInRange_WhenArgumentOutOfRange_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsLessThan_WhenArgumentIsEqual_Throws" ParentId="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests" MethodName="IsLessThan_WhenArgumentIsEqual_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsLessThan_WhenArgumentIsGreaterThan_Throws" ParentId="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests" MethodName="IsLessThan_WhenArgumentIsGreaterThan_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsLessThan_WhenArgumentIsLess_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests" MethodName="IsLessThan_WhenArgumentIsLess_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.IsMatch_ArgumentDoesNotMatch_Throws" ParentId="Seterlund.CodeGuard.UnitTests.StringValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.StringValidatorTests" MethodName="IsMatch_ArgumentDoesNotMatch_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.IsMatch_ArgumentNotMatches_Throws" ParentId="Seterlund.CodeGuard.UnitTests.StringValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.StringValidatorTests" MethodName="IsMatch_ArgumentNotMatches_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests.IsNotDefault_WhenArgumentIsDefault_Throws" ParentId="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests" MethodName="IsNotDefault_WhenArgumentIsDefault_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests.IsNotDefault_WhenArgumentIsNotDefault_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests" MethodName="IsNotDefault_WhenArgumentIsNotDefault_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.GuidValidatorTests.IsNotEmpty_ArgumentIsEmpty_Throws" ParentId="Seterlund.CodeGuard.UnitTests.GuidValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.GuidValidatorTests" MethodName="IsNotEmpty_ArgumentIsEmpty_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.EnumerableValidatorTests.IsNotEmpty_ArgumentIsEmptyList_Throws" ParentId="Seterlund.CodeGuard.UnitTests.EnumerableValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.EnumerableValidatorTests" MethodName="IsNotEmpty_ArgumentIsEmptyList_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.EnumerableValidatorTests.IsNotEmpty_ArgumentIsListWithItems_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.EnumerableValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.EnumerableValidatorTests" MethodName="IsNotEmpty_ArgumentIsListWithItems_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.GuidValidatorTests.IsNotEmpty_ArgumentValidGuid_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.GuidValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.GuidValidatorTests" MethodName="IsNotEmpty_ArgumentValidGuid_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsNotEqual_WhenArgumentIsEqual_Throws" ParentId="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests" MethodName="IsNotEqual_WhenArgumentIsEqual_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests.IsNotEqual_WhenFuncArgumentIsEqual_Throws" ParentId="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ComparableValidatorTests" MethodName="IsNotEqual_WhenFuncArgumentIsEqual_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ClassValidatorTests.IsNotNull_ArgumentIsNotNull_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.ClassValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ClassValidatorTests" MethodName="IsNotNull_ArgumentIsNotNull_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.NullableValidatorTests.IsNotNull_ArgumentIsNotNull_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.NullableValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.NullableValidatorTests" MethodName="IsNotNull_ArgumentIsNotNull_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.NullableValidatorTests.IsNotNull_ArgumentIsNull_Throws" ParentId="Seterlund.CodeGuard.UnitTests.NullableValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.NullableValidatorTests" MethodName="IsNotNull_ArgumentIsNull_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ClassValidatorTests.IsNotNull_ArgumentIsNull_Throws" ParentId="Seterlund.CodeGuard.UnitTests.ClassValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ClassValidatorTests" MethodName="IsNotNull_ArgumentIsNull_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ClassValidatorTests.IsNotNull_NullableTypeIsNull_Throws" ParentId="Seterlund.CodeGuard.UnitTests.ClassValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ClassValidatorTests" MethodName="IsNotNull_NullableTypeIsNull_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsOdd_ArgumentIsEven_Throws" ParentId="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests" MethodName="IsOdd_ArgumentIsEven_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsOdd_ArgumentIsOdd_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests" MethodName="IsOdd_ArgumentIsOdd_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPrime_ArgumentIsNotPrime_Throws" ParentId="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests" MethodName="IsPrime_ArgumentIsNotPrime_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPrime_ArgumentIsPrime_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests" MethodName="IsPrime_ArgumentIsPrime_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.BooleanValidatorTests.IsTrue_WhenArgumentIsFalse_Throws" ParentId="Seterlund.CodeGuard.UnitTests.BooleanValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.BooleanValidatorTests" MethodName="IsTrue_WhenArgumentIsFalse_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests.IsTrue_WhenArgumentIsFalse_Throws" ParentId="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ObjectValidatorTests" MethodName="IsTrue_WhenArgumentIsFalse_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.BooleanValidatorTests.IsTrue_WhenArgumentIsTrue_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.BooleanValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.BooleanValidatorTests" MethodName="IsTrue_WhenArgumentIsTrue_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.Length_ArgumentHasDifferentLength_Throws" ParentId="Seterlund.CodeGuard.UnitTests.StringValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.StringValidatorTests" MethodName="Length_ArgumentHasDifferentLength_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.Length_ArgumentHasSameLength_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.StringValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.StringValidatorTests" MethodName="Length_ArgumentHasSameLength_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.NotEmpty_WhenArgumentIsEmpty_Throws" ParentId="Seterlund.CodeGuard.UnitTests.StringValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.StringValidatorTests" MethodName="NotEmpty_WhenArgumentIsEmpty_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.NotEmpty_WhenArgumentIsNotEmpty_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.StringValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.StringValidatorTests" MethodName="NotEmpty_WhenArgumentIsNotEmpty_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.NotEmpty_WhenArgumentIsNull_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.StringValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.StringValidatorTests" MethodName="NotEmpty_WhenArgumentIsNull_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.NotNull_WhenArgumentIsNotNull_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.StringValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.StringValidatorTests" MethodName="NotNull_WhenArgumentIsNotNull_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.NotNull_WhenStringArgumentIsNull_Throws" ParentId="Seterlund.CodeGuard.UnitTests.StringValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.StringValidatorTests" MethodName="NotNull_WhenStringArgumentIsNull_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.NotNullOrEmpty_WhenArgumentIsEmpty_Throws" ParentId="Seterlund.CodeGuard.UnitTests.StringValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.StringValidatorTests" MethodName="NotNullOrEmpty_WhenArgumentIsEmpty_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.NotNullOrEmpty_WhenArgumentIsNull_Throws" ParentId="Seterlund.CodeGuard.UnitTests.StringValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.StringValidatorTests" MethodName="NotNullOrEmpty_WhenArgumentIsNull_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.NotNullOrEmpty_WhenArgumentIsValid_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.StringValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.StringValidatorTests" MethodName="NotNullOrEmpty_WhenArgumentIsValid_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ComplexExpressionTests.ProperyWithField_ValidResult_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.ComplexExpressionTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ComplexExpressionTests" MethodName="ProperyWithField_ValidResult_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ComplexExpressionTests.ProperyWithProperty_InvalidResult_Throws" ParentId="Seterlund.CodeGuard.UnitTests.ComplexExpressionTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ComplexExpressionTests" MethodName="ProperyWithProperty_InvalidResult_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.ComplexExpressionTests.ProperyWithProperty_ValidResult_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.ComplexExpressionTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.ComplexExpressionTests" MethodName="ProperyWithProperty_ValidResult_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.StartsWith_ArgumentDoesNotStartWithValue_Throws" ParentId="Seterlund.CodeGuard.UnitTests.StringValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.StringValidatorTests" MethodName="StartsWith_ArgumentDoesNotStartWithValue_Throws" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.StartsWith_ArgumentStartsWithValue_DoesNotThrow" ParentId="Seterlund.CodeGuard.UnitTests.StringValidatorTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.StringValidatorTests" MethodName="StartsWith_ArgumentStartsWithValue_DoesNotThrow" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.SpeedTests.TestLambdaExpressionSpeed" ParentId="Seterlund.CodeGuard.UnitTests.SpeedTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.SpeedTests" MethodName="TestLambdaExpressionSpeed" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.SpeedTests.TestVariableSpeed" ParentId="Seterlund.CodeGuard.UnitTests.SpeedTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.SpeedTests" MethodName="TestVariableSpeed" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.GuardTests.That_ArgumentNameSuppliedAndError_ThrowsAndUsedArgumentName" ParentId="Seterlund.CodeGuard.UnitTests.GuardTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.GuardTests" MethodName="That_ArgumentNameSuppliedAndError_ThrowsAndUsedArgumentName" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.GuardTests.That_CalledWithFunc_MessageHandlerISet" ParentId="Seterlund.CodeGuard.UnitTests.GuardTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.GuardTests" MethodName="That_CalledWithFunc_MessageHandlerISet" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.GuardTests.That_CalledWithValue_MessageHandlerISet" ParentId="Seterlund.CodeGuard.UnitTests.GuardTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.GuardTests" MethodName="That_CalledWithValue_MessageHandlerISet" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.GuardTests.That_CalledWithValueAndName_MessageHandlerISet" ParentId="Seterlund.CodeGuard.UnitTests.GuardTests" type="NUnitTestElement" TypeName="Seterlund.CodeGuard.UnitTests.GuardTests" MethodName="That_CalledWithValueAndName_MessageHandlerISet" Project="B7F516F7-E137-4922-B119-C87FFCDA8BBB" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.IsMatch_ArgumentDoesNotMatch_Throws.IsMatch_ArgumentDoesNotMatch_Throws("NOMATCH","\\d")" ParentId="Seterlund.CodeGuard.UnitTests.StringValidatorTests.IsMatch_ArgumentDoesNotMatch_Throws" type="NUnitRowTestElement" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.IsMatch_ArgumentDoesNotMatch_Throws.IsMatch_ArgumentDoesNotMatch_Throws("perij@online","\\w+([-+.]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*([,;]\\s*\\w+([-+.]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*)*")" ParentId="Seterlund.CodeGuard.UnitTests.StringValidatorTests.IsMatch_ArgumentDoesNotMatch_Throws" type="NUnitRowTestElement" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.IsMatch_ArgumentNotMatches_Throws.IsMatch_ArgumentNotMatches_Throws("1234","\\d")" ParentId="Seterlund.CodeGuard.UnitTests.StringValidatorTests.IsMatch_ArgumentNotMatches_Throws" type="NUnitRowTestElement" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.StringValidatorTests.IsMatch_ArgumentNotMatches_Throws.IsMatch_ArgumentNotMatches_Throws("perij@online.no","\\w+([-+.]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*([,;]\\s*\\w+([-+.]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*)*")" ParentId="Seterlund.CodeGuard.UnitTests.StringValidatorTests.IsMatch_ArgumentNotMatches_Throws" type="NUnitRowTestElement" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPrime_ArgumentIsNotPrime_Throws.IsPrime_ArgumentIsNotPrime_Throws(0)" ParentId="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPrime_ArgumentIsNotPrime_Throws" type="NUnitRowTestElement" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPrime_ArgumentIsNotPrime_Throws.IsPrime_ArgumentIsNotPrime_Throws(-1)" ParentId="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPrime_ArgumentIsNotPrime_Throws" type="NUnitRowTestElement" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPrime_ArgumentIsNotPrime_Throws.IsPrime_ArgumentIsNotPrime_Throws(4)" ParentId="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPrime_ArgumentIsNotPrime_Throws" type="NUnitRowTestElement" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPrime_ArgumentIsPrime_DoesNotThrow.IsPrime_ArgumentIsPrime_DoesNotThrow(3)" ParentId="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPrime_ArgumentIsPrime_DoesNotThrow" type="NUnitRowTestElement" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPrime_ArgumentIsPrime_DoesNotThrow.IsPrime_ArgumentIsPrime_DoesNotThrow(5)" ParentId="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPrime_ArgumentIsPrime_DoesNotThrow" type="NUnitRowTestElement" /><UnitTestElement Provider="nUnit" Id="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPrime_ArgumentIsPrime_DoesNotThrow.IsPrime_ArgumentIsPrime_DoesNotThrow(7)" ParentId="Seterlund.CodeGuard.UnitTests.IntegerValidatorTests.IsPrime_ArgumentIsPrime_DoesNotThrow" type="NUnitRowTestElement" /></Elements></Session>
\ No newline at end of file
+ <Session></Session>
+
+
+
+
\ No newline at end of file
diff --git a/CodeGuard/Internals/ArgBase.cs b/CodeGuard/Internals/ArgBase.cs
deleted file mode 100644
index 74ca80d..0000000
--- a/CodeGuard/Internals/ArgBase.cs
+++ /dev/null
@@ -1,64 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq.Expressions;
-using System.Reflection;
-
-namespace Seterlund.CodeGuard.Internals
-{
- public abstract class ArgBase : IArg
- {
- private readonly Func _argument;
- public IMessageHandler Message { get; protected set; }
-
- public abstract IEnumerable Errors { get; }
-
- public T Value { get; protected set; }
-
- public ArgName Name { get; private set; }
-
- #region Constructors
-
- protected ArgBase(Func argument)
- {
- _argument = argument;
-
- this.Value = GetValue(argument);
- this.Name = new ArgNameFunc(argument);
- }
-
- private static T GetValue(Func argument)
- {
- return argument();
- }
-
- protected ArgBase(T argument)
- {
- this.Value = argument;
- }
-
- protected ArgBase(T argument, string argumentName)
- {
- this.Value = argument;
- this.Name = new ArgName { Value = argumentName };
- }
-
- #endregion
-
- ///
- /// Is argument instance of type
- ///
- /// The type to check
- ///
- public IArg Is()
- {
- var isType = this.Value is TType;
- if (!isType)
- {
- this.Message.Set(string.Format("Value is not <{0}>", typeof(TType).Name));
- }
-
- return this;
- }
- }
-
-}
\ No newline at end of file
diff --git a/CodeGuard/Internals/ArgNameFunc.cs b/CodeGuard/Internals/ArgNameFunc.cs
deleted file mode 100644
index 79686bc..0000000
--- a/CodeGuard/Internals/ArgNameFunc.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-using System;
-
-namespace Seterlund.CodeGuard.Internals
-{
- public class ArgNameFunc : ArgName
- {
- private readonly Func _argument;
- private string _nameValue;
-
- public ArgNameFunc(Func argument)
- {
- _argument = argument;
- }
-
- public override string Value
- {
- get
- {
- if(_nameValue == null)
- {
- _nameValue = GetArgumentName();
- }
- return _nameValue;
- }
- set
- {
- _nameValue = value;
- }
- }
-
- private string GetArgumentName()
- {
- var memberInfoReader = new MemberInfoReader(_argument);
- var name = memberInfoReader.GetInfo().Name;
- return name.StartsWith("get_") ? name.Substring(4) : name;
- }
- }
-}
\ No newline at end of file
diff --git a/CodeGuard/Internals/MemberInfoReader.cs b/CodeGuard/Internals/MemberInfoReader.cs
deleted file mode 100644
index 999ceaf..0000000
--- a/CodeGuard/Internals/MemberInfoReader.cs
+++ /dev/null
@@ -1,223 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Data;
-using System.Diagnostics;
-using System.Reflection;
-using System.Reflection.Emit;
-
-namespace Seterlund.CodeGuard.Internals
-{
- internal class MemberInfoReader
- {
- private static OpCode[] singleByteOpCodes;
- private readonly Func _arg;
-
- internal MemberInfoReader(Func arg)
- {
- this._arg = arg;
- }
-
- public static OpCode[] SingleByteOpCodes
- {
- get
- {
- if (singleByteOpCodes == null)
- {
- LoadOpCodes();
- }
- return singleByteOpCodes;
- }
- }
-
- public MemberInfo GetInfo()
- {
- byte[] methodBodyIlByteArray = GetMethodBodyIlByteArray();
-
- var argumentInfo = GetArgumentInfo(methodBodyIlByteArray);
- if (argumentInfo != null)
- {
- return GetMemberInfo(argumentInfo);
- }
- throw new InvalidExpressionException("Unable to get information about member");
- }
-
- private MemberInfo GetMemberInfo(ArgumentInfo argumentInfo)
- {
- MemberInfo memberInfo = null;
-
- if (argumentInfo.Token > 0)
- {
- var argType = _arg.Target.GetType();
- var genericTypeArguments = GetSubclassGenericTypes(argType);
- var genericMethodArguments = _arg.Method.GetGenericArguments();
-
- switch (argumentInfo.OperandType)
- {
- case OperandType.InlineField:
- memberInfo = argType.Module.ResolveField(argumentInfo.Token, genericTypeArguments,
- genericMethodArguments);
- break;
- case OperandType.InlineMethod:
- memberInfo = argType.Module.ResolveMethod(argumentInfo.Token, genericTypeArguments,
- genericMethodArguments);
- break;
- }
- }
-
- return memberInfo;
- }
-
- private static OpCode GetOpCode(byte[] methodBodyIlByteArray, ref int currentPosition)
- {
- ushort value = methodBodyIlByteArray[currentPosition++];
- return value != 0xfe ? SingleByteOpCodes[value] : OpCodes.Nop;
- }
-
- private static ArgumentInfo GetArgumentInfo(byte[] methodBodyIlByteArray)
- {
- int position = 0;
-
- while (position < methodBodyIlByteArray.Length)
- {
- var code = GetOpCode(methodBodyIlByteArray, ref position);
-
-
- if (code.OperandType == OperandType.InlineField || code.OperandType == OperandType.InlineMethod)
- {
- return new ArgumentInfo
- {
- OperandType = code.OperandType,
- Token = ReadInt32(methodBodyIlByteArray, ref position)
- };
- }
-
- position = MoveToNextPosition(position, code);
- }
-
- return null;
- }
-
- private static int MoveToNextPosition(int position, OpCode code)
- {
- switch (code.OperandType)
- {
- case OperandType.InlineNone:
- break;
-
- case OperandType.InlineI8:
- case OperandType.InlineR:
- position += 8;
- break;
-
- case OperandType.InlineField:
- case OperandType.InlineBrTarget:
- case OperandType.InlineMethod:
- case OperandType.InlineSig:
- case OperandType.InlineTok:
- case OperandType.InlineType:
- case OperandType.InlineI:
- case OperandType.InlineString:
- case OperandType.InlineSwitch:
- case OperandType.ShortInlineR:
- position += 4;
- break;
-
- case OperandType.InlineVar:
- position += 2;
- break;
-
- case OperandType.ShortInlineBrTarget:
- case OperandType.ShortInlineI:
- case OperandType.ShortInlineVar:
- position++;
- break;
-
- default:
- throw new InvalidOperationException("Unknown operand type.");
- }
- return position;
- }
-
- private byte[] GetMethodBodyIlByteArray()
- {
- //AppDomain.CurrentDomain.ReflectionOnlyAssemblyResolve += new ResolveEventHandler(CurrentDomain_ReflectionOnlyAssemblyResolve);
-
- //foreach (var assembly in AppDomain.CurrentDomain.GetAssemblies())
- //{
- // Debug.WriteLine(assembly.FullName);
- // Console.WriteLine(assembly.FullName);
- // //Assembly.ReflectionOnlyLoad(assembly.FullName);
- //}
-
- var methodBody = _arg.Method.GetMethodBody();
-
- if (methodBody == null)
- {
- throw new InvalidOperationException("Unable to get method body for expression");
- }
-
- return methodBody.GetILAsByteArray();
- }
-
- Assembly CurrentDomain_ReflectionOnlyAssemblyResolve(object sender, ResolveEventArgs args)
- {
- Debug.WriteLine(args.Name);
- Console.WriteLine("load: {0}", args.Name);
- return Assembly.ReflectionOnlyLoad(args.Name);
- }
-
- private static int ReadInt32(byte[] il, ref int position)
- {
- return ((il[position++] | (il[position++] << 8)) | (il[position++] << 0x10)) | (il[position++] << 0x18);
- }
-
- private static Type[] GetSubclassGenericTypes(Type toCheck)
- {
- var genericArgumentsTypes = new List();
-
- while (toCheck != null)
- {
- if (toCheck.IsGenericType)
- {
- genericArgumentsTypes.AddRange(toCheck.GetGenericArguments());
- }
-
- toCheck = toCheck.BaseType;
- }
-
- return genericArgumentsTypes.ToArray();
- }
-
- private static void LoadOpCodes()
- {
- singleByteOpCodes = new OpCode[0x100];
-
- var opcodeFieldInfos = typeof (OpCodes).GetFields();
-
- foreach (var info1 in opcodeFieldInfos)
- {
- if (info1.FieldType == typeof (OpCode))
- {
- var singleByteOpCode = (OpCode) info1.GetValue(null);
-
- var singleByteOpcodeIndex = (ushort) singleByteOpCode.Value;
-
- if (singleByteOpcodeIndex < 0x100)
- {
- singleByteOpCodes[singleByteOpcodeIndex] = singleByteOpCode;
- }
- }
- }
- }
-
- #region Nested type: ArgumentInfo
-
- private class ArgumentInfo
- {
- public OperandType OperandType;
- public int Token;
- }
-
- #endregion
- }
-}
\ No newline at end of file
diff --git a/CodeGuard/Properties/AssemblyInfo.cs b/CodeGuard/Properties/AssemblyInfo.cs
index 4d2a4fb..f2eb08f 100644
--- a/CodeGuard/Properties/AssemblyInfo.cs
+++ b/CodeGuard/Properties/AssemblyInfo.cs
@@ -2,17 +2,6 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("CodeGuard")]
-[assembly: AssemblyDescription("Guard and Validator library.\nExample: Guard.That(arg1).IsNotNull().GreaterThan(100);\nThrows an exception if conditions are not met.\nSupports the ability to get a list of the failed conditions.")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Per Ivar Seterlund")]
-[assembly: AssemblyProduct("CodeGuard")]
-[assembly: AssemblyCopyright("Copyright Per Ivar Seterlund © 2014")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
@@ -21,16 +10,3 @@
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("fff91309-52b0-4bd4-8099-56d798b14116")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("2.3.4.*")]
-[assembly: AssemblyFileVersion("2.3.4.*")]
diff --git a/CodeGuard/Seterlund.CodeGuard.csproj b/CodeGuard/Seterlund.CodeGuard.csproj
index 2fcf140..46ffabf 100644
--- a/CodeGuard/Seterlund.CodeGuard.csproj
+++ b/CodeGuard/Seterlund.CodeGuard.csproj
@@ -10,9 +10,10 @@
Properties
Seterlund.CodeGuard
Seterlund.CodeGuard
- v4.0
+ v3.5
512
- Client
+
+
true
@@ -42,39 +43,9 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/CodeGuard/ArrayValidatorExtensions.cs b/Seterlund.CodeGuard.Shared/ArrayValidatorExtensions.cs
similarity index 100%
rename from CodeGuard/ArrayValidatorExtensions.cs
rename to Seterlund.CodeGuard.Shared/ArrayValidatorExtensions.cs
diff --git a/CodeGuard/BooleanValidatorExtensions.cs b/Seterlund.CodeGuard.Shared/BooleanValidatorExtensions.cs
similarity index 100%
rename from CodeGuard/BooleanValidatorExtensions.cs
rename to Seterlund.CodeGuard.Shared/BooleanValidatorExtensions.cs
diff --git a/CodeGuard/ClassValidatorExtensions.cs b/Seterlund.CodeGuard.Shared/ClassValidatorExtensions.cs
similarity index 100%
rename from CodeGuard/ClassValidatorExtensions.cs
rename to Seterlund.CodeGuard.Shared/ClassValidatorExtensions.cs
diff --git a/CodeGuard/CollectionValidatorExtensions.cs b/Seterlund.CodeGuard.Shared/CollectionValidatorExtensions.cs
similarity index 100%
rename from CodeGuard/CollectionValidatorExtensions.cs
rename to Seterlund.CodeGuard.Shared/CollectionValidatorExtensions.cs
diff --git a/CodeGuard/ComparableValidatorExtensions.cs b/Seterlund.CodeGuard.Shared/ComparableValidatorExtensions.cs
similarity index 100%
rename from CodeGuard/ComparableValidatorExtensions.cs
rename to Seterlund.CodeGuard.Shared/ComparableValidatorExtensions.cs
diff --git a/CodeGuard/EnumValidatorExtensions.cs b/Seterlund.CodeGuard.Shared/EnumValidatorExtensions.cs
similarity index 100%
rename from CodeGuard/EnumValidatorExtensions.cs
rename to Seterlund.CodeGuard.Shared/EnumValidatorExtensions.cs
diff --git a/CodeGuard/EnumerableValidatorExtensions.cs b/Seterlund.CodeGuard.Shared/EnumerableValidatorExtensions.cs
similarity index 100%
rename from CodeGuard/EnumerableValidatorExtensions.cs
rename to Seterlund.CodeGuard.Shared/EnumerableValidatorExtensions.cs
diff --git a/CodeGuard/ErrorInfo.cs b/Seterlund.CodeGuard.Shared/ErrorInfo.cs
similarity index 100%
rename from CodeGuard/ErrorInfo.cs
rename to Seterlund.CodeGuard.Shared/ErrorInfo.cs
diff --git a/CodeGuard/Guard.cs b/Seterlund.CodeGuard.Shared/Guard.cs
similarity index 100%
rename from CodeGuard/Guard.cs
rename to Seterlund.CodeGuard.Shared/Guard.cs
diff --git a/CodeGuard/GuidValidatorExtensions.cs b/Seterlund.CodeGuard.Shared/GuidValidatorExtensions.cs
similarity index 100%
rename from CodeGuard/GuidValidatorExtensions.cs
rename to Seterlund.CodeGuard.Shared/GuidValidatorExtensions.cs
diff --git a/CodeGuard/IArg.cs b/Seterlund.CodeGuard.Shared/IArg.cs
similarity index 100%
rename from CodeGuard/IArg.cs
rename to Seterlund.CodeGuard.Shared/IArg.cs
diff --git a/CodeGuard/IntegerValidatorExtensions.cs b/Seterlund.CodeGuard.Shared/IntegerValidatorExtensions.cs
similarity index 100%
rename from CodeGuard/IntegerValidatorExtensions.cs
rename to Seterlund.CodeGuard.Shared/IntegerValidatorExtensions.cs
diff --git a/CodeGuard/Internals/AccumulateErrorsArg.cs b/Seterlund.CodeGuard.Shared/Internals/AccumulateErrorsArg.cs
similarity index 100%
rename from CodeGuard/Internals/AccumulateErrorsArg.cs
rename to Seterlund.CodeGuard.Shared/Internals/AccumulateErrorsArg.cs
diff --git a/CodeGuard/Internals/ArgBaseExpression.cs b/Seterlund.CodeGuard.Shared/Internals/ArgBaseExpression.cs
similarity index 70%
rename from CodeGuard/Internals/ArgBaseExpression.cs
rename to Seterlund.CodeGuard.Shared/Internals/ArgBaseExpression.cs
index b053bf1..eda7e60 100644
--- a/CodeGuard/Internals/ArgBaseExpression.cs
+++ b/Seterlund.CodeGuard.Shared/Internals/ArgBaseExpression.cs
@@ -13,56 +13,37 @@ public abstract class ArgBaseExpression : IArg
public abstract IEnumerable Errors { get; }
public T Value { get; protected set; }
-
+
public ArgName Name { get; private set; }
- #region Constructors
-
protected ArgBaseExpression(Expression> argument)
{
this.Value = GetValue(argument);
this.Name = new ArgNameExpression(argument);
}
-
- private static T GetValue2(Expression> argument)
- {
- var memberExpression = (MemberExpression) argument.Body;
- var constantExpression = (ConstantExpression) memberExpression.Expression;
- object value;
- if (memberExpression.Member.MemberType == MemberTypes.Property)
- {
- value = ((PropertyInfo) memberExpression.Member).GetValue(constantExpression.Value, null);
- }
- else
- {
- value = ((FieldInfo) memberExpression.Member).GetValue(constantExpression.Value);
- }
- return (T) value;
- }
-
-
+
private static T GetValue(Expression> argument)
{
- var memberExpression = (MemberExpression) argument.Body;
+ var memberExpression = (MemberExpression)argument.Body;
object value;
if (memberExpression.Expression.NodeType == ExpressionType.Constant)
{
var constantExpression = (ConstantExpression)memberExpression.Expression;
- if (memberExpression.Member.MemberType == MemberTypes.Property)
+
+ if (memberExpression.Member is PropertyInfo)
{
value = ((PropertyInfo)memberExpression.Member).GetValue(constantExpression.Value, null);
}
else
{
value = ((FieldInfo)memberExpression.Member).GetValue(constantExpression.Value);
- }
+ }
}
else
{
value = argument.Compile().DynamicInvoke();
}
return (T)value;
-
}
protected ArgBaseExpression(T argument)
@@ -75,9 +56,7 @@ protected ArgBaseExpression(T argument, string argumentName)
this.Value = argument;
this.Name = new ArgName { Value = argumentName };
}
-
- #endregion
-
+
///
/// Is argument instance of type
///
diff --git a/CodeGuard/Internals/ArgName.cs b/Seterlund.CodeGuard.Shared/Internals/ArgName.cs
similarity index 100%
rename from CodeGuard/Internals/ArgName.cs
rename to Seterlund.CodeGuard.Shared/Internals/ArgName.cs
diff --git a/CodeGuard/Internals/ArgNameExpression.cs b/Seterlund.CodeGuard.Shared/Internals/ArgNameExpression.cs
similarity index 100%
rename from CodeGuard/Internals/ArgNameExpression.cs
rename to Seterlund.CodeGuard.Shared/Internals/ArgNameExpression.cs
diff --git a/CodeGuard/Internals/EnumExtensions.cs b/Seterlund.CodeGuard.Shared/Internals/EnumExtensions.cs
similarity index 100%
rename from CodeGuard/Internals/EnumExtensions.cs
rename to Seterlund.CodeGuard.Shared/Internals/EnumExtensions.cs
diff --git a/CodeGuard/Internals/ErrorHandlerBase.cs b/Seterlund.CodeGuard.Shared/Internals/ErrorHandlerBase.cs
similarity index 100%
rename from CodeGuard/Internals/ErrorHandlerBase.cs
rename to Seterlund.CodeGuard.Shared/Internals/ErrorHandlerBase.cs
diff --git a/CodeGuard/Internals/IMessageHandler.cs b/Seterlund.CodeGuard.Shared/Internals/IMessageHandler.cs
similarity index 100%
rename from CodeGuard/Internals/IMessageHandler.cs
rename to Seterlund.CodeGuard.Shared/Internals/IMessageHandler.cs
diff --git a/CodeGuard/Internals/MathUtil.cs b/Seterlund.CodeGuard.Shared/Internals/MathUtil.cs
similarity index 100%
rename from CodeGuard/Internals/MathUtil.cs
rename to Seterlund.CodeGuard.Shared/Internals/MathUtil.cs
diff --git a/CodeGuard/Internals/SaveMessageHandler.cs b/Seterlund.CodeGuard.Shared/Internals/SaveMessageHandler.cs
similarity index 100%
rename from CodeGuard/Internals/SaveMessageHandler.cs
rename to Seterlund.CodeGuard.Shared/Internals/SaveMessageHandler.cs
diff --git a/CodeGuard/Internals/StringExtensions.cs b/Seterlund.CodeGuard.Shared/Internals/StringExtensions.cs
similarity index 100%
rename from CodeGuard/Internals/StringExtensions.cs
rename to Seterlund.CodeGuard.Shared/Internals/StringExtensions.cs
diff --git a/CodeGuard/Internals/ThrowMessageHandler.cs b/Seterlund.CodeGuard.Shared/Internals/ThrowMessageHandler.cs
similarity index 100%
rename from CodeGuard/Internals/ThrowMessageHandler.cs
rename to Seterlund.CodeGuard.Shared/Internals/ThrowMessageHandler.cs
diff --git a/CodeGuard/Internals/ThrowOnFirstErrorArg.cs b/Seterlund.CodeGuard.Shared/Internals/ThrowOnFirstErrorArg.cs
similarity index 100%
rename from CodeGuard/Internals/ThrowOnFirstErrorArg.cs
rename to Seterlund.CodeGuard.Shared/Internals/ThrowOnFirstErrorArg.cs
diff --git a/CodeGuard/NullableValidatorExtensions.cs b/Seterlund.CodeGuard.Shared/NullableValidatorExtensions.cs
similarity index 100%
rename from CodeGuard/NullableValidatorExtensions.cs
rename to Seterlund.CodeGuard.Shared/NullableValidatorExtensions.cs
diff --git a/CodeGuard/ObjectValidatorExtensions.cs b/Seterlund.CodeGuard.Shared/ObjectValidatorExtensions.cs
similarity index 100%
rename from CodeGuard/ObjectValidatorExtensions.cs
rename to Seterlund.CodeGuard.Shared/ObjectValidatorExtensions.cs
diff --git a/Seterlund.CodeGuard.Shared/Properties/GlobalAssemblyInfo.cs b/Seterlund.CodeGuard.Shared/Properties/GlobalAssemblyInfo.cs
new file mode 100644
index 0000000..8f9da3d
--- /dev/null
+++ b/Seterlund.CodeGuard.Shared/Properties/GlobalAssemblyInfo.cs
@@ -0,0 +1,27 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("CodeGuard")]
+[assembly: AssemblyDescription("Guard and Validator library.\nExample: Guard.That(arg1).IsNotNull().GreaterThan(100);\nThrows an exception if conditions are not met.\nSupports the ability to get a list of the failed conditions.")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Per Ivar Seterlund")]
+[assembly: AssemblyProduct("CodeGuard")]
+[assembly: AssemblyCopyright("Copyright Per Ivar Seterlund © 2014")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("2.3.4.*")]
\ No newline at end of file
diff --git a/Seterlund.CodeGuard.Shared/Seterlund.CodeGuard.Shared.projitems b/Seterlund.CodeGuard.Shared/Seterlund.CodeGuard.Shared.projitems
new file mode 100644
index 0000000..d157e9f
--- /dev/null
+++ b/Seterlund.CodeGuard.Shared/Seterlund.CodeGuard.Shared.projitems
@@ -0,0 +1,42 @@
+
+
+
+ $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
+ true
+ d51add7b-4b7d-4898-803f-67a8a9cd373c
+
+
+ Seterlund.CodeGuard.Shared
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Seterlund.CodeGuard.Shared/Seterlund.CodeGuard.Shared.shproj b/Seterlund.CodeGuard.Shared/Seterlund.CodeGuard.Shared.shproj
new file mode 100644
index 0000000..cda777a
--- /dev/null
+++ b/Seterlund.CodeGuard.Shared/Seterlund.CodeGuard.Shared.shproj
@@ -0,0 +1,12 @@
+
+
+
+ d51add7b-4b7d-4898-803f-67a8a9cd373c
+
+
+
+
+
+
+
+
diff --git a/CodeGuard/StringValidatorExtensions.cs b/Seterlund.CodeGuard.Shared/StringValidatorExtensions.cs
similarity index 100%
rename from CodeGuard/StringValidatorExtensions.cs
rename to Seterlund.CodeGuard.Shared/StringValidatorExtensions.cs
diff --git a/CodeGuard/Validate.cs b/Seterlund.CodeGuard.Shared/Validate.cs
similarity index 100%
rename from CodeGuard/Validate.cs
rename to Seterlund.CodeGuard.Shared/Validate.cs
diff --git a/Seterlund.CodeGuard.UnitTests.Portable/.gitignore b/Seterlund.CodeGuard.UnitTests.Portable/.gitignore
new file mode 100644
index 0000000..73eb14b
--- /dev/null
+++ b/Seterlund.CodeGuard.UnitTests.Portable/.gitignore
@@ -0,0 +1,3 @@
+/bin/
+/obj/
+/*.csproj.user
diff --git a/Seterlund.CodeGuard.UnitTests.Portable/Properties/AssemblyInfo.cs b/Seterlund.CodeGuard.UnitTests.Portable/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..709d556
--- /dev/null
+++ b/Seterlund.CodeGuard.UnitTests.Portable/Properties/AssemblyInfo.cs
@@ -0,0 +1,35 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("UnitTests")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("UnitTests")]
+[assembly: AssemblyCopyright("Copyright © 2011")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("444775cc-f665-47a8-8779-b0ccb3aae338")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/Seterlund.CodeGuard.UnitTests.Portable/Seterlund.CodeGuard.UnitTests.Portable.csproj b/Seterlund.CodeGuard.UnitTests.Portable/Seterlund.CodeGuard.UnitTests.Portable.csproj
new file mode 100644
index 0000000..4f63084
--- /dev/null
+++ b/Seterlund.CodeGuard.UnitTests.Portable/Seterlund.CodeGuard.UnitTests.Portable.csproj
@@ -0,0 +1,89 @@
+
+
+
+ Debug
+ AnyCPU
+
+
+ 2.0
+ {D324F1DF-C516-435E-9673-AB1F5E3B8171}
+ Library
+ Properties
+ Seterlund.CodeGuard.UnitTests.Portable
+ Seterlund.CodeGuard.UnitTests.Portable
+ v4.5
+ 512
+ {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+
+
+
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+ false
+
+
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+ false
+
+
+
+ ..\packages\NUnitTestAdapter.1.2\lib\nunit.core.dll
+ False
+
+
+ ..\packages\NUnitTestAdapter.1.2\lib\nunit.core.interfaces.dll
+ False
+
+
+ ..\packages\NUnit.2.6.4\lib\nunit.framework.dll
+
+
+ ..\packages\NUnitTestAdapter.1.2\lib\nunit.util.dll
+ False
+
+
+ ..\packages\NUnitTestAdapter.1.2\lib\NUnit.VisualStudio.TestAdapter.dll
+ False
+
+
+
+ 3.5
+
+
+
+
+ False
+
+
+
+
+
+
+
+
+
+
+ {e274fc37-9edf-43ae-a657-f817c5e0182c}
+ Seterlund.CodeGuard.Portable
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Seterlund.CodeGuard.UnitTests.Portable/packages.config b/Seterlund.CodeGuard.UnitTests.Portable/packages.config
new file mode 100644
index 0000000..6929b63
--- /dev/null
+++ b/Seterlund.CodeGuard.UnitTests.Portable/packages.config
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/UnitTests/ArrayValidatorTests.cs b/Seterlund.CodeGuard.UnitTests.Shared/ArrayValidatorTests.cs
similarity index 100%
rename from UnitTests/ArrayValidatorTests.cs
rename to Seterlund.CodeGuard.UnitTests.Shared/ArrayValidatorTests.cs
diff --git a/UnitTests/BaseTests.cs b/Seterlund.CodeGuard.UnitTests.Shared/BaseTests.cs
similarity index 100%
rename from UnitTests/BaseTests.cs
rename to Seterlund.CodeGuard.UnitTests.Shared/BaseTests.cs
diff --git a/UnitTests/BooleanValidatorTests.cs b/Seterlund.CodeGuard.UnitTests.Shared/BooleanValidatorTests.cs
similarity index 100%
rename from UnitTests/BooleanValidatorTests.cs
rename to Seterlund.CodeGuard.UnitTests.Shared/BooleanValidatorTests.cs
diff --git a/UnitTests/ClassValidatorTests.cs b/Seterlund.CodeGuard.UnitTests.Shared/ClassValidatorTests.cs
similarity index 100%
rename from UnitTests/ClassValidatorTests.cs
rename to Seterlund.CodeGuard.UnitTests.Shared/ClassValidatorTests.cs
diff --git a/UnitTests/ComparableValidatorTests.cs b/Seterlund.CodeGuard.UnitTests.Shared/ComparableValidatorTests.cs
similarity index 100%
rename from UnitTests/ComparableValidatorTests.cs
rename to Seterlund.CodeGuard.UnitTests.Shared/ComparableValidatorTests.cs
diff --git a/UnitTests/ComplexExpressionTests.cs b/Seterlund.CodeGuard.UnitTests.Shared/ComplexExpressionTests.cs
similarity index 100%
rename from UnitTests/ComplexExpressionTests.cs
rename to Seterlund.CodeGuard.UnitTests.Shared/ComplexExpressionTests.cs
diff --git a/UnitTests/EnumValidatorTests.cs b/Seterlund.CodeGuard.UnitTests.Shared/EnumValidatorTests.cs
similarity index 100%
rename from UnitTests/EnumValidatorTests.cs
rename to Seterlund.CodeGuard.UnitTests.Shared/EnumValidatorTests.cs
diff --git a/UnitTests/EnumerableValidatorTests.cs b/Seterlund.CodeGuard.UnitTests.Shared/EnumerableValidatorTests.cs
similarity index 100%
rename from UnitTests/EnumerableValidatorTests.cs
rename to Seterlund.CodeGuard.UnitTests.Shared/EnumerableValidatorTests.cs
diff --git a/UnitTests/GuardTests.cs b/Seterlund.CodeGuard.UnitTests.Shared/GuardTests.cs
similarity index 100%
rename from UnitTests/GuardTests.cs
rename to Seterlund.CodeGuard.UnitTests.Shared/GuardTests.cs
diff --git a/UnitTests/GuidValidatorTests.cs b/Seterlund.CodeGuard.UnitTests.Shared/GuidValidatorTests.cs
similarity index 100%
rename from UnitTests/GuidValidatorTests.cs
rename to Seterlund.CodeGuard.UnitTests.Shared/GuidValidatorTests.cs
diff --git a/UnitTests/IntegerValidatorTests.cs b/Seterlund.CodeGuard.UnitTests.Shared/IntegerValidatorTests.cs
similarity index 98%
rename from UnitTests/IntegerValidatorTests.cs
rename to Seterlund.CodeGuard.UnitTests.Shared/IntegerValidatorTests.cs
index 021cef3..2f292eb 100644
--- a/UnitTests/IntegerValidatorTests.cs
+++ b/Seterlund.CodeGuard.UnitTests.Shared/IntegerValidatorTests.cs
@@ -64,10 +64,10 @@ public void IsOdd_ArgumentIsOdd_DoesNotThrow()
public void IsOdd_ArgumentIsEven_Throws()
{
// Arrange
- int arg = 2;
+ int hallo = 2;
// Act/Assert
- Assert.Throws(() => Guard.That(() => arg).IsOdd());
+ Assert.Throws(() => Guard.That(() => hallo).IsOdd());
}
[Test]
diff --git a/UnitTests/NullableValidatorTests.cs b/Seterlund.CodeGuard.UnitTests.Shared/NullableValidatorTests.cs
similarity index 100%
rename from UnitTests/NullableValidatorTests.cs
rename to Seterlund.CodeGuard.UnitTests.Shared/NullableValidatorTests.cs
diff --git a/UnitTests/ObjectValidatorTests.cs b/Seterlund.CodeGuard.UnitTests.Shared/ObjectValidatorTests.cs
similarity index 100%
rename from UnitTests/ObjectValidatorTests.cs
rename to Seterlund.CodeGuard.UnitTests.Shared/ObjectValidatorTests.cs
diff --git a/UnitTests/ReflectionTests.cs b/Seterlund.CodeGuard.UnitTests.Shared/ReflectionTests.cs
similarity index 100%
rename from UnitTests/ReflectionTests.cs
rename to Seterlund.CodeGuard.UnitTests.Shared/ReflectionTests.cs
diff --git a/Seterlund.CodeGuard.UnitTests.Shared/Seterlund.CodeGuard.UnitTests.Shared.projitems b/Seterlund.CodeGuard.UnitTests.Shared/Seterlund.CodeGuard.UnitTests.Shared.projitems
new file mode 100644
index 0000000..aba2487
--- /dev/null
+++ b/Seterlund.CodeGuard.UnitTests.Shared/Seterlund.CodeGuard.UnitTests.Shared.projitems
@@ -0,0 +1,30 @@
+
+
+
+ $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
+ true
+ a27e6e1c-0266-4761-b459-c1ff94df5abb
+
+
+ Seterlund.CodeGuard.UnitTests.Shared
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Seterlund.CodeGuard.UnitTests.Shared/Seterlund.CodeGuard.UnitTests.Shared.shproj b/Seterlund.CodeGuard.UnitTests.Shared/Seterlund.CodeGuard.UnitTests.Shared.shproj
new file mode 100644
index 0000000..848cf2f
--- /dev/null
+++ b/Seterlund.CodeGuard.UnitTests.Shared/Seterlund.CodeGuard.UnitTests.Shared.shproj
@@ -0,0 +1,12 @@
+
+
+
+ a27e6e1c-0266-4761-b459-c1ff94df5abb
+
+
+
+
+
+
+
+
diff --git a/UnitTests/SpeedTests.cs b/Seterlund.CodeGuard.UnitTests.Shared/SpeedTests.cs
similarity index 90%
rename from UnitTests/SpeedTests.cs
rename to Seterlund.CodeGuard.UnitTests.Shared/SpeedTests.cs
index 0e7c766..26a0673 100644
--- a/UnitTests/SpeedTests.cs
+++ b/Seterlund.CodeGuard.UnitTests.Shared/SpeedTests.cs
@@ -16,9 +16,9 @@ public void TestLambdaExpressionSpeed()
watch.Start();
var start = DateTime.Now;
- for (int i = 0; i < 10000; i++)
+ for (int i = 0; i < 20000; i+=2)
{
- //arg = i;
+ arg = i;
Guard.That(() => arg).IsEven();
}
var end = DateTime.Now;
@@ -40,8 +40,9 @@ public void TestVariableSpeed()
watch.Start();
var start = DateTime.Now;
- for (int i = 0; i < 10000; i++)
+ for (int i = 0; i < 20000; i+=2)
{
+ arg = 0;
Guard.That(arg).IsEven();
}
var end = DateTime.Now;
diff --git a/UnitTests/StringValidatorTests.cs b/Seterlund.CodeGuard.UnitTests.Shared/StringValidatorTests.cs
similarity index 100%
rename from UnitTests/StringValidatorTests.cs
rename to Seterlund.CodeGuard.UnitTests.Shared/StringValidatorTests.cs
diff --git a/UnitTests/ValidateTests.cs b/Seterlund.CodeGuard.UnitTests.Shared/ValidateTests.cs
similarity index 100%
rename from UnitTests/ValidateTests.cs
rename to Seterlund.CodeGuard.UnitTests.Shared/ValidateTests.cs
diff --git a/UnitTests/Seterlund.CodeGuard.UnitTests.csproj b/UnitTests/Seterlund.CodeGuard.UnitTests.csproj
index 4eaeb05..62d21d5 100644
--- a/UnitTests/Seterlund.CodeGuard.UnitTests.csproj
+++ b/UnitTests/Seterlund.CodeGuard.UnitTests.csproj
@@ -33,8 +33,24 @@
4
-
- False
+
+ ..\packages\NUnitTestAdapter.1.2\lib\nunit.core.dll
+ False
+
+
+ ..\packages\NUnitTestAdapter.1.2\lib\nunit.core.interfaces.dll
+ False
+
+
+ ..\packages\NUnit.2.6.4\lib\nunit.framework.dll
+
+
+ ..\packages\NUnitTestAdapter.1.2\lib\nunit.util.dll
+ False
+
+
+ ..\packages\NUnitTestAdapter.1.2\lib\NUnit.VisualStudio.TestAdapter.dll
+ False
@@ -47,23 +63,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -72,6 +71,10 @@
Seterlund.CodeGuard
+
+
+
+