Boo.Lang.Compiler.CompilerContext.CompilerContext C# (CSharp) Метод

CompilerContext() публичный Метод

public CompilerContext ( CompilerParameters options, Boo.Lang.Compiler.Ast.CompileUnit unit ) : System
options CompilerParameters
unit Boo.Lang.Compiler.Ast.CompileUnit
Результат System
        public CompilerContext(CompilerParameters options, CompileUnit unit)
        {
            if (null == options) throw new ArgumentNullException("options");
            if (null == unit) throw new ArgumentNullException("unit");

            _unit = unit;
            _errors = new CompilerErrorCollection();
            _warnings = new CompilerWarningCollection();
            _assemblyReferences = options.References;
            _parameters = options;
            if (_parameters.Debug && !_parameters.Defines.ContainsKey("DEBUG"))
                _parameters.Defines.Add("DEBUG", null);
            _nameResolutionService = new TypeSystem.NameResolutionService(this);
            _properties = new Hash();
        }

Same methods

CompilerContext::CompilerContext ( ) : System
CompilerContext::CompilerContext ( Boo.Lang.Compiler.Ast.CompileUnit unit ) : System
CompilerContext::CompilerContext ( bool stdlib ) : System