Skip to content

Commit 576a0ec

Browse files
committed
Removed unused resource strings
1 parent 044389f commit 576a0ec

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

src/DotNext/ExceptionMessages.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ internal static class ExceptionMessages
1515

1616
internal static string InvalidUserDataSlot => Resources.GetString("InvalidUserDataSlot")!;
1717

18-
internal static string IndexShouldBeZero => Resources.GetString("IndexShouldBeZero")!;
19-
2018
internal static string CastNullToValueType => Resources.GetString("CastNullToValueType")!;
2119

2220
internal static string UnsupportedLockAcquisition => Resources.GetString("UnsupportedLockAcquisition")!;
@@ -34,8 +32,6 @@ internal static string BoxedValueTypeExpected<T>()
3432
internal static string ResourceEntryIsNull(string name)
3533
=> string.Format(Resources.GetString("ResourceEntryIsNull")!, name);
3634

37-
internal static string SmallBuffer => Resources.GetString("SmallBuffer")!;
38-
3935
internal static string LargeBuffer => Resources.GetString("LargeBuffer")!;
4036

4137
internal static string MalformedBase64 => Resources.GetString("MalformedBase64")!;
@@ -47,8 +43,6 @@ internal static string InvalidHexInput(char ch)
4743

4844
internal static string KeyAlreadyExists => Resources.GetString("KeyAlreadyExists")!;
4945

50-
internal static string ObjectMustNotBeArray => Resources.GetString("ObjectMustNotBeArray")!;
51-
5246
internal static string NoResult<TError>(TError errorCode)
5347
where TError : struct, Enum
5448
=> string.Format(Resources.GetString("NoResult")!, errorCode);

src/DotNext/ExceptionMessages.restext

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,18 @@ OptionalNoValue=The underlying value is undefined
22
OptionalNullValue=The underlying value is null
33
ReleasedLock=The lock is already released
44
InvalidUserDataSlot=Slot was not created using Allocate method
5-
IndexShouldBeZero=List index should be equal to 0
65
CastNullToValueType=Unable to cast null value to value type
76
UnsupportedLockAcquisition=Lock cannot be acquired for this type of object
87
ConcreteDelegateExpected=Concrete delegate type expected
98
InvalidExpressionTree=Expression tree is not supported
109
NotEnoughMemory=Memory block is not enough to place the data
1110
BoxedValueTypeExpected=The object must be boxed value type of type {0}
1211
ResourceEntryIsNull=Resource entry {0} is null
13-
SmallBuffer=The buffer is not large enough
1412
LargeBuffer=The buffer is too large
1513
MalformedBase64=The input BASE64 string contains invalid characters
1614
UndefinedValueDetected=Undefined value is unexpected in converter. Apply JsonIgnoreAttribute attribute with condition equal to JsonIgnoreCondition.WhenWritingDefault
1715
InvalidHexInput=Character {0} is not a valid hexadecimal value
1816
KeyAlreadyExists=The key already exists
19-
ObjectMustNotBeArray=The object must not be represented by the array
2017
NoResult=The result of the operation is unavailable. Error code is {0}
2118
EndOfBuffer=The buffer has no data to read but the caller expects {0} extra elements
2219
OverlappedRange=The ranges are overlapped

0 commit comments

Comments
 (0)