Skip to content

Commit 33896ac

Browse files
authored
Delete unnecessary StructLayout attribute in TagList.netcore.cs (#104193)
1 parent b77fef7 commit 33896ac

File tree

1 file changed

+0
-1
lines changed
  • src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Metrics

1 file changed

+0
-1
lines changed

src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Metrics/TagList.netcore.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ namespace System.Diagnostics
1919
/// Using more than eight tags will cause allocating memory to store the tags.
2020
/// Public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
2121
/// </remarks>
22-
[StructLayout(LayoutKind.Sequential)]
2322
public struct TagList : IList<KeyValuePair<string, object?>>, IReadOnlyList<KeyValuePair<string, object?>>
2423
{
2524
private const int OverflowAdditionalCapacity = 8;

0 commit comments

Comments
 (0)