Skip to content
This repository has been archived by the owner on Nov 8, 2018. It is now read-only.

Don't use Thread.Sleep() analyzers - initial implementation #50

Open
wants to merge 22 commits into
base: master
Choose a base branch
from

Commits on Sep 4, 2016

  1. Configuration menu
    Copy the full SHA
    133c5f2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    969c1f3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    466b00b View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2016

  1. add test which checks if Thread.Sleep(0) is changed to` await Task.…

    …Yield()`. Don't use 0 as an Thread.Sleep's argument in other tests
    tmaczynski committed Oct 16, 2016
    Configuration menu
    Copy the full SHA
    ddc42f4 View commit details
    Browse the repository at this point in the history
  2. update DontUseThreadSleepCodeUniversalCodeFixProvider CodeAction's title

    update DontUseThreadSleepCodeUniversalCodeFixProvider CodeAction's title
    so that it mentions Task.Yield() as a possible fix
    tmaczynski committed Oct 16, 2016
    Configuration menu
    Copy the full SHA
    f4b7d8b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9982504 View commit details
    Browse the repository at this point in the history
  4. add additional test cases when 'Thread.Sleep()' which should be conve…

    …rted to 'await Task.Yield()'
    tmaczynski committed Oct 16, 2016
    Configuration menu
    Copy the full SHA
    e64d692 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2016

  1. Configuration menu
    Copy the full SHA
    f637170 View commit details
    Browse the repository at this point in the history
  2. DontUseThreadSleepCodeUniversalCodeFixProvider: correctly handle valu…

    …es which are semanticaly equal to zero
    tmaczynski committed Oct 18, 2016
    Configuration menu
    Copy the full SHA
    3fecffa View commit details
    Browse the repository at this point in the history
  3. move extension methods from InvocationExpressionSyntaxExtensions to E…

    …xpressionSyntaxExtensions
    tmaczynski committed Oct 18, 2016
    Configuration menu
    Copy the full SHA
    76f050a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e9cd752 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2016

  1. first working implementation checking if System.TimeSpan.Zero is used…

    … in Thread.Sleep() method call
    
    this includes code changes, new extension method and changes in
    CodeFixProvider
    tmaczynski committed Oct 19, 2016
    Configuration menu
    Copy the full SHA
    875fa4f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f0e2c3d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7ca2925 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b896415 View commit details
    Browse the repository at this point in the history
  5. DontUseThreadSleepCodeUniversalCodeFixProvider: don't export code fix…

    … provider for VisualBasic
    tmaczynski committed Oct 19, 2016
    Configuration menu
    Copy the full SHA
    9272f06 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2016

  1. Configuration menu
    Copy the full SHA
    f173b05 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2016

  1. ExpressionSyntaxExtensions.cs: refactor TryGet... methods. Now they r…

    …eturn true if and only if non-null value is assigned to out parameter
    tmaczynski committed Nov 6, 2016
    Configuration menu
    Copy the full SHA
    afe96a5 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2017

  1. Configuration menu
    Copy the full SHA
    2cdb5a0 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2017

  1. Configuration menu
    Copy the full SHA
    28c4e56 View commit details
    Browse the repository at this point in the history
  2. DontUseThreadSleep.md: add note that using reset event might be an al…

    …ternative to using Thread.Sleep()
    tmaczynski committed May 6, 2017
    Configuration menu
    Copy the full SHA
    3b30f21 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a49bd3a View commit details
    Browse the repository at this point in the history