aboutsummaryrefslogtreecommitdiff
path: root/src/wixext/Symbols/WixDetectSHA2SupportSymbol.cs
blob: b518ba3b6ea5574490d917f96e981ba781a97d39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// 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.

namespace WixToolset.Util
{
    using WixToolset.Data;
    using WixToolset.Util.Symbols;

    public static partial class UtilSymbolDefinitions
    {
        public static readonly IntermediateSymbolDefinition WixDetectSHA2Support = new IntermediateSymbolDefinition(
            UtilSymbolDefinitionType.WixDetectSHA2Support.ToString(),
            new IntermediateFieldDefinition[0],
            typeof(WixDetectSHA2SupportSymbol));
    }
}

namespace WixToolset.Util.Symbols
{
    using WixToolset.Data;

    public class WixDetectSHA2SupportSymbol : IntermediateSymbol
    {
        public WixDetectSHA2SupportSymbol() : base(UtilSymbolDefinitions.WixDetectSHA2Support, null, null)
        {
        }

        public WixDetectSHA2SupportSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilSymbolDefinitions.WixDetectSHA2Support, sourceLineNumber, id)
        {
        }

        public IntermediateField this[GroupSymbolFields index] => this.Fields[(int)index];
    }
}