Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions src/coreclr/vm/method.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1968,19 +1968,6 @@ class MethodDesc
asyncKind == AsyncMethodKind::TaskReturning;
}

inline bool IsStructMethodOperatingOnCopy()
{
if (!GetMethodTable()->IsValueType() || IsStatic())
return false;

if (!HasAsyncMethodData())
return false;

// Only async methods backed by actual user code operate on copies.
// Thunks with runtime-supplied implementation do not.
return GetAddrOfAsyncMethodData()->kind == AsyncMethodKind::AsyncVariantImpl;
}

inline bool HasAsyncMethodData() const
{
return (m_wFlags & mdfHasAsyncMethodData) != 0;
Expand Down
Loading