Skip to content

Commit

Permalink
ATR-158: PX1040 corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
k-s-popova committed Sep 26, 2018
1 parent 9571ffa commit a77316d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/diagnostics/PX1040.md
Expand Up @@ -8,7 +8,7 @@ This document describes the PX1040 diagnostic.
| PX1040 | Constructors in BLC extensions are strictly prohibited. You should use the `Initialize()` method instead. | Error | Available |

## Diagnostic Description
Constructors cannot be used in graph extensions. Instead of using constructors, you must override the `Initialize()` method.
Constructors cannot be used in graph extensions. Instead of using instance constructors, you must override the `Initialize()` method.

The code fix moves the code from the constructor to the `Initialize()` method.

Expand Down

0 comments on commit a77316d

Please sign in to comment.