From 84c43c65e2c9edd6da70b4e2d95a578d9b9b6286 Mon Sep 17 00:00:00 2001 From: Omar Tawfik Date: Mon, 17 Apr 2017 16:33:09 -0700 Subject: [PATCH] Rename attribute to IsReadOnlyAttribute (dotnet/coreclr#11026) Commit migrated from https://github.com/dotnet/coreclr/commit/7828feb1f5f07276c3c804d8c6f2c017b6411278 --- .../src/mscorlib/shared/System.Private.CoreLib.Shared.projitems | 2 +- .../CompilerServices/{ReadOnlyAttribute.cs => IsReadOnlyAttribute.cs} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/coreclr/src/mscorlib/shared/System/Runtime/CompilerServices/{ReadOnlyAttribute.cs => IsReadOnlyAttribute.cs} (86%) diff --git a/src/coreclr/src/mscorlib/shared/System.Private.CoreLib.Shared.projitems b/src/coreclr/src/mscorlib/shared/System.Private.CoreLib.Shared.projitems index d56b7e1..8cac5b6 100644 --- a/src/coreclr/src/mscorlib/shared/System.Private.CoreLib.Shared.projitems +++ b/src/coreclr/src/mscorlib/shared/System.Private.CoreLib.Shared.projitems @@ -283,7 +283,7 @@ - + diff --git a/src/coreclr/src/mscorlib/shared/System/Runtime/CompilerServices/ReadOnlyAttribute.cs b/src/coreclr/src/mscorlib/shared/System/Runtime/CompilerServices/IsReadOnlyAttribute.cs similarity index 86% rename from src/coreclr/src/mscorlib/shared/System/Runtime/CompilerServices/ReadOnlyAttribute.cs rename to src/coreclr/src/mscorlib/shared/System/Runtime/CompilerServices/IsReadOnlyAttribute.cs index aad7310..657df43 100644 --- a/src/coreclr/src/mscorlib/shared/System/Runtime/CompilerServices/ReadOnlyAttribute.cs +++ b/src/coreclr/src/mscorlib/shared/System/Runtime/CompilerServices/IsReadOnlyAttribute.cs @@ -12,9 +12,9 @@ namespace System.Runtime.CompilerServices /// [EditorBrowsable(EditorBrowsableState.Never)] [AttributeUsage(AttributeTargets.All, Inherited = false)] - public sealed class ReadOnlyAttribute : Attribute + public sealed class IsReadOnlyAttribute : Attribute { - public ReadOnlyAttribute() + public IsReadOnlyAttribute() { } } -- 2.7.4