Skip to content

Commit 4a7bd51

Browse files
committed
initial commit
1 parent 04d6b9c commit 4a7bd51

17 files changed

+1122
-1
lines changed

.gitignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[Dd]ebug/
2+
[Rr]elease/
3+
x64/
4+
[Bb]in/
5+
[Oo]bj/
6+
7+
*.*~
8+
.vs
9+
.vscode
10+
.idea
11+
.gradle
12+
*.DotSettings.user

LICENSE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2022 CodeWriter Packages
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

LICENSE.md.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
1-
# RequireFieldsInit-Analyzer
1+
# RequireFieldsInit Analyzer
2+
3+
## Usage
4+
5+
Mark the struct with the `[RequireFieldsInit]` attribute.
6+
The compiler now requires you to initialize all fields
7+
in the object's initializer
8+
9+
![Usage](https://user-images.githubusercontent.com/26966368/229343387-22f6a248-543b-4944-a2a7-9b9344c0aba1.png)
10+
![Usage](https://user-images.githubusercontent.com/26966368/229343423-b4f523e5-67d3-4c32-a383-9ff421c6c458.png)
11+
![Usage](https://user-images.githubusercontent.com/26966368/229343462-6ab6e16b-ef0e-444a-bac8-7e50240bcf13.png)

README.md.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

RequireFieldsInit.Analyzer.dll

9.5 KB
Binary file not shown.

RequireFieldsInit.Analyzer.dll.meta

Lines changed: 88 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

RequireFieldsInit.Core.dll

4 KB
Binary file not shown.

RequireFieldsInit.Core.dll.meta

Lines changed: 33 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)