title | description | author | ms.author | ms.date | ms.topic | ms.assetid | ms.prod |
---|---|---|---|---|---|---|---|
Xamarin.iOS SDK API diff: 11.8.0 vs 11.10.0 |
List of API changes between Xamarin.iOS versions 11.8.0 and 11.10.0. |
spouliot |
sepoulio |
3/22/2018 |
article |
2da20940-eef0-4530-8c2c-102595baae96 |
xamarin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dec 7 09:31:45 unknown UIKitApplication:com.xamarin.mscorlib-test[0xbe63][12590] <Notice>: [ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object | |
Dec 7 09:31:45 unknown UIKitApplication:com.xamarin.mscorlib-test[0xbe63][12590] <Notice>: at System.Threading.Thread.GetNSAutoreleasePool () [0x00000] in <filename unknown>:0 | |
Dec 7 09:31:45 unknown UIKitApplication:com.xamarin.mscorlib-test[0xbe63][12590] <Notice>: at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0 | |
Dec 7 09:31:45 unknown UIKitApplication:com.xamarin.mscorlib-test[0xbe63][12590] <Notice>: Terminating runtime due to unhandled exception |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Test] | |
public void Bug3137 () | |
{ | |
CultureInfo current = Thread.CurrentThread.CurrentCulture; | |
try { | |
Thread.CurrentThread.CurrentCulture = new CultureInfo ("en-US"); | |
var element1 = new XElement ("Property1", new XAttribute ("type", "number"), 1.2343445); | |
Assert.AreEqual (element1.ToString (), "<Property1 type=\"number\">1.2343445</Property1>", "en-US"); | |
Thread.CurrentThread.CurrentCulture = new CultureInfo ("de-DE"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -240,16 +242,12 @@ namespace MonoMac.CoreFoundation { | |
get { | |
lock (lockobj) { | |
if (main_q == IntPtr.Zero) { | |
- // Try loading the symbol from our address space first, should work everywhere | |
- main_q = Dlfcn.dlsym ((IntPtr) (-2), "_dispatch_main_q"); | |
- | |
- // Last case: this is technically not right for the simulator, as this path | |
- // actually points to the MacOS library, not the one in the SDK. | |
- if (main_q == IntPtr.Zero){ |