diff options
| author | Rob Mensching <rob@firegiant.com> | 2021-03-26 15:38:00 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2021-04-02 14:46:29 -0700 |
| commit | a0dd2bc561ee6aa6b7aebedcff76c8a11e14bc9f (patch) | |
| tree | e1dc86fa38fefde387e63aef9cfbb48d989aa853 /src/WixToolset.Data/IntermediateSectionExtensions.cs | |
| parent | f7de7f52a790e989a42fc48935dc61c93f3f4137 (diff) | |
| download | wix-a0dd2bc561ee6aa6b7aebedcff76c8a11e14bc9f.tar.gz wix-a0dd2bc561ee6aa6b7aebedcff76c8a11e14bc9f.tar.bz2 wix-a0dd2bc561ee6aa6b7aebedcff76c8a11e14bc9f.zip | |
Make the IntermediateSection and IntermediateSymbol less mutable
Diffstat (limited to 'src/WixToolset.Data/IntermediateSectionExtensions.cs')
| -rw-r--r-- | src/WixToolset.Data/IntermediateSectionExtensions.cs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/WixToolset.Data/IntermediateSectionExtensions.cs b/src/WixToolset.Data/IntermediateSectionExtensions.cs deleted file mode 100644 index 80e64eaa..00000000 --- a/src/WixToolset.Data/IntermediateSectionExtensions.cs +++ /dev/null | |||
| @@ -1,14 +0,0 @@ | |||
| 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 | |||
| 3 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | public static class IntermediateSectionExtensions | ||
| 6 | { | ||
| 7 | public static T AddSymbol<T>(this IntermediateSection section, T symbol) | ||
| 8 | where T : IntermediateSymbol | ||
| 9 | { | ||
| 10 | section.Symbols.Add(symbol); | ||
| 11 | return symbol; | ||
| 12 | } | ||
| 13 | } | ||
| 14 | } | ||
