forked from enlightenment/efl
c#: Suppressing warning for CA1724.
Summary: ref T8413 Reviewers: lauromoura, felipealmeida, YOhoho, jptiz Reviewed By: jptiz Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8413 Differential Revision: https://phab.enlightenment.org/D10811
This commit is contained in:
parent
25e2ed3b2f
commit
6d62f66c08
|
@ -300,6 +300,7 @@ struct klass
|
||||||
documentation
|
documentation
|
||||||
<< "[" << name_helpers::klass_full_native_inherit_name(cls) << "]\n"
|
<< "[" << name_helpers::klass_full_native_inherit_name(cls) << "]\n"
|
||||||
<< "[Efl.Eo.BindingEntity]\n"
|
<< "[Efl.Eo.BindingEntity]\n"
|
||||||
|
<< "[SuppressMessage(\"Microsoft.Naming\", \"CA1724:TypeNamesShouldNotMatchNamespaces\")]\n"
|
||||||
<< "public "
|
<< "public "
|
||||||
<< (is_partial
|
<< (is_partial
|
||||||
? class_type == "class"
|
? class_type == "class"
|
||||||
|
|
|
@ -415,6 +415,7 @@ struct struct_definition_generator
|
||||||
(
|
(
|
||||||
indent << "[StructLayout(LayoutKind.Sequential)]\n"
|
indent << "[StructLayout(LayoutKind.Sequential)]\n"
|
||||||
<< indent << "[Efl.Eo.BindingEntity]\n"
|
<< indent << "[Efl.Eo.BindingEntity]\n"
|
||||||
|
<< "[SuppressMessage(\"Microsoft.Naming\", \"CA1724:TypeNamesShouldNotMatchNamespaces\")]\n"
|
||||||
<< indent << "public struct " << struct_managed_name << " : IEquatable<" << struct_managed_name << ">\n"
|
<< indent << "public struct " << struct_managed_name << " : IEquatable<" << struct_managed_name << ">\n"
|
||||||
<< indent << "{\n"
|
<< indent << "{\n"
|
||||||
)
|
)
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
|
using System.Diagnostics.CodeAnalysis;
|
||||||
|
|
||||||
using static eldbus.EldbusMessageNativeFunctions;
|
using static eldbus.EldbusMessageNativeFunctions;
|
||||||
|
|
||||||
|
@ -1543,6 +1544,7 @@ public delegate void MessageDelegate(eldbus.Message msg, eldbus.Pending pending)
|
||||||
/// Commons for eldbus.
|
/// Commons for eldbus.
|
||||||
/// <para>Since EFL 1.23.</para>
|
/// <para>Since EFL 1.23.</para>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[SuppressMessage("Microsoft.Naming", "CA1724:TypeNamesShouldNotMatchNamespaces")]
|
||||||
public static class Common
|
public static class Common
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue