1. 19 2月, 2018 2 次提交
  2. 17 2月, 2018 2 次提交
    • J
      Rename to CompileStandardAndVerify · 75463028
      Jared Parsons 提交于
      This unifies our API naming convention. When standard is in the name
      then we are using the netstandard2.0 API set and when it is not then it
      is the simple desktop mscorlib46.
      
      Both variants are necessary for CompileAndVerify style functions because
      many of our tests that use it can only run on desktop or simply need to
      have some of the netstandard2.0 API set missing.
      75463028
    • J
      Convert symbol test · c62c9499
      Jared Parsons 提交于
      c62c9499
  3. 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
  4. 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
  5. 17 10月, 2017 1 次提交
  6. 13 10月, 2017 1 次提交
  7. 29 9月, 2017 2 次提交
  8. 20 9月, 2017 2 次提交
  9. 18 9月, 2017 1 次提交
  10. 07 9月, 2017 1 次提交
  11. 18 8月, 2017 1 次提交
    • N
      Add tests for basic `private protected` functionality. (#20831) · 473a3f41
      Neal Gafter 提交于
      * Add tests for basic `private protected` functionality.
      * Constrain private protected to language version 7.2.
      * Add tests for VB, and adjust existing VB tests as needed.
      * Add test for SyntaxFacts production of source for private protected.
      * Add VB tests corresponding to all C# tests for private protected
      * Mention `private protected` in the compiler test plan.
      473a3f41
  12. 02 8月, 2017 1 次提交
  13. 20 7月, 2017 1 次提交
  14. 16 7月, 2017 1 次提交
  15. 11 7月, 2017 1 次提交
  16. 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
  17. 29 6月, 2017 1 次提交
  18. 27 6月, 2017 1 次提交
  19. 22 6月, 2017 1 次提交
  20. 17 6月, 2017 1 次提交
  21. 31 5月, 2017 1 次提交
  22. 24 5月, 2017 1 次提交
  23. 16 5月, 2017 2 次提交
  24. 11 5月, 2017 1 次提交
    • T
      Entrypoint detection stages (#19093) · cc4ea469
      Ty Overby 提交于
      * simplify partial method return type syntax finder tests
      
      * Bug fixes and API use changes
      
      * address first review
      
      * better comment and compiler trait on class
      
      * fix tests, pull entrypoint check out into local function
      
      * unify diagnostics for intvoid or task mains
      
      * add more tests, change error text
      
      * address review
      
      * finish tests
      
      * be explicit on language version in tests
      
      * add another test, fix typo, add diagnostics even when they aren't likely to exist
      
      * rewrite error->warning code, add more cases to tests
      
      * change test language versions
      
      * formatting on comments and adding WithLocation to tests
      
      * fix formatting for some tests
      
      * fix some formatting and added withlocation
      
      * fix withlocation
      cc4ea469
  25. 29 4月, 2017 1 次提交
    • T
      Async main codegen (#18472) · 05391555
      Ty Overby 提交于
      * attempt to get main entrypoints working
      
      * async main codegen
      
      * remove garbage file
      
      * fix vb tests
      
      * add some comments
      
      * moduleBeingBuilt can sometimes be null apparently
      
      * fix style nits
      
      * more whitespace fixes
      
      * address feedback
      
      * automated style fixer
      
      * move most work out into the constructor
      
      * protect against null in error condition
      
      * add comment
      
      * address cston review
      
      * autoformat
      
      * use cast
      
      * check module being built
      
      * add another object cast
      
      * address review
      
      * check for old cases where async methods called Main also exist
      
      * more suggestions
      
      * autoformat
      
      * mostly cleanup
      
      * use shorter Count and Single
      
      * remove superfluous diagnostics add
      
      * check exit code / revert to old entrypoint finding code
      
      * remove language version check in entrypoint compiler
      
      * fix debug.assert
      
      * switch to assert equal
      
      * codereview
      
      * add more tests; change conditions for test execution
      
      * fix up emit methods
      
      * narrow down error location
      
      * ammend GetAwaitableExpressionInfo to return a bound call to GetAwaiter().GetResult()
      
      * more comments
      
      * find entrypoint methods uses the async binder
      
      * autoformat
      
      * use diagnostics from async binder
      
      * relocate tests
      
      * fix suggestions for review 8346
      
      * add back no-async tests with better location
      
      * only allow named types
      
      * remove empty file; remove null checks from helper
      
      * forgot to add csproj file
      
      * emit into warning diagnostics instead of regular diagnostics
      
      * autoformat
      
      * remove unused file from merge
      
      * use diagnostic locations
      
      * move some methods around, split some tests up
      
      * fix non-returning async tests, remove bool return from check availability
      
      * add params test
      
      * style and expected output fix
      
      * switch back to null because default emits warnings
      
      * add partial method tests
      
      * fix locations for unix
      
      * better partial syntax tests
      
      * use expected length of 0
      
      * use default length of 0 for expected output
      
      * check implementation symbol
      05391555
  26. 26 4月, 2017 1 次提交
  27. 11 4月, 2017 1 次提交
    • O
      Writing ReadOnlyAttribute if it exists as well-known type (#18358) · 03f58fd2
      Omar Tawfik 提交于
      * Writing attribute to metadata
      
      * Reading attribute in PE symbols
      
      * Added more tests for lambdas, delegates, and other types
      
      * Use ReadOnlyAttribute instead
      
      * Fix build break
      
      * Fix Failed Tests
      
      * Enable back disabled tests
      
      * Fix more tests
      
      * Ban usage of ReadOnlyAttribute in source
      
      * Rename System.Runtime.InteropServices.ReadOnlyAttribute to System.Runtime.CompilerServices.ReadOnlyAttribute
      
      * Clean up
      
      * Address CR comments
      
      * More PR feedback
      03f58fd2
  28. 08 4月, 2017 3 次提交
  29. 22 3月, 2017 1 次提交
  30. 03 3月, 2017 1 次提交
  31. 01 3月, 2017 1 次提交
  32. 25 2月, 2017 1 次提交
  33. 24 2月, 2017 1 次提交