瀏覽代碼

Removed fixed TODO

CPKreuz 1 年之前
父節點
當前提交
fe94605a13
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/PixiEditor.Extensions.CommonApi.Diagnostics/Diagnostics/UseNonOwnedDiagnostic.cs

+ 0 - 1
src/PixiEditor.Extensions.CommonApi.Diagnostics/Diagnostics/UseNonOwnedDiagnostic.cs

@@ -40,7 +40,6 @@ public class UseNonOwnedDiagnostic : DiagnosticAnalyzer
             return;
         }
         
-        // TODO: Also handle => new()
         if (declaration.Initializer is not { Value: BaseObjectCreationExpressionSyntax { ArgumentList.Arguments: { Count: > 0 } arguments } initializerExpression } ||
             DoesNotMatch(semantics, arguments, declaration))
         {