Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix StrictlyBlittable check to work for "source Compilation" references. #87507

Merged

Conversation

jkoritzinsky
Copy link
Member

Fixes #84739.

@jkoritzinsky jkoritzinsky added area-System.Runtime.InteropServices source-generator Indicates an issue with a source generator feature labels Jun 13, 2023
@jkoritzinsky jkoritzinsky added this to the 8.0.0 milestone Jun 13, 2023
@ghost ghost assigned jkoritzinsky Jun 13, 2023
@ghost
Copy link

ghost commented Jun 13, 2023

Tagging subscribers to this area: @dotnet/interop-contrib
See info in area-owners.md if you want to be subscribed.

Issue Details

Fixes #84739.

Author: jkoritzinsky
Assignees: -
Labels:

area-System.Runtime.InteropServices, source-generator

Milestone: 8.0.0

…ck. This is required now that we're being more exact on our check.

Beforehand, we were allowing through types that don't have a containing assembly (constructed types that aren't "named types"), which is more general than we want.
The main change in this PR forces us to be better here on our check.
@jkoritzinsky jkoritzinsky merged commit 923fded into dotnet:main Jun 14, 2023
@jkoritzinsky jkoritzinsky deleted the disable-runtime-marshalling-ide branch June 14, 2023 22:06
@ghost ghost locked as resolved and limited conversation to collaborators Jul 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Runtime.InteropServices source-generator Indicates an issue with a source generator feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SYSLIB1051: Runtime Marshalling must be disabled only shows up in command line builds, not in Visual Studio
3 participants