1. 31 10月, 2015 1 次提交
  2. 27 10月, 2015 1 次提交
  3. 20 10月, 2015 1 次提交
  4. 14 10月, 2015 1 次提交
  5. 11 10月, 2015 1 次提交
  6. 10 10月, 2015 1 次提交
  7. 07 10月, 2015 1 次提交
  8. 25 9月, 2015 1 次提交
  9. 17 9月, 2015 1 次提交
    • M
      Add a new CompilationOption "ReportSuppressedDiagnostics" to enable reporting... · 18aabe22
      Manish Vasani 提交于
      Add a new CompilationOption "ReportSuppressedDiagnostics" to enable reporting compiler diagnostics suppressed in source. Note that the command line compilers will report such suppressed diagnostics in the SARIF errorlog file but not on the console output.
      
      This new compilation option was approved by the design team.
      
      Fixes #5216
      18aabe22
  10. 15 9月, 2015 1 次提交
  11. 11 9月, 2015 2 次提交
    • M
      Emit "isSuppressedInSource" boolean property for diagnostics in the ErrorLog... · a3b4dd49
      Manish Vasani 提交于
      Emit "isSuppressedInSource" boolean property for diagnostics in the ErrorLog file and report suppressed analyzer diagnostics in the error log.
      a3b4dd49
    • M
      Initial work for "Disconnected baselining" scenario: · 08b9efdc
      Manish Vasani 提交于
      1. CompilationWithAnalyzers can now report analyzer diagnostics with source suppressions (pragma/SuppressMessageAttribute). This will eventually allow us to surface diagnostics with source suppressions in the error list. Note that the behavior of command line compilers and all the GetDiagnostics APIs is unchanged, only the compiler analyzer will report diagnostics with source suppressions.
      
      2. Add FixAll support for Suppression code fixes. Light bulb suppression fixes now show the "Fix all occurrences" options for Document/Project/Solution. This change adds the basic functionality to bulk suppress diagnostics. This will eventually be consumed for baselining all/selected diagnostics from error list/solution explorer.
      
      3. Simplify the Suppression light bulb menu to remove the option to add a local SuppressMessageAttribute. The only options now are to suppress in source (pragma) or suppressions file (assembly level SuppressMessageAttribute).
      08b9efdc
  12. 05 9月, 2015 2 次提交
  13. 21 8月, 2015 1 次提交
  14. 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
  15. 17 7月, 2015 1 次提交
  16. 14 7月, 2015 1 次提交
  17. 07 7月, 2015 1 次提交
  18. 06 7月, 2015 1 次提交
  19. 03 7月, 2015 1 次提交
    • A
      Report diagnostics when short-circuiting emit · 516db69f
      Andrew Casey 提交于
      As an optimization, submissions not containing declarations are not
      emitted.  However, when we short-circuit emission, we also skip diagnostic
      reporting (e.g. in usings) that can trigger an assert in the next
      submission (which assumes that all errors have been reported).
      
      Fixes #3795
      516db69f
  20. 02 7月, 2015 1 次提交
  21. 24 6月, 2015 1 次提交
    • M
      Add DiagnosticDescriptor.GetEffectiveSeverity(CompilationOptions) API to get... · 05a7e645
      Manish Vasani 提交于
      Add DiagnosticDescriptor.GetEffectiveSeverity(CompilationOptions) API to get the effective severity of diagnostics created based on the descriptor for the given compilation options.
      
      This change also removes the clone of this functionality in the IDE layer used by the solution explorer rule severity display and error list/diagnostic service. It now uses this public API.
      
      Fixes #2598
      05a7e645
  22. 18 6月, 2015 1 次提交
  23. 20 5月, 2015 1 次提交
  24. 19 5月, 2015 1 次提交
  25. 03 5月, 2015 1 次提交
  26. 28 4月, 2015 1 次提交
  27. 23 4月, 2015 1 次提交
  28. 20 4月, 2015 1 次提交
  29. 16 4月, 2015 1 次提交
  30. 11 3月, 2015 1 次提交
  31. 10 3月, 2015 1 次提交
  32. 06 3月, 2015 2 次提交
  33. 03 3月, 2015 1 次提交
    • A
      Suppress embedded declarations in the EE · b6bd89a6
      Andrew Casey 提交于
      The expression compiler returns information to the debugger in the form
      of .NET assemblies.  These assemblies should not contain embedded
      declarations (i.e. "My.*").  At best, these declarations are useless.  At
      worst, they hide the declarations in the user's own assembly.
      
      As a bonus, this fixes an issue we were having with being unable to
      compile the embedded declarations in cases where two copies of
      EditorBrowsableAttribute were loaded (since neither is "closer" or more
      accessible while debugging).
      
      Fixes #946.
      b6bd89a6
  34. 21 2月, 2015 1 次提交
  35. 20 2月, 2015 1 次提交
  36. 18 2月, 2015 1 次提交
    • O
      Added a 'suppressAccessChecks' parameter to Compilation.GetSemanticModel · f91f779b
      Omer Raviv 提交于
      Calling GetSemanticModel with suppressAccessChecks=true creates a SemanticModel that ignores accessibility rules when answering semantic questions.
      This allows consumers to ask semantic questions using the same semantic rules as the ones used in debugger’s Expression Evaluator, where accessibility rules do not matter.
      
      Added unit tests for C# and VB.NET to cover both regular and speculative analysis.
      f91f779b
  37. 14 2月, 2015 1 次提交