go/types.Label.Name (method, view implemented interface methods)

36 uses

	go/types (current package)
		api.go#L464: 		buf.WriteString(lhs.Name())
		decl.go#L554: 	}).describef(obj, "validType(%s)", obj.Name())
		decl.go#L791: 				check.errorf(m, DuplicateMethod, "method %s.%s already declared at %v", obj.Name(), m.name, alt.Pos())
		decl.go#L793: 				check.errorf(m, DuplicateMethod, "method %s.%s already declared", obj.Name(), m.name)
		infer.go#L505: 		tname := NewTypeName(tparam.Obj().Pos(), tparam.Obj().Pkg(), tparam.Obj().Name(), nil)
		instantiate.go#L142: 		if !check.validateTArgLen(pos, orig.obj.Name(), tparams.Len(), len(targs)) {
		lookup.go#L442: 				*cause = check.sprintf("(missing method %s)", m.Name())
		lookup.go#L446: 			*cause = check.sprintf("(missing method %s)\n\t\thave %s\n\t\twant %s", m.Name(), fs, ms)
		lookup.go#L448: 			*cause = check.sprintf("(unexported method %s)", m.Name())
		lookup.go#L464: 				*cause = check.sprintf("(wrong type for method %s)", m.Name())
		lookup.go#L467: 			*cause = check.sprintf("(wrong type for method %s)\n\t\thave %s\n\t\twant %s", m.Name(), fs, ms)
		lookup.go#L469: 			*cause = check.sprintf("(ambiguous selector %s.%s)", V, m.Name())
		lookup.go#L471: 			*cause = check.sprintf("(method %s has pointer receiver)", m.Name())
		lookup.go#L473: 			*cause = check.sprintf("(%s.%s is a field, not a method)", V, m.Name())
		mono.go#L157: 			err.addf(atPos(edge.pos), "%s implicitly parameterized by %s", obj.Name(), TypeString(edge.typ, qf)) // secondary error, \t indented
		mono.go#L159: 			err.addf(atPos(edge.pos), "%s instantiated as %s", obj.Name(), TypeString(edge.typ, qf)) // secondary error, \t indented
		object.go#L155: func (obj *object) Name() string { return obj.name }
		object.go#L514: 		fmt.Fprintf(buf, "package %s", obj.Name())
		sizes.go#L123: 	return obj.Name() == "align64" &&

	golang.org/x/exp/apidiff
		compatibility.go#L121: 			d.incompatible(otn, u.Name(), "added unexported method")
		compatibility.go#L169: 			m[f.Name()] = f
		compatibility.go#L231: 			name := f.Name()
		compatibility.go#L288: 	msname := otn.Name()
		correspondence.go#L154: 	return of.Name() == nf.Name()
		correspondence.go#L273: 		return m.Name()

	golang.org/x/tools/go/types/objectpath
		objectpath.go#L415: 	name := named.Obj().Name()

	golang.org/x/tools/internal/gcimporter
		iexport.go#L498: 			w.tparamList(obj.Name(), tparams, obj.Pkg())
		iexport.go#L553: 			w.tparamList(obj.Name(), named.TypeParams(), obj.Pkg())
		iexport.go#L568: 			w.string(m.Name())
		iexport.go#L574: 				prefix := obj.Name() + "." + m.Name()
		iexport.go#L842: 			w.string(f.Name()) // unexported fields implicitly qualified by prior setPkg
		iexport.go#L876: 			w.string(m.Name())
		iexport.go#L988: 	name := tparam.Obj().Name()
		ureader_yes.go#L563: 						methods[i] = types.NewFunc(fn.Pos(), fn.Pkg(), fn.Name(), types.NewSignature(recv, sig.Params(), sig.Results(), sig.Variadic()))