// Daniel Stodden (stodden@in.tum.de)
//
// (C) 2001 Ximian, Inc.
-//
-
+// Copyright (C) 2005 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
{
}
-
public CodeArrayCreateExpression (CodeTypeReference createType,
CodeExpression size )
{
//
public CodeTypeReference CreateType {
get {
+ if (createType == null) {
+ createType = new CodeTypeReference (typeof (void));
+ }
return createType;
}
set {
// null.
}
}
+
+ //
+ // ICodeDomVisitor method
+ //
+ internal override void Accept (ICodeDomVisitor visitor)
+ {
+ visitor.Visit (this);
+ }
}
}