public SyntaxerNamingContext(ISyntaxerNamingContext upperScope) { _UpperScope = upperScope; _ForbiddenNames = new HashSet<string>(StringComparer.Ordinal); _UsedNames = new HashSet<string>(StringComparer.Ordinal); _Lock = new ReaderWriterLockSlim(); }
public SyntaxerContext(ISyntaxerNamingContext naming) { Must.Assert<ArgumentNullException>(naming != null); Naming = naming; }