From 9450e62bc7d8b8169c62a9b2ada067cb4286d138 Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine <eltociear@gmail.com> Date: Tue, 14 Nov 2023 10:28:37 +0900 Subject: [PATCH] chore: fix typo in CallbackExtensions.cs (#4301) specificy -> specificity --- By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license]. [Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0 --- .../src/Amazon.JSII.Runtime/CallbackExtensions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/@jsii/dotnet-runtime/src/Amazon.JSII.Runtime/CallbackExtensions.cs b/packages/@jsii/dotnet-runtime/src/Amazon.JSII.Runtime/CallbackExtensions.cs index 8e0f03c52c..946fe08b7e 100644 --- a/packages/@jsii/dotnet-runtime/src/Amazon.JSII.Runtime/CallbackExtensions.cs +++ b/packages/@jsii/dotnet-runtime/src/Amazon.JSII.Runtime/CallbackExtensions.cs @@ -65,7 +65,7 @@ out object? result return null; } - throw new ArgumentException("Callback does not specificy a method, getter, or setter to invoke"); + throw new ArgumentException("Callback does not specify a method, getter, or setter to invoke"); } private static CallbackResult? InvokeMethod(InvokeRequest request, IReferenceMap referenceMap) @@ -251,4 +251,4 @@ private CallbackResult(TypeReference type, bool isOptional, object? value) : bas public object? Value { get; } } -} \ No newline at end of file +}