1. 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
  2. 17 4月, 2019 1 次提交
  3. 11 4月, 2019 1 次提交
  4. 29 3月, 2019 1 次提交
    • A
      Report a better error for an attempt to access protected member of object... · 8918cac2
      AlekseyTs 提交于
      Report a better error for an attempt to access protected member of object class within an interface.
      
      Before this change, the following confusing error was reported for all error locations in the added test scenario:
      CS1540 Cannot access protected member 'object.MemberwiseClone()' via a qualifier of type 'object'; the qualifier must be of type 'I1' (or derived from it)
      8918cac2
  5. 13 3月, 2019 1 次提交
  6. 09 3月, 2019 1 次提交
    • N
      Simplify some names in the nullable reference types feature · 85b05131
      Neal Gafter 提交于
      - Rename `TypeSymbolWithAnnotations` to `TypeWithAnnotations`
      - Rename its type field from `TypeSymbol` to `Type`
      - Fields of Symbols that are of type `TypeWithAnnotations` that are currently named `Type` would be renamed `TypeWithAnnotations`
      Fixes #33736
      85b05131
  7. 23 2月, 2019 1 次提交
  8. 14 8月, 2018 1 次提交
  9. 21 3月, 2018 1 次提交
  10. 06 3月, 2018 1 次提交
    • A
      Add tests for blocking issues (#25180) · 92eb099f
      Andy Gocke 提交于
      This includes tests for
      
      - Language version checks for ref in for & foreach
      - Additional tests around unary plus and ref assignment expressions
      - Tests for ?., IDisposable, and ref assignment expressions
      - Additional semantic model tests
      - Additional IOperation tests
      
      These are the blocking issues identified for the test plan https://github.com/dotnet/roslyn/issues/22466
      92eb099f
  11. 22 2月, 2018 1 次提交
  12. 21 2月, 2018 3 次提交
  13. 19 2月, 2018 4 次提交
  14. 17 2月, 2018 1 次提交
  15. 24 1月, 2018 1 次提交
    • J
      Move to NetStandard2.0 RTM for our ref assemblies · 1ec0ba66
      Jared Parsons 提交于
      This changes the reference assemblies we use for the CoreClr compiler
      compilation to be Net Standard 2.0 RTM. Previously they were a beta
      version.
      
      This did mean a number of tests had to be moved to be desktop specific
      again. This is primarily due to the presence of ValueTuple as a default
      type in Net Standard 2.0. Tests that relied on ValueTuple not being
      defined had to be moved to net461 which doesn't have that type defined
      by default.
      1ec0ba66
  16. 22 12月, 2017 1 次提交
    • A
      Remove obsolete duplicate APIs from type symbols. (#23888) · 132b91d1
      AlekseyTs 提交于
      This change removes the following APIs:
      - TypeSymbol.BaseType
      - TypeSymbol.Interfaces
      - TypeSymbol.AllInterfaces
      - NamedTypeSymbol.TypeArguments
      - TypeParameterSymbol.ConstraintTypes
      
      These APIs simply delegate the work to APIs with "NoUseSiteDiagnostics" suffix and are not supposed to be used inside compilers. They were left in the code-base because they used to be part of the public surface and the names were nicer, but they are no longer part of the public surface.
      132b91d1
  17. 25 10月, 2017 1 次提交
  18. 30 9月, 2017 1 次提交
  19. 07 9月, 2017 1 次提交
  20. 02 8月, 2017 1 次提交
  21. 30 6月, 2017 1 次提交
    • A
      Refactor to remove LocalFunctionTypeParameterSymbol (#20340) · 888d7c5b
      Andy Gocke 提交于
      LocalFunctionTypeParameterSymbol isn't necessary as long as the functionality around type constraints can be moved into a shared base class between ordinary method symbols and local function symbols.
      In fact, it would be very useful to have a shared base symbol aside from MethodSymbol between local functions, lambdas, and other source method symbols. To this end, I've renamed SourceMemberMethodSymbol to SourceOrdinaryMethodSymbol (since it is just used for ordinary member-level methods), SourceMethodSymbol to SourceMemberMethodSymbol (since it is only used as a base class for member-level method-like functions like ordinary methods, constructors, property accessors, et al.), and added a new abstract class SourceMethodSymbol that is the root of both LocalFunctionSymbol and SourceMemberMethodSymbol. This lets us unify all source method-like symbols under a single base class, SourceMethodSymbol.
      The first three commits perform the refactoring, while the last commit actually removes LocalFunctionTypeParameterSymbol and moves the necessary functionality into SourceMethodSymbol. I expect more functionality to be moved over in subsequent PRs.
      
      Fixes #17244
      888d7c5b
  22. 08 4月, 2017 2 次提交
  23. 25 1月, 2017 1 次提交
  24. 21 1月, 2017 1 次提交
  25. 15 10月, 2016 1 次提交
  26. 26 8月, 2016 1 次提交
    • J
      Unify all the places we use WeakReferences to check if things get GCed · 642e47e7
      Jason Malinowski 提交于
      We had a few different patterns in our codebase. This unifies all of
      them to a single helper. We had not one but two (!) different pieces
      of code also trying to create dumps if the assertion failed. I've chosen
      to toss both of those, since I believe one of two things to be true:
      
      1. The underlying bugs have been fixed, and it's probable the dumping
         code no longer works.
      2. The underlying bugs havent been fixed, but we're clearly not hitting
         that fail code.
      642e47e7
  27. 15 7月, 2016 1 次提交
    • L
      Port partial type completion provider to C# · bdc57ef7
      lorcanmooney 提交于
      Apply feedback from Pilchie
      Apply feedback from CyrusNajmabadi
      Missed feedback from CyrusNajmabadi
      Apply more feedback from CyrusNajmabadi and AlekseyTs
      Apply feedback from AlekseyTs
      Apply feedback from jcouv
      bdc57ef7
  28. 28 3月, 2016 1 次提交
  29. 26 1月, 2016 1 次提交
  30. 31 10月, 2015 1 次提交
  31. 16 10月, 2015 1 次提交
  32. 11 10月, 2015 1 次提交
  33. 07 7月, 2015 1 次提交
  34. 01 7月, 2015 1 次提交