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

AsmDiff: unmanaged keyword getting confused with struct #14497

Open
carlossanlop opened this issue Feb 21, 2024 · 0 comments
Open

AsmDiff: unmanaged keyword getting confused with struct #14497

carlossanlop opened this issue Feb 21, 2024 · 0 comments

Comments

@carlossanlop
Copy link
Member

Two examples:

dotnet/core#9176 (comment)

public static ComVariant CreateRaw<T>(VarEnum vt, T rawValue) where T : struct;

Should've been:

public static ComVariant CreateRaw<T>(VarEnum vt, T rawValue) where T : unmanaged;

dotnet/core#9176 (comment)

public ref T GetRawDataRef<T>() where T : struct;
public ref T GetRawDataRef<T>() where T : unmanaged;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants