We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--singlemethodname
1 parent 0461372 commit b6deba5Copy full SHA for b6deba5
src/coreclr/tools/aot/ILCompiler/Program.cs
@@ -615,8 +615,7 @@ private MethodDesc CheckAndParseSingleMethodModeArguments(CompilerTypeSystemCont
615
if (method == null)
616
throw new CommandLineException($"Method '{singleMethodName}' not found in '{singleMethodTypeName}'");
617
618
- if (method.HasInstantiation != (singleMethodGenericArgs != null) ||
619
- (method.HasInstantiation && (method.Instantiation.Length != singleMethodGenericArgs.Length)))
+ if (method.Instantiation.Length != singleMethodGenericArgs.Length)
620
{
621
throw new CommandLineException(
622
$"Expected {method.Instantiation.Length} generic arguments for method '{singleMethodName}' on type '{singleMethodTypeName}'");
0 commit comments