Ejemplo n.º 1
0
 public bool Equals(IReplayILGen other)
 {
     if (!(other is LdstrInst v))
     {
         return(false);
     }
     return(_str == v._str);
 }
Ejemplo n.º 2
0
 public bool Equals(IReplayILGen other)
 {
     if (!(other is LdftnInst v))
     {
         return(false);
     }
     return(ReferenceEquals(_method, v._method));
 }
Ejemplo n.º 3
0
 public bool Equals(IReplayILGen other)
 {
     if (!(other is CatchInst v))
     {
         return(false);
     }
     return(_exceptionType == v._exceptionType);
 }
Ejemplo n.º 4
0
 public bool Equals(IReplayILGen other)
 {
     if (!(other is MarkInst v))
     {
         return(false);
     }
     return(((ILLabel)_label).Index == ((ILLabel)v._label).Index);
 }
Ejemplo n.º 5
0
 public bool Equals(IReplayILGen other)
 {
     if (!(other is EmitILLabel v))
     {
         return(false);
     }
     return(_opCode == v._opCode && ((ILLabel)_ilLabel).Index == ((ILLabel)v._ilLabel).Index);
 }
Ejemplo n.º 6
0
 public bool Equals(IReplayILGen other)
 {
     if (!(other is EmitILField v))
     {
         return(false);
     }
     return(_opCode == v._opCode && _ilField.Equals(v._ilField));
 }
Ejemplo n.º 7
0
 public bool Equals(IReplayILGen other)
 {
     if (!(other is EmitLongInst v))
     {
         return(false);
     }
     return(_opCode == v._opCode && _param == v._param);
 }
Ejemplo n.º 8
0
 public bool Equals(IReplayILGen other)
 {
     if (!(other is EmitTypeInst v))
     {
         return(false);
     }
     return(_opCode == v._opCode && _type == v._type);
 }
Ejemplo n.º 9
0
 public bool Equals(IReplayILGen other)
 {
     if (!(other is EmitMethodInfoInst v))
     {
         return(false);
     }
     return(_opCode == v._opCode && _methodInfo == v._methodInfo);
 }
Ejemplo n.º 10
0
 public bool Equals(IReplayILGen other)
 {
     if (!(other is EmitConstructorInfoInst v))
     {
         return(false);
     }
     return(_opCode == v._opCode && _constructorInfo == v._constructorInfo);
 }
Ejemplo n.º 11
0
 public bool Equals(IReplayILGen other)
 {
     if (!(other is CommentInst v))
     {
         return(false);
     }
     return(_text == v._text);
 }
Ejemplo n.º 12
0
 public bool Equals(IReplayILGen other)
 {
     if (!(other is ILLabel v))
     {
         return(false);
     }
     return(_name == v._name);
 }
Ejemplo n.º 13
0
 public bool Equals(IReplayILGen other)
 {
     if (!(other is EmitDoubleInst v))
     {
         return(false);
     }
     // ReSharper disable once CompareOfFloatsByEqualityOperator
     return(_opCode == v._opCode && _param == v._param);
 }
Ejemplo n.º 14
0
            public bool Equals(IReplayILGen other)
            {
                var v = other as LdstrInst;

                if (v == null)
                {
                    return(false);
                }
                return(_str == v._str);
            }
Ejemplo n.º 15
0
            public bool Equals(IReplayILGen other)
            {
                var v = other as LdftnInst;

                if (v == null)
                {
                    return(false);
                }
                return(_method == v._method);
            }
Ejemplo n.º 16
0
            public bool Equals(IReplayILGen other)
            {
                var v = other as MarkInst;

                if (v == null)
                {
                    return(false);
                }
                return(((ILLabel)_label).Index == ((ILLabel)v._label).Index);
            }
Ejemplo n.º 17
0
            public bool Equals(IReplayILGen other)
            {
                var v = other as CommentInst;

                if (v == null)
                {
                    return(false);
                }
                return(_text == v._text);
            }
Ejemplo n.º 18
0
            public bool Equals(IReplayILGen other)
            {
                var v = other as EmitILField;

                if (v == null)
                {
                    return(false);
                }
                return(_opCode == v._opCode && _ilField.Equals(v._ilField));
            }
Ejemplo n.º 19
0
            public bool Equals(IReplayILGen other)
            {
                var v = other as ILLabel;

                if (v == null)
                {
                    return(false);
                }
                return(_name == v._name);
            }
Ejemplo n.º 20
0
            public bool Equals(IReplayILGen other)
            {
                var v = other as EmitTypeInst;

                if (v == null)
                {
                    return(false);
                }
                return(_opCode == v._opCode && _type == v._type);
            }
Ejemplo n.º 21
0
            public bool Equals(IReplayILGen other)
            {
                var v = other as EmitConstructorInfoInst;

                if (v == null)
                {
                    return(false);
                }
                return(_opCode == v._opCode && _constructorInfo == v._constructorInfo);
            }
