// Daniel Stodden (stodden@in.tum.de)
//
// (C) 2002 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
//
// Constructors
//
- public CodeGotoStatement( string label )
+#if NET_2_0
+ public CodeGotoStatement ()
+ {
+ }
+#endif
+ public CodeGotoStatement (string label)
{
Label = label;
}
return label;
}
set {
+#if NET_2_0
+ if (value == null || value.Length == 0) {
+ throw new ArgumentNullException ("value");
+ }
+#endif
label = value;
}
}
+
+ //
+ // ICodeDomVisitor method
+ //
+ internal override void Accept (ICodeDomVisitor visitor)
+ {
+ visitor.Visit (this);
+ }
}
}