1. 15 4月, 2014 11 次提交
  2. 12 4月, 2014 6 次提交
    • C
      Added BoundExpression.SuppressVirtualCalls and... · 3ecaf4f7
      ChuckStoner 提交于
      Added BoundExpression.SuppressVirtualCalls and BoundConversion.IsBaseConversion properties and changed Emit to use SuppressVirtualCalls (changeset 1229384)
      3ecaf4f7
    • H
      dd9d88ef
    • N
      Added the first diagnostic analyzer (+tests) which will eventually analyze... · 669ad295
      nslottow 提交于
      Added the first diagnostic analyzer (+tests) which will eventually analyze Roslyn.sln. It produces the following diagnostics:
      RS0001: Use SpecializedCollections.EmptyEnumerable<T>() instead of allocating an array of length 0 or using System.Linq.Enumerable.Empty<T>()
      RS0002: Use SpecializedCollections.SingletonEnumerable<T>() instead of allocating an array of length 1.
      
      In order to get RS0002 completely correct, analyzers need to be able to do data flow analysis, so there are a few skipped tests for now.
      
      In the process of implementing the unit tests, I also pulled the diagnostic analyzer test base into a separate project, DiagnosticsTestUtilities. I updated the analyzer test base to provide output formatted to be immediately usable in test cases, similar to the compiler diagnostics tests. (changeset 1229264)
      669ad295
    • M
      The change moves the code fix and code refactoring interfaces (and support... · 52bf7ce4
      mattwar 提交于
      The change moves the code fix and code refactoring interfaces (and support classes) to workspace layer.
       (changeset 1229162)
      52bf7ce4
    • H
      fixed formatting test failures. · 5a589af8
      heejaechang 提交于
      while moving down tests from another layer, some of tests arguements got disordered. (changeset 1228966)
      5a589af8
    • S
      Changes to DiagnosticService to understand analyzer names. · 2719ec1e
      srivatsn 提交于
      There are three changes in this changeset:
      
      - The ruleset editor needs to group diagnostics based on the analyzer reference that it came from. The call to GetAllDiagnosticDescriptors now returns a map from analyzerName->descriptors in that reference. When we crack open analyzer references, we were simply storing a flat list of all the analyzers. I'm changing it to store the analyzer names as well.
      
      While adding tests for these I found two other issues:
      - GetDiagnosticState was computing projectSpecificProviderId by substracting the sharedId but the ProjectAndStates was also doing it resulting in double decrement. Fixing by removing it in one place.
      - A call to DiagnosticService.GetDiagnostics doesn't force compute diagnostics if an analyzer has never run before. Fixing by computing based on flag.
       (changeset 1228917)
      2719ec1e
  3. 11 4月, 2014 4 次提交
  4. 10 4月, 2014 12 次提交
  5. 09 4月, 2014 7 次提交
    • V
      Reverting the changes that introduced asynchronous reading of source files in... · 9689fa85
      VSadov 提交于
      Reverting the changes that introduced asynchronous reading of source files in batch compile scenarios
      
      It appeared that the change did not result in noticeable improvements in IO throughput in scenarios where it matters.
      That is most likely because async reading would be beneficial in a case of reading a small number of large files, while we typically have the opposite - large number of small files.
      
      On the other hand, on not IO-bound scenarios, the change resulted in parsing throughput regressions since it can cause oversubscription of threadpool.
       (changeset 1226132)
      9689fa85
    • J
      Fix two bugs with code generation. · e91c6be4
      jasonmalinowski 提交于
      - when a CodeGenerationMethodSymbol was cloned, it lost it's underlying type (constructor vs. destructor vs. ordinary)
      - when a VB constructor was generated, it wouldn't get the SyntaxAnnotations applied that it should. (changeset 1225875)
      e91c6be4
    • P
      Remove SetLargeAddressAwareBit task from VSL.Imports.targets · 69f9c51c
      Pharring 提交于
      With the Roslyn compiler, the LargeAddressAware bit is already set for VBCSCompiler.exe which is the only project that needs that option. This is different from the native compiler and I'm still tracking down whether it's an intentional change or an accidental one. In any case, the task, as written, didn't work well for incremental builds. (changeset 1225825)
      69f9c51c
    • A
      VB: Use IsIntrinsicType instead of IsIntrinsicValueType in ... · 6972c81b
      AlekseyTs 提交于
      VB: Use IsIntrinsicType instead of IsIntrinsicValueType in  DetermineMostSpecificNarrowingConversion (resolves #31). (changeset 1225726)
      6972c81b
    • H
      fixed ProjectState leak. · 016c9930
      heejaechang 提交于
      made ProjectState not to capture itself when creating version check async lazy. otherwise, there is a possibility of us creating a long list of chain for lazy version calculation. (changeset 1225664)
      016c9930
    • S
      Additional test coverage for BC41000 warning generated but roslyn... · 7eb4037d
      skytribe 提交于
      Additional test coverage for BC41000 warning generated but roslyn intentionally does not.      (changeset 1225515)
      7eb4037d
    • Y
      Bug fix: change 'HasStructuredTrivia' modifier to public on SyntaxToken... · 765c842c
      YingP99 提交于
      Bug fix: change 'HasStructuredTrivia' modifier to public on SyntaxToken (others are already public) (changeset 1225508)
      765c842c