From 9787570331b511bab73ac8f4f38a3b8cfa053ca5 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Wed, 24 Jun 2020 14:05:08 -0700 Subject: The Great Tuple to Symbol Rename (tm) --- src/WixToolset.Data/TupleWithSection.cs | 54 ++++++++++++++++----------------- 1 file changed, 27 insertions(+), 27 deletions(-) (limited to 'src/WixToolset.Data/TupleWithSection.cs') diff --git a/src/WixToolset.Data/TupleWithSection.cs b/src/WixToolset.Data/TupleWithSection.cs index a8b88814..89a5fccd 100644 --- a/src/WixToolset.Data/TupleWithSection.cs +++ b/src/WixToolset.Data/TupleWithSection.cs @@ -7,29 +7,29 @@ namespace WixToolset.Data using System.Linq; /// - /// Tuple with section representing a single unique tuple. + /// Symbol with section representing a single unique symbol. /// - public sealed class TupleWithSection + public sealed class SymbolWithSection { - private HashSet possibleConflicts; - private HashSet redundants; + private HashSet possibleConflicts; + private HashSet redundants; /// - /// Creates a symbol for a tuple. + /// Creates a symbol for a symbol. /// - /// Tuple for the symbol - public TupleWithSection(IntermediateSection section, IntermediateTuple tuple) + /// Symbol for the symbol + public SymbolWithSection(IntermediateSection section, IntermediateSymbol symbol) { - this.Tuple = tuple; + this.Symbol = symbol; this.Section = section; - this.Name = String.Concat(this.Tuple.Definition.Name, ":", this.Tuple.Id.Id); + this.Name = String.Concat(this.Symbol.Definition.Name, ":", this.Symbol.Id.Id); } /// /// Gets the accessibility of the symbol which is a direct reflection of the accessibility of the row's accessibility. /// /// Accessbility of the symbol. - public AccessModifier Access => this.Tuple.Id.Access; + public AccessModifier Access => this.Symbol.Id.Access; /// /// Gets the name of the symbol. @@ -38,10 +38,10 @@ namespace WixToolset.Data public string Name { get; } /// - /// Gets the tuple for this symbol. + /// Gets the symbol for this symbol. /// - /// Tuple for this symbol. - public IntermediateTuple Tuple { get; } + /// Symbol for this symbol. + public IntermediateSymbol Symbol { get; } /// /// Gets the section for the symbol. @@ -50,41 +50,41 @@ namespace WixToolset.Data public IntermediateSection Section { get; } /// - /// Gets any duplicates of this tuple with sections that are possible conflicts. + /// Gets any duplicates of this symbol with sections that are possible conflicts. /// - public IEnumerable PossiblyConflicts => this.possibleConflicts ?? Enumerable.Empty(); + public IEnumerable PossiblyConflicts => this.possibleConflicts ?? Enumerable.Empty(); /// - /// Gets any duplicates of this tuple with sections that are redundant. + /// Gets any duplicates of this symbol with sections that are redundant. /// - public IEnumerable Redundants => this.redundants ?? Enumerable.Empty(); + public IEnumerable Redundants => this.redundants ?? Enumerable.Empty(); /// - /// Adds a duplicate tuple with sections that is a possible conflict. + /// Adds a duplicate symbol with sections that is a possible conflict. /// - /// Tuple with section that is a possible conflict of this symbol. - public void AddPossibleConflict(TupleWithSection tupleWithSection) + /// Symbol with section that is a possible conflict of this symbol. + public void AddPossibleConflict(SymbolWithSection symbolWithSection) { if (null == this.possibleConflicts) { - this.possibleConflicts = new HashSet(); + this.possibleConflicts = new HashSet(); } - this.possibleConflicts.Add(tupleWithSection); + this.possibleConflicts.Add(symbolWithSection); } /// - /// Adds a duplicate tuple that is redundant. + /// Adds a duplicate symbol that is redundant. /// - /// Tuple with section that is redundant of this tuple. - public void AddRedundant(TupleWithSection tupleWithSection) + /// Symbol with section that is redundant of this symbol. + public void AddRedundant(SymbolWithSection symbolWithSection) { if (null == this.redundants) { - this.redundants = new HashSet(); + this.redundants = new HashSet(); } - this.redundants.Add(tupleWithSection); + this.redundants.Add(symbolWithSection); } } } -- cgit v1.2.3-55-g6feb