mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Remove unused stopwatch (#7878)
This commit is contained in:
@@ -159,9 +159,10 @@ namespace System.Management.Automation
|
||||
|
||||
private void ReallyCompile(bool optimize)
|
||||
{
|
||||
#if LEGACYTELEMETRY
|
||||
var sw = new Stopwatch();
|
||||
sw.Start();
|
||||
|
||||
#endif
|
||||
if (!IsProductCode && SecuritySupport.IsProductBinary(((Ast)_ast).Extent.File))
|
||||
{
|
||||
this.IsProductCode = true;
|
||||
|
||||
Reference in New Issue
Block a user