aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/csharp
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2016-06-01 14:32:37 -0400
committerGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2016-06-01 14:32:37 -0400
commit19ae7bdb221caf8eabf477bee8e63d77384fbaa4 (patch)
tree461e393619dfc057c937053b87ad69c2607ef916 /src/csharp
parentbe0456c57b8a9a1168f7d22ee850a1101e2ffb70 (diff)
parent75743efcfc96fdeb78695ecb6480b936e17d6659 (diff)
Merge pull request #5794 from chrisdunelm/WriteOptions_readonly
Make WriteOptions flags field readonly
Diffstat (limited to 'src/csharp')
-rw-r--r--src/csharp/Grpc.Core/WriteOptions.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/csharp/Grpc.Core/WriteOptions.cs b/src/csharp/Grpc.Core/WriteOptions.cs
index 7523ada84a..4c9706d966 100644
--- a/src/csharp/Grpc.Core/WriteOptions.cs
+++ b/src/csharp/Grpc.Core/WriteOptions.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
@@ -64,7 +64,7 @@ namespace Grpc.Core
/// </summary>
public static readonly WriteOptions Default = new WriteOptions();
- private WriteFlags flags;
+ private readonly WriteFlags flags;
/// <summary>
/// Initializes a new instance of <c>WriteOptions</c> class.