-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Convert System.Net.* over to GeneratedDllImport #61765
Convert System.Net.* over to GeneratedDllImport #61765
Conversation
# Conflicts: # src/libraries/Common/src/Interop/Windows/SspiCli/Interop.SSPI.cs
@@ -9,7 +9,9 @@ internal static partial class Interop | |||
{ | |||
internal static partial class Advapi32 | |||
{ | |||
[DllImport(Interop.Libraries.Advapi32, EntryPoint = "LsaLookupNames2", SetLastError = true, CharSet = CharSet.Unicode)] | |||
#pragma warning disable DLLIMPORTGENANALYZER015 // Use 'GeneratedDllImportAttribute' instead of 'DllImportAttribute' to generate P/Invoke marshalling code at compile time |
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.
Should we update the analyzer to not warn in these cases until they're fixed?
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.
Agree. Let me see if I can get that going in the next PR.
Failure in WASM leg is #44862 |
/cc @jkoritzinsky @elinor-fung