| Priority |
Normal |
| Type | Bug |
| State | Fixed |
| Assignee | Eugene Pasynkov |
| Subsystem | No subsystem |
| Affected versions |
No affected versions
|
| Fixed in |
4.1
|
| Fixed in build |
|
|
class A { private void Foo() { string b = null; new Thread((ThreadStart)delegate { b = ""; }).Start(); WaitForString(ref b); } private void WaitForString(ref string b) { while (b==null) { Thread.Sleep(1000); } } }Too bad, in most cases it does look like a useful refactor. Can it be categorized as a different class of hint ? (something to urge the developer to pay more attention when he applies it)