Sony C#/.NET Components



V3005 The ‘ProgressError’ variable is assigned to itself. Atf.Gui.Wpf.vs2010 StatusService.cs 24

public ProgressCompleteEventArgs(Exception progressError, 
            object progressResult, 
            bool cancelled)
  ProgressError = ProgressError;  
  ProgressResult = progressResult;
  Cancelled = cancelled;

As a result of a typo, the ProgressError is assigned to itself, instead of the assignment progressError. Errors of such a kind are very common in those cases when the names of the variables differ in the case of one letter, like in the provided code fragment.

Please click here to see more bugs from this project.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.