Code Analysis ReferenceFixesCS0515On this pageCS0515PropertyValueTitle'function': access modifiers are not allowed on static constructors.SeverityErrorCode FixesRemove invalid modifierSee AlsoOfficial Documentation