From 9c12756a3f61ad87438dd53bba6e95b5fa891cd5 Mon Sep 17 00:00:00 2001 From: Aidy Jenkins Date: Tue, 1 Oct 2024 23:46:11 +0100 Subject: [PATCH 1/2] Corrected description for indexer --- xml/System.Data.Common/DbConnectionStringBuilder.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/xml/System.Data.Common/DbConnectionStringBuilder.xml b/xml/System.Data.Common/DbConnectionStringBuilder.xml index da880354bcf..e5779d0fe14 100644 --- a/xml/System.Data.Common/DbConnectionStringBuilder.xml +++ b/xml/System.Data.Common/DbConnectionStringBuilder.xml @@ -1123,7 +1123,7 @@ builder2.EquivalentTo(builder3) = False The key of the item to get or set. Gets or sets the value associated with the specified key. - The value associated with the specified key. If the specified key is not found, trying to get it returns a null reference ( in Visual Basic), and trying to set it creates a new element using the specified key. + The value associated with the specified key. If the specified key is not found, trying to get it throws an , and trying to set it creates a new element using the specified key. Passing a null ( in Visual Basic) key throws an . Assigning a null value removes the key/value pair. @@ -1142,8 +1142,10 @@ builder2.EquivalentTo(builder3) = False ]]> + + The value for has not been set in the collection. - is a null reference ( in Visual Basic). + is a null reference ( in Visual Basic). The property is set, and the is read-only. -or- From a4b98482e7f2e30143547630b5f46fdc22cb4497 Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Tue, 8 Oct 2024 09:47:51 -0700 Subject: [PATCH 2/2] Update xml/System.Data.Common/DbConnectionStringBuilder.xml --- xml/System.Data.Common/DbConnectionStringBuilder.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/System.Data.Common/DbConnectionStringBuilder.xml b/xml/System.Data.Common/DbConnectionStringBuilder.xml index e5779d0fe14..1ae1d15b1a5 100644 --- a/xml/System.Data.Common/DbConnectionStringBuilder.xml +++ b/xml/System.Data.Common/DbConnectionStringBuilder.xml @@ -1145,7 +1145,7 @@ builder2.EquivalentTo(builder3) = False The value for has not been set in the collection. - is a null reference ( in Visual Basic). + is a null reference ( in Visual Basic). The property is set, and the is read-only. -or-