Make flags field readonly

pull/5794/head
Chris Bacon 9 years ago
parent 2626dfd256
commit 75743efcfc
  1. 4
      src/csharp/Grpc.Core/WriteOptions.cs

@ -1,6 +1,6 @@
#region Copyright notice and license #region Copyright notice and license
// Copyright 2015, Google Inc. // Copyright 2015-2016, Google Inc.
// All rights reserved. // All rights reserved.
// //
// Redistribution and use in source and binary forms, with or without // Redistribution and use in source and binary forms, with or without
@ -64,7 +64,7 @@ namespace Grpc.Core
/// </summary> /// </summary>
public static readonly WriteOptions Default = new WriteOptions(); public static readonly WriteOptions Default = new WriteOptions();
private WriteFlags flags; private readonly WriteFlags flags;
/// <summary> /// <summary>
/// Initializes a new instance of <c>WriteOptions</c> class. /// Initializes a new instance of <c>WriteOptions</c> class.

Loading…
Cancel
Save