mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Remove obsolete CA2105 rule suppression (#25938)
This commit is contained in:
1 parent
176e29ac3a
commit
7ef03a14ae
1 file changed
-4
@@ -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