You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The automated conversion of types in the .NET runtime checks too strictly and will
refuse to cast to any type that is not EXACTLY declared on the object reference.
In certain cases however, we are casting to a parent interface of the actual declared
interface and this is 100% legal.
Cast controls were too strict and prevented the framework from
successfully down-casting an object reference to a parent interface of
it's declared type; causing a cast error.
The new code looks for class compatibility using the standard .NET
primitives and successfully performs the requested cast.
Fixes#982
Cast controls were too strict and prevented the framework from
successfully down-casting an object reference to a parent interface of
it's declared type; causing a cast error.
The new code looks for class compatibility using the standard .NET
primitives and successfully performs the requested cast.
Fixes#982
Cast controls were too strict and prevented the framework from
successfully down-casting an object reference to a parent interface of
it's declared type; causing a cast error.
The new code looks for class compatibility using the standard .NET
primitives and successfully performs the requested cast.
Fixes#982
🐛 Bug Report
Affected Languages
TypeScript
orJavascript
Python
Java
C#
,F#
, ...)General Information
0.20.x
What is the problem?
The automated conversion of types in the .NET runtime checks too strictly and will
refuse to cast to any type that is not EXACTLY declared on the object reference.
In certain cases however, we are casting to a parent interface of the actual declared
interface and this is 100% legal.
Related
Causes aws/aws-cdk#4989
The text was updated successfully, but these errors were encountered: