示例#1
0
        public SyntaxerNamingContext(ISyntaxerNamingContext upperScope)
        {
            _UpperScope = upperScope;

            _ForbiddenNames = new HashSet<string>(StringComparer.Ordinal);
            _UsedNames = new HashSet<string>(StringComparer.Ordinal);
            _Lock = new ReaderWriterLockSlim();
        }
示例#2
0
        public SyntaxerContext(ISyntaxerNamingContext naming)
        {
            Must.Assert<ArgumentNullException>(naming != null);

            Naming = naming;
        }