In a VB solution i have a method with the following code snippet:
"v1" and "v2" are defined of type object. As "d1" and "d2" are declared as date the explicit conversion is perfectly legal for me even if there will be an implicit cast if i had missed the CDate() function.
R# suggest me to join declaration and assignment. If follow the suggestion the redundant cast warning disappears:
Can anyone explain me why R# did this? Or my i have found a bug?