in messages/csharp/src/Deltix.Timebase.Messages/EPAM.Deltix.Timebase.Messages.Schema/SchemaDescriptorChangeAction.cs [689:750]
public override int GetHashCode()
{
unchecked
{
int hash = ((int)(2166136261u));
if ((this.PreviousState == null))
{
hash = ((hash * 16777619)
+ 0);
}
else
{
hash = ((hash * 16777619)
+ this.PreviousState.GetHashCode());
}
if ((this.NewState == null))
{
hash = ((hash * 16777619)
+ 0);
}
else
{
hash = ((hash * 16777619)
+ this.NewState.GetHashCode());
}
hash = ((hash * 16777619)
+ this.ChangeTypes.GetHashCode());
if ((this.DescriptorTransformation == null))
{
hash = ((hash * 16777619)
+ 0);
}
else
{
hash = ((hash * 16777619)
+ this.DescriptorTransformation.GetHashCode());
}
if ((this.FieldChangeActions == null))
{
hash = ((hash * 16777619)
+ 0);
}
else
{
int i;
for (i = 0; (i < this.FieldChangeActions.Count); i = (i + 1))
{
if ((this.FieldChangeActions[i] == null))
{
hash = ((hash * 16777619)
+ 0);
}
else
{
hash = ((hash * 16777619)
+ this.FieldChangeActions[i].GetHashCode());
}
}
}
return hash;
}
}