diff options
author | Bob Arnson <bob@firegiant.com> | 2023-09-10 22:52:33 -0400 |
---|---|---|
committer | Bob Arnson <github@bobs.org> | 2023-09-12 17:16:14 -0400 |
commit | e7656ce03e5412b3f12aec7ddd879b3ef771a065 (patch) | |
tree | a53d2fc3dea9413900457c73d82bc9c37670207a | |
parent | f18d7e628361cd3f2ff14dd3326cbeea68df004f (diff) | |
download | wix-e7656ce03e5412b3f12aec7ddd879b3ef771a065.tar.gz wix-e7656ce03e5412b3f12aec7ddd879b3ef771a065.tar.bz2 wix-e7656ce03e5412b3f12aec7ddd879b3ef771a065.zip |
Remove unused symbol `Version`.
10 files changed, 0 insertions, 20 deletions
diff --git a/src/api/wix/WixToolset.Data/Symbols/SymbolDefinitions.cs b/src/api/wix/WixToolset.Data/Symbols/SymbolDefinitions.cs index 6df3109b..3b545a71 100644 --- a/src/api/wix/WixToolset.Data/Symbols/SymbolDefinitions.cs +++ b/src/api/wix/WixToolset.Data/Symbols/SymbolDefinitions.cs | |||
@@ -205,8 +205,6 @@ namespace WixToolset.Data | |||
205 | 205 | ||
206 | public static partial class SymbolDefinitions | 206 | public static partial class SymbolDefinitions |
207 | { | 207 | { |
208 | public static readonly Version Version = new Version("4.0.0"); | ||
209 | |||
210 | public static IntermediateSymbolDefinition ByName(string name) | 208 | public static IntermediateSymbolDefinition ByName(string name) |
211 | { | 209 | { |
212 | if (!Enum.TryParse(name, out SymbolDefinitionType type) || type == SymbolDefinitionType.MustBeFromAnExtension) | 210 | if (!Enum.TryParse(name, out SymbolDefinitionType type) || type == SymbolDefinitionType.MustBeFromAnExtension) |
diff --git a/src/ext/ComPlus/wixext/Symbols/ComPlusSymbolDefinitions.cs b/src/ext/ComPlus/wixext/Symbols/ComPlusSymbolDefinitions.cs index 407b9c14..fcc7e405 100644 --- a/src/ext/ComPlus/wixext/Symbols/ComPlusSymbolDefinitions.cs +++ b/src/ext/ComPlus/wixext/Symbols/ComPlusSymbolDefinitions.cs | |||
@@ -36,8 +36,6 @@ namespace WixToolset.ComPlus | |||
36 | 36 | ||
37 | public static partial class ComPlusSymbolDefinitions | 37 | public static partial class ComPlusSymbolDefinitions |
38 | { | 38 | { |
39 | public static readonly Version Version = new Version("4.0.0"); | ||
40 | |||
41 | public static IntermediateSymbolDefinition ByName(string name) | 39 | public static IntermediateSymbolDefinition ByName(string name) |
42 | { | 40 | { |
43 | if (!Enum.TryParse(name, out ComPlusSymbolDefinitionType type)) | 41 | if (!Enum.TryParse(name, out ComPlusSymbolDefinitionType type)) |
diff --git a/src/ext/DifxApp/wixext/Symbols/DifxAppSymbolDefinitions.cs b/src/ext/DifxApp/wixext/Symbols/DifxAppSymbolDefinitions.cs index 76f4d88f..c1f9673a 100644 --- a/src/ext/DifxApp/wixext/Symbols/DifxAppSymbolDefinitions.cs +++ b/src/ext/DifxApp/wixext/Symbols/DifxAppSymbolDefinitions.cs | |||
@@ -12,8 +12,6 @@ namespace WixToolset.DifxApp | |||
12 | 12 | ||
13 | public static partial class DifxAppSymbolDefinitions | 13 | public static partial class DifxAppSymbolDefinitions |
14 | { | 14 | { |
15 | public static readonly Version Version = new Version("4.0.0"); | ||
16 | |||
17 | public static IntermediateSymbolDefinition ByName(string name) | 15 | public static IntermediateSymbolDefinition ByName(string name) |
18 | { | 16 | { |
19 | if (!Enum.TryParse(name, out DifxAppSymbolDefinitionType type)) | 17 | if (!Enum.TryParse(name, out DifxAppSymbolDefinitionType type)) |
diff --git a/src/ext/Firewall/wixext/Symbols/FirewallSymbolDefinitions.cs b/src/ext/Firewall/wixext/Symbols/FirewallSymbolDefinitions.cs index 887893c7..14332f39 100644 --- a/src/ext/Firewall/wixext/Symbols/FirewallSymbolDefinitions.cs +++ b/src/ext/Firewall/wixext/Symbols/FirewallSymbolDefinitions.cs | |||
@@ -12,8 +12,6 @@ namespace WixToolset.Firewall | |||
12 | 12 | ||
13 | public static partial class FirewallSymbolDefinitions | 13 | public static partial class FirewallSymbolDefinitions |
14 | { | 14 | { |
15 | public static readonly Version Version = new Version("4.0.0"); | ||
16 | |||
17 | public static IntermediateSymbolDefinition ByName(string name) | 15 | public static IntermediateSymbolDefinition ByName(string name) |
18 | { | 16 | { |
19 | if (!Enum.TryParse(name, out FirewallSymbolDefinitionType type)) | 17 | if (!Enum.TryParse(name, out FirewallSymbolDefinitionType type)) |
diff --git a/src/ext/Http/wixext/Symbols/HttpSymbolDefinitions.cs b/src/ext/Http/wixext/Symbols/HttpSymbolDefinitions.cs index 2aa03468..ff46ce3b 100644 --- a/src/ext/Http/wixext/Symbols/HttpSymbolDefinitions.cs +++ b/src/ext/Http/wixext/Symbols/HttpSymbolDefinitions.cs | |||
@@ -14,8 +14,6 @@ namespace WixToolset.Http | |||
14 | 14 | ||
15 | public static partial class HttpSymbolDefinitions | 15 | public static partial class HttpSymbolDefinitions |
16 | { | 16 | { |
17 | public static readonly Version Version = new Version("4.0.0"); | ||
18 | |||
19 | public static IntermediateSymbolDefinition ByName(string name) | 17 | public static IntermediateSymbolDefinition ByName(string name) |
20 | { | 18 | { |
21 | if (!Enum.TryParse(name, out HttpSymbolDefinitionType type)) | 19 | if (!Enum.TryParse(name, out HttpSymbolDefinitionType type)) |
diff --git a/src/ext/Iis/wixext/Symbols/IisSymbolDefinitions.cs b/src/ext/Iis/wixext/Symbols/IisSymbolDefinitions.cs index d6ed80a2..549b4ff3 100644 --- a/src/ext/Iis/wixext/Symbols/IisSymbolDefinitions.cs +++ b/src/ext/Iis/wixext/Symbols/IisSymbolDefinitions.cs | |||
@@ -29,8 +29,6 @@ namespace WixToolset.Iis | |||
29 | 29 | ||
30 | public static partial class IisSymbolDefinitions | 30 | public static partial class IisSymbolDefinitions |
31 | { | 31 | { |
32 | public static readonly Version Version = new Version("4.0.0"); | ||
33 | |||
34 | public static IntermediateSymbolDefinition ByName(string name) | 32 | public static IntermediateSymbolDefinition ByName(string name) |
35 | { | 33 | { |
36 | if (!Enum.TryParse(name, out IisSymbolDefinitionType type)) | 34 | if (!Enum.TryParse(name, out IisSymbolDefinitionType type)) |
diff --git a/src/ext/Msmq/wixext/Symbols/MsmqSymbolDefinitions.cs b/src/ext/Msmq/wixext/Symbols/MsmqSymbolDefinitions.cs index 229417fe..0936bebc 100644 --- a/src/ext/Msmq/wixext/Symbols/MsmqSymbolDefinitions.cs +++ b/src/ext/Msmq/wixext/Symbols/MsmqSymbolDefinitions.cs | |||
@@ -14,8 +14,6 @@ namespace WixToolset.Msmq | |||
14 | 14 | ||
15 | public static partial class MsmqSymbolDefinitions | 15 | public static partial class MsmqSymbolDefinitions |
16 | { | 16 | { |
17 | public static readonly Version Version = new Version("4.0.0"); | ||
18 | |||
19 | public static IntermediateSymbolDefinition ByName(string name) | 17 | public static IntermediateSymbolDefinition ByName(string name) |
20 | { | 18 | { |
21 | if (!Enum.TryParse(name, out MsmqSymbolDefinitionType type)) | 19 | if (!Enum.TryParse(name, out MsmqSymbolDefinitionType type)) |
diff --git a/src/ext/NetFx/wixext/Symbols/NetfxSymbolDefinitions.cs b/src/ext/NetFx/wixext/Symbols/NetfxSymbolDefinitions.cs index 1db4f647..6371a951 100644 --- a/src/ext/NetFx/wixext/Symbols/NetfxSymbolDefinitions.cs +++ b/src/ext/NetFx/wixext/Symbols/NetfxSymbolDefinitions.cs | |||
@@ -17,8 +17,6 @@ namespace WixToolset.Netfx | |||
17 | 17 | ||
18 | public static partial class NetfxSymbolDefinitions | 18 | public static partial class NetfxSymbolDefinitions |
19 | { | 19 | { |
20 | public static readonly Version Version = new Version("4.0.0"); | ||
21 | |||
22 | public static IntermediateSymbolDefinition ByName(string name) | 20 | public static IntermediateSymbolDefinition ByName(string name) |
23 | { | 21 | { |
24 | if (!Enum.TryParse(name, out NetfxSymbolDefinitionType type)) | 22 | if (!Enum.TryParse(name, out NetfxSymbolDefinitionType type)) |
diff --git a/src/ext/Sql/wixext/Symbols/SqlSymbolDefinitions.cs b/src/ext/Sql/wixext/Symbols/SqlSymbolDefinitions.cs index 336f1546..3ddacb83 100644 --- a/src/ext/Sql/wixext/Symbols/SqlSymbolDefinitions.cs +++ b/src/ext/Sql/wixext/Symbols/SqlSymbolDefinitions.cs | |||
@@ -15,8 +15,6 @@ namespace WixToolset.Sql | |||
15 | 15 | ||
16 | public static partial class SqlSymbolDefinitions | 16 | public static partial class SqlSymbolDefinitions |
17 | { | 17 | { |
18 | public static readonly Version Version = new Version("4.0.0"); | ||
19 | |||
20 | public static IntermediateSymbolDefinition ByName(string name) | 18 | public static IntermediateSymbolDefinition ByName(string name) |
21 | { | 19 | { |
22 | if (!Enum.TryParse(name, out SqlSymbolDefinitionType type)) | 20 | if (!Enum.TryParse(name, out SqlSymbolDefinitionType type)) |
diff --git a/src/internal/TablesAndTuples/Program.cs b/src/internal/TablesAndTuples/Program.cs index 634acf9d..1bc440ca 100644 --- a/src/internal/TablesAndTuples/Program.cs +++ b/src/internal/TablesAndTuples/Program.cs | |||
@@ -418,8 +418,6 @@ namespace TablesAndSymbols | |||
418 | "", | 418 | "", |
419 | " public static partial class {3}SymbolDefinitions", | 419 | " public static partial class {3}SymbolDefinitions", |
420 | " {", | 420 | " {", |
421 | " public static readonly Version Version = new Version(\"4.0.0\");", | ||
422 | "", | ||
423 | " public static IntermediateSymbolDefinition ByName(string name)", | 421 | " public static IntermediateSymbolDefinition ByName(string name)", |
424 | " {", | 422 | " {", |
425 | " if (!Enum.TryParse(name, out {3}SymbolDefinitionType type))", | 423 | " if (!Enum.TryParse(name, out {3}SymbolDefinitionType type))", |