private bool EqualsData(IpV6OptionCalipso other) { return other != null && DomainOfInterpretation == other.DomainOfInterpretation && CompartmentLength == other.CompartmentLength && SensitivityLevel == other.SensitivityLevel && Checksum == other.Checksum && CompartmentBitmap.Equals(CompartmentBitmap); }
public void IpV6OptionCalipsoCreateInstanceNullData() { IpV6OptionCalipso option = new IpV6OptionCalipso(IpV6CalipsoDomainOfInterpretation.Null, 0, null, DataSegment.Empty); Assert.IsNull(option.CreateInstance(null)); Assert.Fail(); }
private bool EqualsData(IpV6OptionCalipso other) { return(other != null && DomainOfInterpretation == other.DomainOfInterpretation && CompartmentLength == other.CompartmentLength && SensitivityLevel == other.SensitivityLevel && Checksum == other.Checksum && CompartmentBitmap.Equals(CompartmentBitmap)); }