Skip to content

Commit 541a1cc

Browse files
xtqqczzeSIRMARGIN
authored andcommitted
Remove obsolete CA2105 rule suppression (PowerShell#25938)
1 parent 1e25645 commit 541a1cc

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/System.Management.Automation/engine/interpreter/InterpretedFrame.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,19 @@ namespace System.Management.Automation.Interpreter
2727
{
2828
internal sealed class InterpretedFrame
2929
{
30-
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2104:DoNotDeclareReadOnlyMutableReferenceTypes")]
3130
public static readonly ThreadLocal<InterpretedFrame> CurrentFrame = new ThreadLocal<InterpretedFrame>();
3231

3332
internal readonly Interpreter Interpreter;
3433
internal InterpretedFrame _parent;
3534

36-
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2105:ArrayFieldsShouldNotBeReadOnly")]
3735
private readonly int[] _continuations;
3836

3937
private int _continuationIndex;
4038
private int _pendingContinuation;
4139
private object _pendingValue;
4240

43-
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2105:ArrayFieldsShouldNotBeReadOnly")]
4441
public readonly object[] Data;
4542

46-
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2105:ArrayFieldsShouldNotBeReadOnly")]
4743
public readonly StrongBox<object>[] Closure;
4844

4945
public int StackIndex;

0 commit comments

Comments
 (0)