From 90aedc8926d8d239ba1e51f8309c3f04e772723f Mon Sep 17 00:00:00 2001 From: Giovanni Braconi Date: Mon, 10 Jun 2024 09:35:49 +0200 Subject: [PATCH 1/3] Add documentation to Values property in TypedConstant struct --- src/Compilers/Core/Portable/Symbols/TypedConstant.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Compilers/Core/Portable/Symbols/TypedConstant.cs b/src/Compilers/Core/Portable/Symbols/TypedConstant.cs index 265bb348eb457..03f9696d22639 100644 --- a/src/Compilers/Core/Portable/Symbols/TypedConstant.cs +++ b/src/Compilers/Core/Portable/Symbols/TypedConstant.cs @@ -104,7 +104,9 @@ internal object? ValueInternal } /// - /// The value for a array. + /// The value for a array. + /// Returns a default ImmutableArray if null was passed as the array value; + /// can be used to check for this. /// public ImmutableArray Values { From 944a079cf934743ba334ee9adde74e38e54771f4 Mon Sep 17 00:00:00 2001 From: Giovanni Braconi Date: Mon, 10 Jun 2024 14:29:43 +0200 Subject: [PATCH 2/3] Update src/Compilers/Core/Portable/Symbols/TypedConstant.cs Co-authored-by: MartyIX <203266+MartyIX@users.noreply.github.com> --- src/Compilers/Core/Portable/Symbols/TypedConstant.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Compilers/Core/Portable/Symbols/TypedConstant.cs b/src/Compilers/Core/Portable/Symbols/TypedConstant.cs index 03f9696d22639..471dd0a1a62ab 100644 --- a/src/Compilers/Core/Portable/Symbols/TypedConstant.cs +++ b/src/Compilers/Core/Portable/Symbols/TypedConstant.cs @@ -105,7 +105,7 @@ internal object? ValueInternal /// /// The value for a array. - /// Returns a default ImmutableArray if null was passed as the array value; + /// Returns a default ImmutableArray if was passed as the array value; /// can be used to check for this. /// public ImmutableArray Values From 3a94c14e4b6deb562e99997e81eb31d222cca451 Mon Sep 17 00:00:00 2001 From: Giovanni Braconi Date: Wed, 12 Jun 2024 08:30:07 +0200 Subject: [PATCH 3/3] Update src/Compilers/Core/Portable/Symbols/TypedConstant.cs Co-authored-by: Fred Silberberg --- src/Compilers/Core/Portable/Symbols/TypedConstant.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Compilers/Core/Portable/Symbols/TypedConstant.cs b/src/Compilers/Core/Portable/Symbols/TypedConstant.cs index 471dd0a1a62ab..2ac8163e2f7ee 100644 --- a/src/Compilers/Core/Portable/Symbols/TypedConstant.cs +++ b/src/Compilers/Core/Portable/Symbols/TypedConstant.cs @@ -105,7 +105,7 @@ internal object? ValueInternal /// /// The value for a array. - /// Returns a default ImmutableArray if was passed as the array value; + /// Returns a ImmutableArray if was passed as the array value; /// can be used to check for this. /// public ImmutableArray Values