I&#39;m trying to declare a method without a class but the PythonProvider .. or .net keeps throwing.. Does anyone know any clever workarounds?<br><br>&nbsp;CodeMemberMethod meth=new CodeMemberMethod();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; meth.Name = &quot;Script&quot;;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; meth.Attributes = MemberAttributes.Public;<br><br>provider.???&nbsp; everything throws!<br><br clear="all">Michael Stephens<br><br>Electrical Engineering Graduate Student<br>University of Wyoming<br><a href="mailto:falcon@uwyo.edu">falcon@uwyo.edu</a> or <a href="mailto:89iroc@gmail.com">89iroc@gmail.com</a>