rspec/rules/S3215/exceptions.adoc

11 lines
194 B
Plaintext
Raw Normal View History

2020-06-30 12:48:39 +02:00
== Exceptions
2021-01-27 13:42:22 +01:00
Casting to ``++object++`` doesn't raise an issue, because it can never fail.
2020-06-30 12:48:39 +02:00
----
static void EntryPoint(IMyInterface interfaceRef)
{
var o = (object)interfaceRef;
...
}
----