-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Mono] UnsafeAccessorAttribute non-generic support for field #88626
Conversation
…FE_ACCESSOR And the associated AOT compiler/runtime and marshaling caching boilerplate.
that is the whole point of them
The name has a length as a prefix and doesn not have a null terminator
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a couple of nits for the new test and static modifier check
src/tests/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I think we're mostly focusing on nits now
The newly added tests for checking static modifier failed on CoreCLR. Disabled the test and created an issue(#88858) to track that. |
src/tests/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests.cs
Outdated
Show resolved
Hide resolved
src/tests/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests.cs
Outdated
Show resolved
Hide resolved
src/tests/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests.cs
Outdated
Show resolved
Hide resolved
src/tests/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests.cs
Outdated
Show resolved
Hide resolved
src/tests/baseservices/compilerservices/UnsafeAccessors/UnsafeAccessorsTests.cs
Outdated
Show resolved
Hide resolved
…AccessorsTests.cs Co-authored-by: Aaron Robinson <arobins@microsoft.com>
…AccessorsTests.cs Co-authored-by: Aaron Robinson <arobins@microsoft.com>
…AccessorsTests.cs Co-authored-by: Aaron Robinson <arobins@microsoft.com>
…AccessorsTests.cs Co-authored-by: Aaron Robinson <arobins@microsoft.com>
…AccessorsTests.cs Co-authored-by: Aaron Robinson <arobins@microsoft.com>
Aaron updated the test, it is passing now. |
Contributes to #86040