// 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 CodeSnippetExpression( string value )
{
- Value = value;
+ this.value = value;
}
//
//
public string Value {
get {
+ if (this.value == null) {
+ return string.Empty;
+ }
return this.value;
}
set {
this.value = value;
}
}
+
+ //
+ // ICodeDomVisitor method
+ //
+ internal override void Accept (ICodeDomVisitor visitor)
+ {
+ visitor.Visit (this);
+ }
}
}