From d492ff918b98f529e90b8816f8b220a717379fda Mon Sep 17 00:00:00 2001 From: atef Date: Mon, 23 Oct 2023 10:37:18 +0200 Subject: [PATCH] Comment Visited parent in toCsv function --- csharp/Lib/Units/Units.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/csharp/Lib/Units/Units.cs b/csharp/Lib/Units/Units.cs index 4a9501ded..a885d3ba2 100644 --- a/csharp/Lib/Units/Units.cs +++ b/csharp/Lib/Units/Units.cs @@ -88,8 +88,8 @@ public static class Units } else { - if (!visited.Add(parent)) - return; + //if (!visited.Add(parent)) + // return; foreach (var p in type.GetProperties(Instance | Public)) {