Skip to content

Fix IDE0110: Discard can be removed #15630

@xtqqczze

Description

@xtqqczze

cc: @iSazonov

X:\src\System.Management.Automation\engine\CompiledCommandParameter.cs(173,48): error IDE0110: Discard can be removed [X:\src\System.Management.Automation\System.Management.Automation.csproj]
X:\src\System.Management.Automation\engine\parser\TypeInferenceVisitor.cs(1183,48): error IDE0110: Discard can be removed [X:\src\System.Management.Automation\System.Management.Automation.csproj]
X:\src\System.Management.Automation\engine\parser\TypeInferenceVisitor.cs(1431,35): error IDE0110: Discard can be removed [X:\src\System.Management.Automation\System.Management.Automation.csproj]
X:\src\System.Management.Automation\engine\remoting\client\remoterunspaceinfo.cs(277,42): error IDE0110: Discard can be removed [X:\src\System.Management.Automation\System.Management.Automation.csproj]
X:\src\System.Management.Automation\engine\remoting\client\remoterunspaceinfo.cs(295,40): error IDE0110: Discard can be removed [X:\src\System.Management.Automation\System.Management.Automation.csproj]
X:\src\System.Management.Automation\engine\remoting\client\remoterunspaceinfo.cs(300,47): error IDE0110: Discard can be removed [X:\src\System.Management.Automation\System.Management.Automation.csproj]
X:\src\System.Management.Automation\engine\remoting\client\remoterunspaceinfo.cs(322,42): error IDE0110: Discard can be removed [X:\src\System.Management.Automation\System.Management.Automation.csproj]
X:\src\System.Management.Automation\engine\remoting\client\remoterunspaceinfo.cs(325,40): error IDE0110: Discard can be removed [X:\src\System.Management.Automation\System.Management.Automation.csproj]
X:\src\System.Management.Automation\engine\remoting\client\remoterunspaceinfo.cs(328,46): error IDE0110: Discard can be removed [X:\src\System.Management.Automation\System.Management.Automation.csproj]
X:\src\System.Management.Automation\engine\remoting\client\remoterunspaceinfo.cs(331,46): error IDE0110: Discard can be removed [X:\src\System.Management.Automation\System.Management.Automation.csproj]
X:\src\System.Management.Automation\engine\remoting\client\remoterunspaceinfo.cs(334,47): error IDE0110: Discard can be removed [X:\src\System.Management.Automation\System.Management.Automation.csproj]
X:\src\System.Management.Automation\engine\remoting\client\remoterunspaceinfo.cs(337,39): error IDE0110: Discard can be removed [X:\src\System.Management.Automation\System.Management.Automation.csproj]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Code Cleanupthe issue is for cleaning up the code with no impact on functionalityNeeds-ReproThe issue author needs to provide repro steps.Resolution-No ActivityIssue has had no activity for 6 months or more

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions