func (a *TypeRef) Equals(b *TypeRef) bool {
	if a == nil || b == nil {
		return a == nil && b == nil
	}
	if (a.NamedType == nil) != (b.NamedType == nil) {
		return false
	}
	if a.NamedType != nil {
		if *a.NamedType != *b.NamedType {
			return false
		}
		//return true
	}
	return a.Inlined.Equals(&b.Inlined)
}
// Equals returns true iff the two TypeRefs are equal.
//
// Note that two typerefs that have an equivalent type but where one is
// inlined and the other is named, are not considered equal.
Equals returns true iff the two TypeRefs are equal.

Note that two typerefs that have an equivalent type but where one is
inlined and the other is named, are not considered equal.
// Equals returns true iff the two TypeRefs are equal . // // Note that two typerefs that have an equivalent type but where one is // inlined and the other is named are not considered equal .
func (a *TypeRef) Equals(b *TypeRef) bool {
	if a == nil || b == nil {
		return a == nil && b == nil
	}
	if (a.NamedType == nil) != (b.NamedType == nil) {
		return false
	}
	if a.NamedType != nil {
		if *a.NamedType != *b.NamedType {
			return false
		}
	}
	return a.Inlined.Equals(&b.Inlined)
}
func ( a * TypeRef ) Equals ( b * TypeRef ) bool { if a == nil || b == nil { return a == nil && b == nil } if ( a . NamedType == nil ) != ( b . NamedType == nil ) { return false } if a . NamedType != nil { if * a . NamedType != * b . NamedType { return false } } return a . Inlined . Equals ( & b . Inlined ) }
Equals returns true iff the two TypeRefs are equal.
Equals returns true iff the two TypeRefs are equal .
//return true