diff options
Diffstat (limited to 'src/WixToolset.Data/Symbols/WixFragmentSymbol.cs')
-rw-r--r-- | src/WixToolset.Data/Symbols/WixFragmentSymbol.cs | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/WixToolset.Data/Symbols/WixFragmentSymbol.cs b/src/WixToolset.Data/Symbols/WixFragmentSymbol.cs new file mode 100644 index 00000000..9c31b79c --- /dev/null +++ b/src/WixToolset.Data/Symbols/WixFragmentSymbol.cs | |||
@@ -0,0 +1,36 @@ | |||
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 | using WixToolset.Data.Symbols; | ||
6 | |||
7 | public static partial class SymbolDefinitions | ||
8 | { | ||
9 | public static readonly IntermediateSymbolDefinition WixFragment = new IntermediateSymbolDefinition( | ||
10 | SymbolDefinitionType.WixFragment, | ||
11 | new IntermediateFieldDefinition[] | ||
12 | { | ||
13 | }, | ||
14 | typeof(WixFragmentSymbol)); | ||
15 | } | ||
16 | } | ||
17 | |||
18 | namespace WixToolset.Data.Symbols | ||
19 | { | ||
20 | public enum WixFragmentSymbolFields | ||
21 | { | ||
22 | } | ||
23 | |||
24 | public class WixFragmentSymbol : IntermediateSymbol | ||
25 | { | ||
26 | public WixFragmentSymbol() : base(SymbolDefinitions.WixFragment, null, null) | ||
27 | { | ||
28 | } | ||
29 | |||
30 | public WixFragmentSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixFragment, sourceLineNumber, id) | ||
31 | { | ||
32 | } | ||
33 | |||
34 | public IntermediateField this[WixFragmentSymbolFields index] => this.Fields[(int)index]; | ||
35 | } | ||
36 | } \ No newline at end of file | ||