Code Analysis ReferenceFixesCS0173On this pageCS0173PropertyValueTitleType of conditional expression cannot be determined because there is no implicit conversion between 'class1' and 'class2'.SeverityErrorCode FixesAdd explicit castSee AlsoOfficial Documentation