Skip to content

Commit

Permalink
.net native compiler error workaround fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Komisarchik committed Jul 3, 2017
1 parent 19f49a7 commit 7a70a02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Serilog/Rendering/Padding.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@
// limitations under the License.

using System.IO;
using System.Linq;
using Serilog.Parsing;

namespace Serilog.Rendering
{
static class Padding
{
static readonly char[] PaddingChars = new string(' ', 80).ToCharArray();
static readonly char[] PaddingChars = Enumerable.Repeat(' ', 80).ToArray();

/// <summary>
/// Writes the provided value to the output, applying direction-based padding when <paramref name="alignment"/> is provided.
Expand Down

0 comments on commit 7a70a02

Please sign in to comment.