Merge pull request #4222 from alexanderkyte/fix_mismatch_com_disabled
[mono.git] / mcs / class / corlib / System / MonoCQItem.cs
index 345a567ca7aeec20eff5e6e5049703dc6c82317f..e1eaf01be67f4af2e701d272c49c69d5bf457b44 100644 (file)
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
+using System.Runtime.InteropServices;
+
 
 namespace System {
 #pragma warning disable 169
+       [StructLayout (LayoutKind.Sequential)]
        internal sealed class MonoCQItem {
                object [] array;
                byte [] array_state;
@@ -35,6 +38,6 @@ namespace System {
                int tail;
 
        }
-#pragma warning disable 169
+#pragma warning restore 169
 }