The test failures didn't really indicate which of the Fail statements
caused the test failure. Also, the 10k offset turned out to be not
enough for the XA test suite (it's much bigger than that)
try {
module.ResolveMethod (1234);
- Assert.Fail ();
+ Assert.Fail ("1234");
} catch (ArgumentException) {
}
try {
module.ResolveMethod (t.MetadataToken);
- Assert.Fail ();
+ Assert.Fail ("MetadataToken");
} catch (ArgumentException) {
}
try {
- module.ResolveMethod (t.GetMethod ("ResolveMethod").MetadataToken + 10000);
- Assert.Fail ();
+ module.ResolveMethod (t.GetMethod ("ResolveMethod").MetadataToken + 100000);
+ Assert.Fail ("GetMethod");
} catch (ArgumentOutOfRangeException) {
}
}
}
#if !MONOTOUCH
[Test]
+ [Category ("AndroidNotWorking")] // Mono.CompilerServices.SymbolWriter not available for Xamarin.Android
public void GetTypes ()
{
AssemblyName newName = new AssemblyName ();