Skip to content

Commit 7b10284

Browse files
committed
Delete unnecessary code
1 parent 58c5657 commit 7b10284

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/Log4NetTextFormatter.cs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -289,9 +289,6 @@ private void WriteProperty(XmlWriter writer, string propertyName, LogEventProper
289289
{
290290
switch (propertyValue)
291291
{
292-
case ScalarValue scalarValue:
293-
WriteScalarProperty(writer, propertyName, scalarValue);
294-
break;
295292
case DictionaryValue dictionaryValue:
296293
WriteDictionaryProperty(writer, propertyName, dictionaryValue);
297294
break;
@@ -307,17 +304,6 @@ private void WriteProperty(XmlWriter writer, string propertyName, LogEventProper
307304
}
308305
}
309306

310-
/// <summary>
311-
/// Write a <see cref="ScalarValue"/> property.
312-
/// </summary>
313-
/// <param name="writer">The XML writer.</param>
314-
/// <param name="propertyName">The property name.</param>
315-
/// <param name="scalarValue">The <see cref="ScalarValue"/> to write.</param>
316-
private void WriteScalarProperty(XmlWriter writer, string propertyName, ScalarValue scalarValue)
317-
{
318-
WritePropertyElement(writer, propertyName, scalarValue);
319-
}
320-
321307
/// <summary>
322308
/// Write a <see cref="DictionaryValue"/> property.
323309
/// </summary>

0 commit comments

Comments
 (0)