blob: e357f9bec1c8e65f4b2fa8e0efe0fae0364e60d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
//
// System.CodeDom CodeCompileUnit Class implementation
//
// Author:
// Daniel Stodden (stodden@in.tum.de)
//
// (C) 2002 Ximian, Inc.
//
using System.Runtime.InteropServices;
using System.Collections.Specialized;
namespace System.CodeDom
{
[Serializable]
[ClassInterface(ClassInterfaceType.AutoDispatch)]
[ComVisible(true)]
public class CodeCompileUnit
: CodeObject
{
private CodeAttributeDeclarationCollection assemblyCustomAttributes;
private CodeNamespaceCollection namespaces;
private StringCollection referencedAssemblies;
//
// Constructors
//
public CodeCompileUnit()
{
}
//
// Properties
//
public CodeAttributeDeclarationCollection AssemblyCustomAttributes {
get {
if ( assemblyCustomAttributes == null )
assemblyCustomAttributes =
new CodeAttributeDeclarationCollection();
return assemblyCustomAttributes;
}
}
public CodeNamespaceCollection Namespaces {
get {
if ( namespaces == null )
namespaces = new CodeNamespaceCollection();
return namespaces;
}
}
public StringCollection ReferencedAssemblies {
get {
if ( referencedAssemblies == null )
referencedAssemblies = new StringCollection();
return referencedAssemblies;
}
}
}
}
|