• J
    Remove spurious "cast is redundant" when accessing hidden member · 60ae70a0
    Joey Robichaud 提交于
    The AbstractSpeculationAnalyzer would check whether casting symbols
    used in Invocable expressions would break semantics. However it was not
    considering all MemberAccess to be potentially invokable. This Changes
    the IsInvokable check to consider all MemberAccess expressions.
    
    This fixes #28412.
    60ae70a0
RemoveUnnecessaryCastTests.cs 104.1 KB