diff --git a/Src/Newtonsoft.Json.Tests/Utilities/DynamicReflectionDelegateFactoryTests.cs b/Src/Newtonsoft.Json.Tests/Utilities/DynamicReflectionDelegateFactoryTests.cs index da447eb8..a9684e29 100644 --- a/Src/Newtonsoft.Json.Tests/Utilities/DynamicReflectionDelegateFactoryTests.cs +++ b/Src/Newtonsoft.Json.Tests/Utilities/DynamicReflectionDelegateFactoryTests.cs @@ -206,17 +206,6 @@ namespace Newtonsoft.Json.Tests.Utilities Assert.AreEqual(0, myStruct2.IntProperty); } } - - public struct MyStruct - { - private int _intProperty; - - public int IntProperty - { - get { return _intProperty; } - set { _intProperty = value; } - } - } } #endif \ No newline at end of file diff --git a/Src/Newtonsoft.Json.Tests/Utilities/LateboundReflectionDelegateFactoryTests.cs b/Src/Newtonsoft.Json.Tests/Utilities/LateboundReflectionDelegateFactoryTests.cs index e71a4c91..7d029ed1 100644 --- a/Src/Newtonsoft.Json.Tests/Utilities/LateboundReflectionDelegateFactoryTests.cs +++ b/Src/Newtonsoft.Json.Tests/Utilities/LateboundReflectionDelegateFactoryTests.cs @@ -91,4 +91,15 @@ namespace Newtonsoft.Json.Tests.Utilities Assert.AreEqual(false, o.B2); } } + + public struct MyStruct + { + private int _intProperty; + + public int IntProperty + { + get { return _intProperty; } + set { _intProperty = value; } + } + } } \ No newline at end of file