From ca5b8ccaec0146309e253ae0db077fd83b2b8c8b Mon Sep 17 00:00:00 2001 From: Ron Petrusha Date: Wed, 15 May 2019 09:21:08 -0700 Subject: [PATCH] Noted static constructor behavior with static methods assigned to delegates (#12361) --- .../classes-and-structs/static-constructors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/csharp/programming-guide/classes-and-structs/static-constructors.md b/docs/csharp/programming-guide/classes-and-structs/static-constructors.md index b61155595fe05..b200ff8304225 100644 --- a/docs/csharp/programming-guide/classes-and-structs/static-constructors.md +++ b/docs/csharp/programming-guide/classes-and-structs/static-constructors.md @@ -16,7 +16,7 @@ A static constructor is used to initialize any [static](../../../csharp/language - A static constructor does not take access modifiers or have parameters. -- A static constructor is called automatically to initialize the [class](../../../csharp/language-reference/keywords/class.md) before the first instance is created or any static members are referenced. +- A static constructor is called automatically to initialize the [class](../../../csharp/language-reference/keywords/class.md) before the first instance is created or any static members are referenced. Note that a type's static constructor is called when a static method assigned to an event or a delegate is invoked and not when it is assigned. - A static constructor cannot be called directly.