C # in a Nutshell, Second Edition

Label serializable

System.Reflection.Emit (mscorlib.dll) struct

This class represents a label in the MSIL instruction stream. You can create a label with ILGenerator.DefineLabel( ) and place it in the stream with ILGenerator.MarkLabel( ) .

public struct Label { // Public Instance Methods public override bool Equals (object obj ); // overrides ValueType public override int GetHashCode ( ); // overrides ValueType }

Hierarchy

System.Object System.ValueType Label

Returned By

ILGenerator.{BeginExceptionBlock( ) , DefineLabel( )}

Passed To

ILGenerator.{Emit( ) , MarkLabel( )}

Категории