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