https://github.com/codewriter-packages/requirefieldsinit-analyzer
C# 11 "Required Members" for Unity
https://github.com/codewriter-packages/requirefieldsinit-analyzer
c-charp compiler csharp ecs extension game-development roslyn-analyzer unity
Last synced: 6 months ago
JSON representation
C# 11 "Required Members" for Unity
- Host: GitHub
- URL: https://github.com/codewriter-packages/requirefieldsinit-analyzer
- Owner: codewriter-packages
- License: mit
- Created: 2023-04-01T18:57:05.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-16T15:45:06.000Z (9 months ago)
- Last Synced: 2025-04-01T15:41:27.652Z (6 months ago)
- Topics: c-charp, compiler, csharp, ecs, extension, game-development, roslyn-analyzer, unity
- Language: C#
- Homepage:
- Size: 54.7 KB
- Stars: 10
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# RequireFieldsInit Analyzer
## Usage
Mark the struct with the `[RequireFieldsInit]` attribute.
The compiler now requires you to initialize all fields
in the object's initializer

