mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
Mechanical/automated change. The only manual changes were a) removing the two rules from the CodeAnalysis.ruleset file, b) removing spaces from one line of a .targets file that is used to generate a .cs file, and c) reverting the changes in a few test files where the naive replacement happened in the middle of a verbatim string where the whitespace actually mattered. Signed-off-by: dotnet-bot <[email protected]>
28 lines
698 B
C#
28 lines
698 B
C#
// Licensed to the .NET Foundation under one or more agreements.
|
|
// The .NET Foundation licenses this file to you under the MIT license.
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
/*============================================================
|
|
**
|
|
**
|
|
**
|
|
** Purpose: Custom attribute to indicate that the field should be treated
|
|
** as a static relative to a thread.
|
|
**
|
|
**
|
|
**
|
|
===========================================================*/
|
|
|
|
using System;
|
|
|
|
namespace System
|
|
{
|
|
[AttributeUsage(AttributeTargets.Field, Inherited = false)]
|
|
public class ThreadStaticAttribute : Attribute
|
|
{
|
|
public ThreadStaticAttribute()
|
|
{
|
|
}
|
|
}
|
|
}
|