Make ParameterDefaultValue.TryGetDefaultValue bitcode compliant (#56324)
* Make ParameterDefaultValue.TryGetDefaultValue bitcode compliant
Fixes #50439
* code cleanup
* enable nullable for netcoreapp
* move to second property group
* Apply PR feedback
* Apply PR feedback
* code cleanup - remove ifdef
* Update src/libraries/Microsoft.Extensions.DependencyInjection/src/Microsoft.Extensions.DependencyInjection.csproj
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>