Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d6c4ac commit 14230b0Copy full SHA for 14230b0
src/runtime/converter.cs
@@ -167,15 +167,7 @@ internal static IntPtr ToPython(object value, Type type)
167
var pyderived = value as IPythonDerivedType;
168
if (null != pyderived)
169
{
170
- #if NETSTANDARD
171
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
179
}
180
181
// hmm - from Python, we almost never care what the declared
0 commit comments