FIX: Unexpected Results for .NET-Connected Assemblies That Were Compiled by Using the JIT Compiler and That Contain Some Operators (812693)



The information in this article applies to:

  • Microsoft .NET Framework 1.0 SP2

SYMPTOMS

When you run .NET-connected assemblies that contain code that has += or -= operators, and the code was compiled by using the just-in-time (JIT) compiler and following options, you might see unexpected results. The assemblies might generate negative values when you are expecting positive values, or they might generate positive values when you are expecting negative values.
  • debug+ optimization+ Generates unexpected results
  • debug- optimization- Generates unexpected results
  • debug- optimization+ Generates unexpected results
  • debug+ optimization- Works as expected
Note In these examples, the plus sign (+) indicates ON and the minus sign (-) indicates OFF.

RESOLUTION


A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next .NET Framework service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time   Version       Size       File name
   -----------------------------------------------------------
   01-Feb-2003  00:44  1.0.3705.399    303,104  Mscorjit.dll
   03-Feb-2003  14:54  1.0.3705.399  1,953,792  Mscorlib.dll
   01-Feb-2003  00:45  1.0.3705.399  2,269,184  Mscorsvr.dll
   01-Feb-2003  00:46  1.0.3705.399  2,269,184  Mscorwks.dll
   03-Feb-2003  14:56  1.0.3705.399  1,191,936  System.web.dll

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Modification Type:MinorLast Reviewed:10/7/2005
Keywords:kbQFE kbbug kbfix kbNetFrame100preSP3fix KB812693 kbAudDeveloper