2
0
CPKreuz 1 жил өмнө
parent
commit
fe94605a13

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

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