You've already forked linux-packaging-mono
Imported Upstream version 5.4.0.167
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
This commit is contained in:
parent
e49d6f06c0
commit
536cd135cc
@@ -7,7 +7,7 @@
|
||||
//
|
||||
// AsyncMethodBuilder.cs
|
||||
//
|
||||
// <OWNER>[....]</OWNER>
|
||||
// <OWNER>Microsoft</OWNER>
|
||||
//
|
||||
// Compiler-targeted types that build tasks for use as the return types of asynchronous methods.
|
||||
//
|
||||
@@ -49,7 +49,7 @@ namespace System.Runtime.CompilerServices
|
||||
/// <returns>The initialized <see cref="AsyncVoidMethodBuilder"/>.</returns>
|
||||
public static AsyncVoidMethodBuilder Create()
|
||||
{
|
||||
// Capture the current [....] context. If there isn't one, use the dummy s_noContextCaptured
|
||||
// Capture the current sync context. If there isn't one, use the dummy s_noContextCaptured
|
||||
// instance; this allows us to tell the state of no captured context apart from the state
|
||||
// of an improperly constructed builder instance.
|
||||
SynchronizationContext sc = SynchronizationContext.CurrentNoFlow;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
/*============================================================
|
||||
** Class: ConditionalWeakTable
|
||||
**
|
||||
** <OWNER>[....]</OWNER>
|
||||
** <OWNER>Microsoft</OWNER>
|
||||
**
|
||||
** Description: Compiler support for runtime-generated "object fields."
|
||||
**
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//
|
||||
// TaskAwaiter.cs
|
||||
//
|
||||
// <OWNER>[....]</OWNER>
|
||||
// <OWNER>Microsoft</OWNER>
|
||||
//
|
||||
// Types for awaiting Task and Task<T>. These types are emitted from Task{<T>}.GetAwaiter
|
||||
// and Task{<T>}.ConfigureAwait. They are meant to be used only by the compiler, e.g.
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//
|
||||
// YieldAwaitable.cs
|
||||
//
|
||||
// <OWNER>[....]</OWNER>
|
||||
// <OWNER>Microsoft</OWNER>
|
||||
//
|
||||
// Compiler-targeted type for switching back into the current execution context, e.g.
|
||||
//
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace System.Runtime.CompilerServices
|
||||
|
||||
using System;
|
||||
|
||||
/// IMPORTANT: Keep this in [....] with corhdr.h
|
||||
/// IMPORTANT: Keep this in sync with corhdr.h
|
||||
[Serializable]
|
||||
[Flags]
|
||||
[System.Runtime.InteropServices.ComVisible(true)]
|
||||
|
||||
@@ -169,7 +169,7 @@ namespace System.Runtime.CompilerServices {
|
||||
// a String to the first 16-bit character in the String. Skip
|
||||
// over the MethodTable pointer, & String
|
||||
// length. Of course, the String reference points to the memory
|
||||
// after the [....] block, so don't count that.
|
||||
// after the sync block, so don't count that.
|
||||
// This property allows C#'s fixed statement to work on Strings.
|
||||
// On 64 bit platforms, this should be 12 (8+4) and on 32 bit 8 (4+4).
|
||||
#if WIN32
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
**
|
||||
** Created: 06/20/2008
|
||||
**
|
||||
** <owner>[....]</owner>
|
||||
** <owner>Microsoft</owner>
|
||||
**
|
||||
=============================================================================*/
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
**
|
||||
** Created: 10/07/2008
|
||||
**
|
||||
** <owner>[....]</owner>
|
||||
** <owner>Microsoft</owner>
|
||||
**
|
||||
=============================================================================*/
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
**
|
||||
** Created: 11/2/2010
|
||||
**
|
||||
** <owner>[....]</owner>
|
||||
** <owner>Microsoft</owner>
|
||||
**
|
||||
=============================================================================*/
|
||||
|
||||
@@ -150,6 +150,10 @@ namespace System.Runtime.ExceptionServices {
|
||||
m_Exception.RestoreExceptionDispatchInfo(this);
|
||||
throw m_Exception;
|
||||
}
|
||||
|
||||
#if MONO
|
||||
public static void Throw (Exception source) => Capture (source).Throw ();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
#endif // FEATURE_EXCEPTIONDISPATCHINFO
|
||||
|
||||
@@ -444,7 +444,7 @@ namespace System.Runtime.InteropServices{
|
||||
|
||||
[Serializable]
|
||||
[System.Runtime.InteropServices.ComVisible(true)]
|
||||
// Note that this enum should remain in-[....] with the CorNativeType enum in corhdr.h
|
||||
// Note that this enum should remain in-sync with the CorNativeType enum in corhdr.h
|
||||
public enum UnmanagedType
|
||||
{
|
||||
Bool = 0x2, // 4 byte boolean value (true != 0, false == 0)
|
||||
@@ -523,9 +523,9 @@ namespace System.Runtime.InteropServices{
|
||||
[System.Runtime.InteropServices.ComVisible(false)]
|
||||
HString = 0x2f, // Windows Runtime HSTRING
|
||||
|
||||
[System.Runtime.InteropServices.ComVisible(false)]
|
||||
[System.Runtime.InteropServices.ComVisible(false)]
|
||||
LPUTF8Str = 0x30, // UTF8 string
|
||||
}
|
||||
}
|
||||
|
||||
#if !MONO
|
||||
[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Field | AttributeTargets.ReturnValue, Inherited = false)]
|
||||
|
||||
@@ -44,7 +44,7 @@ namespace System.Runtime.InteropServices
|
||||
[System.Runtime.InteropServices.ComVisible(true)]
|
||||
public struct GCHandle
|
||||
{
|
||||
// IMPORTANT: This must be kept in [....] with the GCHandleType enum.
|
||||
// IMPORTANT: This must be kept in sync with the GCHandleType enum.
|
||||
private const GCHandleType MaxHandleType = GCHandleType.Pinned;
|
||||
|
||||
#if MDA_SUPPORTED
|
||||
|
||||
@@ -303,6 +303,7 @@ namespace System.Runtime.InteropServices
|
||||
VARFLAG_FIMMEDIATEBIND =0x1000
|
||||
}
|
||||
|
||||
#if !FULL_AOT_RUNTIME
|
||||
[Obsolete("Use System.Runtime.InteropServices.ComTypes.ITypeInfo instead. http://go.microsoft.com/fwlink/?linkid=14202", false)]
|
||||
[Guid("00020401-0000-0000-C000-000000000046")]
|
||||
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
@@ -329,4 +330,5 @@ namespace System.Runtime.InteropServices
|
||||
void ReleaseFuncDesc(IntPtr pFuncDesc);
|
||||
void ReleaseVarDesc(IntPtr pVarDesc);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
//
|
||||
// ==--==
|
||||
//
|
||||
// <OWNER>[....]</OWNER>
|
||||
// <OWNER>[....]</OWNER>
|
||||
// <OWNER>[....]</OWNER>
|
||||
// <OWNER>Microsoft</OWNER>
|
||||
// <OWNER>Microsoft</OWNER>
|
||||
// <OWNER>Microsoft</OWNER>
|
||||
|
||||
using System;
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
// ==--==
|
||||
//
|
||||
// <OWNER>GPaperin</OWNER>
|
||||
// <OWNER>[....]</OWNER>
|
||||
// <OWNER>Microsoft</OWNER>
|
||||
|
||||
using System;
|
||||
using System.Runtime;
|
||||
@@ -85,7 +85,7 @@ namespace System.Runtime.InteropServices.WindowsRuntime
|
||||
throw new ArgumentOutOfRangeException("arrayIndex");
|
||||
|
||||
// Does the dimension in question have sufficient space to copy the expected number of entries?
|
||||
// We perform this check before valid index check to ensure the exception message is in [....] with
|
||||
// We perform this check before valid index check to ensure the exception message is in sync with
|
||||
// the following snippet that uses regular framework code:
|
||||
//
|
||||
// ArrayList list = new ArrayList();
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
// ==--==
|
||||
//
|
||||
// <OWNER>GPaperin</OWNER>
|
||||
// <OWNER>[....]</OWNER>
|
||||
// <OWNER>Microsoft</OWNER>
|
||||
|
||||
using System;
|
||||
using System.Runtime;
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
//
|
||||
// ==--==
|
||||
//
|
||||
// <OWNER>[....]</OWNER>
|
||||
// <OWNER>[....]</OWNER>
|
||||
// <OWNER>Microsoft</OWNER>
|
||||
// <OWNER>Microsoft</OWNER>
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
//
|
||||
// ==--==
|
||||
//
|
||||
// <OWNER>[....]</OWNER>
|
||||
// <OWNER>[....]</OWNER>
|
||||
// <OWNER>[....]</OWNER>
|
||||
// <OWNER>Microsoft</OWNER>
|
||||
// <OWNER>Microsoft</OWNER>
|
||||
// <OWNER>Microsoft</OWNER>
|
||||
|
||||
using System;
|
||||
using System.Diagnostics.Contracts;
|
||||
@@ -475,7 +475,7 @@ namespace System.Runtime.InteropServices.WindowsRuntime
|
||||
return (T)(object)ipv.GetDouble();
|
||||
}
|
||||
else {
|
||||
BCLDebug.Assert(false, "T in coersion function wasn't understood as a type that can be coerced - make sure that CoerceScalarValue and NumericScalarTypes are in [....]");
|
||||
BCLDebug.Assert(false, "T in coersion function wasn't understood as a type that can be coerced - make sure that CoerceScalarValue and NumericScalarTypes are in sync");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
//
|
||||
// ==--==
|
||||
//
|
||||
// <OWNER>[....]</OWNER>
|
||||
// <OWNER>[....]</OWNER>
|
||||
// <OWNER>[....]</OWNER>
|
||||
// <OWNER>Microsoft</OWNER>
|
||||
// <OWNER>Microsoft</OWNER>
|
||||
// <OWNER>Microsoft</OWNER>
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
//
|
||||
// ==--==
|
||||
//
|
||||
// <OWNER>[....]</OWNER>
|
||||
// <OWNER>Microsoft</OWNER>
|
||||
|
||||
using System;
|
||||
using System.Security;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
// ==--==
|
||||
//
|
||||
// <OWNER>GPaperin</OWNER>
|
||||
// <OWNER>[....]</OWNER>
|
||||
// <OWNER>Microsoft</OWNER>
|
||||
|
||||
using System;
|
||||
using System.Security;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user