Skip to content

Commit 5ef9ed1

Browse files
Delete unused method from runtime async (#121245)
1 parent b2571fa commit 5ef9ed1

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/coreclr/vm/method.hpp

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1968,19 +1968,6 @@ class MethodDesc
19681968
asyncKind == AsyncMethodKind::TaskReturning;
19691969
}
19701970

1971-
inline bool IsStructMethodOperatingOnCopy()
1972-
{
1973-
if (!GetMethodTable()->IsValueType() || IsStatic())
1974-
return false;
1975-
1976-
if (!HasAsyncMethodData())
1977-
return false;
1978-
1979-
// Only async methods backed by actual user code operate on copies.
1980-
// Thunks with runtime-supplied implementation do not.
1981-
return GetAddrOfAsyncMethodData()->kind == AsyncMethodKind::AsyncVariantImpl;
1982-
}
1983-
19841971
inline bool HasAsyncMethodData() const
19851972
{
19861973
return (m_wFlags & mdfHasAsyncMethodData) != 0;

0 commit comments

Comments
 (0)