DefineNamespace() public méthode

public DefineNamespace ( string name, string using_clauses, int parent ) : int
name string
using_clauses string
parent int
Résultat int
Exemple #1
0
        public int DefineNamespace(string name, CompileUnitEntry unit,
                                   string[] using_clauses, int parent)
        {
            if ((unit == null) || (using_clauses == null))
            {
                throw new NullReferenceException();
            }

            return(unit.DefineNamespace(name, using_clauses, parent));
        }
		public int DefineNamespace (string name, CompileUnitEntry unit,
					    string[] using_clauses, int parent)
		{
			if ((unit == null) || (using_clauses == null))
				throw new NullReferenceException ();

			return unit.DefineNamespace (name, using_clauses, parent);
		}