Exemple #1
0
        public virtual void DefineBinding(NameBinding binding)
        {
            if (binding == null)
                throw new ArgumentNullException();

            this.Bindings[binding.Name] = binding;
        }
 public BindingCodeGeneraionException(NameBinding binding, SemanticNode node)
     : base((binding is IErrorBinding) ? ((IErrorBinding)binding).ErrorDescription : CodeGenerationErrors.UndefinedBinding, node)
 {
 }