All pastes #33196 Raw Edit

Miscellany

public text v1 · immutable
#33196 ·published 2005-12-10 17:25 UTC
rendered paste body
/*
      [csc] In type: TestApplication
      [csc]
      [csc] Unhandled Exception: System.InvalidOperationException: Method 'Main' does not have a method body.
      [csc] in <0x000b4> System.Reflection.Emit.MethodBuilder:fixup ()
      [csc] in <0x001dc> System.Reflection.Emit.TypeBuilder:CreateType ()
      [csc] in <0x0007d> Mono.CSharp.TypeContainer:CloseType ()
*/

using System;

public class TestApplication
{
	public static void Main()
	{
		string foo = "foo string";
		string baz = (foo.GetType())foo;
		
		return;
	}
}