1. 05 8月, 2015 1 次提交
    • M
      Implementation for Analyzer driver v2 for IDE analyzer host. · 3298740f
      Manish Vasani 提交于
      Changes include:
      
      1. Enhance CompilationWithAnalyzers to allow computing analyzer diagnostics for a specific tree/span within a compilation and/or for a subset of analyzers. Implementation ensures no duplicate analysis by tracking partial analysis state and caching the reported analyzer diagnostics.
      
      2. Overview of the new APIs added to CompilationWithAnalyzers:
          1. GetAnalyzerSyntaxDiagnostics(tree, analyzers, ct)
              1. Analogous to SyntaxTree.GetDiagnostics(ct)
              2. Gets analyzer diagnostics reported by executing syntax tree actions on the given tree.
          2. GetAnalyzerSemanticDiagnostics(semanticModel, spanOpt, analyzers, ct)
              1. Analogous to SemanticModel.GetDiagnostics(spanOpt, ct)
              2. Gets analyzer diagnostics reported by executing rest of the non-compilation actions on the given tree span.
          3. GetAnalyzerCompilationDiagnostics(analyzers, ct)
              1. Gets rest of the analyzer diagnostics which are reported by either of the following means:
                  1. Compilation actions (and compilation end actions)
                  2. Non-compilation actions reporting diagnostics on different tree: Executing a symbol action on a symbol definition in a tree, can report diagnostic on its partial definition in some other tree.
      
      3. Simplify IDE analyzer driver by switching it to using the new CompilationWithAnalyzers APIs for analyzer diagnostic computation. Both the IDE and compiler drivers now use the compilation event queue model for driving analysis.
      3298740f
  2. 30 7月, 2015 1 次提交
  3. 28 7月, 2015 1 次提交
  4. 25 7月, 2015 1 次提交
  5. 17 7月, 2015 5 次提交
  6. 15 7月, 2015 2 次提交
    • D
      Several refactorings to rework the internal Completion List API · e9fabbf2
      Dustin Campbell 提交于
      * Convert the ICompletionProvider interface to a CompletionListProvider abstract class.
      * Rename CompletionItemGroup to CompletionList
      * Introduce a CompletionListContext type to be used by providers to specify the contents and
        details of CompletionLists with a RegisterCompletionListAsync() method.
      * Change GetGroupsAsync() method to GetCompletionListAsync(), which returns Task<CompletionList> rather
        than Task<IEnumerable<CompletionList>>.
      * Move code that merges, de-dupes and sorts completion lists from the controller into the
        completion service. This affected a few VB spell check unit tests which now change their ordering
        slightly.
      e9fabbf2
    • J
      Move all InternalsVisibleTo into the project files · 3ffd65a6
      Jared Parsons 提交于
      This moves all of the InternalsVisibleTo which were defined in code into
      the project files where the majority of the IVT definitions lived.
      3ffd65a6
  7. 09 7月, 2015 2 次提交
    • A
      Unify the Closed/Open targets files · ebd5cd6e
      Andy Gocke 提交于
      The targets files were previously split into an open version in
      Microsoft.CodeAnalysis.Toolset.Open and a closed version in build/. This
      unifies the four targets into two new targets, VSL.Settings.targets and
      VSL.Imports.targets, and moves all the targets from ..Toolset.Open into
      the build/ folder.
      ebd5cd6e
    • D
      Unify C# and VB suggestion mode completion providers · a0c268c9
      Dustin Campbell 提交于
      Currently, the C# and VB suggestion mode completion providers both implement ICompletionProvider
      in nearly the same way. This change introduces a new base class containing the shared
      implementations.
      
      Note: prior to this change, C# and VB returned different values for IsCommitCharacter: false and
      true respectively. Now they'll both return false. However, this is OK because the completion
      controller handles builder completion items specially and IsCommitCharacter so that is never
      actually called in this case.
      a0c268c9
  8. 19 5月, 2015 1 次提交
    • H
      added support for BuildOnly filter to error list. · 071ed55e
      Heejae Chang 提交于
      now user has a easy way to see just errors from build. the content should be exactly same as what output build window shows.
      
      this change set also includes several misc changes such as adding support for error source and build tool.
      071ed55e
  9. 15 5月, 2015 3 次提交
  10. 10 5月, 2015 1 次提交
    • J
      Remove references to Desktop projects · 817fe8c5
      Jared Parsons 提交于
      This removes the majority of references to the deprecated Desktop
      assemblies.  The only remaining ones are in the VSIX projects.  They
      must remain until we actually delete the assemblies.
      817fe8c5
  11. 09 5月, 2015 1 次提交
    • J
      Make add missing reference more reliable. · 24253a3a
      Jonathon Marolf 提交于
      We now look at the identifier names in an effort to find the IErrorType symbol that triggered the diagnostic. Once we find the error symbol we return the assembly identity assuming that this is the correct error symbol since we can't filter by MissingMetadataTypeSymbol.
      24253a3a
  12. 27 4月, 2015 1 次提交
    • J
      Report semantic errors in lambdas · 4b733b8b
      Jonathon Marolf 提交于
      The compiler does not generate semantic errors inside lambdas in the
      presence of syntactic errors causing several features to not work in
      lambdas with syntax errors.  The bug for this
      ([1867](https://github.com/dotnet/roslyn/issues/1867)) was moved to
      milestone 1.1 so we are going to use an analyzer in the interim for 1.0.
      
      1. We now check for IncompleteMemberSyntax nodes and
      LambdaExpressionSyntax nodes which contain syntax diagnostics on any of
      their descendant nodes.
      2. We report both unbound identifier names and constructors that the
      compiler reports as binding, but which fail overload resolution
      (actually don't exist).
      
      Performance considerations should be mitigated by only doing these
      checks only lambdas with syntax errors.
      
      Other notes:
      
      - Renamed analyzer to UnboundIdentifier instead of AddImport since it is
      being used in more places than just the AddImport fixer
      - Updated the DiagnosticDescriptor for this analyzer to take
      localizeable strings.
      
      Fixes #1744
      Fixes #1241
      Fixes #1239
      4b733b8b
  13. 18 4月, 2015 1 次提交
  14. 17 4月, 2015 1 次提交
  15. 11 4月, 2015 1 次提交
    • H
      added error source support · 2e438ae3
      Heejae Chang 提交于
      now, error list will have column (which is off by default) that shows source of each errors in a
      format "assembly name" for analyzers node. and "assembly name" [vsix name] for vsix
      2e438ae3
  16. 04 4月, 2015 1 次提交
    • D
      Commit rename on save and debugging run mode · dbc9e6c1
      David Poeschl 提交于
      Fixes internal TFS bug 1142095
      
      Commit any existing rename session when a document is saved or when
      debugging run mode is entered. This ensures rename sessions are
      completed before Edit and Continue sets the buffers to readonly when
      debugging begins or when break mode is exited.
      dbc9e6c1
  17. 28 3月, 2015 1 次提交
  18. 27 3月, 2015 3 次提交
    • H
      change the way build and live diagnostics are merged · 79f3481d
      Heejae Chang 提交于
      previously we made system to prefer live diagnostic over build diagnostic.
      also when we merge those two, we used very detail info to find out build and live diagnostics are same or not.
      
      but the issue was diagnostics from build didn't have all information live one has, also diagnostics from build is static
      when live one is changing as user type in IDE. which lead to race where build diagnostic might be already out-dated on arrival.
      
      new system is that we prefer diagnostic from build over live. and don't distinguish them by detail info but whether live can produce
      same diagnostics build produced. as user change file, we will replace build diagnostics in affected files to live diagnostics.
      
      this should remove chance where build diagnostic got stuck in the system until next build. and as user change files, live diagnostic
      over take build diagnostics.
      79f3481d
    • H
      changes around solution crawler. · 45fae725
      Heejae Chang 提交于
      first, made solution crawler options to show up in Roslyn/Option pane to make experiement easier.
      second, tweaked the way higher/normal/low priority processor interact each other.
      last, made solution crawler to pick next project to process a bit smarter.
      
      misc.
      fixed an issue where lazyLogmessage didn't clear cached message correctly
      changed etw logging default to not log at all
      45fae725
    • P
      Move Workspace layer and above to 4.5.2 · 79c49540
      Paul Harrington 提交于
      79c49540
  19. 26 3月, 2015 1 次提交
  20. 18 3月, 2015 1 次提交
    • M
      Fixes #249: Fix IDE diagnostics test framework to use... · dc6b707b
      mavasani 提交于
      Fixes #249: Fix IDE diagnostics test framework to use DiagnosticAnalyzerService to compute diagnostics rather than DiagnosticAnalyzerDriver.
      
      This change serves multiple purposes:
      1) Makes our test framework consistent with the IDE scenario in fetching diagnostics. We have missed out on multiple regressions where the core IDE DiagnosticAnalyzerDriver does the right thing and hence the tests pass, but the DiagnosticService in IDE does additional filtering and certain diagnostics are not reported in VS. This change should avoid such bugs.
      2) Enable testing for diagnostics V2 engine work that JohnHamby is doing to merge IDE and compiler analyzer drivers. For this engine, there is no IDE driver and hence existing IDE diagnostics tests can't be run. This change should enable running IDE diagnostics on V2 engine.
      3) Move a whole bunch of of test only code in DiagnosticAnalyzerService_Test.cs into the test layer.
      dc6b707b
  21. 14 3月, 2015 1 次提交
  22. 10 3月, 2015 1 次提交
    • H
      Add support for compilation end code fix. · dc8cbacc
      Heejae Chang 提交于
      now code fix should support diagnostics from compilation end action.
      
      a few options are added to test experience which can be changed from Tools/Options/Roslyn/Diagnostic pane.
      dc8cbacc
  23. 07 3月, 2015 2 次提交
  24. 05 3月, 2015 1 次提交
  25. 28 2月, 2015 1 次提交
  26. 27 2月, 2015 1 次提交
  27. 24 2月, 2015 1 次提交
  28. 22 2月, 2015 1 次提交
  29. 21 2月, 2015 1 次提交