59 references to DiffConfigurationOptions
Microsoft.DotNet.AsmDiff (59)
DiffConfiguration.cs (9)
12
Options =
DiffConfigurationOptions
.IncludeAdded |
13
DiffConfigurationOptions
.IncludeRemoved |
14
DiffConfigurationOptions
.IncludeChanged |
15
DiffConfigurationOptions
.IncludeUnchanged |
16
DiffConfigurationOptions
.IncludeAddedTypes |
17
DiffConfigurationOptions
.IncludeRemovedTypes |
18
DiffConfigurationOptions
.HighlightBaseMembers;
21
public DiffConfiguration(AssemblySet left, AssemblySet right,
DiffConfigurationOptions
options)
45
public
DiffConfigurationOptions
Options { get; private set; }
DiffConfigurationExtensions.cs (6)
14
public static DiffConfiguration UpdateOptions(this DiffConfiguration configuration,
DiffConfigurationOptions
options)
21
public static bool IsOptionSet(this DiffConfiguration configuration,
DiffConfigurationOptions
option)
23
return option ==
DiffConfigurationOptions
.None
24
? configuration.Options ==
DiffConfigurationOptions
.None
28
public static DiffConfiguration SetOption(this DiffConfiguration configuration,
DiffConfigurationOptions
option, bool set)
30
var
newOptions = set
DiffEngine.cs (23)
22
var strikeOutRemoved = configuration.IsOptionSet(
DiffConfigurationOptions
.StrikeRemoved);
50
var includeAttributes = configuration.IsOptionSet(
DiffConfigurationOptions
.DiffAttributes);
62
IncludeAssemblyProperties = configuration.IsOptionSet(
DiffConfigurationOptions
.DiffAssemblyInfo),
63
HighlightBaseMembers = configuration.IsOptionSet(
DiffConfigurationOptions
.HighlightBaseMembers)
70
IncludeAssemblyProperties = configuration.IsOptionSet(
DiffConfigurationOptions
.DiffAssemblyInfo),
71
HighlightBaseMembers = configuration.IsOptionSet(
DiffConfigurationOptions
.HighlightBaseMembers)
99
Func<DifferenceType, bool> diffFilterPredicate = t => (t != DifferenceType.Added || configuration.IsOptionSet(
DiffConfigurationOptions
.IncludeAdded)) &&
100
(t != DifferenceType.Changed || configuration.IsOptionSet(
DiffConfigurationOptions
.IncludeChanged)) &&
101
(t != DifferenceType.Removed || configuration.IsOptionSet(
DiffConfigurationOptions
.IncludeRemoved)) &&
102
(t != DifferenceType.Unchanged || configuration.IsOptionSet(
DiffConfigurationOptions
.IncludeUnchanged));
105
var mappingDifferenceFilter = configuration.IsOptionSet(
DiffConfigurationOptions
.TypesOnly)
109
var includeAddedTypes = configuration.IsOptionSet(
DiffConfigurationOptions
.IncludeAddedTypes);
110
var includeRemovedTypes = configuration.IsOptionSet(
DiffConfigurationOptions
.IncludeRemovedTypes);
120
GroupByAssembly = configuration.IsOptionSet(
DiffConfigurationOptions
.GroupByAssembly),
121
FlattenTypeMembers = configuration.IsOptionSet(
DiffConfigurationOptions
.FlattenTypes),
122
AlwaysDiffMembers = configuration.IsOptionSet(
DiffConfigurationOptions
.AlwaysDiffMembers)
128
var includeAttributes = configuration.IsOptionSet(
DiffConfigurationOptions
.DiffAttributes);
129
var includeInternals = configuration.IsOptionSet(
DiffConfigurationOptions
.IncludeInternals);
130
var includePrivates = configuration.IsOptionSet(
DiffConfigurationOptions
.IncludePrivates);
131
var includeGenerated = configuration.IsOptionSet(
DiffConfigurationOptions
.IncludeGenerated);
161
bool includeAttributes = configuration.IsOptionSet(
DiffConfigurationOptions
.DiffAttributes);
166
IncludeAssemblyProperties = configuration.IsOptionSet(
DiffConfigurationOptions
.DiffAssemblyInfo),
167
HighlightBaseMembers = configuration.IsOptionSet(
DiffConfigurationOptions
.HighlightBaseMembers)
Program.cs (21)
98
DiffConfigurationOptions
options = GetDiffOptions();
121
private
DiffConfigurationOptions
GetDiffOptions()
123
var
result =
DiffConfigurationOptions
.IncludeAddedTypes |
DiffConfigurationOptions
.IncludeRemovedTypes;
126
result |=
DiffConfigurationOptions
.IncludeAdded;
129
result |=
DiffConfigurationOptions
.IncludeRemoved;
132
result |=
DiffConfigurationOptions
.IncludeChanged;
135
result |=
DiffConfigurationOptions
.IncludeUnchanged;
138
result |=
DiffConfigurationOptions
.AlwaysDiffMembers;
141
result |=
DiffConfigurationOptions
.TypesOnly;
144
result |=
DiffConfigurationOptions
.FlattenTypes;
147
result |=
DiffConfigurationOptions
.GroupByAssembly;
150
result |=
DiffConfigurationOptions
.HighlightBaseMembers;
153
result |=
DiffConfigurationOptions
.DiffAssemblyInfo;
156
result |=
DiffConfigurationOptions
.StrikeRemoved;
159
result |=
DiffConfigurationOptions
.DiffAttributes;
162
result &= ~
DiffConfigurationOptions
.IncludeAddedTypes;
165
result &= ~
DiffConfigurationOptions
.IncludeRemovedTypes;
168
result |=
DiffConfigurationOptions
.IncludeInternals;
171
result |=
DiffConfigurationOptions
.IncludePrivates;