dotnet / dotnet/csharpstandard

15.13 Lack of detail around type initialization

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

Description

Section 16.13 gives an example where one thread initializes two classes, but it doesn't give any detail about how initialization works in a multi-threaded situation. For comparison, see the details in the JLS:

http://docs.oracle.com/javase/specs/jls/se8/html/jls-12.html#jls-12.4.2

Do we want something similar? Is it up to the execution environment?

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.