[255] internal member confused with namespace: false error
Hi,
I have a namespace in a project that gets confused by R# with an
internal member with the same name in the declaring form:
namespace MyApp.Properties {
public static class Settings {
public static string Default = "MyValue";
}
}
namespace MyApp {
using System;
public class Form1 : System.Windows.Forms.Form
{
MyMethod(){
// R# indicates error but compiles
Console.WriteLine(Properties.Settings.Default);
}
}
}
please see the attached solution for an example.
Best Regards,
Wiebe Tijsma
Please sign in to leave a comment.