Revert "Remove not necessary type forwarded from attributes when type comes from mscorlib in netfx" (#19784)
This reverts commit 4fb001d431e0f44df15709f02f776e565fec14c7. Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
This commit is contained in:
Родитель
77819373b1
Коммит
d82d460a85
|
@ -17,6 +17,7 @@ using System.Runtime.Serialization;
|
|||
namespace System
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class AccessViolationException : SystemException
|
||||
{
|
||||
public AccessViolationException()
|
||||
|
|
|
@ -22,6 +22,7 @@ namespace System
|
|||
/// </remarks>
|
||||
[Serializable]
|
||||
[DebuggerDisplay("Count = {InnerExceptionCount}")]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class AggregateException : Exception
|
||||
{
|
||||
private ReadOnlyCollection<Exception> m_innerExceptions; // Complete set of exceptions. Do not rename (binary serialization)
|
||||
|
|
|
@ -23,6 +23,7 @@ namespace System
|
|||
// ApplicationException extends but adds no new functionality to
|
||||
// RecoverableException.
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class ApplicationException : Exception
|
||||
{
|
||||
// Creates a new ApplicationException with its message string set to
|
||||
|
|
|
@ -20,6 +20,7 @@ namespace System
|
|||
// the contract of the method. Ideally it should give a meaningful error
|
||||
// message describing what was wrong and which parameter is incorrect.
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class ArgumentException : SystemException
|
||||
{
|
||||
private string _paramName;
|
||||
|
|
|
@ -18,6 +18,7 @@ namespace System
|
|||
// The ArgumentException is thrown when an argument
|
||||
// is null when it shouldn't be.
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class ArgumentNullException : ArgumentException
|
||||
{
|
||||
// Creates a new ArgumentNullException with its message
|
||||
|
|
|
@ -19,6 +19,7 @@ namespace System
|
|||
// The ArgumentOutOfRangeException is thrown when an argument
|
||||
// is outside the legal range for that argument.
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class ArgumentOutOfRangeException : ArgumentException
|
||||
{
|
||||
private object _actualValue;
|
||||
|
|
|
@ -18,6 +18,7 @@ namespace System
|
|||
// The ArithmeticException is thrown when overflow or underflow
|
||||
// occurs.
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class ArithmeticException : SystemException
|
||||
{
|
||||
// Creates a new ArithmeticException with its message string set to
|
||||
|
|
|
@ -25,6 +25,7 @@ namespace System
|
|||
// three fields from an ArraySegment may not see the same ArraySegment from one call to another
|
||||
// (ie, users could assign a new value to the old location).
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public readonly struct ArraySegment<T> : IList<T>, IReadOnlyList<T>
|
||||
{
|
||||
// Do not replace the array allocation with Array.Empty. We don't want to have the overhead of
|
||||
|
|
|
@ -18,6 +18,7 @@ namespace System
|
|||
// The ArrayMismatchException is thrown when an attempt to store
|
||||
// an object of the wrong type within an array occurs.
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class ArrayTypeMismatchException : SystemException
|
||||
{
|
||||
// Creates a new ArrayMismatchException with its message string set to
|
||||
|
|
|
@ -18,6 +18,7 @@ using System.Runtime.Serialization;
|
|||
namespace System
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public partial class BadImageFormatException : SystemException
|
||||
{
|
||||
private string _fileName; // The name of the corrupt PE file.
|
||||
|
|
|
@ -18,6 +18,7 @@ using System.Runtime.Versioning;
|
|||
namespace System
|
||||
{
|
||||
[Serializable]
|
||||
[TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public readonly struct Boolean : IComparable, IConvertible, IComparable<bool>, IEquatable<bool>
|
||||
{
|
||||
//
|
||||
|
|
|
@ -11,6 +11,7 @@ namespace System
|
|||
{
|
||||
[Serializable]
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
[TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public readonly struct Byte : IComparable, IConvertible, IFormattable, IComparable<byte>, IEquatable<byte>, ISpanFormattable
|
||||
{
|
||||
private readonly byte m_value; // Do not rename (binary serialization)
|
||||
|
|
|
@ -20,6 +20,7 @@ namespace System
|
|||
{
|
||||
[Serializable]
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public readonly struct Char : IComparable, IComparable<char>, IEquatable<char>, IConvertible
|
||||
{
|
||||
//
|
||||
|
|
|
@ -14,6 +14,7 @@ using System.Runtime.Serialization;
|
|||
namespace System.Collections
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public sealed class Comparer : IComparer, ISerializable
|
||||
{
|
||||
private CompareInfo _compareInfo;
|
||||
|
|
|
@ -9,6 +9,7 @@ namespace System.Collections
|
|||
// A DictionaryEntry holds a key and a value from a dictionary.
|
||||
// It is returned by IDictionaryEnumerator::GetEntry().
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public struct DictionaryEntry
|
||||
{
|
||||
private object _key; // Do not rename (binary serialization)
|
||||
|
|
|
@ -33,6 +33,7 @@ namespace System.Collections.Generic
|
|||
[DebuggerTypeProxy(typeof(IDictionaryDebugView<,>))]
|
||||
[DebuggerDisplay("Count = {Count}")]
|
||||
[Serializable]
|
||||
[TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class Dictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>, ISerializable, IDeserializationCallback
|
||||
{
|
||||
private struct Entry
|
||||
|
|
|
@ -8,6 +8,7 @@ using System.Runtime.Serialization;
|
|||
namespace System.Collections.Generic
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class KeyNotFoundException : SystemException
|
||||
{
|
||||
public KeyNotFoundException()
|
||||
|
|
|
@ -46,6 +46,7 @@ namespace System.Collections.Generic
|
|||
// It is used by the IEnumerable<T> implementation for both IDictionary<TKey, TValue>
|
||||
// and IReadOnlyDictionary<TKey, TValue>.
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public readonly struct KeyValuePair<TKey, TValue>
|
||||
{
|
||||
private readonly TKey key; // Do not rename (binary serialization)
|
||||
|
|
|
@ -18,6 +18,7 @@ namespace System.Collections.Generic
|
|||
[DebuggerTypeProxy(typeof(ICollectionDebugView<>))]
|
||||
[DebuggerDisplay("Count = {Count}")]
|
||||
[Serializable]
|
||||
[TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class List<T> : IList<T>, IList, IReadOnlyList<T>
|
||||
{
|
||||
private const int DefaultCapacity = 4;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
|
@ -56,6 +56,7 @@ namespace System.Collections
|
|||
[DebuggerTypeProxy(typeof(System.Collections.Hashtable.HashtableDebugView))]
|
||||
[DebuggerDisplay("Count = {Count}")]
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class Hashtable : IDictionary, ISerializable, IDeserializationCallback, ICloneable
|
||||
{
|
||||
/*
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
|
@ -9,6 +9,7 @@ namespace System.Collections
|
|||
/// GetHashCode() function on Objects, providing their own hash function.
|
||||
/// </summary>
|
||||
[Obsolete("Please use IEqualityComparer instead.")]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public interface IHashCodeProvider
|
||||
{
|
||||
/// <summary>Returns a hash code for the given object.</summary>
|
||||
|
|
|
@ -19,6 +19,7 @@ namespace System.Collections
|
|||
/// will be smaller and faster than a Hashtable if the number of elements is 10 or less.
|
||||
/// This should not be used if performance is important for large numbers of elements.
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
// Needs to be public to support binary serialization compatibility
|
||||
public class ListDictionaryInternal : IDictionary
|
||||
{
|
||||
|
|
|
@ -10,6 +10,7 @@ namespace System.Collections.ObjectModel
|
|||
[Serializable]
|
||||
[DebuggerTypeProxy(typeof(ICollectionDebugView<>))]
|
||||
[DebuggerDisplay("Count = {Count}")]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class Collection<T> : IList<T>, IList, IReadOnlyList<T>
|
||||
{
|
||||
private IList<T> items; // Do not rename (binary serialization)
|
||||
|
|
|
@ -10,6 +10,7 @@ namespace System.Collections.ObjectModel
|
|||
[Serializable]
|
||||
[DebuggerTypeProxy(typeof(ICollectionDebugView<>))]
|
||||
[DebuggerDisplay("Count = {Count}")]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class ReadOnlyCollection<T> : IList<T>, IList, IReadOnlyList<T>
|
||||
{
|
||||
private IList<T> list; // Do not rename (binary serialization)
|
||||
|
|
|
@ -14,6 +14,7 @@ using System.Runtime.Serialization;
|
|||
namespace System
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public sealed class DataMisalignedException : SystemException
|
||||
{
|
||||
public DataMisalignedException()
|
||||
|
|
|
@ -52,6 +52,7 @@ namespace System
|
|||
//
|
||||
[StructLayout(LayoutKind.Auto)]
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public readonly partial struct DateTime : IComparable, IFormattable, IConvertible, IComparable<DateTime>, IEquatable<DateTime>, ISerializable, ISpanFormattable
|
||||
{
|
||||
// Number of 100ns ticks per time unit
|
||||
|
|
|
@ -30,6 +30,7 @@ namespace System
|
|||
|
||||
[StructLayout(LayoutKind.Auto)]
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public readonly struct DateTimeOffset : IComparable, IFormattable, IComparable<DateTimeOffset>, IEquatable<DateTimeOffset>, ISerializable, IDeserializationCallback, ISpanFormattable
|
||||
{
|
||||
// Constants
|
||||
|
|
|
@ -55,6 +55,7 @@ namespace System
|
|||
[StructLayout(LayoutKind.Sequential)]
|
||||
[Serializable]
|
||||
[System.Runtime.Versioning.NonVersionable] // This only applies to field layout
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public readonly partial struct Decimal : IFormattable, IComparable, IConvertible, IComparable<decimal>, IEquatable<decimal>, IDeserializationCallback, ISpanFormattable
|
||||
{
|
||||
// Sign mask for the flags field. A value of zero in this bit indicates a
|
||||
|
|
|
@ -16,6 +16,7 @@ using System.Runtime.Serialization;
|
|||
namespace System
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class DivideByZeroException : ArithmeticException
|
||||
{
|
||||
public DivideByZeroException()
|
||||
|
|
|
@ -17,6 +17,7 @@ using System.Runtime.Serialization;
|
|||
namespace System
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class DllNotFoundException : TypeLoadException
|
||||
{
|
||||
public DllNotFoundException()
|
||||
|
|
|
@ -23,6 +23,7 @@ namespace System
|
|||
{
|
||||
[Serializable]
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
[TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public readonly struct Double : IComparable, IConvertible, IFormattable, IComparable<double>, IEquatable<double>, ISpanFormattable
|
||||
{
|
||||
private readonly double m_value; // Do not rename (binary serialization)
|
||||
|
|
|
@ -18,6 +18,7 @@ namespace System
|
|||
// The DuplicateWaitObjectException is thrown when an object
|
||||
// appears more than once in the list of objects to WaitAll or WaitAny.
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class DuplicateWaitObjectException : ArgumentException
|
||||
{
|
||||
private static volatile string s_duplicateWaitObjectMessage = null;
|
||||
|
|
|
@ -17,6 +17,7 @@ using System.Runtime.Serialization;
|
|||
namespace System
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class EntryPointNotFoundException : TypeLoadException
|
||||
{
|
||||
public EntryPointNotFoundException()
|
||||
|
|
|
@ -8,6 +8,7 @@ namespace System
|
|||
{
|
||||
// The base class for all event classes.
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class EventArgs
|
||||
{
|
||||
public static readonly EventArgs Empty = new EventArgs();
|
||||
|
|
|
@ -22,6 +22,7 @@ namespace System
|
|||
{
|
||||
[Obsolete("This type previously indicated an unspecified fatal error in the runtime. The runtime no longer raises this exception so this type is obsolete.")]
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public sealed class ExecutionEngineException : SystemException
|
||||
{
|
||||
public ExecutionEngineException()
|
||||
|
|
|
@ -14,6 +14,7 @@ using System.Runtime.Serialization;
|
|||
namespace System
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class FieldAccessException : MemberAccessException
|
||||
{
|
||||
public FieldAccessException()
|
||||
|
|
|
@ -16,6 +16,7 @@ using System.Runtime.Serialization;
|
|||
namespace System
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class FormatException : SystemException
|
||||
{
|
||||
public FormatException()
|
||||
|
|
|
@ -36,6 +36,7 @@ namespace System.Globalization
|
|||
}
|
||||
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public partial class CompareInfo : IDeserializationCallback
|
||||
{
|
||||
// Mask used to check if IndexOf()/LastIndexOf()/IsPrefix()/IsPostfix() has the right flags.
|
||||
|
|
|
@ -7,6 +7,7 @@ using System.Runtime.Serialization;
|
|||
namespace System.Globalization
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class CultureNotFoundException : ArgumentException
|
||||
{
|
||||
private string _invalidCultureName; // unrecognized culture name
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
namespace System.Globalization
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public sealed class SortVersion : IEquatable<SortVersion>
|
||||
{
|
||||
private int m_NlsVersion; // Do not rename (binary serialization)
|
||||
|
|
|
@ -14,6 +14,7 @@ namespace System
|
|||
[StructLayout(LayoutKind.Sequential)]
|
||||
[Serializable]
|
||||
[Runtime.Versioning.NonVersionable] // This only applies to field layout
|
||||
[TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public partial struct Guid : IFormattable, IComparable, IComparable<Guid>, IEquatable<Guid>, ISpanFormattable
|
||||
{
|
||||
public static readonly Guid Empty = new Guid();
|
||||
|
|
|
@ -13,6 +13,7 @@ namespace System.IO
|
|||
* and STG_E_PATHNOTFOUND (0x80030003).
|
||||
*/
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class DirectoryNotFoundException : IOException
|
||||
{
|
||||
public DirectoryNotFoundException()
|
||||
|
|
|
@ -7,6 +7,7 @@ using System.Runtime.Serialization;
|
|||
namespace System.IO
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class EndOfStreamException : IOException
|
||||
{
|
||||
public EndOfStreamException()
|
||||
|
|
|
@ -7,6 +7,7 @@ using System.Runtime.Serialization;
|
|||
namespace System.IO
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public partial class FileLoadException : IOException
|
||||
{
|
||||
public FileLoadException()
|
||||
|
|
|
@ -8,6 +8,7 @@ namespace System.IO
|
|||
{
|
||||
// Thrown when trying to access a file that doesn't exist on disk.
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public partial class FileNotFoundException : IOException
|
||||
{
|
||||
public FileNotFoundException()
|
||||
|
|
|
@ -8,6 +8,7 @@ using System.Runtime.Serialization;
|
|||
namespace System.IO
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class IOException : SystemException
|
||||
{
|
||||
public IOException()
|
||||
|
|
|
@ -9,6 +9,7 @@ using System.Runtime.Serialization;
|
|||
namespace System.IO
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class PathTooLongException : IOException
|
||||
{
|
||||
public PathTooLongException()
|
||||
|
|
|
@ -16,6 +16,7 @@ using System.Runtime.Serialization;
|
|||
namespace System
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public sealed class IndexOutOfRangeException : SystemException
|
||||
{
|
||||
public IndexOutOfRangeException()
|
||||
|
|
|
@ -7,6 +7,7 @@ using System.Runtime.Serialization;
|
|||
namespace System
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public sealed class InsufficientExecutionStackException : SystemException
|
||||
{
|
||||
public InsufficientExecutionStackException()
|
||||
|
|
|
@ -16,6 +16,7 @@ namespace System
|
|||
/// want to recover from these errors.
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public sealed class InsufficientMemoryException : OutOfMemoryException
|
||||
{
|
||||
public InsufficientMemoryException() : base(
|
||||
|
|
|
@ -11,6 +11,7 @@ namespace System
|
|||
{
|
||||
[Serializable]
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
[TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public readonly struct Int16 : IComparable, IConvertible, IFormattable, IComparable<short>, IEquatable<short>, ISpanFormattable
|
||||
{
|
||||
private readonly short m_value; // Do not rename (binary serialization)
|
||||
|
|
|
@ -11,6 +11,7 @@ namespace System
|
|||
{
|
||||
[Serializable]
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
[TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public readonly struct Int32 : IComparable, IConvertible, IFormattable, IComparable<int>, IEquatable<int>, ISpanFormattable
|
||||
{
|
||||
private readonly int m_value; // Do not rename (binary serialization)
|
||||
|
|
|
@ -11,6 +11,7 @@ namespace System
|
|||
{
|
||||
[Serializable]
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
[TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public readonly struct Int64 : IComparable, IConvertible, IFormattable, IComparable<long>, IEquatable<long>, ISpanFormattable
|
||||
{
|
||||
private readonly long m_value; // Do not rename (binary serialization)
|
||||
|
|
|
@ -16,6 +16,7 @@ using nint = System.Int32;
|
|||
namespace System
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public readonly struct IntPtr : IEquatable<IntPtr>, ISerializable
|
||||
{
|
||||
// WARNING: We allow diagnostic tools to directly inspect this member (_value).
|
||||
|
|
|
@ -13,6 +13,7 @@ using System.Runtime.Serialization;
|
|||
namespace System
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class InvalidCastException : SystemException
|
||||
{
|
||||
public InvalidCastException()
|
||||
|
|
|
@ -17,6 +17,7 @@ using System.Runtime.Serialization;
|
|||
namespace System
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class InvalidOperationException : SystemException
|
||||
{
|
||||
public InvalidOperationException()
|
||||
|
|
|
@ -16,6 +16,7 @@ using System.Runtime.Serialization;
|
|||
namespace System
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public sealed class InvalidProgramException : SystemException
|
||||
{
|
||||
public InvalidProgramException()
|
||||
|
|
|
@ -15,6 +15,7 @@ namespace System
|
|||
// The MemberAccessException is thrown when trying to access a class
|
||||
// member fails.
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class MemberAccessException : SystemException
|
||||
{
|
||||
// Creates a new MemberAccessException with its message string set to
|
||||
|
|
|
@ -14,6 +14,7 @@ using System.Runtime.Serialization;
|
|||
namespace System
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class MethodAccessException : MemberAccessException
|
||||
{
|
||||
public MethodAccessException()
|
||||
|
|
|
@ -7,6 +7,7 @@ using System.Runtime.Serialization;
|
|||
namespace System
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class MissingFieldException : MissingMemberException, ISerializable
|
||||
{
|
||||
public MissingFieldException()
|
||||
|
|
|
@ -7,6 +7,7 @@ using System.Runtime.Serialization;
|
|||
namespace System
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public partial class MissingMemberException : MemberAccessException
|
||||
{
|
||||
public MissingMemberException()
|
||||
|
|
|
@ -16,6 +16,7 @@ using System.Runtime.Serialization;
|
|||
namespace System
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class MissingMethodException : MissingMemberException
|
||||
{
|
||||
public MissingMethodException()
|
||||
|
|
|
@ -12,6 +12,7 @@ using System.Runtime.Serialization;
|
|||
namespace System
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public sealed class MulticastNotSupportedException : SystemException
|
||||
{
|
||||
public MulticastNotSupportedException()
|
||||
|
|
|
@ -7,6 +7,7 @@ using System.Runtime.Serialization;
|
|||
namespace System
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class NotFiniteNumberException : ArithmeticException
|
||||
{
|
||||
private double _offendingNumber;
|
||||
|
|
|
@ -17,6 +17,7 @@ using System.Runtime.Serialization;
|
|||
namespace System
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class NotImplementedException : SystemException
|
||||
{
|
||||
public NotImplementedException()
|
||||
|
|
|
@ -16,6 +16,7 @@ using System.Runtime.Serialization;
|
|||
namespace System
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class NotSupportedException : SystemException
|
||||
{
|
||||
public NotSupportedException()
|
||||
|
|
|
@ -16,6 +16,7 @@ using System.Runtime.Serialization;
|
|||
namespace System
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class NullReferenceException : SystemException
|
||||
{
|
||||
public NullReferenceException()
|
||||
|
|
|
@ -13,6 +13,7 @@ namespace System
|
|||
//
|
||||
[Serializable]
|
||||
[NonVersionable] // This only applies to field layout
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public struct Nullable<T> where T : struct
|
||||
{
|
||||
private readonly bool hasValue; // Do not rename (binary serialization)
|
||||
|
|
|
@ -12,6 +12,7 @@ namespace System
|
|||
/// disposed.</para>
|
||||
/// </devdoc>
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class ObjectDisposedException : InvalidOperationException
|
||||
{
|
||||
private string _objectName;
|
||||
|
|
|
@ -18,6 +18,7 @@ using System.Threading;
|
|||
namespace System
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class OperationCanceledException : SystemException
|
||||
{
|
||||
[NonSerialized]
|
||||
|
|
|
@ -10,6 +10,7 @@ namespace System
|
|||
/// The exception class for OOM.
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class OutOfMemoryException : SystemException
|
||||
{
|
||||
public OutOfMemoryException() : base(
|
||||
|
|
|
@ -16,6 +16,7 @@ using System.Runtime.Serialization;
|
|||
namespace System
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class OverflowException : ArithmeticException
|
||||
{
|
||||
public OverflowException()
|
||||
|
|
|
@ -16,6 +16,7 @@ using System.Runtime.Serialization;
|
|||
namespace System
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class PlatformNotSupportedException : NotSupportedException
|
||||
{
|
||||
public PlatformNotSupportedException()
|
||||
|
|
|
@ -17,6 +17,7 @@ using System.Runtime.Serialization;
|
|||
namespace System
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class RankException : SystemException
|
||||
{
|
||||
public RankException()
|
||||
|
|
|
@ -7,6 +7,7 @@ using System.Runtime.Serialization;
|
|||
namespace System.Reflection
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public sealed class AmbiguousMatchException : SystemException
|
||||
{
|
||||
public AmbiguousMatchException()
|
||||
|
|
|
@ -7,6 +7,7 @@ using System.Runtime.Serialization;
|
|||
namespace System.Reflection
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class CustomAttributeFormatException : FormatException
|
||||
{
|
||||
public CustomAttributeFormatException()
|
||||
|
|
|
@ -7,6 +7,7 @@ using System.Runtime.Serialization;
|
|||
namespace System.Reflection
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class InvalidFilterCriteriaException : ApplicationException
|
||||
{
|
||||
public InvalidFilterCriteriaException()
|
||||
|
|
|
@ -8,6 +8,7 @@ using System.Text;
|
|||
namespace System.Reflection
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public sealed class ReflectionTypeLoadException : SystemException, ISerializable
|
||||
{
|
||||
public ReflectionTypeLoadException(Type[] classes, Exception[] exceptions)
|
||||
|
|
|
@ -7,6 +7,7 @@ using System.Runtime.Serialization;
|
|||
namespace System.Reflection
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class TargetException : ApplicationException
|
||||
{
|
||||
public TargetException()
|
||||
|
|
|
@ -7,6 +7,7 @@ using System.Runtime.Serialization;
|
|||
namespace System.Reflection
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public sealed class TargetInvocationException : ApplicationException
|
||||
{
|
||||
public TargetInvocationException(Exception inner)
|
||||
|
|
|
@ -7,6 +7,7 @@ using System.Runtime.Serialization;
|
|||
namespace System.Reflection
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public sealed class TargetParameterCountException : ApplicationException
|
||||
{
|
||||
public TargetParameterCountException()
|
||||
|
|
|
@ -8,6 +8,7 @@ using System.Runtime.Serialization;
|
|||
namespace System.Resources
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class MissingManifestResourceException : SystemException
|
||||
{
|
||||
public MissingManifestResourceException()
|
||||
|
|
|
@ -21,6 +21,7 @@ using System.Runtime.Serialization;
|
|||
namespace System.Resources
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class MissingSatelliteAssemblyException : SystemException
|
||||
{
|
||||
private string _cultureName;
|
||||
|
|
|
@ -10,6 +10,7 @@ namespace System.Runtime.CompilerServices
|
|||
/// Exception used to wrap all non-CLS compliant exceptions.
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public sealed class RuntimeWrappedException : Exception
|
||||
{
|
||||
private object _wrappedException; // EE expects this name
|
||||
|
|
|
@ -21,6 +21,7 @@ namespace System.Runtime.InteropServices
|
|||
// Base exception for COM Interop errors &; Structured Exception Handler
|
||||
// exceptions.
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class ExternalException : SystemException
|
||||
{
|
||||
public ExternalException()
|
||||
|
|
|
@ -18,6 +18,7 @@ using System.Runtime.Serialization;
|
|||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class MarshalDirectiveException : SystemException
|
||||
{
|
||||
public MarshalDirectiveException()
|
||||
|
|
|
@ -7,6 +7,7 @@ using System.Runtime.Serialization;
|
|||
namespace System.Runtime.Serialization
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class SerializationException : SystemException
|
||||
{
|
||||
private static string s_nullMessage = SR.SerializationException;
|
||||
|
|
|
@ -11,6 +11,7 @@ namespace System
|
|||
{
|
||||
[Serializable]
|
||||
[CLSCompliant(false)] [StructLayout(LayoutKind.Sequential)]
|
||||
[TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public readonly struct SByte : IComparable, IConvertible, IFormattable, IComparable<sbyte>, IEquatable<sbyte>, ISpanFormattable
|
||||
{
|
||||
private readonly sbyte m_value; // Do not rename (binary serialization)
|
||||
|
|
|
@ -8,6 +8,7 @@ using System.Runtime.Serialization;
|
|||
namespace System.Security.Cryptography
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class CryptographicException : SystemException
|
||||
{
|
||||
public CryptographicException()
|
||||
|
|
|
@ -8,6 +8,7 @@ using System.Runtime.Serialization;
|
|||
namespace System.Security
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class SecurityException : SystemException
|
||||
{
|
||||
private const string DemandedName = "Demanded";
|
||||
|
|
|
@ -7,6 +7,7 @@ using System.Runtime.Serialization;
|
|||
namespace System.Security
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class VerificationException : SystemException
|
||||
{
|
||||
public VerificationException()
|
||||
|
|
|
@ -22,6 +22,7 @@ namespace System
|
|||
{
|
||||
[Serializable]
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
[TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public readonly struct Single : IComparable, IConvertible, IFormattable, IComparable<float>, IEquatable<float>, ISpanFormattable
|
||||
{
|
||||
private readonly float m_value; // Do not rename (binary serialization)
|
||||
|
|
|
@ -16,6 +16,7 @@ using System.Runtime.Serialization;
|
|||
namespace System
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public sealed class StackOverflowException : SystemException
|
||||
{
|
||||
public StackOverflowException()
|
||||
|
|
|
@ -20,6 +20,7 @@ namespace System
|
|||
// positions (indices) are zero-based.
|
||||
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public sealed partial class String : IComparable, IEnumerable, IConvertible, IEnumerable<char>, IComparable<string>, IEquatable<string>, ICloneable
|
||||
{
|
||||
// String constructors
|
||||
|
|
|
@ -10,6 +10,7 @@ using System.Runtime.Serialization;
|
|||
namespace System
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public abstract class StringComparer : IComparer, IEqualityComparer, IComparer<string>, IEqualityComparer<string>
|
||||
{
|
||||
private static readonly CultureAwareComparer s_invariantCulture = new CultureAwareComparer(CultureInfo.InvariantCulture, CompareOptions.None);
|
||||
|
@ -170,6 +171,7 @@ namespace System
|
|||
}
|
||||
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public sealed class CultureAwareComparer : StringComparer, ISerializable
|
||||
{
|
||||
private const CompareOptions ValidCompareMaskOffFlags = ~(CompareOptions.IgnoreCase | CompareOptions.IgnoreSymbols | CompareOptions.IgnoreNonSpace | CompareOptions.IgnoreWidth | CompareOptions.IgnoreKanaType | CompareOptions.StringSort);
|
||||
|
@ -251,6 +253,7 @@ namespace System
|
|||
}
|
||||
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class OrdinalComparer : StringComparer
|
||||
{
|
||||
private readonly bool _ignoreCase; // Do not rename (binary serialization)
|
||||
|
|
|
@ -7,6 +7,7 @@ using System.Runtime.Serialization;
|
|||
namespace System
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class SystemException : Exception
|
||||
{
|
||||
public SystemException()
|
||||
|
|
|
@ -100,6 +100,7 @@ namespace System.Text
|
|||
|
||||
// Exception for decoding unknown byte sequences.
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public sealed class DecoderFallbackException : ArgumentException
|
||||
{
|
||||
private byte[] _bytesUnknown = null;
|
||||
|
|
|
@ -97,6 +97,7 @@ namespace System.Text
|
|||
}
|
||||
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public sealed class EncoderFallbackException : ArgumentException
|
||||
{
|
||||
private char _charUnknown;
|
||||
|
|
|
@ -26,6 +26,7 @@ namespace System.Text
|
|||
// object unless specified otherwise. This class may be used in conjunction with the String
|
||||
// class to carry out modifications upon strings.
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public sealed partial class StringBuilder : ISerializable
|
||||
{
|
||||
// A StringBuilder is internally represented as a linked list of blocks each of which holds
|
||||
|
|
|
@ -15,6 +15,7 @@ using System.Runtime.Serialization;
|
|||
namespace System.Threading
|
||||
{
|
||||
[Serializable]
|
||||
[System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
|
||||
public class AbandonedMutexException : SystemException
|
||||
{
|
||||
private int _mutexIndex = -1;
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче