1. 20 12月, 2019 1 次提交
  2. 13 10月, 2019 1 次提交
  3. 10 10月, 2019 1 次提交
  4. 15 8月, 2019 1 次提交
  5. 30 7月, 2019 1 次提交
  6. 10 6月, 2019 1 次提交
    • S
      Handle missing private metadata from reference assemblies · d54e6469
      Sam Harwell 提交于
      Some reference assemblies omit information about private fields. To
      avoid treating structures in these assemblies as immutable, we only
      consider types immutable if they contain information about one or more
      private fields.
      
      This is a workaround for issues like dotnet/standard#678.
      d54e6469
  7. 05 6月, 2019 1 次提交
    • A
      Update FindImplementationsForInterfaceMemberAsync to correctly handle... · a094703b
      Andrew Hall 提交于
      Update FindImplementationsForInterfaceMemberAsync to correctly handle ambiguous type returns (#35853)
      
      FindImplementationsForInterfaceMemberAsync checks for forwarded types using SymbolFinder.OriginalSymbolsMatch, which expects non-null compilation for both the project containing the interface and the project containing the symbol to compare to. Until now, most instances have found equivalence without falling through, but in cases where the type forwarding isn't completely verified a non-null compilation for the interface symbol is needed as well. See VerifyForwardedTypes for the logic being used.
      
      In #35786 the type System.Text.Encoding is provided by a a NuGet reference and could be ambiguous based on the build target. The OOP service attempts to find the correct type resolution but needs the original symbol compilation to verify.
      
      Without this fix, FindAllReferences may cause a null deref and fail.
      
      Fixes #35786
      a094703b
  8. 01 6月, 2019 1 次提交
    • M
      Port Dispose analyzers (DisposeObjectsBeforeLosingScope) and · 5c8ba043
      Manish Vasani 提交于
      (DisposableFieldsShouldBeDisposed)
      
      We will now flag disposable creations in methods that do not escape the
      method body (return value, out/ref params, assign to field/property, add
      to collection, etc.). Additionally, we also flag disposable fields of
      disposable types that are not disposed in the type's Dispose method.
      Ported analyzers share the core dataflow analysis computation with the
      analyzers in the roslyn-analyzers repo
      (Microsoft.CodeAnalysis.FlowAnalysis.Utilities). This PR does not add
      any code fixes. We already have a code
      refactoring that offers wrapping a disposable creation within a using
      statement. I am hoping to extend that to handle more cases and also
      possibly convert it to a code fix in follow-up PR(s).
      5c8ba043
  9. 22 5月, 2019 2 次提交
  10. 17 5月, 2019 1 次提交
  11. 25 4月, 2019 1 次提交
    • M
      Port Dispose analyzers (DisposeObjectsBeforeLosingScope) and · 1f329f7f
      Manish Vasani 提交于
      (DisposableFieldsShouldBeDisposed)
      
      We will now flag disposable creations in methods that do not escape the
      method body (return value, out/ref params, assign to field/property, add
      to collection, etc.). Additionally, we also flag disposable fields of
      disposable types that are not disposed in the type's Dispose method.
      Ported analyzers share the core dataflow analysis computation with the
      analyzers in the roslyn-analyzers repo
      (Microsoft.CodeAnalysis.FlowAnalysis.Utilities). This PR does not add
      any code fixes. We already have a code
      refactoring that offers wrapping a disposable creation within a using
      statement. I am hoping to extend that to handle more cases and also
      possibly convert it to a code fix in follow-up PR(s).
      1f329f7f
  12. 27 3月, 2019 2 次提交
  13. 21 2月, 2019 2 次提交
  14. 14 2月, 2019 1 次提交
  15. 08 2月, 2019 1 次提交
    • A
      Update the ITypeSymbolExtensions.FindImplementationsForInterfaceMember to · bb1680e0
      Andrew Hall (METAL) 提交于
      use SymbolFinder.OriginalSymbolsMatch.
      
      SymbolFinder.OriginalSymbolsMatch has heuristics to determine if types are
      the same even if coming from a different assembly. This helps in cases
      where GoToImplementation needs to resolve across projects that get
      types like System.Threading.Tasks.Task from different assemblies, but
      are equivalent and fulfill requirements for interface implementation.
      bb1680e0
  16. 07 11月, 2018 1 次提交
  17. 13 9月, 2018 4 次提交
  18. 23 8月, 2017 2 次提交
  19. 02 8月, 2017 1 次提交
  20. 12 7月, 2017 1 次提交
  21. 09 7月, 2017 1 次提交
  22. 20 3月, 2017 1 次提交
  23. 17 2月, 2017 1 次提交
  24. 15 11月, 2016 1 次提交
  25. 13 11月, 2016 2 次提交
  26. 28 9月, 2016 1 次提交
  27. 09 9月, 2016 2 次提交
  28. 21 7月, 2016 1 次提交
  29. 13 5月, 2016 1 次提交
  30. 07 5月, 2016 1 次提交
  31. 24 12月, 2015 1 次提交