1
0
mirror of https://github.com/oliverbooth/VpSharp synced 2024-11-23 00:28:48 +00:00

Suppress CA1308, lowercase is intended here

This commit is contained in:
Oliver Booth 2022-11-30 17:57:17 +00:00
parent 73d0bc8561
commit 79129f44d2
No known key found for this signature in database
GPG Key ID: 32A00B35503AF634

View File

@ -27,6 +27,8 @@ internal sealed class StringToEnumConverter<T> : ValueConverter<T>
/// <inheritdoc /> /// <inheritdoc />
public override void Serialize(TextWriter writer, T value) public override void Serialize(TextWriter writer, T value)
{ {
#pragma warning disable CA1308
writer.Write(value.ToString().ToLowerInvariant()); writer.Write(value.ToString().ToLowerInvariant());
#pragma warning restore CA1308
} }
} }