Mark the struct with the [RequireFieldsInit]
attribute.
The compiler now requires you to initialize all fields
in the object's initializer
-
Notifications
You must be signed in to change notification settings - Fork 0
C# 11 "Required Members" for Unity
License
codewriter-packages/RequireFieldsInit-Analyzer
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
C# 11 "Required Members" for Unity