Mono.CSharp.CompilerGeneratedClass.MakeMemberName C# (CSharp) Method

MakeMemberName() protected static method

protected static MakeMemberName ( MemberBase host, string name, int unique_id, Mono.CSharp.TypeParameter tparams, Mono.CSharp.Location loc ) : MemberName
host MemberBase
name string
unique_id int
tparams Mono.CSharp.TypeParameter
loc Mono.CSharp.Location
return MemberName
		protected static MemberName MakeMemberName (MemberBase host, string name, int unique_id, TypeParameter[] tparams, Location loc)
		{
			string host_name = host == null ? null : host.Name;
			string tname = MakeName (host_name, "c", name, unique_id);
			TypeArguments args = null;
			if (tparams != null) {
				args = new TypeArguments ();
				foreach (TypeParameter tparam in tparams)
					args.Add (new TypeParameterName (tparam.Name, null, loc));
			}

			return new MemberName (tname, args, loc);
		}