Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorgan Brown <morganbr@users.noreply.github.com>2017-05-12 05:24:42 +0300
committerJan Kotas <jkotas@microsoft.com>2017-05-12 16:16:04 +0300
commit497ab1f7b38175c75aecd8d653b2e512b521babb (patch)
tree9d51f94e639b3af23c6a80ecb467cbc613fee341 /src/System.Private.CoreLib/shared/System/Runtime/CompilerServices
parenta8e4ab5ed59111ed6246c50b61f0717610c23443 (diff)
Removes unneeded Serializable attributes from enums and delegates. They can be serialized without attributes and this will remove noise from future serialization changes. (#11535)
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Diffstat (limited to 'src/System.Private.CoreLib/shared/System/Runtime/CompilerServices')
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CompilationRelaxations.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/LoadHint.cs1
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/MethodCodeType.cs1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CompilationRelaxations.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CompilationRelaxations.cs
index 4da95024c..88e2657a6 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CompilationRelaxations.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/CompilationRelaxations.cs
@@ -6,7 +6,6 @@ namespace System.Runtime.CompilerServices
{
/// IMPORTANT: Keep this in sync with corhdr.h
[Flags]
- [Serializable]
public enum CompilationRelaxations : int
{
NoStringInterning = 0x0008 // Start in 0x0008, we had other non public flags in this enum before,
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/LoadHint.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/LoadHint.cs
index ae6d9b937..3820f8544 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/LoadHint.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/LoadHint.cs
@@ -4,7 +4,6 @@
namespace System.Runtime.CompilerServices
{
- [Serializable]
public enum LoadHint
{
Default = 0x0000, // No preference specified
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/MethodCodeType.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/MethodCodeType.cs
index e82993a5d..841b66619 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/MethodCodeType.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/MethodCodeType.cs
@@ -6,7 +6,6 @@ using System.Reflection;
namespace System.Runtime.CompilerServices
{
- [Serializable]
public enum MethodCodeType
{
IL = MethodImplAttributes.IL,