mirror of
https://github.com/oliverbooth/VpSharp
synced 2024-11-22 23:58:47 +00:00
Suppress CA1308, lowercase is intended here
This commit is contained in:
parent
73d0bc8561
commit
79129f44d2
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user