Skip to Content
0
Aug 09, 2016 at 07:26 AM

PB.NET Type accessibility issue

32 Views

Hello, all

All I wanted is to create a PB .NET assembly, which will expose a simple List<n_custom_class> in one of the functions.

The n_custom_class is also exposed in the project.

But the project does not pass MSBuild:

Csc: Error CS0050 g4_cache_deletion_n_g4_cache_wrapper.cs (58,81): Inconsistent accessibility: return type 'System.Collections.Generic.List<c__n_single_thread_parameters>' is less accessible than method 'Silverbyte.GOC.G4_Cache.G4_Cache.create_thread_parameters()'

Pardon my French, but WTF?!

How do I get around it?