/// <summary> /// Initializes a new instance of the <see cref="T:System.Object" /> class. /// </summary> public SymbolScope(SymbolScope ownerScope, bool caseSensitive) { OwnerScope = ownerScope; var comparer = caseSensitive ? StringComparer.InvariantCulture : StringComparer.InvariantCultureIgnoreCase; Symbols = new Dictionary <string, AssemblySymbolInfo>(comparer); LocalSymbolBookings = new HashSet <string>(comparer); }
/// <summary> /// Initializes a new instance of the <see cref="T:System.Object" /> class. /// </summary> public SymbolScope(SymbolScope ownerScope = null) { OwnerScope = ownerScope; }