Class is inaccessible due to its protection level

后端 未结 9 1839
孤街浪徒
孤街浪徒 2020-12-07 01:00

I have three classes. all are part of the same namespace. here are the basics of the three classes.

//FBlock.cs
namespace StubGenerator.PropGenerator
{
    c         


        
9条回答
  •  -上瘾入骨i
    2020-12-07 01:36

    All your classes are internal by default

    Marking public did not do the trick.

    Are you sure you do not have two classes named Method, and perhaps are including the wrong Method class?

提交回复
热议问题