I have veeeeryyy basic singleton in asp.net web application:
[ThreadStatic]
private static BackgroundProcessManager2 _Instance;
public static BackgroundProcessManager2 Instance
{
get
{
if (_Instance == null) // **
{
_Instance = new BackgroundProcessManager2();
}
return _Instance;
}
}
And ussually everything is fine, but this time on every page load _Instance is null.
Additionally, i have very strange error when trying to watch _Instance in line marked **:
Cannot fetch the value of field '_Instance' because information about the containing class is unavailable.
What can couse this class to upload?