Checks if the given object is an instance of LocalToken and is equal to this instance.
[Visual Basic] Overrides Public Function Equals( _ ByVal obj As Object _ ) As Boolean [C#] public override bool Equals( object obj ); [C++] public: override bool Equals( Object* obj ); [JScript] public override function Equals( obj : Object ) : Boolean;
Value | Condition |
---|---|
true | obj is a LocalToken instance and equals the current instance. |
false | Otherwise . |
Two LocalToken objects are equal if they have the same index and represent local variables that have the same type. The index of the LocalToken is assigned by the MethodBuilder that declared it
LocalToken Structure | LocalToken Members | System.Reflection.Emit Namespace