1. 20 1月, 2018 3 次提交
  2. 19 1月, 2018 11 次提交
  3. 18 1月, 2018 6 次提交
  4. 17 1月, 2018 9 次提交
  5. 13 1月, 2018 2 次提交
  6. 12 1月, 2018 3 次提交
  7. 11 1月, 2018 6 次提交
    • J
    • A
      Change local function definite assignment (#23749) · 14848064
      Andy Gocke 提交于
      The LDM has decided that the following rules should be in effect when
      calculating definite assignment for local functions:
      
        1. The entry point to a local function is always reachable.
        2. Variables captured in local functions are definitely assigned if
        they are definitely assigned in all branches into the local function.
      
      It turns out these rules were almost exactly what the compiler already
      implemented, but there was a bug in captured variable detection that
      meant that variables captured in lambdas within local functions were
      sometimes not counted as captured. This change fixes the bug around
      capturing, which should cause the compiler to conform to this
      specification.
      
      Fixes #17829
      14848064
    • V
      831323c1
    • V
      Block use of explicit `in` arguments in dynamically dispatched expressions. · ac833d06
      vsadov 提交于
      Explicitly marking an argument as an `in` argument has effect on overload resolution and needs to be known to the dynamic binder to be able to make appropriate decisions. For the time being there is not way to pass this additional information.
      That would require a small expansion of APIs used by `dynamic`. When we have such API, we should predicate this scenario on the presence of such API.
      
      For now, In order to not perpetuate accidental and likely incorrect behavior we should block this scenario.
      
      Fixes:#22813
      ac833d06
    • V
      Merge pull request #24128 from VSadov/missingRef · fee11306
      Vladimir Sadov 提交于
      The argument that stands for the receiver of a `ref` extension method must be always passed as `ref`
      fee11306
    • V
      fixed a typo · a3f1a792
      vsadov 提交于
      a3f1a792