Browse Source

Simplify code.

pull/778/head
Joao Matos 9 years ago
parent
commit
1e6bf9b7fd
  1. 4
      src/Generator/Generators/CSharp/CSharpSources.cs

4
src/Generator/Generators/CSharp/CSharpSources.cs

@ -554,9 +554,7 @@ namespace CppSharp.Generators.CSharp @@ -554,9 +554,7 @@ namespace CppSharp.Generators.CSharp
{
// private classes must be visible to because the internal structs can be used in dependencies
// the proper fix is InternalsVisibleTo
Write(@class.Access == AccessSpecifier.Protected ? "protected " : "public ");
if (@class.Access == AccessSpecifier.Protected)
Write("internal ");
Write(@class.Access == AccessSpecifier.Protected ? "protected internal " : "public ");
Write("unsafe ");
if (@class.IsAbstract)

Loading…
Cancel
Save