{
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;
+ CodeTypeParameterCollection typeParameters;
//
// Constructors
//
public CodeTypeReference PrivateImplementationType {
get {
- return privateImplementationType;
+ return privateImplements;
}
set {
- privateImplementationType = value;
+ privateImplements = value;
}
}
public CodeTypeReference ReturnType {
get {
if ( returnType == null )
- return new CodeTypeReference( typeof(void) );
+ return new CodeTypeReference (typeof (void));
return returnType;
}
set {
public CodeAttributeDeclarationCollection ReturnTypeCustomAttributes {
get {
- if ( returnTypeCustomAttributes == null )
- returnTypeCustomAttributes = new CodeAttributeDeclarationCollection();
+ if ( returnAttributes == null )
+ returnAttributes = new CodeAttributeDeclarationCollection();
- return returnTypeCustomAttributes;
+ return returnAttributes;
+ }
+ }
+
+ [ComVisible (false)]
+ public CodeTypeParameterCollection TypeParameters {
+ get {
+ if (typeParameters == null)
+ typeParameters = new CodeTypeParameterCollection ();
+ return typeParameters;
}
}
public event EventHandler PopulateParameters;
public event EventHandler PopulateStatements;
+
+ //
+ // ICodeDomVisitor method
+ //
+ internal override void Accept (ICodeDomVisitor visitor)
+ {
+ visitor.Visit (this);
+ }
}
}