-
Notifications
You must be signed in to change notification settings - Fork 36
Add test for set-only property #102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #102 +/- ##
==========================================
+ Coverage 93.57% 93.90% +0.32%
==========================================
Files 13 12 -1
Lines 249 246 -3
Branches 39 39
==========================================
- Hits 233 231 -2
Misses 10 10
+ Partials 6 5 -1 ☔ View full report in Codecov by Sentry. |
| public class ClassWithOnlySetters | ||
| { | ||
| [LogMasked] | ||
| public string? Name { set { } } |
Check warning
Code scanning / CodeQL
Property value is not used when setting a property
| public string? Name { set { } } | ||
|
|
||
| [LogAsScalar] | ||
| public Struct1 Struct1 { set { } } |
Check warning
Code scanning / CodeQL
Property value is not used when setting a property
| public string? this[int index] | ||
| { | ||
| get => "Tom"; | ||
| set { } |
Check warning
Code scanning / CodeQL
Property value is not used when setting a property
No description provided.