Merge pull request #5794 from chrisdunelm/WriteOptions_readonly

Make WriteOptions flags field readonly
pull/6667/head
Jan Tattermusch 9 years ago
commit 19ae7bdb22
  1. 4
      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.

Loading…
Cancel
Save