public override int GetHashCode() { unchecked { var hashCode = InstanceType != null?InstanceType.GetHashCode() : 0; hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Assignments != null ? Assignments.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (InjectableArguments != null ? InjectableArguments.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Children != null ? Children.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Key != null ? Key.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (InstantiateAs != null ? InstantiateAs.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { return(InstanceType.GetHashCode()); }