{
private CodeTypeReferenceCollection implementationTypes;
private CodeParameterDeclarationExpressionCollection parameters;
- private CodeTypeReference privateImplementationType;
+ private CodeTypeReference privateImplements;
private CodeTypeReference returnType;
private CodeStatementCollection statements;
- private CodeAttributeDeclarationCollection returnTypeCustomAttributes;
+ private CodeAttributeDeclarationCollection returnAttributes;
+ //int populated;
-#if NET_2_0
CodeTypeParameterCollection typeParameters;
-#endif
//
// Constructors
//
public CodeTypeReference PrivateImplementationType {
get {
- return privateImplementationType;
+ return privateImplements;
}
set {
- privateImplementationType = value;
+ privateImplements = value;
}
}
public CodeAttributeDeclarationCollection ReturnTypeCustomAttributes {
get {
- if ( returnTypeCustomAttributes == null )
- returnTypeCustomAttributes = new CodeAttributeDeclarationCollection();
+ if ( returnAttributes == null )
+ returnAttributes = new CodeAttributeDeclarationCollection();
- return returnTypeCustomAttributes;
+ return returnAttributes;
}
}
-#if NET_2_0
[ComVisible (false)]
public CodeTypeParameterCollection TypeParameters {
get {
return typeParameters;
}
}
-#endif
//
// Events
public event EventHandler PopulateParameters;
public event EventHandler PopulateStatements;
+
+ //
+ // ICodeDomVisitor method
+ //
+ internal override void Accept (ICodeDomVisitor visitor)
+ {
+ visitor.Visit (this);
+ }
}
}