Примеры ошибок, обнаруженных с помощью диагностики V3079
V3079. The 'ThreadStatic' attribute is applied to a non-static 'A' field and will be ignored.
.NET 6 libraries
V3079 'ThreadStatic' attribute is applied to a non-static 'ts_tags' field and will be ignored Instrument.netfx.cs 20
public abstract partial class Instrument<T> : Instrument where T : struct
{
[ThreadStatic] private KeyValuePair<string, object?>[] ts_tags;
....
}