Browse Source

Added missing FieldOffset attribute

Alastair 10 years ago
parent
commit
a5065342c8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Jint/Native/JsValue.cs

+ 1 - 0
Jint/Native/JsValue.cs

@@ -89,6 +89,7 @@ namespace Jint.Native
         [FieldOffset(0)]
         private readonly string _string;
 
+        [FieldOffset(8)]
         private readonly Types _type;
 
         [Pure]