Skip to content

Commit 9f1bae3

Browse files
Fix ValueTask`1.ConfigureAwait intrinsic detection (#121612)
1 parent 355b0df commit 9f1bae3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr/jit/importercalls.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11162,7 +11162,7 @@ NamedIntrinsic Compiler::lookupNamedIntrinsic(CORINFO_METHOD_HANDLE method)
1116211162
if (strcmp(methodName, "ConfigureAwait") == 0)
1116311163
{
1116411164
if (strcmp(className, "Task`1") == 0 || strcmp(className, "Task") == 0 ||
11165-
strcmp(className, "ValuTask`1") == 0 || strcmp(className, "ValueTask") == 0)
11165+
strcmp(className, "ValueTask`1") == 0 || strcmp(className, "ValueTask") == 0)
1116611166
{
1116711167
result = NI_System_Threading_Tasks_Task_ConfigureAwait;
1116811168
}

0 commit comments

Comments
 (0)