aboutsummaryrefslogtreecommitdiff
path: root/src/wixext/Tuples/NetFxNativeImageTuple.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixext/Tuples/NetFxNativeImageTuple.cs')
-rw-r--r--src/wixext/Tuples/NetFxNativeImageTuple.cs32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/wixext/Tuples/NetFxNativeImageTuple.cs b/src/wixext/Tuples/NetFxNativeImageTuple.cs
index 51211f75..3803abd6 100644
--- a/src/wixext/Tuples/NetFxNativeImageTuple.cs
+++ b/src/wixext/Tuples/NetFxNativeImageTuple.cs
@@ -1,10 +1,10 @@
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. 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 2
3namespace WixToolset.Netfx.Tuples 3namespace WixToolset.Netfx.Symbols
4{ 4{
5 using WixToolset.Data; 5 using WixToolset.Data;
6 6
7 public enum NetFxNativeImageTupleFields 7 public enum NetFxNativeImageSymbolFields
8 { 8 {
9 FileRef, 9 FileRef,
10 Priority, 10 Priority,
@@ -13,46 +13,46 @@ namespace WixToolset.Netfx.Tuples
13 ApplicationBaseDirectoryRef, 13 ApplicationBaseDirectoryRef,
14 } 14 }
15 15
16 public class NetFxNativeImageTuple : IntermediateTuple 16 public class NetFxNativeImageSymbol : IntermediateSymbol
17 { 17 {
18 public NetFxNativeImageTuple() : base(NetfxTupleDefinitions.NetFxNativeImage, null, null) 18 public NetFxNativeImageSymbol() : base(NetfxSymbolDefinitions.NetFxNativeImage, null, null)
19 { 19 {
20 } 20 }
21 21
22 public NetFxNativeImageTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(NetfxTupleDefinitions.NetFxNativeImage, sourceLineNumber, id) 22 public NetFxNativeImageSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(NetfxSymbolDefinitions.NetFxNativeImage, sourceLineNumber, id)
23 { 23 {
24 } 24 }
25 25
26 public IntermediateField this[NetFxNativeImageTupleFields index] => this.Fields[(int)index]; 26 public IntermediateField this[NetFxNativeImageSymbolFields index] => this.Fields[(int)index];
27 27
28 public string FileRef 28 public string FileRef
29 { 29 {
30 get => this.Fields[(int)NetFxNativeImageTupleFields.FileRef].AsString(); 30 get => this.Fields[(int)NetFxNativeImageSymbolFields.FileRef].AsString();
31 set => this.Set((int)NetFxNativeImageTupleFields.FileRef, value); 31 set => this.Set((int)NetFxNativeImageSymbolFields.FileRef, value);
32 } 32 }
33 33
34 public int Priority 34 public int Priority
35 { 35 {
36 get => this.Fields[(int)NetFxNativeImageTupleFields.Priority].AsNumber(); 36 get => this.Fields[(int)NetFxNativeImageSymbolFields.Priority].AsNumber();
37 set => this.Set((int)NetFxNativeImageTupleFields.Priority, value); 37 set => this.Set((int)NetFxNativeImageSymbolFields.Priority, value);
38 } 38 }
39 39
40 public int Attributes 40 public int Attributes
41 { 41 {
42 get => this.Fields[(int)NetFxNativeImageTupleFields.Attributes].AsNumber(); 42 get => this.Fields[(int)NetFxNativeImageSymbolFields.Attributes].AsNumber();
43 set => this.Set((int)NetFxNativeImageTupleFields.Attributes, value); 43 set => this.Set((int)NetFxNativeImageSymbolFields.Attributes, value);
44 } 44 }
45 45
46 public string ApplicationFileRef 46 public string ApplicationFileRef
47 { 47 {
48 get => this.Fields[(int)NetFxNativeImageTupleFields.ApplicationFileRef].AsString(); 48 get => this.Fields[(int)NetFxNativeImageSymbolFields.ApplicationFileRef].AsString();
49 set => this.Set((int)NetFxNativeImageTupleFields.ApplicationFileRef, value); 49 set => this.Set((int)NetFxNativeImageSymbolFields.ApplicationFileRef, value);
50 } 50 }
51 51
52 public string ApplicationBaseDirectoryRef 52 public string ApplicationBaseDirectoryRef
53 { 53 {
54 get => this.Fields[(int)NetFxNativeImageTupleFields.ApplicationBaseDirectoryRef].AsString(); 54 get => this.Fields[(int)NetFxNativeImageSymbolFields.ApplicationBaseDirectoryRef].AsString();
55 set => this.Set((int)NetFxNativeImageTupleFields.ApplicationBaseDirectoryRef, value); 55 set => this.Set((int)NetFxNativeImageSymbolFields.ApplicationBaseDirectoryRef, value);
56 } 56 }
57 } 57 }
58} \ No newline at end of file 58} \ No newline at end of file