Skip to content

Conversation

@vitek-karas
Copy link
Member

No description provided.

Copy link
Member

@sbomer sbomer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

yield return new SystemTypeValue (new TypeProxy (nestedType));
}

private partial bool TryGetBaseType (TypeProxy type, out TypeProxy baseType)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure what's best practice for value types, but I wonder if it's worth making the out param [NotNullWhen(true)] out TypeProxy? so that we get analysis warnings if someone tries to access the value if it returns false?

@vitek-karas vitek-karas merged commit 98c81d5 into dotnet:main Mar 11, 2022
@vitek-karas vitek-karas deleted the ShareBaseType branch March 11, 2022 21:33
agocke pushed a commit to dotnet/runtime that referenced this pull request Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants