Diff
In this page of dotPeek options, you can configure preferences for comparing assemblies, NuGet packages, archives, and folders in the Assembly Explorer , as well as the external diff tool to use for the comparison.
Diff mode | Select one of the following options to display the compared entities:
|
Ignore member order differences | If this option is selected, the following classes will be considered as having no differences:
class Test
{
int _one = 1;
int _two = 2;
}
class Test
{
int _two = 2;
int _one = 1;
}
|
Ignore attribute order differences | If this option is selected, the following fields will be considered as having no differences:
[Obsolete]
[NonSerialized]
string _test = "test";
[NonSerialized]
[Obsolete]
string _test = "test";
|
Ignore differences in nullable reference types annotations | If this option is selected, the following methods will be considered as having no differences:
void Sample(string test)
{
//do something
}
void Sample(string? test)
{
//do something
}
|
External diff tool location | Use this field to specify a diff tool (such as KDiff) to compare decompiled types and members within assemblies. |
Command line arguments | Depending on the selected diff tool, specify command line arguments to open the compared documents. The documents are referred to as |