Skip to content

Fix nullable annotation for types with generics #200

Fix nullable annotation for types with generics

Fix nullable annotation for types with generics #200

Triggered via pull request March 6, 2026 11:19
Status Failure
Total duration 39s
Artifacts

action.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
Check Formatting
Process completed with exit code 1.
test: AutomaticInterface/AutomaticInterfaceExample/DemoClass.cs#L21
Non-nullable property 'Hello' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
test: AutomaticInterface/AutomaticInterfaceExample/DemoClass.cs#L77
The event 'DemoClass.ShapeChanged' is never used
test: AutomaticInterface/AutomaticInterfaceExample/DemoClass.cs#L82
The event 'DemoClass.ShapeChanged2' is never used
test: AutomaticInterface/AutomaticInterfaceExample/DemoClass.cs#L88
The event 'DemoClass.ShapeChangedNullable2' is never used
test: AutomaticInterface/AutomaticInterfaceExample/DemoClass.cs#L86
The event 'DemoClass.ShapeChangedNullable' is never used
test: AutomaticInterface/AutomaticInterfaceExample/DemoClass.cs#L88
Non-nullable event 'ShapeChangedNullable2' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the event as nullable.
test: AutomaticInterface/AutomaticInterfaceExample/DemoClass.cs#L82
Non-nullable event 'ShapeChanged2' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the event as nullable.
test: AutomaticInterface/AutomaticInterfaceExample/DemoClass.cs#L77
Non-nullable event 'ShapeChanged' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the event as nullable.
test: AutomaticInterface/AutomaticInterfaceExample/DemoClass.cs#L23
Non-nullable property 'OnlyGet' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
test: AutomaticInterface/AutomaticInterfaceExample/DemoClass.cs#L21
Non-nullable property 'Hello' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.