summaryrefslogtreecommitdiff
path: root/src/bindings/mono/efl_mono/efl_all.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindings/mono/efl_mono/efl_all.cs')
-rw-r--r--src/bindings/mono/efl_mono/efl_all.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bindings/mono/efl_mono/efl_all.cs b/src/bindings/mono/efl_mono/efl_all.cs
index 440f44b773..0d5821b0e9 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);