예제 #1
0
 public bool Equals(IReplayILGen other)
 {
     if (!(other is LdstrInst v))
     {
         return(false);
     }
     return(_str == v._str);
 }
예제 #2
0
 public bool Equals(IReplayILGen other)
 {
     if (!(other is LdftnInst v))
     {
         return(false);
     }
     return(ReferenceEquals(_method, v._method));
 }
예제 #3
0
 public bool Equals(IReplayILGen other)
 {
     if (!(other is CatchInst v))
     {
         return(false);
     }
     return(_exceptionType == v._exceptionType);
 }
예제 #4
0
 public bool Equals(IReplayILGen other)
 {
     if (!(other is MarkInst v))
     {
         return(false);
     }
     return(((ILLabel)_label).Index == ((ILLabel)v._label).Index);
 }
예제 #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);
 }
예제 #6
0
 public bool Equals(IReplayILGen other)
 {
     if (!(other is EmitILField v))
     {
         return(false);
     }
     return(_opCode == v._opCode && _ilField.Equals(v._ilField));
 }
예제 #7
0
 public bool Equals(IReplayILGen other)
 {
     if (!(other is EmitLongInst v))
     {
         return(false);
     }
     return(_opCode == v._opCode && _param == v._param);
 }
예제 #8
0
 public bool Equals(IReplayILGen other)
 {
     if (!(other is EmitTypeInst v))
     {
         return(false);
     }
     return(_opCode == v._opCode && _type == v._type);
 }
예제 #9
0
 public bool Equals(IReplayILGen other)
 {
     if (!(other is EmitMethodInfoInst v))
     {
         return(false);
     }
     return(_opCode == v._opCode && _methodInfo == v._methodInfo);
 }
예제 #10
0
 public bool Equals(IReplayILGen other)
 {
     if (!(other is EmitConstructorInfoInst v))
     {
         return(false);
     }
     return(_opCode == v._opCode && _constructorInfo == v._constructorInfo);
 }
예제 #11
0
 public bool Equals(IReplayILGen other)
 {
     if (!(other is CommentInst v))
     {
         return(false);
     }
     return(_text == v._text);
 }
예제 #12
0
 public bool Equals(IReplayILGen other)
 {
     if (!(other is ILLabel v))
     {
         return(false);
     }
     return(_name == v._name);
 }
예제 #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);
 }
예제 #14
0
            public bool Equals(IReplayILGen other)
            {
                var v = other as LdstrInst;

                if (v == null)
                {
                    return(false);
                }
                return(_str == v._str);
            }
예제 #15
0
            public bool Equals(IReplayILGen other)
            {
                var v = other as LdftnInst;

                if (v == null)
                {
                    return(false);
                }
                return(_method == v._method);
            }
예제 #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);
            }
예제 #17
0
            public bool Equals(IReplayILGen other)
            {
                var v = other as CommentInst;

                if (v == null)
                {
                    return(false);
                }
                return(_text == v._text);
            }
예제 #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));
            }
예제 #19
0
            public bool Equals(IReplayILGen other)
            {
                var v = other as ILLabel;

                if (v == null)
                {
                    return(false);
                }
                return(_name == v._name);
            }
예제 #20
0
            public bool Equals(IReplayILGen other)
            {
                var v = other as EmitTypeInst;

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

                if (v == null)
                {
                    return(false);
                }
                return(_opCode == v._opCode && _constructorInfo == v._constructorInfo);
            }
예제 #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);
            }
예제 #23
0
            public bool Equals(IReplayILGen other)
            {
                var v = other as EmitDoubleInst;

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

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

                if (v == null)
                {
                    return(false);
                }
                return(_exceptionType == v._exceptionType);
            }
예제 #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);
 }
예제 #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);
            }
예제 #28
0
 public bool Equals(IReplayILGen other)
 {
     var v = other as LdstrInst;
     if (v == null) return false;
     return _str == v._str;
 }
예제 #29
0
 public bool Equals(IReplayILGen other)
 {
     var v = other as LdftnInst;
     if (v == null) return false;
     return _method == v._method;
 }
예제 #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;
 }
예제 #31
0
 public bool Equals(IReplayILGen other)
 {
     var v = other as ILLabel;
     if (v==null) return false;
     return _name == v._name;
 }
예제 #32
0
 public bool Equals(IReplayILGen other)
 {
     var v = other as EmitUshortInst;
     if (v == null) return false;
     return _opCode == v._opCode && _param == v._param;
 }
예제 #33
0
 public bool Equals(IReplayILGen other)
 {
     var v = other as EmitTypeInst;
     if (v == null) return false;
     return _opCode == v._opCode && _type == v._type;
 }
예제 #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;
 }
예제 #35
0
 public bool Equals(IReplayILGen other)
 {
     var v = other as CommentInst;
     if (v == null) return false;
     return _text == v._text;
 }
예제 #36
0
 public bool Equals(IReplayILGen other)
 {
     var v = other as EmitConstructorInfoInst;
     if (v == null) return false;
     return _opCode == v._opCode && _constructorInfo == v._constructorInfo;
 }
예제 #37
0
 public bool Equals(IReplayILGen other)
 {
     var v = other as CatchInst;
     if (v == null) return false;
     return _exceptionType == v._exceptionType;
 }
예제 #38
0
 public bool Equals(IReplayILGen other)
 {
     return(other is FinallyInst);
 }
예제 #39
0
 public bool Equals(IReplayILGen other)
 {
     return(other is EndTryInst);
 }
예제 #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;
 }
예제 #41
0
 public bool Equals(IReplayILGen other)
 {
     var v = other as EmitMethodInfoInst;
     if (v == null) return false;
     return _opCode == v._opCode && _methodInfo == v._methodInfo;
 }
예제 #42
0
 public bool Equals(IReplayILGen other)
 {
     var v = other as TryInst;
     return v != null;
 }
예제 #43
0
            public bool Equals(IReplayILGen other)
            {
                var v = other as EndTryInst;

                return(v != null);
            }