/// <summary> /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. /// </summary> public void Dispose() { if (disposed) { return; } GC.SuppressFinalize(this); disposed = true; AllConflicts?.Dispose(); Conflicts?.Dispose(); IgnoredConflicts?.Dispose(); OrphanConflicts?.Dispose(); ResolvedConflicts?.Dispose(); RuleIgnoredConflicts?.Dispose(); OverwrittenConflicts?.Dispose(); CustomConflicts?.Dispose(); AllConflicts = null; Conflicts = null; IgnoredConflicts = null; ResolvedConflicts = null; OrphanConflicts = null; RuleIgnoredConflicts = null; OverwrittenConflicts = null; CustomConflicts = null; }
/// <summary> /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. /// </summary> public void Dispose() { if (disposed) { return; } disposed = true; AllConflicts?.Dispose(); Conflicts?.Dispose(); IgnoredConflicts?.Dispose(); OrphanConflicts?.Dispose(); ResolvedConflicts?.Dispose(); RuleIgnoredConflicts?.Dispose(); OverwrittenConflicts?.Dispose(); CustomConflicts?.Dispose(); AllConflicts = null; Conflicts = null; IgnoredConflicts = null; ResolvedConflicts = null; OrphanConflicts = null; RuleIgnoredConflicts = null; OverwrittenConflicts = null; CustomConflicts = null; }