Ejemplo n.º 22
0
            public bool Equals(IReplayILGen other)
            {
                var v = other as EmitILLabel;

                if (v == null)
                {
                    return(false);
                }
                return(_opCode == v._opCode && ((ILLabel)_ilLabel).Index == ((ILLabel)v._ilLabel).Index);
            }
Ejemplo n.º 23
0
            public bool Equals(IReplayILGen other)
            {
                var v = other as EmitDoubleInst;

                if (v == null)
                {
                    return(false);
                }
                return(_opCode == v._opCode && _param == v._param);
            }
Ejemplo n.º 24
0
            public bool Equals(IReplayILGen other)
            {
                var v = other as EmitMethodInfoInst;

                if (v == null)
                {
                    return(false);
                }
                return(_opCode == v._opCode && _methodInfo == v._methodInfo);
            }
Ejemplo n.º 25
0
            public bool Equals(IReplayILGen other)
            {
                var v = other as CatchInst;

                if (v == null)
                {
                    return(false);
                }
                return(_exceptionType == v._exceptionType);
            }
Ejemplo n.º 26
0
 public bool Equals(IReplayILGen other)
 {
     if (!(other is ILLocal v))
     {
         return(false);
     }
     if (_name != v._name)
     {
         return(false);
     }
     if (LocalType != v.LocalType)
     {
         return(false);
     }
     return(Pinned == v.Pinned);
 }
Ejemplo n.º 27
0
            public bool Equals(IReplayILGen other)
            {
                var v = other as ILLocal;

                if (v == null)
                {
                    return(false);
                }
                if (_name != v._name)
                {
                    return(false);
                }
                if (_type != v._type)
                {
                    return(false);
                }
                return(_pinned == v._pinned);
            }
Ejemplo n.º 28
0
 public bool Equals(IReplayILGen other)
 {
     var v = other as LdstrInst;
     if (v == null) return false;
     return _str == v._str;
 }
Ejemplo n.º 29
0
 public bool Equals(IReplayILGen other)
 {
     var v = other as LdftnInst;
     if (v == null) return false;
     return _method == v._method;
 }
Ejemplo n.º 30
0
 public bool Equals(IReplayILGen other)
 {
     var v = other as ILLocal;
     if (v == null) return false;
     if (_name != v._name) return false;
     if (_type != v._type) return false;
     return _pinned == v._pinned;
 }
Ejemplo n.º 31
0
 public bool Equals(IReplayILGen other)
 {
     var v = other as ILLabel;
     if (v==null) return false;
     return _name == v._name;
 }
Ejemplo n.º 32
0
 public bool Equals(IReplayILGen other)
 {
     var v = other as EmitUshortInst;
     if (v == null) return false;
     return _opCode == v._opCode && _param == v._param;
 }
Ejemplo n.º 33
0
 public bool Equals(IReplayILGen other)
 {
     var v = other as EmitTypeInst;
     if (v == null) return false;
     return _opCode == v._opCode && _type == v._type;
 }
Ejemplo n.º 34
0
 public bool Equals(IReplayILGen other)
 {
     var v = other as EmitILLocal;
     if (v == null) return false;
     return _opCode == v._opCode && ((ILLocal)_ilLocal).Index == ((ILLocal)v._ilLocal).Index;
 }
Ejemplo n.º 35
0
 public bool Equals(IReplayILGen other)
 {
     var v = other as CommentInst;
     if (v == null) return false;
     return _text == v._text;
 }
Ejemplo n.º 36
0
 public bool Equals(IReplayILGen other)
 {
     var v = other as EmitConstructorInfoInst;
     if (v == null) return false;
     return _opCode == v._opCode && _constructorInfo == v._constructorInfo;
 }
Ejemplo n.º 37
0
 public bool Equals(IReplayILGen other)
 {
     var v = other as CatchInst;
     if (v == null) return false;
     return _exceptionType == v._exceptionType;
 }
Ejemplo n.º 38
0
 public bool Equals(IReplayILGen other)
 {
     return(other is FinallyInst);
 }
Ejemplo n.º 39
0
 public bool Equals(IReplayILGen other)
 {
     return(other is EndTryInst);
 }
Ejemplo n.º 40
0
 public bool Equals(IReplayILGen other)
 {
     var v = other as MarkInst;
     if (v == null) return false;
     return ((ILLabel) _label).Index == ((ILLabel) v._label).Index;
 }
Ejemplo n.º 41
0
 public bool Equals(IReplayILGen other)
 {
     var v = other as EmitMethodInfoInst;
     if (v == null) return false;
     return _opCode == v._opCode && _methodInfo == v._methodInfo;
 }
Ejemplo n.º 42
0
 public bool Equals(IReplayILGen other)
 {
     var v = other as TryInst;
     return v != null;
 }
Ejemplo n.º 43
0
            public bool Equals(IReplayILGen other)
            {
                var v = other as EndTryInst;

                return(v != null);
            }