1. 18 12月, 2020 2 次提交
    • J
      Fix bug where constructor cycle detection would throw IndexOutOfBoundsException · b3611be6
      Jason Malinowski 提交于
      The problem here was when we do cycle detection, we tried to look
      at the source of the candidate constructor that we are looking at
      delegating to. If we are in a cross-language case, the target might
      be from metadata via the skeleton reference and we don't have source.
      Rather than fixing the code that assumes it's a source method, I'm
      making a change that says if the constructor you're delegating to is
      in the base type, then we can't create a cycle and can skip the check
      entirely.
      b3611be6
    • J
      Fix generate constructor throwing in a cross-language case · e0487a73
      Jason Malinowski 提交于
      We tried to locate a constructor to delegate to; in that case we would
      grab the types of the constructor and make sure the original call site
      actually can use those types. In the cross-language case, we'd mix up
      types from different languages. The correct behavior here is to map
      the candiate type back to the language of the call site, since it's
      the call site's language rules that matter.
      
      Fixes https://github.com/dotnet/roslyn/issues/49850
      e0487a73
  2. 11 12月, 2020 3 次提交
  3. 10 12月, 2020 9 次提交
  4. 09 12月, 2020 10 次提交
  5. 08 12月, 2020 10 次提交
  6. 07 12月, 2020 3 次提交
  7. 05 12月, 2020 3 次提交