aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2016-02-09 15:10:30 -0800
committerGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2016-02-09 15:10:30 -0800
commitab02713c583e7c0e6e6570164c7500b0b01f0dc4 (patch)
treef817314b14ef4c84a1062bbf214a8ef9b7ec9e7d /src
parentecf8327b3df688ba04c8f2ecbb5838331582f2df (diff)
parent435b155152a124d62fca6e3d3808c5317ff7f438 (diff)
Merge pull request #5066 from chrisdunelm/dnx_Profilers
Fix Profilers for coreclr
Diffstat (limited to 'src')
-rw-r--r--src/csharp/Grpc.Core/Profiling/Profilers.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/csharp/Grpc.Core/Profiling/Profilers.cs b/src/csharp/Grpc.Core/Profiling/Profilers.cs
index 471ee20875..8a181447d6 100644
--- a/src/csharp/Grpc.Core/Profiling/Profilers.cs
+++ b/src/csharp/Grpc.Core/Profiling/Profilers.cs
@@ -1,6 +1,6 @@
#region Copyright notice and license
-// Copyright 2015, Google Inc.
+// Copyright 2015-2016, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
@@ -111,7 +111,7 @@ namespace Grpc.Core.Profiling
public void Dump(string filepath)
{
- using (var stream = new StreamWriter(filepath))
+ using (var stream = File.CreateText(filepath))
{
Dump(stream);
}