summaryrefslogtreecommitdiff
path: root/src/bindings/mono/eo_mono/EoWrapper.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindings/mono/eo_mono/EoWrapper.cs')
-rw-r--r--src/bindings/mono/eo_mono/EoWrapper.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/bindings/mono/eo_mono/EoWrapper.cs b/src/bindings/mono/eo_mono/EoWrapper.cs
index 03edea0..c2ee5e2 100644
--- a/src/bindings/mono/eo_mono/EoWrapper.cs
+++ b/src/bindings/mono/eo_mono/EoWrapper.cs
@@ -67,15 +67,14 @@ public abstract class EoWrapper : IWrapper, IDisposable
67 /// Internal usage: Constructor to actually call the native library constructors. C# subclasses 67 /// Internal usage: Constructor to actually call the native library constructors. C# subclasses
68 /// must use the public constructor only.</summary> 68 /// must use the public constructor only.</summary>
69 /// <param name="baseKlass">The pointer to the base native Eo class.</param> 69 /// <param name="baseKlass">The pointer to the base native Eo class.</param>
70 /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
71 /// <param name="parent">The Efl.Object parent of this instance.</param> 70 /// <param name="parent">The Efl.Object parent of this instance.</param>
72 /// <param name="file">Name of the file from where the constructor is called.</param> 71 /// <param name="file">Name of the file from where the constructor is called.</param>
73 /// <param name="line">Number of the line from where the constructor is called.</param> 72 /// <param name="line">Number of the line from where the constructor is called.</param>
74 protected EoWrapper(IntPtr baseKlass, System.Type managedType, Efl.Object parent, 73 protected EoWrapper(IntPtr baseKlass, Efl.Object parent,
75 [CallerFilePath] string file = null, 74 [CallerFilePath] string file = null,
76 [CallerLineNumber] int line = 0) 75 [CallerLineNumber] int line = 0)
77 { 76 {
78 generated = ((object)this).GetType() == managedType; 77 generated = Efl.Eo.BindingEntity.IsBindingEntity(((object)this).GetType());
79 IntPtr actual_klass = baseKlass; 78 IntPtr actual_klass = baseKlass;
80 if (!generated) 79 if (!generated)
81 { 80 {