rspec/rules/S3215/exceptions.adoc
2021-01-27 13:42:22 +01:00

11 lines
194 B
Plaintext

== Exceptions
Casting to ``++object++`` doesn't raise an issue, because it can never fail.
----
static void EntryPoint(IMyInterface interfaceRef)
{
var o = (object)interfaceRef;
...
}
----