1. 11 2月, 2015 4 次提交
    • A
      Manage the lifetime of DkmClrValue objects · 641ad84f
      Andrew Casey 提交于
      We need to attach the same information to DkmEvaluationResults and
      DkmEvaluationResultEnumContexts, but they have different lifetimes.  Enum
      contexts, which are, in some sense, the children of evaluation results are
      closed first.  As such we don't want to clean up our attached information
      until the evaluation result is closed.  When we are informed that this has
      happened (by a call to EvalResultDataItem.OnClose), we call Close on the
      associated DkmClrValue.
      
      We hope that actively managing the lifetime of DkmClrValue instances will
      improve perf by reducing the amount of work that the debugger has to do on
      each evaluation (which is proportional to the number of live
      DkmClrValues).
      
      Unfortunately, this will not improve perf in the large-array case because
      DkmEvaluationResults are not closed as they are scrolled out of view.
      
      Associated with DevDiv #1094428 (not yet on GitHub).
      641ad84f
    • T
      Update the DeclarePublicAPI analyzer to consider return types · 21bc81c5
      Tom Meschter 提交于
      The DeclarePublicAPI draws attention to changes to the public API
      surface area in order to prevent breaking changes and to encourage
      careful design when adding new APIs. It requires that every project with
      a public API capture the public types and members in a file called
      PublicAPI.txt, and creates errors when this file does not match the
      actual symbols in the project. This makes changes very obvious in code
      reviews and source control history.
      
      Currently PublicAPI.txt does not capture the return types of members
      (field, properties, methods, and events) so these can changes without it
      being caught by the tool. This changes updates the analyzer to include
      the return type.
      
      A nice feature of the associated code fix is that it sorts PublicAPI.txt
      alphabetically, and since type names are fully qualified this naturally
      groups together types in the same namespace, members in the same type,
      overloads, etc. To preserve this property we put the return type at the
      end of the line, after the type and member name.
      21bc81c5
    • H
      add Encoding check · 91710c6a
      Heejae Chang 提交于
      while creating pull request, I left out this change
      91710c6a
    • N
      Allow 'is' for static classes for compatibility · 88f657ce
      Neal Gafter 提交于
      but continue to report the diagnostic if "strict" mode is requested.
      Fixes #324
      88f657ce
  2. 10 2月, 2015 19 次提交
  3. 09 2月, 2015 17 次提交