{
private string methodName;
private CodeExpression targetObject;
-#if NET_2_0
CodeTypeReferenceCollection typeArguments;
-#endif
//
// Constructors
this.methodName = methodName;
}
-#if NET_2_0
public CodeMethodReferenceExpression (CodeExpression targetObject,
string methodName, params CodeTypeReference[] typeParameters) :
this (targetObject, methodName)
if (typeParameters != null && typeParameters.Length > 0)
TypeArguments.AddRange (typeParameters);
}
-#endif
//
// Properties
}
}
-#if NET_2_0
[ComVisible (false)]
public CodeTypeReferenceCollection TypeArguments {
get {
return typeArguments;
}
}
-#endif
+
+ //
+ // ICodeDomVisitor method
+ //
+ internal override void Accept (ICodeDomVisitor visitor)
+ {
+ visitor.Visit (this);
+ }
}
}