aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/Preprocess/IfState.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Core/Preprocess/IfState.cs')
-rw-r--r--src/WixToolset.Core/Preprocess/IfState.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/WixToolset.Core/Preprocess/IfState.cs b/src/WixToolset.Core/Preprocess/IfState.cs
new file mode 100644
index 00000000..f5bb3e87
--- /dev/null
+++ b/src/WixToolset.Core/Preprocess/IfState.cs
@@ -0,0 +1,22 @@
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
3namespace WixToolset.Core.Preprocess
4{
5 /// <summary>
6 /// Current state of the if context.
7 /// </summary>
8 internal enum IfState
9 {
10 /// <summary>Context currently in unknown state.</summary>
11 Unknown,
12
13 /// <summary>Context currently inside if statement.</summary>
14 If,
15
16 /// <summary>Context currently inside elseif statement..</summary>
17 ElseIf,
18
19 /// <summary>Conext currently inside else statement.</summary>
20 Else,
21 }
22}