Ejemplo n.º 1
0
        public CompilerContext(CompilerParameters options, CompileUnit unit)
        {
            if (null == options)
            {
                throw new ArgumentNullException("options");
            }

            if (null == unit)
            {
                throw new ArgumentNullException("unit");
            }

            _unit               = unit;
            _errors             = new ErrorCollection();
            _assemblyReferences = options.References;
            _parameters         = options;
            _bindingManager     = new Bindings.BindingManager();
            _traceSwitch        = _parameters.TraceSwitch;
        }
Ejemplo n.º 2
0
 public InternalFieldBinding(BindingManager bindingManager, Field field)
 {
     _bindingManager = bindingManager;
     _field          = field;
 }
Ejemplo n.º 3
0
 protected AbstractInternalTypeBinding(BindingManager bindingManager, TypeDefinition typeDefinition)
 {
     _bindingManager = bindingManager;
     _typeDefinition = typeDefinition;
 }