Page MenuHomePhabricator

C#: Stylecop CA1707: Remove the underscores from type name
Open, NormalPublic


In many places this is triggered by native functions like efl_ref, etc. As we can't change their name, I think for these cases we can add some #pragmas disabling this specific warning only for then.

lauromoura triaged this task as Normal priority.
lauromoura reassigned this task from lauromoura to brunobelo.

That could be an option.

I need to review our usage of those FunctionWrapper/NativeModule that were added in place of some DllImports in the initial support to dotnet (D8069) to solve some compatibility issues (in Windows?) between dotnet and mono.

Maybe we could drop them and move back to the old DllImports.

Note that if native functions like efl_ref become internal, StyleCop does not complain about underscores.