Skip to content

Instantly share code, notes, and snippets.

View kumpera's full-sized avatar

Rodrigo Kumpera kumpera

View GitHub Profile
1) Test Failure : MonoDevelop.Debugger.Tests.Soft.SdbStackFrameTests.StackFrameTests.VirtualProperty
Expected: "2"
But was: null
--- corlib46 2013-03-26 14:28:41.000000000 -0400
+++ corlib47 2013-03-26 14:28:48.000000000 -0400
@@ -1,29 +1,29 @@
(null)
-<PrivateImplementationDetails>{9d71125e-66a2-4646-932b-b3317dc9827c}
-<PrivateImplementationDetails>{9d71125e-66a2-4646-932b-b3317dc9827c}/$ArrayType=1024
-<PrivateImplementationDetails>{9d71125e-66a2-4646-932b-b3317dc9827c}/$ArrayType=12
-<PrivateImplementationDetails>{9d71125e-66a2-4646-932b-b3317dc9827c}/$ArrayType=120
-<PrivateImplementationDetails>{9d71125e-66a2-4646-932b-b3317dc9827c}/$ArrayType=124
void ShowStuff ()
{
var client = new WebClient ();
var content = JsonValue.Parse (client.DownloadString ("http://api.worldbank.org/countries?format=json&per_page=50"));
int number_of_countries = content [0] ["total"];
int done = 0, error = 0;
InvokeOnMainThread (() => {
CountriesLabel.Text = string.Format ("Countries: {0} done: 0 error: 0", number_of_countries);
});
async Task ShowStuffAsync ()
{
var client = new HttpClient ();
var content = JsonValue.Parse (await client.GetStringAsync ("http://api.worldbank.org/countries?format=json"));
int number_of_countries = content [0] ["per_page"];
int done = 0, error = 0;
CountriesLabel.Text = string.Format ("Countries: {0} done: 0 error: 0", number_of_countries);
async Task ShowStuffAsync ()
{
var client = new HttpClient ();
var content = JsonValue.Parse (await client.GetStringAsync ("http://api.worldbank.org/countries?format=json"));
int number_of_countries = content [0] ["per_page"];
int done = 0, error = 0;
CountriesLabel.Text = string.Format ("Countries: {0} done: 0 error: 0", number_of_countries);
"<unnamed thread>" tid=0x0xac212a28 this=0x0x658f20 thread handle 0x103 state : waiting on 0x110 : Event owns ()
at <unknown> <0xffffffff>
at (wrapper managed-to-native) System.Threading.WaitHandle.WaitOne_internal (System.Threading.WaitHandle,intptr,int,bool) <0xffffffff>
at System.Threading.WaitHandle.WaitOne () <0x0005f>
at Xamarin.Android.Tasks.MandroidDaemon.SendCommand (Microsoft.Build.Utilities.Task,string[],System.Action`1<string>) <0x001f1>
at Xamarin.Android.Tasks.MandroidDaemon.GetEdition (Microsoft.Build.Utilities.Task) <0x000a7>
at MSBuildExtensions.GetLicenseEdition (Microsoft.Build.Utilities.Task) <0x00013>
at Xamarin.Android.Tasks.ResolveSdks.Execute () <0x000d3>
at Microsoft.Build.BuildEngine.TaskEngine.Execute () <0x00019>
at Microsoft.Build.BuildEngine.BuildTask.Execute () <0x00287>
using System;
using System.Collections;
interface IFoo {}
class Bar : MarshalByRefObject {
public void Tst () {}
public int field;
}
using System;
using NUnit.Framework;
using System.Runtime.Remoting;
using System.Runtime.Remoting.Channels;
using System.Runtime.Remoting.Proxies;
using System.Runtime.Remoting.Messaging;
namespace remoting
2013-02-15 13:33:43.473 corlib_testbed[93770:c07] *** -[NSAutoreleasePool release]: This pool has already been released, do not drain it (double release).
Unhandled Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Threading.ThreadAbortException: Thread was being aborted
at (wrapper managed-to-native) System.Threading.Monitor:try_enter_with_atomic_var (object,int,bool&)
at System.Threading.Monitor.TryEnter (System.Object obj, Int32 millisecondsTimeout, System.Boolean& lockTaken) [0x00041] in /Users/kumpera/src/monotouch/master-30/mono/mcs/class/corlib/System.Threading/Monitor.cs:224
at System.Threading.Monitor.Enter (System.Object obj, System.Boolean& lockTaken) [0x00000] in /Users/kumpera/src/monotouch/master-30/mono/mcs/class/corlib/System.Threading/Monitor.cs:198
at (wrapper unknown) System.Threading.Monitor:FastMonitorEnterV4 (object,bool&)
at MonoTouch.ObjCRuntime.Runtime.RegisterNSObject (MonoTouch.Foundation.NSObje
mac-10-6-1:src builder$ MONO_LOG_LEVEL=debug /Library/Frameworks/Mono.framework/Versions/3.0.3/bin/mono-sgen ../lib/bootstrap/2.0/fslex.exe absil/illex.fsl -o whatever.fs --lexlib Internal.Utilities.Text.Lexing --unicode
Mono: Assembly Loader probing location: '/Library/Frameworks/Mono.framework/Versions/3.0.3/lib/mono/2.0/mscorlib.dll'.
Mono: Image addref mscorlib[0x507cb0] -> /Library/Frameworks/Mono.framework/Versions/3.0.3/lib/mono/2.0/mscorlib.dll[0x825400]: 2
Mono: AOT failed to load AOT module /Library/Frameworks/Mono.framework/Versions/3.0.3/lib/mono/2.0/mscorlib.dll.dylib: dlopen(/Library/Frameworks/Mono.framework/Versions/3.0.3/lib/mono/2.0/mscorlib.dll.dylib, 9): image not found
Mono: Assembly Loader loaded assembly from location: '/Library/Frameworks/Mono.framework/Versions/3.0.3/lib/mono/2.0/mscorlib.dll'.
Mono: Config attempting to parse: '/Library/Frameworks/Mono.framework/Versions/3.0.3/lib/mono/2.0/mscorlib.dll.config'.
Mono: Config attempting to parse: '/Library/Frameworks/Mono.framework/