aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core.WindowsInstaller/WindowsInstallerBackendWarnings.cs
blob: d0986a4dd9e964791d6529a933f78678eb196bc8 (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
// 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.Core.WindowsInstaller
{
    using WixToolset.Data;

    internal static class WindowsInstallerBackendWarnings
    {
        //public static Message ReplaceThisWithTheFirstWarning(SourceLineNumber sourceLineNumbers)
        //{
        //    return Message(sourceLineNumbers, Ids.ReplaceThisWithTheFirstWarning, "format string", arg1, arg2);
        //}

        private static Message Message(SourceLineNumber sourceLineNumber, Ids id, string format, params object[] args)
        {
            return new Message(sourceLineNumber, MessageLevel.Warning, (int)id, format, args);
        }

        public enum Ids
        {
            // ReplaceThisWithTheFirstWarning = 7100,
        } // last available is 7499. 7500 is WindowsInstallerBackendErrors.
    }
}