###  Interface static constructors (closed)

When are interface static constructors run? The current CLI draft proposes
that it occurs when the first static method or field is accessed. If there are
neither of those then it might never be run??

[2018-10-09 The CLR team proposes "Going to mirror what we do for valuetypes
(cctor check on access to each instance method)"]

_**Decision** _ : Static constructors are also run on entry to instance
methods, if the static constructor was not ` beforefieldinit ` , in which case
static constructors are run before access to the first static field. [
https://github.com/dotnet/csharplang/blob/master/meetings/2018/LDM-2018-10-17.md#when-
are-interface-static-constructors-run
](https://github.com/dotnet/csharplang/blob/master/meetings/2018/LDM-2018-10-17.md#when-
are-interface-static-constructors-run)

##  Design meetings

[ 2017-03-08 LDM Meeting Notes
](https://github.com/dotnet/csharplang/blob/master/meetings/2017/LDM-2017-03-08.md)
[ 2017-03-21 LDM Meeting Notes
](https://github.com/dotnet/csharplang/blob/master/meetings/2017/LDM-2017-03-21.md)
[ 2017-03-23 meeting "CLR Behavior for Default Interface Methods"
](https://github.com/dotnet/csharplang/blob/master/meetings/2017/CLR-2017-03-23.md)
[ 2017-04-05 LDM Meeting Notes
](https://github.com/dotnet/csharplang/blob/master/meetings/2017/LDM-2017-04-05.md)
[ 2017-04-11 LDM Meeting Notes
](https://github.com/dotnet/csharplang/blob/master/meetings/2017/LDM-2017-04-11.md)
[ 2017-04-18 LDM Meeting Notes
](https://github.com/dotnet/csharplang/blob/master/meetings/2017/LDM-2017-04-18.md)
[ 2017-04-19 LDM Meeting Notes
](https://github.com/dotnet/csharplang/blob/master/meetings/2017/LDM-2017-04-19.md)
[ 2017-05-17 LDM Meeting Notes
](https://github.com/dotnet/csharplang/blob/master/meetings/2017/LDM-2017-05-17.md)
[ 2017-05-31 LDM Meeting Notes
](https://github.com/dotnet/csharplang/blob/master/meetings/2017/LDM-2017-05-31.md)
[ 2017-06-14 LDM Meeting Notes
](https://github.com/dotnet/csharplang/blob/master/meetings/2017/LDM-2017-06-14.md)
[ 2018-10-17 LDM Meeting Notes
](https://github.com/dotnet/csharplang/blob/master/meetings/2018/LDM-2018-10-17.md)
[ 2018-11-14 LDM Meeting Notes
](https://github.com/dotnet/csharplang/blob/master/meetings/2018/LDM-2018-11-14.md)

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create
and review issues and pull requests. For more information, see [ our
contributor guide
](https://learn.microsoft.com/contribute/content/dotnet/dotnet-contribute) .

![](https://learn.microsoft.com/media/logos/logo_net.svg)
![](https://learn.microsoft.com/media/logos/logo_net.svg)

C# feature specifications

[ Open a documentation issue  ]() [ Provide product feedback
](https://aka.ms/feedback/report?space=61)

##  Feedback

Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the
feedback mechanism for content and replacing it with a new feedback system.
For more information see: [ https://aka.ms/ContentUserFeedback
](https://aka.ms/ContentUserFeedback) .

Submit and view feedback for

[ This product  ](https://aka.ms/feedback/report?space=61) This page

[ View all page feedback  ](https://github.com/dotnet/docs/issues)

* * *

##  Additional resources

[ California Consumer Privacy Act (CCPA) Opt-Out Icon  Your Privacy Choices
](https://aka.ms/yourcaliforniaprivacychoices)

Theme

  * Light 
  * Dark 
  * High contrast 

  *   * [ Previous Versions ](/en-us/previous-versions/)
  * [ Blog ](https://techcommunity.microsoft.com/t5/microsoft-learn-blog/bg-p/MicrosoftLearnBlog)
  * [ Contribute ](/en-us/contribute/)
  * [ Privacy ](https://go.microsoft.com/fwlink/?LinkId=521839)
  * [ Terms of Use ](/en-us/legal/termsofuse)
  * [ Trademarks ](https://www.microsoft.com/legal/intellectualproperty/Trademarks/)
  * © Microsoft 2024 

##  Additional resources