I'm creating static partial class like this.
If I put them in the same file there is no problem, but when I move one class to another file in the same project, this method private_method_from_a() does not exist anymore.
Is this by design? Do I miss something here?
//File A
public static partial class PartialClass
{
private static void private_method_from_a()
{
//Do something
}
}
//File B
public static partial class PartialClass
{
public static void public_method_b()
{
private_method_from_a();
}
}