Browse Source

Use this one weird trick to make tests work.

Steven Kirk 10 years ago
parent
commit
307433d531
1 changed files with 4 additions and 0 deletions
  1. 4 0
      tests/Perspex.Base.UnitTests/PerspexObjectTests_Direct.cs

+ 4 - 0
tests/Perspex.Base.UnitTests/PerspexObjectTests_Direct.cs

@@ -302,6 +302,10 @@ namespace Perspex.Base.UnitTests
 
             private string _foo = "initial2";
 
+            static Class2()
+            {
+            }
+
             public string Foo
             {
                 get { return _foo; }