-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
Backports/Features/SkipLocalsInit/System/Runtime/CompilerServices/SkipLocalsInitAttribute.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#region (c)2010-2042 Hawkynt | ||
|
||
// This file is part of Hawkynt's .NET Framework extensions. | ||
// | ||
// Hawkynt's .NET Framework extensions are free software: | ||
// you can redistribute and/or modify it under the terms | ||
// given in the LICENSE file. | ||
// | ||
// Hawkynt's .NET Framework extensions is distributed in the hope that | ||
// it will be useful, but WITHOUT ANY WARRANTY without even the implied | ||
// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
// See the LICENSE file for more details. | ||
// | ||
// You should have received a copy of the License along with Hawkynt's | ||
// .NET Framework extensions. If not, see | ||
// <https://github.com/Hawkynt/C--FrameworkExtensions/blob/master/LICENSE>. | ||
|
||
#endregion | ||
|
||
#if !SUPPORTS_SKIP_LOCALS_INIT | ||
|
||
namespace System.Runtime.CompilerServices; | ||
|
||
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Event | AttributeTargets.Interface | AttributeTargets.Method | AttributeTargets.Module | AttributeTargets.Property | AttributeTargets.Struct, Inherited = false)] | ||
public sealed class SkipLocalsInitAttribute : Attribute; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters