dotnet / dotnet/csharpstandard

Lack of clarity between compile-time and runtime processing of user-defined conversions

Open
#1,541 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
815
Forks
99
Avg merge
1d 14h
Merged PRs (30d)
16

Description

Clauses §10.5.4 *User-defined implicit conversions* and §10.5.5 *User-defined implicit conversions* both contain multi-step lists defining the compile-time steps to determine the of user-defined conversions. The final top-level step in both cases is to *perform* the conversions, which is a runtime action in a list of compile-time actions.

Separating the compile-time and runtime actions, say into distinct lists as is done elsewhere in the Standard, would improve clarity.

In addressing this §10.5.3 which introduces these two clauses may require changes as well to match.

(The wording mentioned here is based on the v8 text as of 23 Jan 2026.)

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.