diff --git a/src/DotNetCore.CAP/OperateResult.cs b/src/DotNetCore.CAP/OperateResult.cs index 68f85be..de3adc3 100644 --- a/src/DotNetCore.CAP/OperateResult.cs +++ b/src/DotNetCore.CAP/OperateResult.cs @@ -15,7 +15,7 @@ namespace DotNetCore.CAP // ReSharper disable once InconsistentNaming // ReSharper disable once FieldCanBeMadeReadOnly.Local - private List _errors = new List(); + private readonly List _errors = new List(); /// /// Flag indicating whether if the operation succeeded or not. @@ -93,4 +93,4 @@ namespace DotNetCore.CAP /// public string Description { get; set; } } -} \ No newline at end of file +}