From 087b33e858160266ee60693a53606a630d3b76dc Mon Sep 17 00:00:00 2001 From: Lauro Moura Date: Tue, 19 Jun 2018 13:28:57 -0400 Subject: [PATCH] efl_mono: Fix call to System.Threading.Thread. Summary: It was resolving to efl.Thread instead. Reviewers: devilhorns, felipealmeida, zmike Reviewed By: zmike Subscribers: cedric, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6261 --- src/bindings/mono/efl_mono/efl_all.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bindings/mono/efl_mono/efl_all.cs b/src/bindings/mono/efl_mono/efl_all.cs index 440f44b..0d5821b 100644 --- a/src/bindings/mono/efl_mono/efl_all.cs +++ b/src/bindings/mono/efl_mono/efl_all.cs @@ -65,7 +65,7 @@ public static class Config { // TODO Support elm command line arguments #if WIN32 // Not a native define, we define it in our build system // Ecore_Win32 uses OleInitialize, which requires single thread apartments - if (Thread.CurrentThread.GetApartmentState() != ApartmentState.STA) + if (System.Threading.Thread.CurrentThread.GetApartmentState() != ApartmentState.STA) throw new InvalidOperationException("UI Applications require STAThreadAttribute in Main()"); #endif elm_init(0, IntPtr.Zero); -- 2.7.4