• M
    Fix cast simplification to not offer cast removals for following cases: · 906508e9
    Manish Vasani 提交于
    1) Explicit numeric casts in unchecked context
    2) Non-identity pointer-to-pointer conversions.
    
    Fixes #2691
    
    Description: Fix is to bail out early for these cases. As we are now more conservative, we cannot regress in offering any additional incorrect cast removals.
    
    Testing Done: Existing cast simplification tests.
    906508e9
CastExpressionSyntaxExtensions.cs 25.4 KB