[Mono-devel-list] System.Threading.Thread.Name problem
tom at mtogden.com
Mon Dec 1 02:09:12 EST 2003
I actually have 2 questions, but the main one is about the Name property of
the Thread class. According the documentation, this is a WriteOnce property.
Well, this code snipit compiles and runs just fine on Mono - but throws the
InvalidOperationException on .NET...
public class ThreadTest
public static void Main()
Thread t = new Thread(new ThreadStart(Func));
t.Name = "First";
t.Name = "Second";
private static void Func()
This is with 0.28...
Also, just wondering if anyone is planning on implementing the undocumented MS
C# __arglist? Very handy for calling vararg functions via P/Invoke...
More information about the Mono-devel-list