diff options
| author | Rob Mensching <rob@firegiant.com> | 2019-10-25 00:23:42 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2019-10-25 00:25:53 -0700 |
| commit | 6c1ae2593faab59e1a01c96794e0835a6fcd0626 (patch) | |
| tree | c15fcb9a1f1c5bec846ba61f1f3dcd9a152bf701 /src/WixToolset.Data/IntermediateFieldContext.cs | |
| parent | 0078364515ba1f7570f43d47e43bd359918cafd0 (diff) | |
| download | wix-6c1ae2593faab59e1a01c96794e0835a6fcd0626.tar.gz wix-6c1ae2593faab59e1a01c96794e0835a6fcd0626.tar.bz2 wix-6c1ae2593faab59e1a01c96794e0835a6fcd0626.zip | |
Implement WixOutput with support for multiple streams of data
Diffstat (limited to 'src/WixToolset.Data/IntermediateFieldContext.cs')
| -rw-r--r-- | src/WixToolset.Data/IntermediateFieldContext.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/WixToolset.Data/IntermediateFieldContext.cs b/src/WixToolset.Data/IntermediateFieldContext.cs index a29a63c4..785a959f 100644 --- a/src/WixToolset.Data/IntermediateFieldContext.cs +++ b/src/WixToolset.Data/IntermediateFieldContext.cs | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | 1 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. |
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace WixToolset.Data |
| 4 | { | 4 | { |
| @@ -6,7 +6,7 @@ namespace WixToolset.Data | |||
| 6 | 6 | ||
| 7 | public class IntermediateFieldContext : IDisposable | 7 | public class IntermediateFieldContext : IDisposable |
| 8 | { | 8 | { |
| 9 | private string previous; | 9 | private readonly string previous; |
| 10 | private bool disposed; | 10 | private bool disposed; |
| 11 | 11 | ||
| 12 | public IntermediateFieldContext(string context) | 12 | public IntermediateFieldContext(string context) |
| @@ -18,7 +18,7 @@ namespace WixToolset.Data | |||
| 18 | 18 | ||
| 19 | public void Dispose() | 19 | public void Dispose() |
| 20 | { | 20 | { |
| 21 | Dispose(true); | 21 | this.Dispose(true); |
| 22 | GC.SuppressFinalize(this); | 22 | GC.SuppressFinalize(this); |
| 23 | } | 23 | } |
| 24 | 24 | ||
