Replies: 1 comment
-
It doesn't seem to be allowed by the runtime:
The C# specification doesn't seem to be of much help here, since the variance rules are underspecified (see dotnet/csharpstandard#195). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently it is possible to define an interface like:
Is this really allowed?
I ask because we explicitly dissallow ref/in/out on non invariant parameter types...
Beta Was this translation helpful? Give feedback.
All reactions