Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Compiler Error CS0432
Collapse the table of content
Expand the table of content

Compiler Error CS0432 

Error Message

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();

Community Additions

© 2015 Microsoft