Exemple #1
0
		internal virtual void EmitBranch(CodeGen g, BranchSet branchSet, Label label)
		{
			if (g == null)
				throw new ArgumentNullException("g");
			if (branchSet == null)
				throw new ArgumentNullException("branchSet");

			EmitGet(g);
			g.IL.Emit(branchSet.brTrue, label);
		}
Exemple #2
0
        internal virtual void EmitBranch(CodeGen g, BranchSet branchSet, Label label)
        {
            if (g == null)
            {
                throw new ArgumentNullException("g");
            }
            if (branchSet == null)
            {
                throw new ArgumentNullException("branchSet");
            }

            EmitGet(g);
            g.IL.Emit(branchSet.brTrue, label);
        }