Defines a label by setting the position where that label is found within the stream.
[Visual Basic] Overridable Public Sub MarkLabel( _ ByVal loc As Label _ ) [C#] public virtual void MarkLabel( Label loc ); [C++] public: virtual void MarkLabel( Label loc ); [JScript] public function MarkLabel( loc : Label );
Exception Type | Condition |
---|---|
ArgumentException | loc represents an invalid index into the label array or if an index for loc has already been defined. |
A label can not be defined more than once.
ILGenerator Class | ILGenerator Members | System.Reflection.Emit Namespace