protected override int GetHashCodeCore()
{
if ( NativeObjectAvailable ) {
if ( NativeObject == null ) {
return 0;
} else {
return NativeObject.GetHashCode();
}
} else {
if ( ShorthandTag() == "!!str" ) {
return ( Value.GetHashCode() * 193 ) ^ Tag.GetHashCode();
} else {
return TypeUtils.HashCodeByRef<YamlScalar>.GetHashCode(this);
}
}
}