示例#1
0
        public PatternMatchingHelper CreatePatterMatchingHelper()
        {
            if (pmh == null)
            {
                pmh = new PatternMatchingHelper(this);

                pmh.CreateContainer();
                pmh.DefineContainer();
                pmh.Define();
                AddCompilerGeneratedClass(pmh);
            }

            return(pmh);
        }
示例#2
0
文件: module.cs 项目: nobled/mono
		public PatternMatchingHelper CreatePatterMatchingHelper ()
		{
			if (pmh == null) {
				pmh = new PatternMatchingHelper (this);

				pmh.CreateContainer ();
				pmh.DefineContainer ();
				pmh.Define ();
				AddCompilerGeneratedClass (pmh);
			}

			return pmh;
		}