View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000115 | .NET API | Implementation Bug | public | 2007-02-22 05:39 | 2012-10-05 03:35 |
| Reporter | Randy Armstrong | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | assigned | Resolution | open | ||
| Summary | 0000115: .NET API uses the lock(this) statements in violation of coding guidelines | ||||
| Description | The OPC NET API/COM Wrapper violates Microsoft recommended practices, with respect to the C# lock statement, in hundreds of locations. Here is an excerpt from an MSDN article: In general, avoid locking on a public type, or instances beyond your code's control. The common constructs lock (this), lock (typeof (MyType)), and lock ("myLock") violate this guideline: lock (this) is a problem if the instance can be accessed publicly. | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2007-02-22 05:39 | Randy Armstrong | New Issue | |
| 2007-02-22 05:39 | Randy Armstrong | Status | new => assigned |
| 2007-02-22 05:39 | Randy Armstrong | Assigned To | => Randy Armstrong |
| 2012-10-05 03:35 | Randy Armstrong | Assigned To | Randy Armstrong => user322 |