• D
    Don't allow rename on the well-known ValueTuple types · 65d4fca1
    David Poeschl 提交于
    Fixes #14159
    
    The well-known ValueTuple types are very special in that you can ask for
    the SymbolInfo on the ValueTuple token and not get back the ValueTuple
    type. This means that the token we invoke rename on has no locations,
    which Rename Tracking mistakenly interpreted as being okay to rename.
    This has been fixed, and also the RenameUtilities.GetTokenRenameInfo
    method has been updated to return NoSymbolsTokenInfo when it finds an
    ITypeSymbol with IsTupleType.
    65d4fca1
RenameTrackingTaggerProvider.TrackingSession.cs 13.2 KB