summaryrefslogtreecommitdiff
path: root/src/mscorlib/ref/mscorlib.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mscorlib/ref/mscorlib.cs')
-rw-r--r--src/mscorlib/ref/mscorlib.cs839
1 files changed, 656 insertions, 183 deletions
diff --git a/src/mscorlib/ref/mscorlib.cs b/src/mscorlib/ref/mscorlib.cs
index e5211ff4a8..da378777c9 100644
--- a/src/mscorlib/ref/mscorlib.cs
+++ b/src/mscorlib/ref/mscorlib.cs
@@ -15,10 +15,56 @@ namespace Internal.Runtime.Augments
public static void FailFast(string message, System.Exception error) { }
public static string[] GetCommandLineArgs() { throw null; }
}
+ public partial class RuntimeThread : System.Runtime.ConstrainedExecution.CriticalFinalizerObject
+ {
+ public static Internal.Runtime.Augments.RuntimeThread CurrentThread { get { throw null; } }
+ public bool IsAlive { get { throw null; } }
+ public bool IsBackground { get { throw null; } set { } }
+ public bool IsThreadPoolThread { get { throw null; } }
+ public int ManagedThreadId { get { throw null; } }
+ public string Name { get { throw null; } set { } }
+ public System.Threading.ThreadPriority Priority { get { throw null; } set { } }
+ public System.Threading.ThreadState ThreadState { get { throw null; } }
+ ~RuntimeThread() { }
+ public static Internal.Runtime.Augments.RuntimeThread Create(System.Threading.ThreadStart start) { throw null; }
+ public static Internal.Runtime.Augments.RuntimeThread Create(System.Threading.ThreadStart start, int maxStackSize) { throw null; }
+ public static Internal.Runtime.Augments.RuntimeThread Create(System.Threading.ParameterizedThreadStart start) { throw null; }
+ public static Internal.Runtime.Augments.RuntimeThread Create(System.Threading.ParameterizedThreadStart start, int maxStackSize) { throw null; }
+ public System.Threading.ApartmentState GetApartmentState() { throw null; }
+ [System.Security.SecurityCriticalAttribute]
+ public void Interrupt() { }
+ public void Join() { }
+ public bool Join(int millisecondsTimeout) { throw null; }
+ public static void Sleep(int millisecondsTimeout) { }
+ public static void SpinWait(int iterations) { }
+ public void Start() { }
+ public void Start(object parameter) { }
+ public bool TrySetApartmentState(System.Threading.ApartmentState state) { throw null; }
+ }
}
namespace Microsoft.Win32.SafeHandles
{
[System.Security.SecurityCriticalAttribute]
+ public abstract partial class CriticalHandleMinusOneIsInvalid : System.Runtime.InteropServices.CriticalHandle
+ {
+ protected CriticalHandleMinusOneIsInvalid() : base(default(System.IntPtr)) { }
+ public override bool IsInvalid { [System.Security.SecurityCriticalAttribute]get { throw null; } }
+ }
+ [System.Security.SecurityCriticalAttribute]
+ public abstract partial class CriticalHandleZeroOrMinusOneIsInvalid : System.Runtime.InteropServices.CriticalHandle
+ {
+ protected CriticalHandleZeroOrMinusOneIsInvalid() : base(default(System.IntPtr)) { }
+ public override bool IsInvalid { [System.Security.SecurityCriticalAttribute]get { throw null; } }
+ }
+ [System.Security.SecurityCriticalAttribute]
+ public sealed partial class SafeFileHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
+ {
+ public SafeFileHandle(System.IntPtr preexistingHandle, bool ownsHandle) : base(default(bool)) { }
+ public override bool IsInvalid { [System.Security.SecurityCriticalAttribute]get { throw null; } }
+ [System.Security.SecurityCriticalAttribute]
+ protected override bool ReleaseHandle() { throw null; }
+ }
+ [System.Security.SecurityCriticalAttribute]
public abstract partial class SafeHandleMinusOneIsInvalid : System.Runtime.InteropServices.SafeHandle
{
protected SafeHandleMinusOneIsInvalid(bool ownsHandle) { }
@@ -126,8 +172,13 @@ namespace System
public static string TargetFrameworkName { get { throw null; } }
[System.Security.SecuritySafeCriticalAttribute]
public static object GetData(string name) { throw null; }
+ [System.Security.SecuritySafeCriticalAttribute]
+ public static void SetData(string name, object data) { }
public static void SetSwitch(string switchName, bool isEnabled) { }
public static bool TryGetSwitch(string switchName, out bool isEnabled) { isEnabled = default(bool); throw null; }
+ public static event UnhandledExceptionEventHandler UnhandledException { add { } remove { } }
+ public static event System.EventHandler<System.Runtime.ExceptionServices.FirstChanceExceptionEventArgs> FirstChanceException { add { } remove { } }
+ public static event System.EventHandler ProcessExit { add { } remove { } }
}
[System.Runtime.InteropServices.ClassInterfaceAttribute((System.Runtime.InteropServices.ClassInterfaceType)(0))]
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
@@ -560,7 +611,11 @@ namespace System
[System.CLSCompliantAttribute(false)]
public static byte[] GetBytes(ulong value) { throw null; }
[System.Security.SecuritySafeCriticalAttribute]
+ public static float Int32BitsToSingle(int value) { throw null; }
+ [System.Security.SecuritySafeCriticalAttribute]
public static double Int64BitsToDouble(long value) { throw null; }
+ [System.Security.SecuritySafeCriticalAttribute]
+ public static int SingleToInt32Bits(float value) { throw null; }
public static bool ToBoolean(byte[] value, int startIndex) { throw null; }
public static char ToChar(byte[] value, int startIndex) { throw null; }
[System.Security.SecuritySafeCriticalAttribute]
@@ -782,29 +837,9 @@ namespace System
public static partial class Console
{
[System.Security.SecuritySafeCriticalAttribute]
- public static void Write(string s) { }
+ public static void Write(string value) { }
public static void WriteLine() { }
- public static void WriteLine(string s) { }
- }
- [System.Runtime.InteropServices.ComVisibleAttribute(true)]
- public abstract partial class ContextBoundObject
- {
- protected ContextBoundObject() { }
- }
- [System.Runtime.InteropServices.ComVisibleAttribute(true)]
- public partial class ContextMarshalException : System.SystemException
- {
- public ContextMarshalException() { }
- public ContextMarshalException(string message) { }
- public ContextMarshalException(string message, System.Exception inner) { }
- protected ContextMarshalException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
- }
- [System.AttributeUsageAttribute((System.AttributeTargets)(256), Inherited=false)]
- [System.ObsoleteAttribute("ContextStaticAttribute is not supported in this release. It has been left in so that legacy tools can be used with this release, but it cannot be used in your code.", true)]
- [System.Runtime.InteropServices.ComVisibleAttribute(true)]
- public partial class ContextStaticAttribute : System.Attribute
- {
- public ContextStaticAttribute() { }
+ public static void WriteLine(string value) { }
}
public static partial class Convert
{
@@ -1961,6 +1996,7 @@ namespace System
public virtual string Source { [System.Security.SecurityCriticalAttribute]get { throw null; } [System.Security.SecurityCriticalAttribute]set { } }
public virtual string StackTrace { [System.Security.SecuritySafeCriticalAttribute]get { throw null; } }
public System.Reflection.MethodBase TargetSite { [System.Security.SecuritySafeCriticalAttribute]get { throw null; } }
+ protected event System.EventHandler<System.Runtime.Serialization.SafeSerializationEventArgs> SerializeObjectState { add { } remove { } }
public virtual System.Exception GetBaseException() { throw null; }
[System.Security.SecurityCriticalAttribute]
public virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
@@ -2473,6 +2509,10 @@ namespace System
public abstract partial class MarshalByRefObject
{
protected MarshalByRefObject() { }
+ public object GetLifetimeService() { throw null; }
+ public virtual object InitializeLifetimeService() { throw null; }
+ protected System.MarshalByRefObject MemberwiseClone(bool cloneIdentity) { throw null; }
+
}
public static partial class Math
{
@@ -2500,6 +2540,21 @@ namespace System
public static decimal Ceiling(decimal d) { throw null; }
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecuritySafeCriticalAttribute]
public static double Ceiling(double a) { throw null; }
+ public static byte Clamp(byte value, byte min, byte max) { throw null; }
+ public static decimal Clamp(decimal value, decimal min, decimal max) { throw null; }
+ public static double Clamp(double value, double min, double max) { throw null; }
+ public static short Clamp(short value, short min, short max) { throw null; }
+ public static int Clamp(int value, int min, int max) { throw null; }
+ public static long Clamp(long value, long min, long max) { throw null; }
+ [System.CLSCompliantAttribute(false)]
+ public static sbyte Clamp(sbyte value, sbyte min, sbyte max) { throw null; }
+ public static float Clamp(float value, float min, float max) { throw null; }
+ [System.CLSCompliantAttribute(false)]
+ public static ushort Clamp(ushort value, ushort min, ushort max) { throw null; }
+ [System.CLSCompliantAttribute(false)]
+ public static uint Clamp(uint value, uint min, uint max) { throw null; }
+ [System.CLSCompliantAttribute(false)]
+ public static ulong Clamp(ulong value, ulong min, ulong max) { throw null; }
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecuritySafeCriticalAttribute]
public static double Cos(double d) { throw null; }
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecuritySafeCriticalAttribute]
@@ -2579,6 +2634,58 @@ namespace System
public static decimal Truncate(decimal d) { throw null; }
public static double Truncate(double d) { throw null; }
}
+ public static partial class MathF
+ {
+ public const float E = 2.71828183f;
+ public const float PI = 3.14159265f;
+ public static float Abs(float x) { throw null; }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecuritySafeCriticalAttribute]
+ public static float Acos(float x) { throw null; }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecuritySafeCriticalAttribute]
+ public static float Asin(float x) { throw null; }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecuritySafeCriticalAttribute]
+ public static float Atan(float x) { throw null; }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecuritySafeCriticalAttribute]
+ public static float Atan2(float y, float x) { throw null; }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecuritySafeCriticalAttribute]
+ public static float Ceiling(float x) { throw null; }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecuritySafeCriticalAttribute]
+ public static float Cos(float x) { throw null; }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecuritySafeCriticalAttribute]
+ public static float Cosh(float x) { throw null; }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecuritySafeCriticalAttribute]
+ public static float Exp(float x) { throw null; }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecuritySafeCriticalAttribute]
+ public static float Floor(float x) { throw null; }
+ public static float IEEERemainder(float x, float y) { throw null; }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecuritySafeCriticalAttribute]
+ public static float Log(float x) { throw null; }
+ public static float Log(float x, float y) { throw null; }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecuritySafeCriticalAttribute]
+ public static float Log10(float x) { throw null; }
+ public static float Max(float x, float y) { throw null; }
+ public static float Min(float x, float y) { throw null; }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecuritySafeCriticalAttribute]
+ public static float Pow(float x, float y) { throw null; }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecuritySafeCriticalAttribute]
+ public static float Round(float x) { throw null; }
+ public static float Round(float x, int digits) { throw null; }
+ public static float Round(float x, int digits, System.MidpointRounding mode) { throw null; }
+ public static float Round(float x, System.MidpointRounding mode) { throw null; }
+ public static int Sign(float x) { return default(int); }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecuritySafeCriticalAttribute]
+ public static float Sin(float x) { throw null; }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecuritySafeCriticalAttribute]
+ public static float Sinh(float x) { throw null; }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)]
+ [System.Security.SecuritySafeCriticalAttribute]
+ public static float Sqrt(float x) { throw null; }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecuritySafeCriticalAttribute]
+ public static float Tan(float x) { throw null; }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecuritySafeCriticalAttribute]
+ public static float Tanh(float x) { throw null; }
+ public static float Truncate(float x) { throw null; }
+ }
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
public partial class MemberAccessException : System.SystemException
{
@@ -3181,6 +3288,7 @@ namespace System
public static System.String Format(System.String format, object arg0, object arg1) { throw null; }
public static System.String Format(System.String format, object arg0, object arg1, object arg2) { throw null; }
public static System.String Format(System.String format, params object[] args) { throw null; }
+ public System.CharEnumerator GetEnumerator() { throw null; }
[System.Security.SecuritySafeCriticalAttribute]
public override int GetHashCode() { throw null; }
public System.TypeCode GetTypeCode() { throw null; }
@@ -3253,6 +3361,10 @@ namespace System
[System.Security.SecuritySafeCriticalAttribute]
public System.String Replace(char oldChar, char newChar) { throw null; }
public System.String Replace(System.String oldValue, System.String newValue) { throw null; }
+ [System.Runtime.InteropServices.ComVisibleAttribute(false)]
+ public string[] Split(char separator, int count, System.StringSplitOptions options = (System.StringSplitOptions)(0)) { throw null; }
+ [System.Runtime.InteropServices.ComVisibleAttribute(false)]
+ public string[] Split(char separator, System.StringSplitOptions options = (System.StringSplitOptions)(0)) { throw null; }
public string[] Split(params char[] separator) { throw null; }
public string[] Split(char[] separator, int count) { throw null; }
[System.Runtime.InteropServices.ComVisibleAttribute(false)]
@@ -3260,6 +3372,10 @@ namespace System
[System.Runtime.InteropServices.ComVisibleAttribute(false)]
public string[] Split(char[] separator, System.StringSplitOptions options) { throw null; }
[System.Runtime.InteropServices.ComVisibleAttribute(false)]
+ public string[] Split(System.String separator, int count, System.StringSplitOptions options = (System.StringSplitOptions)(0)) { throw null; }
+ [System.Runtime.InteropServices.ComVisibleAttribute(false)]
+ public string[] Split(System.String separator, System.StringSplitOptions options = (System.StringSplitOptions)(0)) { throw null; }
+ [System.Runtime.InteropServices.ComVisibleAttribute(false)]
public string[] Split(string[] separator, int count, System.StringSplitOptions options) { throw null; }
[System.Runtime.InteropServices.ComVisibleAttribute(false)]
public string[] Split(string[] separator, System.StringSplitOptions options) { throw null; }
@@ -4228,32 +4344,6 @@ namespace System
namespace System.Collections
{
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
- public sealed partial class BitArray : System.Collections.ICollection, System.Collections.IEnumerable, System.ICloneable
- {
- public BitArray(bool[] values) { }
- public BitArray(byte[] bytes) { }
- public BitArray(System.Collections.BitArray bits) { }
- public BitArray(int length) { }
- public BitArray(int length, bool defaultValue) { }
- public BitArray(int[] values) { }
- public int Count { get { throw null; } }
- public bool IsReadOnly { get { throw null; } }
- public bool IsSynchronized { get { throw null; } }
- public bool this[int index] { get { throw null; } set { } }
- public int Length { get { throw null; } set { } }
- public object SyncRoot { get { throw null; } }
- public System.Collections.BitArray And(System.Collections.BitArray value) { throw null; }
- public object Clone() { throw null; }
- public void CopyTo(System.Array array, int index) { }
- public bool Get(int index) { throw null; }
- public System.Collections.IEnumerator GetEnumerator() { throw null; }
- public System.Collections.BitArray Not() { throw null; }
- public System.Collections.BitArray Or(System.Collections.BitArray value) { throw null; }
- public void Set(int index, bool value) { }
- public void SetAll(bool value) { }
- public System.Collections.BitArray Xor(System.Collections.BitArray value) { throw null; }
- }
- [System.Runtime.InteropServices.ComVisibleAttribute(true)]
public abstract partial class CollectionBase : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList
{
protected CollectionBase() { }
@@ -4383,6 +4473,8 @@ namespace System.Collections.Generic
public Dictionary() { }
public Dictionary(System.Collections.Generic.IDictionary<TKey, TValue> dictionary) { }
public Dictionary(System.Collections.Generic.IDictionary<TKey, TValue> dictionary, System.Collections.Generic.IEqualityComparer<TKey> comparer) { }
+ public Dictionary(System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey, TValue>> collection) { }
+ public Dictionary(System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey, TValue>> collection, System.Collections.Generic.IEqualityComparer<TKey> comparer) { }
public Dictionary(System.Collections.Generic.IEqualityComparer<TKey> comparer) { }
public Dictionary(int capacity) { }
public Dictionary(int capacity, System.Collections.Generic.IEqualityComparer<TKey> comparer) { }
@@ -4878,6 +4970,7 @@ namespace System.Diagnostics
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
public sealed partial class Debugger
{
+ public static readonly string DefaultCategory;
[System.ObsoleteAttribute("Do not create instances of the Debugger class. Call the static methods directly on this type instead", true)]
public Debugger() { }
public static bool IsAttached { [System.Security.SecuritySafeCriticalAttribute][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)]get { throw null; } }
@@ -5682,6 +5775,7 @@ namespace System.Globalization
public virtual int LastIndexOf(string source, string value, int startIndex, int count, System.Globalization.CompareOptions options) { throw null; }
void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) { }
public override string ToString() { throw null; }
+ public SortVersion Version { get { throw null; } }
}
[System.FlagsAttribute]
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
@@ -5706,6 +5800,7 @@ namespace System.Globalization
public CultureInfo(string name, bool useUserOverride) { throw null; }
public virtual System.Globalization.Calendar Calendar { get { throw null; } }
public virtual System.Globalization.CompareInfo CompareInfo { get { throw null; } }
+ public System.Globalization.CultureTypes CultureTypes { get { throw null; } }
public static System.Globalization.CultureInfo CurrentCulture { get { throw null; } set { } }
public static System.Globalization.CultureInfo CurrentUICulture { get { throw null; } set { } }
public virtual System.Globalization.DateTimeFormatInfo DateTimeFormat { get { throw null; } set { } }
@@ -5713,10 +5808,12 @@ namespace System.Globalization
public static System.Globalization.CultureInfo DefaultThreadCurrentUICulture { get { throw null; } [System.Security.SecuritySafeCriticalAttribute]set { } }
public virtual string DisplayName { [System.Security.SecuritySafeCriticalAttribute]get { throw null; } }
public virtual string EnglishName { [System.Security.SecuritySafeCriticalAttribute]get { throw null; } }
+ public string IetfLanguageTag { get { throw null; } }
public static System.Globalization.CultureInfo InstalledUICulture { get { throw null; } }
public static System.Globalization.CultureInfo InvariantCulture { get { throw null; } }
public virtual bool IsNeutralCulture { get { throw null; } }
public bool IsReadOnly { get { throw null; } }
+ public virtual int KeyboardLanguageId { get { throw null; } }
public virtual int LCID { get { throw null; } }
public virtual string Name { get { throw null; } }
public virtual string NativeName { [System.Security.SecuritySafeCriticalAttribute]get { throw null; } }
@@ -5732,6 +5829,7 @@ namespace System.Globalization
public virtual object Clone() { throw null; }
public static System.Globalization.CultureInfo CreateSpecificCulture(string name) { throw null; }
public override bool Equals(object value) { throw null; }
+ public System.Globalization.CultureInfo GetConsoleFallbackUICulture() { throw null; }
public static System.Globalization.CultureInfo GetCultureInfo(int culture) { throw null; }
public static System.Globalization.CultureInfo GetCultureInfo(string name) { throw null; }
public static System.Globalization.CultureInfo GetCultureInfo(string name, string altName) { throw null; }
@@ -6604,9 +6702,19 @@ namespace System.IO
public FileLoadException(string message, string fileName, System.Exception inner) { }
protected FileLoadException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
public string FileName { get { throw null; } }
+ public string FusionLog { [System.Security.SecuritySafeCriticalAttribute]get { throw null; } }
public override string Message { get { throw null; } }
public override string ToString() { throw null; }
}
+ public enum FileMode
+ {
+ Append = 6,
+ Create = 2,
+ CreateNew = 1,
+ Open = 3,
+ OpenOrCreate = 4,
+ Truncate = 5,
+ }
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
public partial class FileNotFoundException : System.IO.IOException
{
@@ -6617,9 +6725,72 @@ namespace System.IO
public FileNotFoundException(string message, string fileName, System.Exception innerException) { }
protected FileNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
public string FileName { get { throw null; } }
+ public string FusionLog { [System.Security.SecuritySafeCriticalAttribute]get { throw null; } }
public override string Message { get { throw null; } }
public override string ToString() { throw null; }
}
+ [System.FlagsAttribute]
+ public enum FileOptions
+ {
+ Asynchronous = 1073741824,
+ DeleteOnClose = 67108864,
+ Encrypted = 16384,
+ None = 0,
+ RandomAccess = 268435456,
+ SequentialScan = 134217728,
+ WriteThrough = -2147483648,
+ }
+ [System.FlagsAttribute]
+ public enum FileShare
+ {
+ Delete = 4,
+ Inheritable = 16,
+ None = 0,
+ Read = 1,
+ ReadWrite = 3,
+ Write = 2,
+ }
+ public partial class FileStream : System.IO.Stream
+ {
+ public FileStream(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.IO.FileAccess access) { }
+ public FileStream(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.IO.FileAccess access, int bufferSize) { }
+ public FileStream(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.IO.FileAccess access, int bufferSize, bool isAsync) { }
+ public FileStream(string path, System.IO.FileMode mode) { }
+ public FileStream(string path, System.IO.FileMode mode, System.IO.FileAccess access) { }
+ public FileStream(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) { }
+ public FileStream(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, int bufferSize) { }
+ public FileStream(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, int bufferSize, bool useAsync) { }
+ public FileStream(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, int bufferSize, System.IO.FileOptions options) { }
+ public override bool CanRead { get { throw null; } }
+ public override bool CanSeek { get { throw null; } }
+ public override bool CanWrite { get { throw null; } }
+ [Obsolete("This property has been deprecated. Please use FileStream's SafeFileHandle property instead. http://go.microsoft.com/fwlink/?linkid=14202")]
+ public virtual System.IntPtr Handle { get { throw null; } }
+ public virtual bool IsAsync { get { throw null; } }
+ public override long Length { get { throw null; } }
+ public string Name { get { throw null; } }
+ public override long Position { get { throw null; } set { } }
+ public virtual Microsoft.Win32.SafeHandles.SafeFileHandle SafeFileHandle { get { throw null; } }
+ protected override void Dispose(bool disposing) { }
+ ~FileStream() { }
+ public override void Flush() { }
+ public virtual void Flush(bool flushToDisk) { }
+ public override System.Threading.Tasks.Task FlushAsync(System.Threading.CancellationToken cancellationToken) { throw null; }
+ public override int Read(byte[] array, int offset, int count) { throw null; }
+ public override System.Threading.Tasks.Task<int> ReadAsync(byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken) { throw null; }
+ public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state) { throw null; }
+ public override int EndRead(IAsyncResult asyncResult) { throw null; }
+ public virtual void Lock(long position, long length) { }
+ public override int ReadByte() { throw null; }
+ public override long Seek(long offset, System.IO.SeekOrigin origin) { throw null; }
+ public override void SetLength(long value) { }
+ public override void Write(byte[] array, int offset, int count) { }
+ public override System.Threading.Tasks.Task WriteAsync(byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken) { throw null; }
+ public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state) { throw null; }
+ public override void EndWrite(IAsyncResult asyncResult) { }
+ public override void WriteByte(byte value) { }
+ public virtual void Unlock(long position, long length) { }
+ }
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
public partial class IOException : System.SystemException
{
@@ -6736,6 +6907,8 @@ namespace System.IO
public System.Threading.Tasks.Task CopyToAsync(System.IO.Stream destination, int bufferSize) { throw null; }
[System.Runtime.InteropServices.ComVisibleAttribute(false)]
public virtual System.Threading.Tasks.Task CopyToAsync(System.IO.Stream destination, int bufferSize, System.Threading.CancellationToken cancellationToken) { throw null; }
+ [System.ObsoleteAttribute("CreateWaitHandle will be removed eventually. Please use \"new ManualResetEvent(false)\" instead.")]
+ protected virtual System.Threading.WaitHandle CreateWaitHandle() { return default(System.Threading.WaitHandle); }
public void Dispose() { }
protected virtual void Dispose(bool disposing) { }
public virtual int EndRead(System.IAsyncResult asyncResult) { throw null; }
@@ -6745,6 +6918,8 @@ namespace System.IO
public System.Threading.Tasks.Task FlushAsync() { throw null; }
[System.Runtime.InteropServices.ComVisibleAttribute(false)]
public virtual System.Threading.Tasks.Task FlushAsync(System.Threading.CancellationToken cancellationToken) { throw null; }
+ [System.ObsoleteAttribute("Do not call or override this method.")]
+ protected virtual void ObjectInvariant() { }
public abstract int Read(byte[] buffer, int offset, int count);
[System.Runtime.InteropServices.ComVisibleAttribute(false)]
public System.Threading.Tasks.Task<int> ReadAsync(byte[] buffer, int offset, int count) { throw null; }
@@ -6753,6 +6928,7 @@ namespace System.IO
public virtual int ReadByte() { throw null; }
public abstract long Seek(long offset, System.IO.SeekOrigin origin);
public abstract void SetLength(long value);
+ public static System.IO.Stream Synchronized(System.IO.Stream stream) { throw null; }
public abstract void Write(byte[] buffer, int offset, int count);
[System.Runtime.InteropServices.ComVisibleAttribute(false)]
public System.Threading.Tasks.Task WriteAsync(byte[] buffer, int offset, int count) { throw null; }
@@ -6910,6 +7086,7 @@ namespace System.IO
[System.Diagnostics.DebuggerStepThroughAttribute]
[System.Runtime.InteropServices.ComVisibleAttribute(false)]
public virtual System.Threading.Tasks.Task<string> ReadToEndAsync() { throw null; }
+ public static System.IO.TextReader Synchronized(System.IO.TextReader reader) { throw null; }
}
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
public abstract partial class TextWriter : System.IDisposable
@@ -6927,6 +7104,7 @@ namespace System.IO
public virtual void Flush() { }
[System.Runtime.InteropServices.ComVisibleAttribute(false)]
public virtual System.Threading.Tasks.Task FlushAsync() { throw null; }
+ public static System.IO.TextWriter Synchronized(System.IO.TextWriter writer) { throw null; }
public virtual void Write(bool value) { }
public virtual void Write(char value) { }
public virtual void Write(char[] buffer) { }
@@ -7001,6 +7179,10 @@ namespace System.IO
[System.Security.SecuritySafeCriticalAttribute]
[System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.Demand, Flags=(System.Security.Permissions.SecurityPermissionFlag)(2))]
protected void Initialize(System.Runtime.InteropServices.SafeBuffer buffer, long offset, long capacity, System.IO.FileAccess access) { }
+ [System.Security.SecurityCriticalAttribute]
+ public void Read<T>(long position, out T structure) where T : struct { structure = default(T); throw null; }
+ [System.Security.SecurityCriticalAttribute]
+ public int ReadArray<T>(long position, T[] array, int offset, int count) where T : struct { throw null; }
public bool ReadBoolean(long position) { throw null; }
public byte ReadByte(long position) { throw null; }
[System.Security.SecuritySafeCriticalAttribute]
@@ -7057,6 +7239,10 @@ namespace System.IO
[System.CLSCompliantAttribute(false)]
[System.Security.SecuritySafeCriticalAttribute]
public void Write(long position, ulong value) { }
+ [System.Security.SecurityCriticalAttribute]
+ public void Write<T>(long position, ref T structure) where T : struct { }
+ [System.Security.SecurityCriticalAttribute]
+ public void WriteArray<T>(long position, T[] array, int offset, int count) where T : struct { }
}
public partial class UnmanagedMemoryStream : System.IO.Stream
{
@@ -7125,11 +7311,15 @@ namespace System.Reflection
public virtual System.Collections.Generic.IEnumerable<System.Reflection.CustomAttributeData> CustomAttributes { get { throw null; } }
public virtual System.Collections.Generic.IEnumerable<System.Reflection.TypeInfo> DefinedTypes { get { throw null; } }
public virtual System.Reflection.MethodInfo EntryPoint { get { throw null; } }
+ public virtual string EscapedCodeBase { [System.Security.SecurityCriticalAttribute]get { throw null; } }
public virtual System.Collections.Generic.IEnumerable<System.Type> ExportedTypes { get { throw null; } }
public virtual string FullName { get { throw null; } }
+ public virtual bool GlobalAssemblyCache { get { throw null; } }
+ public virtual Int64 HostContext { get { throw null; } }
[System.Runtime.InteropServices.ComVisibleAttribute(false)]
public virtual string ImageRuntimeVersion { get { throw null; } }
public virtual bool IsDynamic { get { throw null; } }
+ public bool IsFullyTrusted { get { throw null; } }
public virtual string Location { [System.Security.SecurityCriticalAttribute]get { throw null; } }
[System.Runtime.InteropServices.ComVisibleAttribute(false)]
public virtual System.Reflection.Module ManifestModule { get { throw null; } }
@@ -7137,6 +7327,7 @@ namespace System.Reflection
public virtual System.Collections.Generic.IEnumerable<System.Reflection.Module> Modules { get { throw null; } }
[System.Runtime.InteropServices.ComVisibleAttribute(false)]
public virtual bool ReflectionOnly { get { throw null; } }
+ public virtual System.Security.SecurityRuleSet SecurityRuleSet { get { throw null; } }
public object CreateInstance(string typeName) { throw null; }
public object CreateInstance(string typeName, bool ignoreCase) { throw null; }
public virtual object CreateInstance(String typeName, bool ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, System.Globalization.CultureInfo culture, Object[] activationAttributes) { throw null; }
@@ -7155,6 +7346,9 @@ namespace System.Reflection
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)][System.Security.SecuritySafeCriticalAttribute]
public static System.Reflection.Assembly GetExecutingAssembly() { throw null; }
public virtual System.Type[] GetExportedTypes() { throw null; }
+ public virtual System.IO.FileStream GetFile(string name) { throw null; }
+ public virtual System.IO.FileStream[] GetFiles() { throw null; }
+ public virtual System.IO.FileStream[] GetFiles(bool getResourceModules) { throw null; }
public override int GetHashCode() { throw null; }
public System.Reflection.Module[] GetLoadedModules() { throw null; }
public virtual System.Reflection.Module[] GetLoadedModules(bool getResourceModules) { throw null; }
@@ -7187,6 +7381,13 @@ namespace System.Reflection
public static System.Reflection.Assembly Load(System.Reflection.AssemblyName assemblyRef) { throw null; }
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)][System.Security.SecuritySafeCriticalAttribute]
public static System.Reflection.Assembly Load(string assemblyString) { throw null; }
+ public static System.Reflection.Assembly LoadFile(String path) { throw null; }
+ public static System.Reflection.Assembly LoadFrom(String path) { throw null; }
+ public static Assembly LoadFrom(string assemblyFile, byte[] hashValue, System.Configuration.Assemblies.AssemblyHashAlgorithm hashAlgorithm) { throw null; }
+ public System.Reflection.Module LoadModule(String moduleName, byte[] rawModule) { throw null; }
+ public System.Reflection.Module LoadModule(String moduleName, byte[] rawModule, byte[] rawSymbolStore) { throw null; }
+ [ObsoleteAttribute("This method has been deprecated. Please use Assembly.Load() instead. http://go.microsoft.com/fwlink/?linkid=14202")]
+ public static Assembly LoadWithPartialName(string partialName) { throw null; }
[System.Security.SecuritySafeCriticalAttribute][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
public static Assembly ReflectionOnlyLoad(byte[] rawAssembly) { throw null; }
[System.Security.SecuritySafeCriticalAttribute][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
@@ -7194,6 +7395,7 @@ namespace System.Reflection
[System.Security.SecuritySafeCriticalAttribute][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
public static Assembly ReflectionOnlyLoadFrom(string assemblyFile) { throw null; }
public override string ToString() { throw null; }
+ public static Assembly UnsafeLoadFrom(string assemblyFile) { throw null; }
}
[System.AttributeUsageAttribute((System.AttributeTargets)(1), Inherited=false)]
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
@@ -7319,14 +7521,18 @@ namespace System.Reflection
public System.Globalization.CultureInfo CultureInfo { get { throw null; } set { } }
public string CultureName { [System.Security.SecurityCriticalAttribute]get { throw null; } [System.Security.SecurityCriticalAttribute]set { } }
public string CodeBase { get { throw null; } set { } }
+ public string EscapedCodeBase { get { throw null; } }
public System.Reflection.AssemblyNameFlags Flags { get { throw null; } set { } }
public string FullName { [System.Security.SecuritySafeCriticalAttribute]get { throw null; } }
public System.Configuration.Assemblies.AssemblyHashAlgorithm HashAlgorithm { get { throw null; } set { } }
+ public System.Reflection.StrongNameKeyPair KeyPair { get { throw null; } set { } }
public System.Configuration.Assemblies.AssemblyVersionCompatibility VersionCompatibility { get { throw null; } set { } }
public string Name { get { throw null; } set { } }
public System.Reflection.ProcessorArchitecture ProcessorArchitecture { get { throw null; } set { } }
public System.Version Version { get { throw null; } set { } }
public object Clone() { throw null; }
+ [System.Security.SecuritySafeCriticalAttribute]
+ public static System.Reflection.AssemblyName GetAssemblyName(System.String assemblyFile) { throw null; }
public byte[] GetPublicKey() { throw null; }
[System.Security.SecuritySafeCriticalAttribute]
public byte[] GetPublicKeyToken() { throw null; }
@@ -7336,6 +7542,8 @@ namespace System.Reflection
[System.Security.SecurityCriticalAttribute]
public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { throw null; }
public void OnDeserialization(Object sender) { throw null; }
+ [System.Security.SecuritySafeCriticalAttribute]
+ public static bool ReferenceMatchesDefinition(System.Reflection.AssemblyName reference, System.Reflection.AssemblyName definition) { throw null; }
}
[System.FlagsAttribute]
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
@@ -7723,7 +7931,7 @@ namespace System.Reflection
public static System.Reflection.TypeInfo GetTypeInfo(this System.Type type) { throw null; }
}
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
- public partial class InvalidFilterCriteriaException : System.Exception
+ public partial class InvalidFilterCriteriaException : System.ApplicationException
{
public InvalidFilterCriteriaException() { }
public InvalidFilterCriteriaException(string message) { }
@@ -7858,6 +8066,8 @@ namespace System.Reflection
public bool IsSpecialName { get { throw null; } }
public bool IsStatic { get { throw null; } }
public bool IsVirtual { get { throw null; } }
+ public virtual bool IsSecurityCritical { get { throw null; } }
+ public virtual bool IsSecurityTransparent { get { throw null; } }
public abstract System.RuntimeMethodHandle MethodHandle { get; }
public virtual System.Reflection.MethodImplAttributes MethodImplementationFlags { get { throw null; } }
public override bool Equals(object obj) { throw null; }
@@ -8217,7 +8427,7 @@ namespace System.Reflection
public static System.Reflection.PropertyInfo GetRuntimeProperty(this System.Type type, string name) { throw null; }
}
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
- public partial class TargetException : System.Exception
+ public partial class TargetException : System.ApplicationException
{
public TargetException() { }
public TargetException(string message) { }
@@ -8225,13 +8435,13 @@ namespace System.Reflection
protected TargetException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
}
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
- public sealed partial class TargetInvocationException : System.Exception
+ public sealed partial class TargetInvocationException : System.ApplicationException
{
public TargetInvocationException(System.Exception inner) { }
public TargetInvocationException(string message, System.Exception inner) { }
}
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
- public sealed partial class TargetParameterCountException : System.Exception
+ public sealed partial class TargetParameterCountException : System.ApplicationException
{
public TargetParameterCountException() { }
public TargetParameterCountException(string message) { }
@@ -8354,6 +8564,16 @@ namespace System.Reflection
public virtual bool IsAssignableFrom(System.Reflection.TypeInfo typeInfo) { throw null; }
System.Reflection.TypeInfo System.Reflection.IReflectableType.GetTypeInfo() { throw null; }
}
+ [System.Runtime.InteropServices.ComVisibleAttribute(true)]
+ public partial class StrongNameKeyPair : System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable
+ {
+ public StrongNameKeyPair(byte[] keyPairArray) { }
+ protected StrongNameKeyPair(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
+ public StrongNameKeyPair(string keyPairContainer) { }
+ public byte[] PublicKey { [System.Security.SecuritySafeCriticalAttribute]get { return default(byte[]); } }
+ void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) { }
+ void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
+ }
}
namespace System.Reflection.Emit
{
@@ -8644,6 +8864,8 @@ namespace System.Reflection.Emit
Cond_Branch = 3,
Meta = 4,
Next = 5,
+ [Obsolete("This API has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202")]
+ Phi = 6,
Return = 7,
Throw = 8,
}
@@ -9206,6 +9428,8 @@ namespace System.Reflection.Emit
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
public enum OpCodeType
{
+ [Obsolete("This API has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202")]
+ Annotation = 0,
Macro = 1,
Nternal = 2,
Objmodel = 3,
@@ -9221,6 +9445,8 @@ namespace System.Reflection.Emit
InlineI8 = 3,
InlineMethod = 4,
InlineNone = 5,
+ [Obsolete("This API has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202")]
+ InlinePhi = 6,
InlineR = 7,
InlineSig = 9,
InlineString = 10,
@@ -9591,15 +9817,26 @@ namespace System.Resources
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
public partial interface IResourceReader : System.Collections.IEnumerable, System.IDisposable
{
+ void Close();
new System.Collections.IDictionaryEnumerator GetEnumerator();
}
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
public partial class MissingManifestResourceException : System.SystemException
{
public MissingManifestResourceException() { }
+ protected MissingManifestResourceException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
public MissingManifestResourceException(string message) { }
public MissingManifestResourceException(string message, System.Exception inner) { }
- protected MissingManifestResourceException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
+ }
+ [System.Runtime.InteropServices.ComVisibleAttribute(true)]
+ public partial class MissingSatelliteAssemblyException : System.SystemException
+ {
+ public MissingSatelliteAssemblyException() { }
+ protected MissingSatelliteAssemblyException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
+ public MissingSatelliteAssemblyException(string message) { }
+ public MissingSatelliteAssemblyException(string message, System.Exception inner) { }
+ public MissingSatelliteAssemblyException(string message, string cultureName) { }
+ public string CultureName { get { throw null; } }
}
[System.AttributeUsageAttribute((System.AttributeTargets)(1), AllowMultiple=false)]
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
@@ -9622,8 +9859,10 @@ namespace System.Resources
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]public ResourceManager(string baseName, System.Reflection.Assembly assembly, System.Type usingResourceSet) { }
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]public ResourceManager(System.Type resourceSource) { }
public virtual string BaseName { get { throw null; } }
+ protected System.Resources.UltimateResourceFallbackLocation FallbackLocation { get { throw null; } set { } }
public virtual bool IgnoreCase { get { throw null; } set { } }
public virtual System.Type ResourceSetType { get { throw null; } }
+ public static System.Resources.ResourceManager CreateFileBasedResourceManager(string baseName, string resourceDir, System.Type usingResourceSet) { throw null; }
[System.Security.SecuritySafeCriticalAttribute]
protected static System.Globalization.CultureInfo GetNeutralResourcesLanguage(System.Reflection.Assembly a) { throw null; }
public virtual object GetObject(string name) { throw null; }
@@ -9643,18 +9882,33 @@ namespace System.Resources
public virtual void ReleaseAllResources() { }
}
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
+ public sealed partial class ResourceReader : System.Collections.IEnumerable, System.IDisposable, System.Resources.IResourceReader
+ {
+ [System.Security.SecurityCriticalAttribute]
+ public ResourceReader(System.IO.Stream stream) { }
+ [System.Security.SecurityCriticalAttribute]
+ public ResourceReader(string fileName) { }
+ public void Close() { }
+ public void Dispose() { }
+ public System.Collections.IDictionaryEnumerator GetEnumerator() { throw null; }
+ public void GetResourceData(string resourceName, out string resourceType, out byte[] resourceData) { resourceType = default(string); resourceData = default(byte[]); }
+ System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; }
+ }
+ [System.Runtime.InteropServices.ComVisibleAttribute(true)]
public partial class ResourceSet : System.Collections.IEnumerable, System.IDisposable
{
protected System.Resources.IResourceReader Reader;
protected ResourceSet() { }
[System.Security.SecurityCriticalAttribute]
public ResourceSet(System.IO.Stream stream) { }
+ public ResourceSet(System.Resources.IResourceReader reader) { }
[System.Security.SecurityCriticalAttribute]
public ResourceSet(string fileName) { }
public virtual void Close() { }
public void Dispose() { }
protected virtual void Dispose(bool disposing) { }
public virtual System.Type GetDefaultReader() { throw null; }
+ public virtual System.Type GetDefaultWriter() { throw null; }
[System.Runtime.InteropServices.ComVisibleAttribute(false)]
public virtual System.Collections.IDictionaryEnumerator GetEnumerator() { throw null; }
public virtual object GetObject(string name) { throw null; }
@@ -9699,6 +9953,15 @@ namespace System.Runtime
public static System.Runtime.GCLargeObjectHeapCompactionMode LargeObjectHeapCompactionMode { [System.Security.SecuritySafeCriticalAttribute]get { throw null; } [System.Security.SecurityCriticalAttribute]set { } }
public static System.Runtime.GCLatencyMode LatencyMode { [System.Security.SecuritySafeCriticalAttribute]get { throw null; } [System.Security.SecurityCriticalAttribute]set { } }
}
+
+ public sealed partial class MemoryFailPoint : System.Runtime.ConstrainedExecution.CriticalFinalizerObject, System.IDisposable
+ {
+ [System.Security.SecurityCriticalAttribute]
+ public MemoryFailPoint(int sizeInMegabytes) { }
+ [System.Security.SecuritySafeCriticalAttribute]
+ public void Dispose() { }
+ ~MemoryFailPoint() { }
+ }
}
namespace System.Runtime.CompilerServices
{
@@ -9757,26 +10020,6 @@ namespace System.Runtime.CompilerServices
[System.Security.SecuritySafeCriticalAttribute]
public void Start<TStateMachine>(ref TStateMachine stateMachine) where TStateMachine : System.Runtime.CompilerServices.IAsyncStateMachine { }
}
- [System.Runtime.InteropServices.ComVisibleAttribute(true)]
- public partial class CallConvCdecl
- {
- internal CallConvCdecl() { }
- }
- [System.Runtime.InteropServices.ComVisibleAttribute(true)]
- public partial class CallConvFastcall
- {
- internal CallConvFastcall() { }
- }
- [System.Runtime.InteropServices.ComVisibleAttribute(true)]
- public partial class CallConvStdcall
- {
- internal CallConvStdcall() { }
- }
- [System.Runtime.InteropServices.ComVisibleAttribute(true)]
- public partial class CallConvThiscall
- {
- internal CallConvThiscall() { }
- }
[System.AttributeUsageAttribute((System.AttributeTargets)(2048), Inherited=false)]
public sealed partial class CallerFilePathAttribute : System.Attribute
{
@@ -9811,6 +10054,12 @@ namespace System.Runtime.CompilerServices
{
public CompilerGeneratedAttribute() { }
}
+ [System.AttributeUsageAttribute((System.AttributeTargets)(4))]
+ [System.Runtime.InteropServices.ComVisibleAttribute(true)]
+ public partial class CompilerGlobalScopeAttribute : System.Attribute
+ {
+ public CompilerGlobalScopeAttribute() { }
+ }
public static partial class CompilerMarshalOverride
{
}
@@ -9892,11 +10141,29 @@ namespace System.Runtime.CompilerServices
public DecimalConstantAttribute(byte scale, byte sign, uint hi, uint mid, uint low) { }
public decimal Value { get { throw null; } }
}
+ [System.AttributeUsageAttribute((System.AttributeTargets)(1))]
+ public sealed partial class DefaultDependencyAttribute : System.Attribute
+ {
+ public DefaultDependencyAttribute(System.Runtime.CompilerServices.LoadHint loadHintArgument) { }
+ public System.Runtime.CompilerServices.LoadHint LoadHint { get { return default(System.Runtime.CompilerServices.LoadHint); } }
+ }
+ [System.AttributeUsageAttribute((System.AttributeTargets)(1), AllowMultiple=true)]
+ public sealed partial class DependencyAttribute : System.Attribute
+ {
+ public DependencyAttribute(string dependentAssemblyArgument, System.Runtime.CompilerServices.LoadHint loadHintArgument) { }
+ public string DependentAssembly { get { return default(string); } }
+ public System.Runtime.CompilerServices.LoadHint LoadHint { get { return default(System.Runtime.CompilerServices.LoadHint); } }
+ }
[System.AttributeUsageAttribute((System.AttributeTargets)(1), AllowMultiple=false, Inherited=false)]
public sealed partial class DisablePrivateReflectionAttribute : System.Attribute
{
public DisablePrivateReflectionAttribute() { }
}
+ [System.Runtime.InteropServices.ComVisibleAttribute(true)]
+ public partial class DiscardableAttribute : System.Attribute
+ {
+ public DiscardableAttribute() { }
+ }
[System.AttributeUsageAttribute((System.AttributeTargets)(69))]
public sealed partial class ExtensionAttribute : System.Attribute
{
@@ -9950,39 +10217,8 @@ namespace System.Runtime.CompilerServices
public bool AllInternalsVisible { get { throw null; } set { } }
public string AssemblyName { get { throw null; } }
}
- public static partial class IsBoxed
- {
- }
- public static partial class IsByValue
- {
- }
- public static partial class IsConst
- {
- }
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
- public static partial class IsCopyConstructed
- {
- }
- public static partial class IsExplicitlyDereferenced
- {
- }
- public static partial class IsImplicitlyDereferenced
- {
- }
- public static partial class IsJitIntrinsic
- {
- }
- public static partial class IsLong
- {
- }
- public static partial class IsSignUnspecifiedByte
- {
- }
- public static partial class IsUdtReturn
- {
- }
- [System.Runtime.InteropServices.ComVisibleAttribute(true)]
- public static partial class IsVolatile
+ public static partial class IsVolatile
{
}
[System.AttributeUsageAttribute((System.AttributeTargets)(64), Inherited=false, AllowMultiple=false)]
@@ -9990,6 +10226,11 @@ namespace System.Runtime.CompilerServices
{
public IteratorStateMachineAttribute(System.Type stateMachineType) : base (default(System.Type)) { }
}
+ public enum LoadHint {
+ Always = 1,
+ Default = 0,
+ Sometimes = 2,
+ }
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
public enum MethodCodeType
{
@@ -10022,12 +10263,6 @@ namespace System.Runtime.CompilerServices
Synchronized = 32,
Unmanaged = 4,
}
- [System.AttributeUsageAttribute((System.AttributeTargets)(8), Inherited=true)]
- [System.Runtime.InteropServices.ComVisibleAttribute(true)]
- public sealed partial class NativeCppClassAttribute : System.Attribute
- {
- public NativeCppClassAttribute() { }
- }
[System.AttributeUsageAttribute((System.AttributeTargets)(1), AllowMultiple=false)]
public sealed partial class ReferenceAssemblyAttribute : System.Attribute
{
@@ -10035,13 +10270,6 @@ namespace System.Runtime.CompilerServices
public ReferenceAssemblyAttribute(string description) { }
public string Description { get { throw null; } }
}
- [System.AttributeUsageAttribute((System.AttributeTargets)(1052), AllowMultiple=true, Inherited=false)]
- [System.Runtime.InteropServices.ComVisibleAttribute(true)]
- public sealed partial class RequiredAttributeAttribute : System.Attribute
- {
- public RequiredAttributeAttribute(System.Type requiredContract) { }
- public System.Type RequiredContract { get { throw null; } }
- }
[System.AttributeUsageAttribute((System.AttributeTargets)(1), Inherited=false, AllowMultiple=false)]
public sealed partial class RuntimeCompatibilityAttribute : System.Attribute
{
@@ -10050,6 +10278,7 @@ namespace System.Runtime.CompilerServices
}
public static partial class RuntimeHelpers
{
+ public static new bool Equals(object o1, object o2) { throw null; }
public static int OffsetToStringData { get { throw null; } }
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecuritySafeCriticalAttribute]
public static void EnsureSufficientExecutionStack() { }
@@ -10061,12 +10290,48 @@ namespace System.Runtime.CompilerServices
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecuritySafeCriticalAttribute]
public static void InitializeArray(System.Array array, System.RuntimeFieldHandle fldHandle) { }
public static void RunClassConstructor(System.RuntimeTypeHandle type) { }
+ public static void RunModuleConstructor(System.ModuleHandle module) { }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecurityCriticalAttribute]
+ public static void ExecuteCodeWithGuaranteedCleanup(System.Runtime.CompilerServices.RuntimeHelpers.TryCode code, System.Runtime.CompilerServices.RuntimeHelpers.CleanupCode backoutCode, object userData) { }
+ [System.Security.SecurityCriticalAttribute]
+ public delegate void CleanupCode(object userData, bool exceptionThrown);
+ [System.Security.SecurityCriticalAttribute]
+ public delegate void TryCode(object userData);
+ [System.Runtime.ConstrainedExecution.ReliabilityContractAttribute((System.Runtime.ConstrainedExecution.Consistency)(3), (System.Runtime.ConstrainedExecution.Cer)(1))]
+ [System.Security.SecurityCriticalAttribute]
+ public static void PrepareConstrainedRegions() { }
+ [System.Runtime.ConstrainedExecution.ReliabilityContractAttribute((System.Runtime.ConstrainedExecution.Consistency)(3), (System.Runtime.ConstrainedExecution.Cer)(1))]
+ [System.Security.SecurityCriticalAttribute]
+ public static void PrepareConstrainedRegionsNoOP() { }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecurityCriticalAttribute]
+ public static void PrepareContractedDelegate(System.Delegate d) { }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecurityCriticalAttribute]
+ public static void PrepareDelegate(System.Delegate d) { }
+ [System.Security.SecurityCriticalAttribute]
+ public static void PrepareMethod(System.RuntimeMethodHandle method) { }
+ [System.Security.SecurityCriticalAttribute]
+ public static void PrepareMethod(System.RuntimeMethodHandle method, System.RuntimeTypeHandle[] instantiation) { }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Runtime.ConstrainedExecution.ReliabilityContractAttribute((System.Runtime.ConstrainedExecution.Consistency)(3), (System.Runtime.ConstrainedExecution.Cer)(1))]
+ [System.Security.SecurityCriticalAttribute]
+ public static void ProbeForSufficientStack() { }
+ }
+ public sealed partial class RuntimeWrappedException : System.Exception
+ {
+ internal RuntimeWrappedException() { }
+ public object WrappedException { get { return default(object); } }
+ [System.Security.SecurityCriticalAttribute]
+ public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
}
[System.AttributeUsageAttribute((System.AttributeTargets)(972))]
public sealed partial class SpecialNameAttribute : System.Attribute
{
public SpecialNameAttribute() { }
}
+ [System.AttributeUsageAttribute((System.AttributeTargets)(1), Inherited=false)]
+ public sealed partial class StringFreezingAttribute : System.Attribute
+ {
+ public StringFreezingAttribute() { }
+ }
[System.AttributeUsageAttribute((System.AttributeTargets)(64), Inherited=false, AllowMultiple=false)]
public partial class StateMachineAttribute : System.Attribute
{
@@ -10140,6 +10405,27 @@ namespace System.Runtime.ConstrainedExecution
protected CriticalFinalizerObject() { }
~CriticalFinalizerObject() { }
}
+
+ public enum Cer
+ {
+ MayFail = 1,
+ None = 0,
+ Success = 2,
+ }
+ public enum Consistency
+ {
+ MayCorruptAppDomain = 1,
+ MayCorruptInstance = 2,
+ MayCorruptProcess = 0,
+ WillNotCorruptState = 3,
+ }
+ [System.AttributeUsageAttribute((System.AttributeTargets)(1133), Inherited=false)]
+ public sealed partial class ReliabilityContractAttribute : System.Attribute
+ {
+ public ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency consistencyGuarantee, System.Runtime.ConstrainedExecution.Cer cer) { }
+ public System.Runtime.ConstrainedExecution.Cer Cer { get { return default(System.Runtime.ConstrainedExecution.Cer); } }
+ public System.Runtime.ConstrainedExecution.Consistency ConsistencyGuarantee { get { return default(System.Runtime.ConstrainedExecution.Consistency); } }
+ }
}
namespace System.Runtime.ExceptionServices
{
@@ -10155,6 +10441,11 @@ namespace System.Runtime.ExceptionServices
{
public HandleProcessCorruptedStateExceptionsAttribute() { }
}
+ public sealed partial class FirstChanceExceptionEventArgs : EventArgs
+ {
+ public FirstChanceExceptionEventArgs(Exception exception) { }
+ public Exception Exception { get { throw null; } }
+ }
}
namespace System.Runtime.InteropServices
{
@@ -10163,6 +10454,13 @@ namespace System.Runtime.InteropServices
{
public AllowReversePInvokeCallsAttribute() { }
}
+ [System.AttributeUsageAttribute((System.AttributeTargets)(1029), Inherited=false)]
+ [System.Runtime.InteropServices.ComVisibleAttribute(true)]
+ public sealed partial class AutomationProxyAttribute : System.Attribute
+ {
+ public AutomationProxyAttribute(bool val) { }
+ public bool Value { get { throw null; } }
+ }
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public partial struct ArrayWithOffset
@@ -10235,6 +10533,29 @@ namespace System.Runtime.InteropServices
public CoClassAttribute(System.Type coClass) { }
public System.Type CoClass { get { throw null; } }
}
+ [System.AttributeUsageAttribute((System.AttributeTargets)(10624), Inherited=false)]
+ [System.Runtime.InteropServices.ComVisibleAttribute(true)]
+ public sealed partial class ComAliasNameAttribute : System.Attribute
+ {
+ public ComAliasNameAttribute(String val) { }
+ public String Value { get { throw null; } }
+ }
+ [System.AttributeUsageAttribute((System.AttributeTargets)(1), Inherited=false)]
+ [System.Runtime.InteropServices.ComVisibleAttribute(true)]
+ public sealed partial class ComCompatibleVersionAttribute : System.Attribute
+ {
+ public ComCompatibleVersionAttribute(System.Int32 major, System.Int32 minor, System.Int32 build, System.Int32 revision) { }
+ public System.Int32 MajorVersion { get { throw null; } }
+ public System.Int32 MinorVersion { get { throw null; } }
+ public System.Int32 BuildNumber { get { throw null;} }
+ public System.Int32 RevisionNumber { get { throw null; } }
+ }
+ [System.AttributeUsageAttribute((System.AttributeTargets)(32767), Inherited=false)]
+ [System.Runtime.InteropServices.ComVisibleAttribute(true)]
+ public sealed partial class ComConversionLossAttribute : Attribute
+ {
+ public ComConversionLossAttribute() { }
+ }
[System.AttributeUsageAttribute((System.AttributeTargets)(4), Inherited=false)]
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
public sealed partial class ComDefaultInterfaceAttribute : System.Attribute
@@ -10289,6 +10610,12 @@ namespace System.Runtime.InteropServices
PropGet = 1,
PropSet = 2,
}
+ [System.AttributeUsageAttribute((System.AttributeTargets)(64), Inherited=false)]
+ [System.Runtime.InteropServices.ComVisibleAttribute(true)]
+ public sealed partial class ComRegisterFunctionAttribute : Attribute
+ {
+ public ComRegisterFunctionAttribute() { }
+ }
[System.AttributeUsageAttribute((System.AttributeTargets)(4), Inherited=true)]
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
public sealed partial class ComSourceInterfacesAttribute : System.Attribute
@@ -10300,6 +10627,12 @@ namespace System.Runtime.InteropServices
public ComSourceInterfacesAttribute(System.Type sourceInterface1, System.Type sourceInterface2, System.Type sourceInterface3, System.Type sourceInterface4) { }
public string Value { get { throw null; } }
}
+ [System.AttributeUsageAttribute((System.AttributeTargets)(64), Inherited=false)]
+ [System.Runtime.InteropServices.ComVisibleAttribute(true)]
+ public sealed partial class ComUnregisterFunctionAttribute : Attribute
+ {
+ public ComUnregisterFunctionAttribute() { }
+ }
[System.AttributeUsageAttribute((System.AttributeTargets)(5597), Inherited=false)]
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
public sealed partial class ComVisibleAttribute : System.Attribute
@@ -10418,6 +10751,7 @@ namespace System.Runtime.InteropServices
public ExternalException(string message, System.Exception inner) { }
public ExternalException(string message, int errorCode) { }
public virtual int ErrorCode { get { throw null; } }
+ public override string ToString() { throw null; }
}
[System.AttributeUsageAttribute((System.AttributeTargets)(256), Inherited=false)]
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
@@ -10466,17 +10800,48 @@ namespace System.Runtime.InteropServices
public GuidAttribute(string guid) { }
public string Value { get { throw null; } }
}
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
+ [System.Runtime.InteropServices.ComVisibleAttribute(true)]
+ public partial struct HandleRef
+ {
+ public HandleRef(object wrapper, System.IntPtr handle) { throw null;}
+ public System.IntPtr Handle { get { throw null; } }
+ public object Wrapper { get { throw null; } }
+ public static explicit operator System.IntPtr (System.Runtime.InteropServices.HandleRef value) { throw null; }
+ public static System.IntPtr ToIntPtr(System.Runtime.InteropServices.HandleRef value) { throw null; }
+ }
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
public partial interface ICustomAdapter
{
object GetUnderlyingObject();
}
+ [System.Runtime.InteropServices.ComVisibleAttribute(true)]
+ public partial interface ICustomFactory
+ {
+ MarshalByRefObject CreateInstance(Type serverType);
+ }
+ [System.Runtime.InteropServices.ComVisibleAttribute(true)]
+ public partial interface ICustomMarshaler
+ {
+ object MarshalNativeToManaged(System.IntPtr pNativeData);
+ System.IntPtr MarshalManagedToNative(object ManagedObj);
+ void CleanUpNativeData(System.IntPtr pNativeData);
+ void CleanUpManagedData(object ManagedObj);
+ int GetNativeDataSize();
+ }
[System.Runtime.InteropServices.ComVisibleAttribute(false)]
public partial interface ICustomQueryInterface
{
[System.Security.SecurityCriticalAttribute]
System.Runtime.InteropServices.CustomQueryInterfaceResult GetInterface(ref System.Guid iid, out System.IntPtr ppv);
}
+ [System.AttributeUsageAttribute((System.AttributeTargets)(1), Inherited=false)]
+ [System.Runtime.InteropServices.ComVisibleAttribute(true)]
+ public sealed partial class ImportedFromTypeLibAttribute : System.Attribute
+ {
+ public ImportedFromTypeLibAttribute(String val) { }
+ public String Value { get { throw null; } }
+ }
[System.AttributeUsageAttribute((System.AttributeTargets)(2048), Inherited=false)]
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
public sealed partial class InAttribute : System.Attribute
@@ -10514,6 +10879,13 @@ namespace System.Runtime.InteropServices
Explicit = 2,
Sequential = 0,
}
+ [System.AttributeUsageAttribute((System.AttributeTargets)(64), Inherited=false)]
+ [System.Runtime.InteropServices.ComVisibleAttribute(true)]
+ public sealed partial class LCIDConversionAttribute : System.Attribute
+ {
+ public LCIDConversionAttribute(System.Int32 val) { }
+ public System.Int32 Value { get { throw null; } }
+ }
[System.Security.SecurityCriticalAttribute]
public static partial class Marshal
{
@@ -10530,6 +10902,12 @@ namespace System.Runtime.InteropServices
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecurityCriticalAttribute]
public static bool AreComObjectsAvailableForCleanup() { throw null; }
[System.Security.SecurityCriticalAttribute]
+ public static object BindToMoniker(string monikerName) { throw null; }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecurityCritical]
+ public static void ChangeWrapperHandleStrength(object otp, bool fIsWeak) { throw null; }
+ [System.Security.SecurityCriticalAttribute]
+ public static void CleanupUnusedObjectsInCurrentContext() { throw null; }
+ [System.Security.SecurityCriticalAttribute]
public static void Copy(byte[] source, int startIndex, System.IntPtr destination, int length) { }
[System.Security.SecurityCriticalAttribute]
public static void Copy(char[] source, int startIndex, System.IntPtr destination, int length) { }
@@ -10583,11 +10961,17 @@ namespace System.Runtime.InteropServices
[System.Security.SecurityCriticalAttribute]
public static void FreeHGlobal(System.IntPtr hglobal) { }
[System.Security.SecurityCriticalAttribute]
+ public static Guid GenerateGuidForType(System.Type type) { throw null; }
+ [System.Security.SecurityCritical]
+ public static string GenerateProgIdForType(System.Type type) { throw null; }
+ [System.Security.SecurityCriticalAttribute]
public static System.IntPtr GetComInterfaceForObject(object o, System.Type T) { throw null; }
[System.Security.SecurityCriticalAttribute]
public static System.IntPtr GetComInterfaceForObject(object o, System.Type T, System.Runtime.InteropServices.CustomQueryInterfaceMode mode) { throw null; }
[System.Security.SecurityCriticalAttribute]
public static System.IntPtr GetComInterfaceForObject<T, TInterface>(T o) { throw null; }
+ [System.Security.SecurityCritical]
+ public static object GetComObjectData(object obj, object key) { throw null; }
[System.Security.SecurityCriticalAttribute]
public static System.Delegate GetDelegateForFunctionPointer(System.IntPtr ptr, System.Type t) { throw null; }
[System.Security.SecurityCriticalAttribute]
@@ -10602,10 +10986,14 @@ namespace System.Runtime.InteropServices
public static System.IntPtr GetFunctionPointerForDelegate(System.Delegate d) { throw null; }
[System.Security.SecurityCriticalAttribute]
public static System.IntPtr GetFunctionPointerForDelegate<TDelegate>(TDelegate d) { throw null; }
+ [System.Security.SecurityCritical]
+ public static System.IntPtr GetHINSTANCE(System.Reflection.Module m) { throw null; }
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecurityCriticalAttribute]
public static int GetHRForException(System.Exception e) { throw null; }
[System.Security.SecurityCriticalAttribute]
public static int GetHRForLastWin32Error() { throw null; }
+ [System.Security.SecurityCritical]
+ public static System.IntPtr GetIDispatchForObject(object o) { throw null; }
[System.Security.SecurityCriticalAttribute]
public static System.IntPtr GetIUnknownForObject(object o) { throw null; }
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecurityCriticalAttribute]
@@ -10626,6 +11014,8 @@ namespace System.Runtime.InteropServices
public static T[] GetObjectsForNativeVariants<T>(System.IntPtr aSrcNativeVariant, int cVars) { throw null; }
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecurityCriticalAttribute]
public static int GetStartComSlot(System.Type t) { throw null; }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecurityCritical]
+ public static object GetTypedObjectForIUnknown(System.IntPtr pUnk, System.Type t) { throw null; }
public static System.Type GetTypeFromCLSID(System.Guid clsid) { throw null; }
[System.Security.SecurityCriticalAttribute]
public static string GetTypeInfoName(System.Runtime.InteropServices.ComTypes.ITypeInfo typeInfo) { throw null; }
@@ -10643,6 +11033,10 @@ namespace System.Runtime.InteropServices
[System.Security.SecurityCriticalAttribute]
public static string PtrToStringAnsi(System.IntPtr ptr, int len) { throw null; }
[System.Security.SecurityCriticalAttribute]
+ public static string PtrToStringAuto(System.IntPtr ptr) { throw null; }
+ [System.Security.SecurityCriticalAttribute]
+ public static string PtrToStringAuto(System.IntPtr ptr, int len) { throw null; }
+ [System.Security.SecurityCriticalAttribute]
public static string PtrToStringBSTR(System.IntPtr ptr) { throw null; }
[System.Security.SecurityCriticalAttribute]
public static string PtrToStringUni(System.IntPtr ptr) { throw null; }
@@ -10702,6 +11096,8 @@ namespace System.Runtime.InteropServices
public static int Release(System.IntPtr pUnk) { throw null; }
[System.Security.SecurityCriticalAttribute]
public static int ReleaseComObject(object o) { throw null; }
+ [System.Security.SecurityCritical]
+ public static bool SetComObjectData(object obj, object key, object data) { throw null; }
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
public static int SizeOf(object structure) { throw null; }
public static int SizeOf(System.Type t) { throw null; }
@@ -10711,12 +11107,16 @@ namespace System.Runtime.InteropServices
public static System.IntPtr StringToBSTR(string s) { throw null; }
[System.Security.SecurityCriticalAttribute]
public static System.IntPtr StringToCoTaskMemAnsi(string s) { throw null; }
+ [System.Security.SecurityCritical]
+ public static System.IntPtr StringToCoTaskMemAuto(string s) { throw null; }
[System.Security.SecurityCriticalAttribute]
public static System.IntPtr StringToCoTaskMemUni(string s) { throw null; }
[System.Security.SecurityCriticalAttribute]
public static System.IntPtr StringToCoTaskMemUTF8(string s) { throw null; }
[System.Security.SecurityCriticalAttribute]
public static System.IntPtr StringToHGlobalAnsi(string s) { throw null; }
+ [System.Security.SecurityCritical]
+ public static System.IntPtr StringToHGlobalAuto(string s) { throw null; }
[System.Security.SecurityCriticalAttribute]
public static System.IntPtr StringToHGlobalUni(string s) { throw null; }
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Runtime.InteropServices.ComVisibleAttribute(true)]
@@ -10781,6 +11181,14 @@ namespace System.Runtime.InteropServices
[System.Security.SecurityCriticalAttribute]
public static void ZeroFreeGlobalAllocUnicode(System.IntPtr s) { }
}
+ [System.AttributeUsageAttribute((System.AttributeTargets)(64), Inherited=false)]
+ [System.Runtime.InteropServices.ComVisibleAttribute(true)]
+ public sealed partial class ManagedToNativeComInteropStubAttribute : System.Attribute
+ {
+ public ManagedToNativeComInteropStubAttribute(System.Type classType, System.String methodName) { }
+ public System.Type ClassType { get { throw null; } }
+ public System.String MethodName { get { throw null; } }
+ }
[System.AttributeUsageAttribute((System.AttributeTargets)(10496), Inherited=false)]
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
public sealed partial class MarshalAsAttribute : System.Attribute
@@ -10833,12 +11241,21 @@ namespace System.Runtime.InteropServices
{
public PreserveSigAttribute() { }
}
+ [System.AttributeUsageAttribute((System.AttributeTargets)(1), Inherited=false, AllowMultiple = true)]
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
- public static partial class RuntimeEnvironment
+ public sealed partial class PrimaryInteropAssemblyAttribute : System.Attribute
{
- [System.Security.SecuritySafeCriticalAttribute]
- public static string GetRuntimeDirectory() { throw null; }
+ public PrimaryInteropAssemblyAttribute(System.Int32 major, System.Int32 minor) { }
+ public System.Int32 MajorVersion { get { throw null; } }
+ public System.Int32 MinorVersion { get { throw null; } }
}
+ [System.AttributeUsageAttribute((System.AttributeTargets)(4), Inherited=false)]
+ [System.Runtime.InteropServices.ComVisibleAttribute(true)]
+ public sealed partial class ProgIdAttribute : System.Attribute
+ {
+ public ProgIdAttribute(String val) { }
+ public String Value { get { throw null; } }
+ }
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
public partial class SafeArrayRankMismatchException : System.SystemException
{
@@ -10933,6 +11350,21 @@ namespace System.Runtime.InteropServices
public string Identifier { get { throw null; } }
public string Scope { get { throw null; } }
}
+ [System.AttributeUsageAttribute((System.AttributeTargets)(1024), Inherited=false)]
+ [System.Runtime.InteropServices.ComVisibleAttribute(true)]
+ public sealed partial class TypeLibImportClassAttribute : System.Attribute
+ {
+ public TypeLibImportClassAttribute(System.Type val) { }
+ public String Value { get { throw null; } }
+ }
+ [System.AttributeUsageAttribute((System.AttributeTargets)(1), Inherited=false)]
+ [System.Runtime.InteropServices.ComVisibleAttribute(true)]
+ public sealed partial class TypeLibVersionAttribute : System.Attribute
+ {
+ public TypeLibVersionAttribute(System.Int32 major, System.Int32 minor) { }
+ public System.Int32 MajorVersion { get { throw null; } }
+ public System.Int32 MinorVersion { get { throw null; } }
+ }
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
public sealed partial class UnknownWrapper
{
@@ -11625,8 +12057,13 @@ namespace System.Runtime.Loader
public static System.Runtime.Loader.AssemblyLoadContext Default { get { throw null; } }
public event System.Func<System.Runtime.Loader.AssemblyLoadContext, System.Reflection.AssemblyName, System.Reflection.Assembly> Resolving { add { } remove { } }
public event System.Action<System.Runtime.Loader.AssemblyLoadContext> Unloading { add { } remove { } }
+ public static event AssemblyLoadEventHandler AssemblyLoad { add { } remove { } }
+ public static event ResolveEventHandler AssemblyResolve { add { } remove { } }
+ public static event ResolveEventHandler TypeResolve { add { } remove { } }
+ public static event ResolveEventHandler ResourceResolve { add { } remove { } }
public static System.Reflection.AssemblyName GetAssemblyName(string assemblyPath) { throw null; }
public static System.Runtime.Loader.AssemblyLoadContext GetLoadContext(System.Reflection.Assembly assembly) { throw null; }
+ public static System.Reflection.Assembly[] GetLoadedAssemblies() { throw null; }
protected abstract System.Reflection.Assembly Load(System.Reflection.AssemblyName assemblyName);
public System.Reflection.Assembly LoadFromAssemblyName(System.Reflection.AssemblyName assemblyName) { throw null; }
public System.Reflection.Assembly LoadFromAssemblyPath(string assemblyPath) { throw null; }
@@ -11838,41 +12275,19 @@ namespace System.Runtime.Serialization
Persistence = 8,
Remoting = 16,
}
-}
-namespace System.Runtime.Versioning
-{
- [System.AttributeUsageAttribute((System.AttributeTargets)(5887), AllowMultiple=false, Inherited=false)]
- public sealed partial class ComponentGuaranteesAttribute : System.Attribute
- {
- public ComponentGuaranteesAttribute(System.Runtime.Versioning.ComponentGuaranteesOptions guarantees) { }
- public System.Runtime.Versioning.ComponentGuaranteesOptions Guarantees { get { throw null; } }
- }
- [System.FlagsAttribute]
- public enum ComponentGuaranteesOptions
- {
- Exchange = 1,
- None = 0,
- SideBySide = 4,
- Stable = 2,
- }
- [System.AttributeUsageAttribute((System.AttributeTargets)(480), Inherited=false)]
- [System.Diagnostics.ConditionalAttribute("RESOURCE_ANNOTATION_WORK")]
- public sealed partial class ResourceExposureAttribute : System.Attribute
+ public sealed partial class SafeSerializationEventArgs : System.EventArgs
{
- public ResourceExposureAttribute(System.Runtime.Versioning.ResourceScope exposureLevel) { }
- public System.Runtime.Versioning.ResourceScope ResourceExposureLevel { get { throw null; } }
+ internal SafeSerializationEventArgs() { }
+ public System.Runtime.Serialization.StreamingContext StreamingContext { get { throw null; } }
+ public void AddSerializedState(System.Runtime.Serialization.ISafeSerializationData serializedState) { }
}
- [System.FlagsAttribute]
- public enum ResourceScope
+ public partial interface ISafeSerializationData
{
- AppDomain = 4,
- Assembly = 32,
- Library = 8,
- Machine = 1,
- None = 0,
- Private = 16,
- Process = 2,
+ void CompleteDeserialization(object deserialized);
}
+}
+namespace System.Runtime.Versioning
+{
[System.AttributeUsageAttribute((System.AttributeTargets)(1), AllowMultiple=false, Inherited=false)]
public sealed partial class TargetFrameworkAttribute : System.Attribute
{
@@ -11880,12 +12295,6 @@ namespace System.Runtime.Versioning
public string FrameworkDisplayName { get { throw null; } set { } }
public string FrameworkName { get { throw null; } }
}
- public static partial class VersioningHelper
- {
- public static string MakeVersionSafeName(string name, System.Runtime.Versioning.ResourceScope from, System.Runtime.Versioning.ResourceScope to) { throw null; }
- [System.Security.SecuritySafeCriticalAttribute]
- public static string MakeVersionSafeName(string name, System.Runtime.Versioning.ResourceScope from, System.Runtime.Versioning.ResourceScope to, System.Type type) { throw null; }
- }
}
namespace System.Security
{
@@ -11894,23 +12303,64 @@ namespace System.Security
public sealed partial class AllowPartiallyTrustedCallersAttribute : System.Attribute
{
public AllowPartiallyTrustedCallersAttribute() { }
+ public System.Security.PartialTrustVisibilityLevel PartialTrustVisibilityLevel { get { throw null; } set { } }
+ }
+ public enum PartialTrustVisibilityLevel
+ {
+ NotVisibleByDefault = 1,
+ VisibleToAllHosts = 0,
}
[System.AttributeUsageAttribute((System.AttributeTargets)(5501), AllowMultiple=false, Inherited=false)]
public sealed partial class SecurityCriticalAttribute : System.Attribute
{
public SecurityCriticalAttribute() { }
+#pragma warning disable 0618
+ public SecurityCriticalAttribute(System.Security.SecurityCriticalScope scope) { }
+#pragma warning restore 0618
+ [System.ObsoleteAttribute("SecurityCriticalScope is only used for .NET 2.0 transparency compatibility.")]
+ public System.Security.SecurityCriticalScope Scope { get { throw null; } }
+ }
+ [System.ObsoleteAttribute("SecurityCriticalScope is only used for .NET 2.0 transparency compatibility.")]
+ public enum SecurityCriticalScope
+ {
+ Everything = 1,
+ Explicit = 0,
}
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
public partial class SecurityException : System.SystemException
{
public SecurityException() { }
+ protected SecurityException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
public SecurityException(string message) { }
public SecurityException(string message, System.Exception inner) { }
- protected SecurityException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
- [System.Security.SecurityCriticalAttribute]
+ public SecurityException(string message, System.Type type) { }
+ public SecurityException(string message, System.Type type, string state) { }
+ public object Demanded { get { throw null; } set { } }
+ public object DenySetInstance { get { throw null; } set { } }
+ public System.Reflection.AssemblyName FailedAssemblyInfo { get { throw null; } set { } }
+ public string GrantedSet { get { throw null; } set { } }
+ public System.Reflection.MethodInfo Method { get { throw null; } set { } }
+ public string PermissionState { get { throw null; } set { } }
+ public System.Type PermissionType { get { throw null; } set { } }
+ public object PermitOnlySetInstance { get { throw null; } set { } }
+ public string RefusedSet { get { throw null; } set { } }
+ public string Url { get { throw null; } set { } }
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
public override string ToString() { throw null; }
}
+ [System.AttributeUsageAttribute((System.AttributeTargets)(1), AllowMultiple=false)]
+ public sealed partial class SecurityRulesAttribute : System.Attribute
+ {
+ public SecurityRulesAttribute(System.Security.SecurityRuleSet ruleSet) { }
+ public System.Security.SecurityRuleSet RuleSet { get { throw null; } }
+ public bool SkipVerificationInFullTrust { get { throw null; } set { } }
+ }
+ public enum SecurityRuleSet : byte
+ {
+ Level1 = (byte)1,
+ Level2 = (byte)2,
+ None = (byte)0,
+ }
[System.AttributeUsageAttribute((System.AttributeTargets)(5500), AllowMultiple=false, Inherited=false)]
public sealed partial class SecuritySafeCriticalAttribute : System.Attribute
{
@@ -11929,6 +12379,17 @@ namespace System.Security
{
public SecurityTransparentAttribute() { }
}
+ [System.AttributeUsageAttribute((System.AttributeTargets)(5501), AllowMultiple=false, Inherited=false)]
+ [System.ObsoleteAttribute("SecurityTreatAsSafe is only used for .NET 2.0 transparency compatibility. Please use the SecuritySafeCriticalAttribute instead.")]
+ public sealed partial class SecurityTreatAsSafeAttribute : System.Attribute
+ {
+ public SecurityTreatAsSafeAttribute() { }
+ }
+ [System.AttributeUsageAttribute((System.AttributeTargets)(5188), AllowMultiple=true, Inherited=false)]
+ public sealed partial class SuppressUnmanagedCodeSecurityAttribute : System.Attribute
+ {
+ public SuppressUnmanagedCodeSecurityAttribute() { }
+ }
[System.AttributeUsageAttribute((System.AttributeTargets)(2), AllowMultiple=true, Inherited=false)]
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
public sealed partial class UnverifiableCodeAttribute : System.Attribute
@@ -12646,6 +13107,12 @@ namespace System.Threading
public System.Threading.Mutex Mutex { get { throw null; } }
public int MutexIndex { get { throw null; } }
}
+ public enum ApartmentState
+ {
+ MTA = 1,
+ STA = 0,
+ Unknown = 2,
+ }
public sealed partial class AsyncLocal<T>
{
public AsyncLocal() { }
@@ -12890,7 +13357,9 @@ namespace System.Threading
public static void TryEnter(object obj, System.TimeSpan timeout, ref bool lockTaken) { }
public static bool Wait(object obj) { throw null; }
public static bool Wait(object obj, int millisecondsTimeout) { throw null; }
+ public static bool Wait(object obj, int millisecondsTimeout, bool exitContext) { throw null; }
public static bool Wait(object obj, System.TimeSpan timeout) { throw null; }
+ public static bool Wait(object obj, System.TimeSpan timeout, bool exitContext) { throw null; }
}
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
public sealed partial class Mutex : System.Threading.WaitHandle
@@ -13053,44 +13522,47 @@ namespace System.Threading
}
[System.Runtime.InteropServices.ClassInterfaceAttribute((System.Runtime.InteropServices.ClassInterfaceType)(0))]
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
- public sealed partial class Thread : System.Runtime.ConstrainedExecution.CriticalFinalizerObject
+ public sealed partial class Thread : Internal.Runtime.Augments.RuntimeThread
{
[System.Security.SecuritySafeCriticalAttribute]
public Thread(System.Threading.ParameterizedThreadStart start) { }
[System.Security.SecuritySafeCriticalAttribute]
public Thread(System.Threading.ThreadStart start) { }
public System.Globalization.CultureInfo CurrentCulture { get { throw null; } [System.Security.SecuritySafeCriticalAttribute]set { } }
- public static System.Threading.Thread CurrentThread { [System.Security.SecuritySafeCriticalAttribute]get { throw null; } }
+ public static new System.Threading.Thread CurrentThread { [System.Security.SecuritySafeCriticalAttribute]get { throw null; } }
public System.Globalization.CultureInfo CurrentUICulture { get { throw null; } [System.Security.SecuritySafeCriticalAttribute]set { } }
- public bool IsAlive { [System.Security.SecuritySafeCriticalAttribute][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)]get { throw null; } }
- public bool IsBackground { [System.Security.SecuritySafeCriticalAttribute]get { throw null; } [System.Security.SecuritySafeCriticalAttribute]set { } }
- public int ManagedThreadId { [System.Security.SecuritySafeCriticalAttribute][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)]get { throw null; } }
- public string Name { get { throw null; } [System.Security.SecuritySafeCriticalAttribute]set { } }
- public System.Threading.ThreadState ThreadState { [System.Security.SecuritySafeCriticalAttribute]get { throw null; } }
+ public new int ManagedThreadId { [System.Security.SecuritySafeCriticalAttribute][System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)]get { throw null; } }
+ public new string Name { get { throw null; } [System.Security.SecuritySafeCriticalAttribute]set { } }
~Thread() { }
[System.Security.SecuritySafeCriticalAttribute]
public static System.AppDomain GetDomain() { throw null; }
[System.Runtime.InteropServices.ComVisibleAttribute(false)]
public override int GetHashCode() { throw null; }
- [System.Security.SecuritySafeCriticalAttribute]
- public void Join() { }
- [System.Security.SecuritySafeCriticalAttribute]
- public bool Join(int millisecondsTimeout) { throw null; }
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.InternalCall)][System.Security.SecuritySafeCriticalAttribute]
public static void MemoryBarrier() { }
[System.Security.SecuritySafeCriticalAttribute]
- public static void Sleep(int millisecondsTimeout) { }
+ public static new void Sleep(int millisecondsTimeout) { }
public static void Sleep(System.TimeSpan timeout) { }
[System.Security.SecuritySafeCriticalAttribute]
- public static void SpinWait(int iterations) { }
- [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]public void Start() { }
- [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]public void Start(object parameter) { }
+ public static new void SpinWait(int iterations) { }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
+ public new void Start() { }
+ [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
+ public new void Start(object parameter) { }
}
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
public sealed partial class ThreadAbortException : System.SystemException
{
internal ThreadAbortException() { }
}
+ [System.Runtime.InteropServices.ComVisibleAttribute(true)]
+ public partial class ThreadInterruptedException : System.SystemException
+ {
+ public ThreadInterruptedException() { }
+ public ThreadInterruptedException(string message) { }
+ public ThreadInterruptedException(string message, System.Exception innerException) { }
+ protected ThreadInterruptedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
+ }
[System.Diagnostics.DebuggerDisplayAttribute("IsValueCreated={IsValueCreated}, Value={ValueForDebugDisplay}, Count={ValuesCountForDebugDisplay}")]
public partial class ThreadLocal<T> : System.IDisposable
{
@@ -13136,6 +13608,14 @@ namespace System.Threading
[System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.Demand, ControlThread=true)]
public static bool SetMinThreads(int workerThreads, int completionPortThreads) { throw null; }
}
+ public enum ThreadPriority
+ {
+ AboveNormal = 3,
+ BelowNormal = 1,
+ Highest = 4,
+ Lowest = 0,
+ Normal = 2,
+ }
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
public delegate void ThreadStart();
public sealed partial class ThreadStartException : System.SystemException
@@ -13276,20 +13756,13 @@ namespace System.Threading
public virtual bool WaitOne(System.TimeSpan timeout, bool exitContext) { return default(bool); }
}
[System.Runtime.InteropServices.ComVisibleAttribute(false)]
- public partial class WaitHandleCannotBeOpenedException : System.Exception
+ public partial class WaitHandleCannotBeOpenedException : System.ApplicationException
{
public WaitHandleCannotBeOpenedException() { }
public WaitHandleCannotBeOpenedException(string message) { }
public WaitHandleCannotBeOpenedException(string message, System.Exception innerException) { }
protected WaitHandleCannotBeOpenedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
}
- public static partial class WaitHandleExtensions
- {
- [System.Security.SecurityCriticalAttribute]
- public static Microsoft.Win32.SafeHandles.SafeWaitHandle GetSafeWaitHandle(this System.Threading.WaitHandle waitHandle) { throw null; }
- [System.Security.SecurityCriticalAttribute]
- public static void SetSafeWaitHandle(this System.Threading.WaitHandle waitHandle, Microsoft.Win32.SafeHandles.SafeWaitHandle value) { }
- }
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
public delegate void WaitOrTimerCallback(object state, bool timedOut);
}