Skip to content

Commit 742f125

Browse files
dvdvorlemapfel
authored andcommitted
Fixed the reference to AV1135 in AV1553. (dennisdoomen#75)
1 parent 281a370 commit 742f125

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Src/Guidelines/1500_MaintainabilityGuidelines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ The only valid reason for using C# 4.0's optional arguments is to replace the ex
319319
return someText.IndexOf(phrase, startIndex, length);
320320
}
321321

322-
If the optional parameter is a reference type then it can only have a default value of `null`. But since strings, lists and collections should never be `null` according to rule AV1235, you must use overloaded methods instead.
322+
If the optional parameter is a reference type then it can only have a default value of `null`. But since strings, lists and collections should never be `null` according to rule AV1135, you must use overloaded methods instead.
323323

324324
**Note:** The default values of the optional parameters are stored at the caller side. As such, changing the default value without recompiling the calling code will not apply the new default value properly.
325325

0 commit comments

Comments
 (0)