Pārlūkot izejas kodu

Removed fixed TODO

CPKreuz 1 gadu atpakaļ
vecāks
revīzija
fe94605a13

+ 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))
         {