diff options
Diffstat (limited to 'src/System.Private.CoreLib/shared/System/Reflection')
14 files changed, 0 insertions, 14 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/AmbiguousMatchException.cs b/src/System.Private.CoreLib/shared/System/Reflection/AmbiguousMatchException.cs index 459a19cb7..4e14e1f1b 100644 --- a/src/System.Private.CoreLib/shared/System/Reflection/AmbiguousMatchException.cs +++ b/src/System.Private.CoreLib/shared/System/Reflection/AmbiguousMatchException.cs @@ -6,7 +6,6 @@ using System.Runtime.Serialization; namespace System.Reflection { - [Serializable] public sealed class AmbiguousMatchException : SystemException { public AmbiguousMatchException() diff --git a/src/System.Private.CoreLib/shared/System/Reflection/CustomAttributeFormatException.cs b/src/System.Private.CoreLib/shared/System/Reflection/CustomAttributeFormatException.cs index 6e1154050..29bf7f099 100644 --- a/src/System.Private.CoreLib/shared/System/Reflection/CustomAttributeFormatException.cs +++ b/src/System.Private.CoreLib/shared/System/Reflection/CustomAttributeFormatException.cs @@ -6,7 +6,6 @@ using System.Runtime.Serialization; namespace System.Reflection { - [Serializable] public class CustomAttributeFormatException : FormatException { public CustomAttributeFormatException() diff --git a/src/System.Private.CoreLib/shared/System/Reflection/DefaultMemberAttribute.cs b/src/System.Private.CoreLib/shared/System/Reflection/DefaultMemberAttribute.cs index 351143371..585fdb07c 100644 --- a/src/System.Private.CoreLib/shared/System/Reflection/DefaultMemberAttribute.cs +++ b/src/System.Private.CoreLib/shared/System/Reflection/DefaultMemberAttribute.cs @@ -4,7 +4,6 @@ namespace System.Reflection { - [Serializable] [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface)] public sealed class DefaultMemberAttribute : Attribute { diff --git a/src/System.Private.CoreLib/shared/System/Reflection/InvalidFilterCriteriaException.cs b/src/System.Private.CoreLib/shared/System/Reflection/InvalidFilterCriteriaException.cs index e3f882c40..c7644b8a8 100644 --- a/src/System.Private.CoreLib/shared/System/Reflection/InvalidFilterCriteriaException.cs +++ b/src/System.Private.CoreLib/shared/System/Reflection/InvalidFilterCriteriaException.cs @@ -6,7 +6,6 @@ using System.Runtime.Serialization; namespace System.Reflection { - [Serializable] public class InvalidFilterCriteriaException : ApplicationException { public InvalidFilterCriteriaException() diff --git a/src/System.Private.CoreLib/shared/System/Reflection/MemberInfoSerializationHolder.cs b/src/System.Private.CoreLib/shared/System/Reflection/MemberInfoSerializationHolder.cs index dfc56667b..ee14ab2ca 100644 --- a/src/System.Private.CoreLib/shared/System/Reflection/MemberInfoSerializationHolder.cs +++ b/src/System.Private.CoreLib/shared/System/Reflection/MemberInfoSerializationHolder.cs @@ -9,7 +9,6 @@ using System.Diagnostics.Contracts; namespace System.Reflection { - [Serializable] #if CORECLR internal #else diff --git a/src/System.Private.CoreLib/shared/System/Reflection/Missing.cs b/src/System.Private.CoreLib/shared/System/Reflection/Missing.cs index fa32d43cc..178291040 100644 --- a/src/System.Private.CoreLib/shared/System/Reflection/Missing.cs +++ b/src/System.Private.CoreLib/shared/System/Reflection/Missing.cs @@ -6,7 +6,6 @@ using System.Runtime.Serialization; namespace System.Reflection { - [Serializable] public sealed class Missing : ISerializable { public static readonly Missing Value = new Missing(); diff --git a/src/System.Private.CoreLib/shared/System/Reflection/ParameterModifier.cs b/src/System.Private.CoreLib/shared/System/Reflection/ParameterModifier.cs index 18d6cf669..640fee284 100644 --- a/src/System.Private.CoreLib/shared/System/Reflection/ParameterModifier.cs +++ b/src/System.Private.CoreLib/shared/System/Reflection/ParameterModifier.cs @@ -4,7 +4,6 @@ namespace System.Reflection { - [Serializable] public struct ParameterModifier { private readonly bool[] _byRef; diff --git a/src/System.Private.CoreLib/shared/System/Reflection/Pointer.cs b/src/System.Private.CoreLib/shared/System/Reflection/Pointer.cs index 13a5efff4..d93e5b014 100644 --- a/src/System.Private.CoreLib/shared/System/Reflection/Pointer.cs +++ b/src/System.Private.CoreLib/shared/System/Reflection/Pointer.cs @@ -7,7 +7,6 @@ using System.Runtime.Serialization; namespace System.Reflection { - [Serializable] [CLSCompliant(false)] public sealed unsafe class Pointer : ISerializable { diff --git a/src/System.Private.CoreLib/shared/System/Reflection/ReflectionTypeLoadException.cs b/src/System.Private.CoreLib/shared/System/Reflection/ReflectionTypeLoadException.cs index 772620cf8..1a59c20e7 100644 --- a/src/System.Private.CoreLib/shared/System/Reflection/ReflectionTypeLoadException.cs +++ b/src/System.Private.CoreLib/shared/System/Reflection/ReflectionTypeLoadException.cs @@ -6,7 +6,6 @@ using System.Runtime.Serialization; namespace System.Reflection { - [Serializable] public sealed class ReflectionTypeLoadException : SystemException, ISerializable { public ReflectionTypeLoadException(Type[] classes, Exception[] exceptions) diff --git a/src/System.Private.CoreLib/shared/System/Reflection/StrongNameKeyPair.cs b/src/System.Private.CoreLib/shared/System/Reflection/StrongNameKeyPair.cs index c04ddd6d1..03fbb91be 100644 --- a/src/System.Private.CoreLib/shared/System/Reflection/StrongNameKeyPair.cs +++ b/src/System.Private.CoreLib/shared/System/Reflection/StrongNameKeyPair.cs @@ -7,7 +7,6 @@ using System.Runtime.Serialization; namespace System.Reflection { - [Serializable] public class StrongNameKeyPair : IDeserializationCallback, ISerializable { private bool _keyPairExported; diff --git a/src/System.Private.CoreLib/shared/System/Reflection/TargetException.cs b/src/System.Private.CoreLib/shared/System/Reflection/TargetException.cs index 03f8730cd..16b4a1455 100644 --- a/src/System.Private.CoreLib/shared/System/Reflection/TargetException.cs +++ b/src/System.Private.CoreLib/shared/System/Reflection/TargetException.cs @@ -6,7 +6,6 @@ using System.Runtime.Serialization; namespace System.Reflection { - [Serializable] public class TargetException : ApplicationException { public TargetException() diff --git a/src/System.Private.CoreLib/shared/System/Reflection/TargetInvocationException.cs b/src/System.Private.CoreLib/shared/System/Reflection/TargetInvocationException.cs index e934e5bde..8c98e5c0b 100644 --- a/src/System.Private.CoreLib/shared/System/Reflection/TargetInvocationException.cs +++ b/src/System.Private.CoreLib/shared/System/Reflection/TargetInvocationException.cs @@ -6,7 +6,6 @@ using System.Runtime.Serialization; namespace System.Reflection { - [Serializable] public sealed class TargetInvocationException : ApplicationException { public TargetInvocationException(Exception inner) diff --git a/src/System.Private.CoreLib/shared/System/Reflection/TargetParameterCountException.cs b/src/System.Private.CoreLib/shared/System/Reflection/TargetParameterCountException.cs index c3604548e..befe6b2f1 100644 --- a/src/System.Private.CoreLib/shared/System/Reflection/TargetParameterCountException.cs +++ b/src/System.Private.CoreLib/shared/System/Reflection/TargetParameterCountException.cs @@ -6,7 +6,6 @@ using System.Runtime.Serialization; namespace System.Reflection { - [Serializable] public sealed class TargetParameterCountException : ApplicationException { public TargetParameterCountException() diff --git a/src/System.Private.CoreLib/shared/System/Reflection/TypeDelegator.cs b/src/System.Private.CoreLib/shared/System/Reflection/TypeDelegator.cs index a301ddc11..bcbff05d6 100644 --- a/src/System.Private.CoreLib/shared/System/Reflection/TypeDelegator.cs +++ b/src/System.Private.CoreLib/shared/System/Reflection/TypeDelegator.cs @@ -10,7 +10,6 @@ using CultureInfo = System.Globalization.CultureInfo; namespace System.Reflection { - [Serializable] public class TypeDelegator : TypeInfo { public override bool IsAssignableFrom(TypeInfo typeInfo) |