From 1ca85cc3cd5c5cbb9a8235064ff1b3044d626a1d Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Wed, 3 Mar 2021 14:50:48 +0000 Subject: [PATCH] (#28) (#29) Add missing exception resources --- X10D/src/ExceptionMessages.Designer.cs | 22 ++++++++++++++++++++-- X10D/src/ExceptionMessages.resx | 10 ++++++++-- 2 files changed, 28 insertions(+), 4 deletions(-) diff --git a/X10D/src/ExceptionMessages.Designer.cs b/X10D/src/ExceptionMessages.Designer.cs index e010daf..a8acd3c 100644 --- a/X10D/src/ExceptionMessages.Designer.cs +++ b/X10D/src/ExceptionMessages.Designer.cs @@ -87,6 +87,24 @@ namespace X10D { } } + /// + /// Looks up a localized string similar to The stream does not support reading.. + /// + internal static string StreamDoesNotSupportReading { + get { + return ResourceManager.GetString("StreamDoesNotSupportReading", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The stream does not support writing.. + /// + internal static string StreamDoesNotSupportWriting { + get { + return ResourceManager.GetString("StreamDoesNotSupportWriting", resourceCulture); + } + } + /// /// Looks up a localized string similar to {{0}} does not inherit {typeof(Attribute)}. /// @@ -97,7 +115,7 @@ namespace X10D { } /// - /// Looks up a localized string similar to {{0}} is not a class. + /// Looks up a localized string similar to {{0}} is not a class.. /// internal static string TypeIsNotClass { get { @@ -106,7 +124,7 @@ namespace X10D { } /// - /// Looks up a localized string similar to {{0}} is not an interface. + /// Looks up a localized string similar to {{0}} is not an interface.. /// internal static string TypeIsNotInterface { get { diff --git a/X10D/src/ExceptionMessages.resx b/X10D/src/ExceptionMessages.resx index ed1524d..8b63ce8 100644 --- a/X10D/src/ExceptionMessages.resx +++ b/X10D/src/ExceptionMessages.resx @@ -24,10 +24,10 @@ - {{0}} is not a class + {{0}} is not a class. - {{0}} is not an interface + {{0}} is not an interface. {{0}} does not inherit {typeof(Attribute)} @@ -41,4 +41,10 @@ Length must be a positive value. + + The stream does not support reading. + + + The stream does not support writing. + \ No newline at end of file