Example #1
0
 protected override bool UnsafeEquals(Dynamic other)
 {
     return(value == other.AsBoolean);
 }
Example #2
0
 protected override int UnsafeCompareTo(Dynamic other)
 {
     return(value.CompareTo(other.AsBoolean));
 }
Example #3
0
 public override void SetItem(Dynamic index, Dynamic d)
 {
     throw new InvalidOperationException(Resources.StringsAreImmutable);
 }
Example #4
0
 protected override int UnsafeCompareTo(Dynamic other)
 {
     return(value.CompareTo(other.ToString()));
 }
Example #5
0
 protected override bool UnsafeEquals(Dynamic other)
 {
     return(value == other.ToString());
 }
Example #6
0
 protected override bool UnsafeEquals(Dynamic other)
 {
     return(queue.Equals(other.AsQueue));
 }
Example #7
0
 protected override bool UnsafeEquals(Dynamic other)
 {
     return(function.Equals(other.AsFunction));
 }