You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
We only need to check for mangledGenericTypeNameSym once (dotnet#5633)
* We only need to check for mangledGenericTypeNameSym once* ShortCut name checking* Reduce number of LastIndexOf calls* Reduce number of LastIndexOf calls* Reduce number of LastIndexOf calls* Incorporate feedback* Use PrettyNaming.DemangleGenericTypeName instead of ungenericizeTypeName* Remove couple of double checks* Update illib.fs
| Some className-> layoutILTypeRefName denv(SplitNamesForILPath(ungenericizeTypeName className))^^(pruneParms className ilTyparSubst|> paramsL)// special case for constructor return-type (viz., the class itself)
196
+
| Some className-> layoutILTypeRefName denv(SplitNamesForILPath(PrettyNaming.DemangleGenericTypeName className))^^(pruneParms className ilTyparSubst|> paramsL)// special case for constructor return-type (viz., the class itself)
// return type be passed along as the `cons` parameter.)
227
227
letres=
228
228
match conswith
229
-
| Some className-> layoutILTypeRefName denv(SplitNamesForILPath(ungenericizeTypeName className))^^(pruneParms className ilTyparSubst|> paramsL)// special case for constructor return-type (viz., the class itself)
229
+
| Some className-> layoutILTypeRefName denv(SplitNamesForILPath(PrettyNaming.DemangleGenericTypeName className))^^(pruneParms className ilTyparSubst|> paramsL)// special case for constructor return-type (viz., the class itself)