Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 14230b0

Browse files
committed
drop remoting
1 parent 7d6c4ac commit 14230b0

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/runtime/converter.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -167,15 +167,7 @@ internal static IntPtr ToPython(object value, Type type)
167167
var pyderived = value as IPythonDerivedType;
168168
if (null != pyderived)
169169
{
170-
#if NETSTANDARD
171170
return ClassDerivedObject.ToPython(pyderived);
172-
#else
173-
// if object is remote don't do this
174-
if (!System.Runtime.Remoting.RemotingServices.IsTransparentProxy(pyderived))
175-
{
176-
return ClassDerivedObject.ToPython(pyderived);
177-
}
178-
#endif
179171
}
180172

181173
// hmm - from Python, we almost never care what the declared

0 commit comments

Comments
 (0)