Beispiel #1
0
                public override int GetHashCode()
                {
                    int hash = 1;

                    if (MonitoredResource.Length != 0)
                    {
                        hash ^= MonitoredResource.GetHashCode();
                    }
                    hash ^= metrics_.GetHashCode();
                    return(hash);
                }
Beispiel #2
0
                public override int GetHashCode()
                {
                    int hash = 1;

                    if (MonitoredResource.Length != 0)
                    {
                        hash ^= MonitoredResource.GetHashCode();
                    }
                    hash ^= metrics_.GetHashCode();
                    if (_unknownFields != null)
                    {
                        hash ^= _unknownFields.GetHashCode();
                    }
                    return(hash);
                }