xamarin-macios/tests/cecil-tests
Sebastien Pouliot a5ac0ea102
[generator] Add C#8 nullability into generated code (#7570)
Goals
* Reflect Apple nullability annotations in our bindings using C#8
* No warnings when building bindings

Non-Goals
* Update (add or fix) `[NullAllowed]` to match Apple headers (next phase)
* Make the generator or internal code fully nullable aware (`nowarn` is used)

Notes
* Apple's own annotations are not 100% accurate :(
* Where known issue exists we have _fixed_ our attributes to match reality :)
* We also do additional null-checks internally that might seems not required (better safe than sorry).
2020-04-09 09:29:28 -04:00
..
Helper.cs [generator] Add missing `EnsureUIThread` for generated `init` and `initWithCoder` (#8250) 2020-03-31 17:20:44 -04:00
Makefile [tests] Add cecil-based unit tests (#7825) 2020-02-10 17:23:12 -05:00
README.md [tests] Add cecil-based unit tests (#7825) 2020-02-10 17:23:12 -05:00
Test.cs [generator] Add missing `EnsureUIThread` for generated `init` and `initWithCoder` (#8250) 2020-03-31 17:20:44 -04:00
cecil-tests.csproj [generator] Add C#8 nullability into generated code (#7570) 2020-04-09 09:29:28 -04:00
packages.config [tests] Add cecil-based unit tests (#7825) 2020-02-10 17:23:12 -05:00

README.md

Cecil-based Tests

Even with the huge variety of tests that we have there's still a few things that are hard to test properly. Some of them can be tested by analyzing the assemblies (IL or metadata). So here we are...