Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

Use INamedTypeReference instead in order to also copy the nested class type forwards from the contract assembly #1032

Merged
merged 2 commits into from
Sep 13, 2016

Conversation

joperezr
Copy link
Member

@joperezr joperezr commented Sep 9, 2016

cc: @weshaggard

When a contract contains nested class type-forwards they are getting filtered out by GenFacades because their type is NonGenericNestedType which doesn't implement INamespaceTypeReference. With this change, I'm using INamedTypeReference which they do implement and is actually also implemented by INamespaceTypeReference so they will be includded.

@joperezr
Copy link
Member Author

joperezr commented Sep 9, 2016

addresses: dotnet/corefx#11549

@@ -314,7 +314,7 @@ private static IEnumerable<string> EnumerateDocIdsToForward(IAssembly contractAs
// Make note that all type forwards (including nested) implement INamespaceAliasForType, so do

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@weshaggard
Copy link
Member

Looks reasonable to me.

@joperezr joperezr merged commit 5d4d661 into dotnet:master Sep 13, 2016
@joperezr joperezr deleted the FixNestedTypeForwards branch September 13, 2016 21:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants