Exemplo n.º 1
0
        /// <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);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:System.Object" /> class.
 /// </summary>
 public SymbolScope(SymbolScope ownerScope = null)
 {
     OwnerScope = ownerScope;
 }