diff --git a/src/bindings/mono/eina_mono/eina_accessor.cs b/src/bindings/mono/eina_mono/eina_accessor.cs
index 64b4216a15..7c968a30ee 100644
--- a/src/bindings/mono/eina_mono/eina_accessor.cs
+++ b/src/bindings/mono/eina_mono/eina_accessor.cs
@@ -18,6 +18,7 @@ using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.ComponentModel;
+using System.Diagnostics.CodeAnalysis;
using static Eina.TraitFunctions;
@@ -38,6 +39,8 @@ internal class AccessorNativeFunctions
/// similar to C++ STL's and C# IEnumerable.
/// Since EFL 1.23.
///
+[SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix",
+ Justification="This is a generalized container mapping the native one.")]
public class Accessor : IEnumerable, IDisposable
{
/// Pointer to the native accessor.
@@ -177,6 +180,8 @@ public class Accessor : IEnumerable, IDisposable
/// Accessor for Inlists.
/// Since EFL 1.23.
///
+[SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix",
+ Justification="This is a generalized container mapping the native one.")]
public class AccessorInList : Accessor
{
/// Create a new accessor wrapping the given pointer.
@@ -202,6 +207,8 @@ public class AccessorInList : Accessor
/// Accessor for Inarrays.
/// Since EFL 1.23.
///
+[SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix",
+ Justification="This is a generalized container mapping the native one.")]
public class AccessorInArray : Accessor
{
/// Create a new accessor wrapping the given pointer.
diff --git a/src/bindings/mono/eina_mono/eina_array.cs b/src/bindings/mono/eina_mono/eina_array.cs
index ce26acdd9a..1573a88aa0 100644
--- a/src/bindings/mono/eina_mono/eina_array.cs
+++ b/src/bindings/mono/eina_mono/eina_array.cs
@@ -19,6 +19,7 @@ using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using System.ComponentModel;
+using System.Diagnostics.CodeAnalysis;
using static Eina.TraitFunctions;
using static Eina.ArrayNativeFunctions;
@@ -65,6 +66,8 @@ public static class ArrayNativeFunctions
/// A container of contiguous allocated elements.
/// Since EFL 1.23.
///
+[SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix",
+ Justification="This is a generalized container mapping the native one.")]
public class Array : IEnumerable, IDisposable
{
public const uint DefaultStep = 32;
diff --git a/src/bindings/mono/eina_mono/eina_hash.cs b/src/bindings/mono/eina_mono/eina_hash.cs
index 5b6f4735c1..2e1d184ab8 100644
--- a/src/bindings/mono/eina_mono/eina_hash.cs
+++ b/src/bindings/mono/eina_mono/eina_hash.cs
@@ -19,6 +19,7 @@ using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using System.ComponentModel;
+using System.Diagnostics.CodeAnalysis;
using static Eina.TraitFunctions;
using static Eina.IteratorNativeFunctions;
@@ -198,6 +199,8 @@ public static class HashNativeFunctions
///
/// Since EFL 1.23.
///
+[SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix",
+ Justification = "This is a generalized container mapping the native one.")]
public class Hash : IEnumerable>, IDisposable
{
[EditorBrowsable(EditorBrowsableState.Never)]
diff --git a/src/bindings/mono/eina_mono/eina_inarray.cs b/src/bindings/mono/eina_mono/eina_inarray.cs
index 0373b43fc1..f341a54c3c 100644
--- a/src/bindings/mono/eina_mono/eina_inarray.cs
+++ b/src/bindings/mono/eina_mono/eina_inarray.cs
@@ -19,6 +19,7 @@ using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using System.ComponentModel;
+using System.Diagnostics.CodeAnalysis;
using static Eina.TraitFunctions;
using static Eina.InarrayNativeFunctions;
@@ -87,6 +88,8 @@ public static class InarrayNativeFunctions
/// Wrapper around an inplace array.
/// Since EFL 1.23.
///
+[SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix",
+ Justification="This is a generalized container mapping the native one.")]
public class Inarray : IEnumerable, IDisposable
{
public const uint DefaultStep = 0;
diff --git a/src/bindings/mono/eina_mono/eina_inlist.cs b/src/bindings/mono/eina_mono/eina_inlist.cs
index 80cfe2b2ab..f4c95e1887 100644
--- a/src/bindings/mono/eina_mono/eina_inlist.cs
+++ b/src/bindings/mono/eina_mono/eina_inlist.cs
@@ -19,6 +19,7 @@ using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using System.ComponentModel;
+using System.Diagnostics.CodeAnalysis;
using static Eina.TraitFunctions;
using static Eina.InlistNativeFunctions;
@@ -100,6 +101,8 @@ public static class InlistNativeFunctions
/// Wrapper around an inplace list.
/// Since EFL 1.23.
///
+[SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix",
+ Justification="This is a generalized container mapping the native one.")]
public class Inlist : IEnumerable, IDisposable
{
[EditorBrowsable(EditorBrowsableState.Never)]
diff --git a/src/bindings/mono/eina_mono/eina_iterator.cs b/src/bindings/mono/eina_mono/eina_iterator.cs
index fb73f88344..d0f62bf651 100644
--- a/src/bindings/mono/eina_mono/eina_iterator.cs
+++ b/src/bindings/mono/eina_mono/eina_iterator.cs
@@ -19,6 +19,7 @@ using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using System.ComponentModel;
+using System.Diagnostics.CodeAnalysis;
using static Eina.TraitFunctions;
using static Eina.IteratorNativeFunctions;
@@ -49,6 +50,8 @@ public static class IteratorNativeFunctions
/// Wrapper around a native Eina iterator.
/// Since EFL 1.23.
///
+[SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix",
+ Justification="This is a generalized container mapping the native one.")]
public class Iterator : IEnumerable, IDisposable
{
[EditorBrowsable(EditorBrowsableState.Never)]
diff --git a/src/bindings/mono/eina_mono/eina_list.cs b/src/bindings/mono/eina_mono/eina_list.cs
index d14dd26359..60b33e5df0 100644
--- a/src/bindings/mono/eina_mono/eina_list.cs
+++ b/src/bindings/mono/eina_mono/eina_list.cs
@@ -19,6 +19,7 @@ using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using System.ComponentModel;
+using System.Diagnostics.CodeAnalysis;
using static Eina.TraitFunctions;
using static Eina.ListNativeFunctions;
@@ -124,6 +125,8 @@ public static class ListNativeFunctions
/// Native wrapper around a linked list of items.
/// Since EFL 1.23.
///
+[SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix",
+ Justification="This is a generalized container mapping the native one.")]
public class List : IList, IEnumerable, IDisposable
{
diff --git a/src/bindings/mono/eo_mono/EoWrapper.cs b/src/bindings/mono/eo_mono/EoWrapper.cs
index 7445df3956..99e60b1d2b 100644
--- a/src/bindings/mono/eo_mono/EoWrapper.cs
+++ b/src/bindings/mono/eo_mono/EoWrapper.cs
@@ -100,7 +100,7 @@ public abstract class EoWrapper : IWrapper, IDisposable
[CallerFilePath] string file = null,
[CallerLineNumber] int line = 0)
{
- generated = Efl.Eo.BindingEntity.IsBindingEntity(((object)this).GetType());
+ generated = Efl.Eo.BindingEntityAttribute.IsBindingEntity(((object)this).GetType());
IntPtr actual_klass = baseKlass;
if (!generated)
{
diff --git a/src/bindings/mono/eo_mono/iwrapper.cs b/src/bindings/mono/eo_mono/iwrapper.cs
index ed61634328..497c7d2180 100644
--- a/src/bindings/mono/eo_mono/iwrapper.cs
+++ b/src/bindings/mono/eo_mono/iwrapper.cs
@@ -828,11 +828,11 @@ class PrivateNativeClass : NativeClass
AllowMultiple = false,
Inherited = false)
]
-public class BindingEntity: System.Attribute
+public class BindingEntityAttribute: System.Attribute
{
public static bool IsBindingEntity(System.Type t)
{
- return Attribute.GetCustomAttribute(t, typeof(BindingEntity), false) != null;
+ return Attribute.GetCustomAttribute(t, typeof(BindingEntityAttribute), false) != null;
}
}