1. 26 7月, 2019 1 次提交
  2. 25 7月, 2019 4 次提交
  3. 24 7月, 2019 1 次提交
  4. 21 7月, 2019 2 次提交
  5. 18 7月, 2019 3 次提交
  6. 17 7月, 2019 4 次提交
    • C
    • F
      Add nullable context api definitions (#37017) · 73c70055
      Fred Silberberg 提交于
      Adds a public API, `NullableContext GetNullableContext(int position)`, for determining the nullable context at a particular file location, and types supporting that API.
      73c70055
    • T
      Fix EnC debug information emitted for patterns (#37239) · 5739c71b
      Tomáš Matoušek 提交于
      * Fix EnC debug information emitted for patterns
      
      Update calculation of syntax offset to account for a new case when a node (a switch expression) that is associated with a variable, closure or lambda may share start offset with other node of the same kind (`expr switch { … } switch { … }`). Use the offset of the `switch` keyword instead of the starting offset of the expression to disambiguate.
      
      Assign ordinals to variables synthesized for storing pattern values across cases. This is required to support complex patterns since we can no longer rely on the type of these variables to be distinct. This will require follow up in the IDE to disallow updating/adding/reordering the case clauses of switch expression which there an active statement is present within the switch statement. If the cases are unmodified the compiler guarantees that the order in which the synthesized variables are generated remains the same, so we can map the variables using their ordinal.
      
      Mark all variables synthesized during lowering of switch expression as short-lived. Their lifespan is limited to the switch expression, which does not include a sequence point.
      
      Disallow editing methods that contain switch expression. This is necessary until bugs https://github.com/dotnet/roslyn/issues/37232, https://github.com/dotnet/roslyn/issues/37237 are fixed.
      
      * Feedback
      
      * Update tests
      5739c71b
    • R
      Let #nullable directive enable/disable all nullable-related warnings (#37242) · 5010ecae
      Rikki Gibson 提交于
      * Add all nullable-related warnings to ErrorFacts
      
      * Fix test failures and add a bit more coverage
      5010ecae
  7. 16 7月, 2019 11 次提交
  8. 15 7月, 2019 1 次提交
  9. 14 7月, 2019 1 次提交
  10. 13 7月, 2019 4 次提交
  11. 12 7月, 2019 7 次提交
  12. 11 7月, 2019 1 次提交
    • A
      Fix crash in semantic model when using unmanaged constraint (#37022) · 64007b69
      Andy Gocke 提交于
      The semantic model often creates ReducedExtensionMethods for the public API,
      but the creation of ReducedExtensionMethod does constraint checking, which
      requires a compilation, which isn't always available. This change removes constraint
      checking from all creation of ReducedExtensionMethod and adds asserts that we
      always have a compilation during constraint checking.
      
      Fixes #37021
      64007b69