Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2021-01-19 23:13:43 +0300
committerGitHub <noreply@github.com>2021-01-19 23:13:43 +0300
commit5e9f9bcb965f0d750318e92fd165c3b71256a070 (patch)
tree666339adaae35b5e7d9a531a79835bd0682b47a0 /.editorconfig
parent1ab58a85f35fc24e23f1d26c418337f54ac39fba (diff)
Fix covariant returns issue with partially canonical instantiation (#47048)
* Fix covariant returns issue with partially canonical instantiation The ClassLoader::ValidateMethodsWithCovariantReturnTypes was properly handling canonical instantiations only when all the type parameters were canonical. But when only some of them were cannonical, it was not getting the non-canonical version of the instantiation and the validation was failing. This change fixes it by using ClassLoader::IsCanonicalGenericInstantiation instead of the IsTypicalSharedInstantiation. I've also added a regression test for the problem and added couple of missing licence headers to regression tests I have recently created. * Remove unnecessary checks
Diffstat (limited to '.editorconfig')
0 files changed, 0 insertions, 0 deletions