|SomeclassName->layoutILTypeRefNamedenv(SplitNamesForILPath(ungenericizeTypeNameclassName))^^(pruneParmsclassNameilTyparSubst|>paramsL)// special case for constructor return-type (viz., the class itself)
|SomeclassName->layoutILTypeRefNamedenv(SplitNamesForILPath(PrettyNaming.DemangleGenericTypeNameclassName))^^(pruneParmsclassNameilTyparSubst|>paramsL)// special case for constructor return-type (viz., the class itself)
// return type be passed along as the `cons` parameter.)
letres=
matchconswith
|SomeclassName->layoutILTypeRefNamedenv(SplitNamesForILPath(ungenericizeTypeNameclassName))^^(pruneParmsclassNameilTyparSubst|>paramsL)// special case for constructor return-type (viz., the class itself)
|SomeclassName->layoutILTypeRefNamedenv(SplitNamesForILPath(PrettyNaming.DemangleGenericTypeNameclassName))^^(pruneParmsclassNameilTyparSubst|>paramsL)// special case for constructor return-type (viz., the class itself)