Repository navigation
Add AllBitsSet DIM - #72961
Add AllBitsSet DIM#72961
Conversation
|
Note regarding the This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, to please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change. |
|
Tagging subscribers to this area: @dotnet/area-system-numerics Issue DetailsI wanted to get this PR up early so it can be merged as soon as dotnet/linker#2865 is fixed. Is there an easy way to unit test DIMs? I can add unit tests if that would be helpful/possible.
|
|
Seems like the bug was actually fixed, so this should be ready to merge |
| <Compile Include="System\NullableMetadataTests.cs" /> | ||
| <Compile Include="System\NullableTests.cs" /> | ||
| <Compile Include="System\NullReferenceExceptionTests.cs" /> | ||
| <Compile Include="System\Numerics\IBinaryNumberTests.cs" /> |
There was a problem hiding this comment.
nit: The other generic math files are under a special item group down on L262
Co-authored-by: Tanner Gooding <[email protected]>
| <Compile Include="$(CommonTestPath)System\GenericMathHelpers.cs" Link="Common\System\GenericMathHelpers.cs" /> | ||
| <Compile Include="System\Numerics\GenericMathDimHelpers.cs" /> | ||
| <Compile Include="System\Numerics\IBinaryNumberTests.cs" /> | ||
| <Compile Include="System\ByteTests.GenericMath.cs" /> | ||
| <Compile Include="System\CharTests.GenericMath.cs" /> | ||
| <Compile Include="System\DecimalTests.GenericMath.cs" /> |
There was a problem hiding this comment.
@tannergooding does this placement look correct now?
Fixes #69676
Continuation of effort here: #71356
I wanted to get this PR up early so it can be merged as soon as dotnet/linker#2865 is fixed.
Is there an easy way to unit test DIMs? I can add unit tests if that would be helpful/possible.