diff options
Diffstat (limited to 'mcs/class/System/System.CodeDom/CodeNamespace.cs')
-rwxr-xr-x | mcs/class/System/System.CodeDom/CodeNamespace.cs | 92 |
1 files changed, 0 insertions, 92 deletions
diff --git a/mcs/class/System/System.CodeDom/CodeNamespace.cs b/mcs/class/System/System.CodeDom/CodeNamespace.cs deleted file mode 100755 index 1de1f7dc76b..00000000000 --- a/mcs/class/System/System.CodeDom/CodeNamespace.cs +++ /dev/null @@ -1,92 +0,0 @@ -// -// System.CodeDom CodeNamespace Class implementation -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Daniel Stodden (stodden@in.tum.de) -// -// (C) 2001 Ximian, Inc. -// - -using System.Runtime.InteropServices; - -namespace System.CodeDom -{ - [Serializable] - [ClassInterface(ClassInterfaceType.AutoDispatch)] - [ComVisible(true)] - public class CodeNamespace - : CodeObject - { - private CodeCommentStatementCollection comments; - private CodeNamespaceImportCollection imports; - private CodeTypeDeclarationCollection types; - private string name; - - // - // Constructors - // - public CodeNamespace() - { - } - - public CodeNamespace(string name) - { - this.name = name; - } - - // - // Properties - // - public CodeCommentStatementCollection Comments { - get { - if ( comments == null ) { - comments = new CodeCommentStatementCollection(); - if ( PopulateComments != null ) - PopulateComments( this, EventArgs.Empty ); - } - return comments; - } - } - - public CodeNamespaceImportCollection Imports { - get { - if ( imports == null ) { - imports = new CodeNamespaceImportCollection(); - if ( PopulateImports != null ) - PopulateImports( this, EventArgs.Empty ); - } - return imports; - } - } - - public string Name { - get { - return name; - } - set { - name = value; - } - } - - public CodeTypeDeclarationCollection Types { - get { - if ( types == null ) { - types = new CodeTypeDeclarationCollection(); - if ( PopulateTypes != null ) - PopulateTypes( this, EventArgs.Empty ); - } - return types; - } - } - - // - // Events - // - public event EventHandler PopulateComments; - - public event EventHandler PopulateImports; - - public event EventHandler PopulateTypes; - } -} |