Click here to Skip to main content
15,849,678 members

Comments by Oleksandr Kulchytskyi (Top 200 by date)

Oleksandr Kulchytskyi 27-Feb-15 7:06am View    
Ok, thank you very much for the help.
I appreciate it!
Will be needed to extend my knowledge in JIT optimization.
Oleksandr Kulchytskyi 27-Feb-15 5:32am View    
But to be honest [MethodImplAttribute(MethodImplOptions.NoInlining)]
does't help.
Oleksandr Kulchytskyi 27-Feb-15 5:32am View    
Yep, you are completely right!
The main showstopper is compile optimization during release mode.
In such case , since fr.Read(); is returned void , CLR treated FileReader fr as a garbage and finalize it.
Oleksandr Kulchytskyi 27-Feb-15 4:15am View    
Hi, see the error exception image
Issue happens during reading lines in PerformRead method and the main reason why, this is because the finalization of FileReader took place.
As a result StreamReader object has been closed.
Oleksandr Kulchytskyi 11-Feb-14 3:44am View    
There are a lot of samples here:

the articles above related to the WCF duplex communication, what is concersn signalR read about it on the Microsoft site.
With regards, Oleksandr.