Export (0) Print
Expand All
Expand Minimize
7 out of 17 rated this helpful - Rate this topic

Compiler Error CS1022 

Error Message

Type or namespace definition, or end-of-file expected

A source-code file does not have a matching set of braces.

The following sample generates CS1022:

// CS1022.cs
namespace x
}   // CS1022

Community Additions

© 2014 Microsoft. All rights reserved.