// Miguel de Icaza (miguel@ximian.com)
//
// (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 string Name {
get {
+ if (name == null) {
+ return string.Empty;
+ }
return name;
}
set {
public CodeTypeReference Type {
get {
+ if (type == null) {
+ type = new CodeTypeReference (string.Empty);
+ }
return type;
}
set {
type = value;
}
}
+
+ //
+ // ICodeDomVisitor method
+ //
+ internal override void Accept (ICodeDomVisitor visitor)
+ {
+ visitor.Visit (this);
+ }
}
}