diff --git a/src/net/JNetReflector/InternalMethods.cs b/src/net/JNetReflector/InternalMethods.cs index cd470caa91..0963a1a8d3 100644 --- a/src/net/JNetReflector/InternalMethods.cs +++ b/src/net/JNetReflector/InternalMethods.cs @@ -75,7 +75,11 @@ static void ReportTrace(ReflectionTraceLevel level, string format, params object static void WriteFile(string path, string content) { - if (path.EndsWith(FileNameAndDirectory.AllPackageClassesFileName)) Interlocked.Increment(ref namespaces); + if (path.EndsWith(FileNameAndDirectory.AllPackageClassesFileName)) + { + Interlocked.Increment(ref namespaces); + return; // do not write anymore AllPackageClasses.cs + } else Interlocked.Increment(ref classes); if (!JNetReflectorCore.DryRun) @@ -336,17 +340,14 @@ static void AnalyzeSubItems(string package, IDictionary