ICSharpCode.NRefactory.MonoCSharp.TypeContainer.DefineContainer C# (CSharp) Method

DefineContainer() public method

public DefineContainer ( ) : bool
return bool
		public virtual bool DefineContainer ()
		{
			if (is_defined)
				return true;

			is_defined = true;

			DoDefineContainer ();

			if (containers != null) {
				foreach (TypeContainer tc in containers) {
					try {
						tc.DefineContainer ();
					} catch (Exception e) {
						if (MemberName == MemberName.Null)
							throw;

						throw new InternalErrorException (tc, e);
					}
				}
			}

			return true;
		}