This repository was archived by the owner on Jan 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed
System/Runtime/CompilerServices Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 305305 <Compile Include =" $(MSBuildThisFileDirectory)System\Runtime\CompilerServices\LoadHint.cs" />
306306 <Compile Include =" $(MSBuildThisFileDirectory)System\Runtime\CompilerServices\MethodCodeType.cs" />
307307 <Compile Include =" $(MSBuildThisFileDirectory)System\Runtime\CompilerServices\MethodImplOptions.cs" />
308+ <Compile Include =" $(MSBuildThisFileDirectory)System\Runtime\CompilerServices\ReadOnlyAttribute.cs" />
308309 <Compile Include =" $(MSBuildThisFileDirectory)System\Runtime\CompilerServices\StringFreezingAttribute.cs" />
309310 <Compile Include =" $(MSBuildThisFileDirectory)System\Runtime\CompilerServices\SuppressIldasmAttribute.cs" />
310311 <Compile Include =" $(MSBuildThisFileDirectory)System\Runtime\CompilerServices\TupleElementNamesAttribute.cs" />
Original file line number Diff line number Diff line change 1+ // Licensed to the .NET Foundation under one or more agreements.
2+ // The .NET Foundation licenses this file to you under the MIT license.
3+ // See the LICENSE file in the project root for more information.
4+
5+ using System . ComponentModel ;
6+
7+ namespace System . Runtime . CompilerServices
8+ {
9+ /// <summary>
10+ /// Reserved to be used by the compiler for tracking metadata.
11+ /// This attribute should not be used by developers in source code.
12+ /// </summary>
13+ [ EditorBrowsable ( EditorBrowsableState . Never ) ]
14+ [ AttributeUsage ( AttributeTargets . All , Inherited = false ) ]
15+ public sealed class ReadOnlyAttribute : Attribute
16+ {
17+ public ReadOnlyAttribute ( )
18+ {
19+ }
20+ }
21+ }
You can’t perform that action at this time.
0 commit comments