dotnet / dotnet/csharpstandard

18.2.3.2 Variance safety constraints not actually specified

Open
#195 0 comments 1 reaction 0 assignees View on GitHub
type: bug
Dominant language
C#
Stars
815
Forks
99
Avg merge
1d 14h
Merged PRs (30d)
16

Description

In "18.2.3.2 Variance safety" we have

> Intuitively, an output-unsafe type is prohibited in an output position, and an input-unsafe type is prohibited in an input position.

That "intuition" isn't backed up by any rules to enforce or specify what it means.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.