From a589a173b4b039b57a031b24a7626dc9a7c5a504 Mon Sep 17 00:00:00 2001 From: Steven Yeh Date: Sun, 31 May 2020 16:17:52 -0500 Subject: [PATCH] Add Or int? (#37225) --- docs/coding-guidelines/breaking-change-rules.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/coding-guidelines/breaking-change-rules.md b/docs/coding-guidelines/breaking-change-rules.md index 878aa01..6fff088 100644 --- a/docs/coding-guidelines/breaking-change-rules.md +++ b/docs/coding-guidelines/breaking-change-rules.md @@ -20,7 +20,7 @@ Breaking Change Rules ✓ **Allowed** * Increasing the range of accepted values for a property or parameter if the member _is not_ `virtual` - Note that the range can only increase to the extent that it does not impact the static type. e.g. it is OK to remove `if (x > 10) throw new ArgumentOutOfRangeException("x")`, but it is not OK to change the type of `x` from `int` to `long`. + Note that the range can only increase to the extent that it does not impact the static type. e.g. it is OK to remove `if (x > 10) throw new ArgumentOutOfRangeException("x")`, but it is not OK to change the type of `x` from `int` to `long` or `int?`. * Returning a value of a more derived type for a property, field, return or `out` value -- 2.7.4