src/sys/dotnet/perwapi/PERWAPI.cs
/// <summary>
/// Add a label to the CIL instructions
/// </summary>
/// <param name="lab">the label to be added</param>
Add a label to the CIL instructions
Add a label to the CIL instructions
public void CodeLabel(CILLabel lab) {
            if (lab.Buffer == null) {
                lab.Buffer = this;
            } else if (lab.Buffer != this) {
                throw new DescriptorException("Cannot add a label to two different code buffers");
            }
            AddToBuffer(lab);
        }
public void CodeLabel ( CILLabel lab ) { if ( lab . Buffer == null ) { lab . Buffer = this ; } else if ( lab . Buffer != this ) { throw new DescriptorException ( " " ) ; } AddToBuffer ( lab ) ; }
Add a label to the CIL instructions
Add a label to the CIL instructions
lab
CILLabel
the label to be added
the label to be added