Move suppress modularization to field since Id can create conflicts
Partially fixes wixtoolset/issues#5944
Rob Mensching committed
Feb 28, 2021 at 23:01 UTC
c0b3e09c76e4de4e81af9d41bb1170dd8bd20d6d
1 file changed
+9
-1
src/WixToolset.Data/Symbols/WixSuppressModularizationSymbol.cs
+9
-1
@@ -10,6 +10,7 @@ namespace WixToolset.Data
10
SymbolDefinitionType.WixSuppressModularization,
11
new IntermediateFieldDefinition[]
12
{
13
+ new IntermediateFieldDefinition(nameof(WixSuppressModularizationSymbolFields.SuppressIdentifier), IntermediateFieldType.String),
14
},
15
typeof(WixSuppressModularizationSymbol));
16
}
@@ -19,6 +20,7 @@ namespace WixToolset.Data.Symbols
20
{
21
public enum WixSuppressModularizationSymbolFields
22
{
23
+ SuppressIdentifier,
24
}
25
26
public class WixSuppressModularizationSymbol : IntermediateSymbol
@@ -31,6 +33,12 @@ namespace WixToolset.Data.Symbols
33
{
34
}
35
36
+ public string SuppressIdentifier
37
+ {
38
+ get => (string)this.Fields[(int)WixSuppressModularizationSymbolFields.SuppressIdentifier];
39
+ set => this.Set((int)WixSuppressModularizationSymbolFields.SuppressIdentifier, value);
40
+ }
41
+
42
public IntermediateField this[WixSuppressModularizationSymbolFields index] => this.Fields[(int)index];
43
}
36
-}
\ No newline at end of file
44
+}