Open kriewall opened 6 years ago
JustAssembly.CommandLineTool.exe XML output indicates member is more visible instead of less when class visibility is changed from public to internal.
<Assembly Name="Test, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" DiffType="Modified"> <Module Name="Test.dll" DiffType="Modified"> <Type Name="Test.Calculator2" DiffType="Modified"> <DeclarationDiffs> <DiffItem DiffType="Modified">Member is more visible.</DiffItem> </DeclarationDiffs> </Type> </Module> </Assembly>
<Assembly Name="Test, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" DiffType="Modified"> <Module Name="Test.dll" DiffType="Modified"> <Type Name="Test.Calculator" DiffType="Modified"> <DeclarationDiffs> <DiffItem DiffType="Modified">Member is ***less*** visible.</DiffItem> </DeclarationDiffs> </Type> </Module> </Assembly>
public class Calculator2 { public int Subtract(int a, int b) { return a - b; } }
internal class Calculator2 { public int Subtract(int a, int b) { return a - b; } }
"C:\Users\xxx\.nuget\tools\JustAssembly\Justassembly.commandlinetool.exe" "C:\TEMP\Previous\test.dll" "C:\TEMP\Current\test.dll" "output.xml"
What are you seeing?
JustAssembly.CommandLineTool.exe XML output indicates member is more visible instead of less when class visibility is changed from public to internal.
What is expected?
How did you get this to happen?
"C:\Users\xxx\.nuget\tools\JustAssembly\Justassembly.commandlinetool.exe" "C:\TEMP\Previous\test.dll" "C:\TEMP\Current\test.dll" "output.xml"