コード例 #1
0
 public bool Equals(InlineCodeToken other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Equals(other._text, _text) && other._index == _index && Equals(other.Type, Type));
 }
コード例 #2
0
 public bool Equals(InlineCodeToken other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Equals(other._text, _text) && other._index == _index && Equals(other.Type, Type) && _ownerType == other._ownerType && _isExpandedParamArray == other._isExpandedParamArray);
 }
コード例 #3
0
 public bool Equals(InlineCodeToken other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return Equals(other._text, _text) && other._index == _index && Equals(other.Type, Type);
 }
コード例 #4
0
		public bool Equals(InlineCodeToken other) {
			if (ReferenceEquals(null, other)) return false;
			if (ReferenceEquals(this, other)) return true;
			return Equals(other._text, _text) && other._index == _index && Equals(other.Type, Type) && _ownerType == other._ownerType && _isExpandedParamArray == other._isExpandedParamArray;
		}