dotnet / dotnet/csharpstandard
12.6.2.3 Check type initialization for default arguments
Open
type: clarity
- Dominant language
- C#
- Stars
- 815
- Forks
- 99
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 16
Description
The question is: if a type with a static constructor is used as an optional parameter and not specified by the caller, is the type initialized?
Split off from ECMA-TC49-TG2/spec#285 so we can get that proposal "in", but defer this extra work.
Contributor guide
Assessment
This issue has not been assessed yet.