Skip to content

Commit 9f2796a

Browse files
committed
Fix for DomainReload tests
1 parent 6379568 commit 9f2796a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/runtime/methodbinder.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ namespace Python.Runtime
1313
/// a set of Python arguments. This is also used as a base class for the
1414
/// ConstructorBinder, a minor variation used to invoke constructors.
1515
/// </summary>
16+
[Serializable]
1617
internal class MethodBinder
1718
{
1819
private List<MethodInformation> list;
@@ -822,6 +823,7 @@ internal virtual IntPtr Invoke(IntPtr inst, IntPtr args, IntPtr kw, MethodBase i
822823
/// <summary>
823824
/// Utility class to store the information about a <see cref="MethodBase"/>
824825
/// </summary>
826+
[Serializable]
825827
internal class MethodInformation
826828
{
827829
public MethodBase MethodBase { get; }

0 commit comments

Comments
 (0)