Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Alias 'identifier' not found
This error occurs when you use "::" to the right of an identifier that is not an alias. To resolve the error, use "." instead.
The following example generates CS0432:
// CS0432.cs
namespace A {
public class B {
public static void Meth() { }
}
}
public class Test
{
public static void Main()
{
A::B.Meth(); // CS0432
// To resolve, use the following line instead:
// A.B.Meth();
}
}