Imported Upstream version 6.10.0.49

Former-commit-id: 1d6753294b2993e1fbf92de9366bb9544db4189b
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2020-01-16 16:38:04 +00:00
parent d94e79959b
commit 468663ddbb
48518 changed files with 2789335 additions and 61176 deletions

View File

@@ -73,11 +73,11 @@ namespace System {
}
[DllImport ("__Internal")]
extern static IntPtr xamarin_timezone_get_names (ref int count);
extern static IntPtr xamarin_timezone_get_names (ref uint count);
static ReadOnlyCollection<string> GetMonoTouchNames ()
{
int count = 0;
uint count = 0;
IntPtr array = xamarin_timezone_get_names (ref count);
string [] names = new string [count];
for (int i = 0, offset = 0; i < count; i++, offset += IntPtr.Size) {
@@ -90,11 +90,11 @@ namespace System {
}
[DllImport ("__Internal")]
extern static IntPtr xamarin_timezone_get_data (string name, ref int size);
extern static IntPtr xamarin_timezone_get_data (string name, ref uint size);
static Stream GetMonoTouchData (string name, bool throw_on_error = true)
{
int size = 0;
uint size = 0;
IntPtr data = xamarin_timezone_get_data (name, ref size);
if (size <= 0) {
if (throw_on_error)