[DllImportGenerator] Stop ignoring QCalls when looking for methods to convert to...
authorElinor Fung <elfung@microsoft.com>
Tue, 16 Nov 2021 22:12:40 +0000 (15:12 -0700)
committerGitHub <noreply@github.com>
Tue, 16 Nov 2021 22:12:40 +0000 (15:12 -0700)
src/libraries/System.Runtime.InteropServices/gen/DllImportGenerator/Analyzers/ConvertToGeneratedDllImportAnalyzer.cs

index 57c2570..a885b3d 100644 (file)
@@ -81,10 +81,6 @@ namespace Microsoft.Interop.Analyzers
                 }
             }
 
-            // Ignore QCalls
-            if (dllImportData.ModuleName == "QCall")
-                return;
-
             // Ignore methods with unsupported parameters
             foreach (IParameterSymbol parameter in method.Parameters)
             {