mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Remove obsolete CA2105 rule suppression (#25938)
This commit is contained in:
@@ -27,23 +27,19 @@ namespace System.Management.Automation.Interpreter
|
||||
{
|
||||
internal sealed class InterpretedFrame
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2104:DoNotDeclareReadOnlyMutableReferenceTypes")]
|
||||
public static readonly ThreadLocal<InterpretedFrame> CurrentFrame = new ThreadLocal<InterpretedFrame>();
|
||||
|
||||
internal readonly Interpreter Interpreter;
|
||||
internal InterpretedFrame _parent;
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2105:ArrayFieldsShouldNotBeReadOnly")]
|
||||
private readonly int[] _continuations;
|
||||
|
||||
private int _continuationIndex;
|
||||
private int _pendingContinuation;
|
||||
private object _pendingValue;
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2105:ArrayFieldsShouldNotBeReadOnly")]
|
||||
public readonly object[] Data;
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2105:ArrayFieldsShouldNotBeReadOnly")]
|
||||
public readonly StrongBox<object>[] Closure;
|
||||
|
||||
public int StackIndex;
|
||||
|
||||
Reference in New Issue
Block a user