Remove unused symbol `Version`.
Bob Arnson committed
Sep 10, 2023 at 22:52 UTC
e7656ce03e5412b3f12aec7ddd879b3ef771a065
10 files changed
-20
src/api/wix/WixToolset.Data/Symbols/SymbolDefinitions.cs
-2
@@ -205,8 +205,6 @@ namespace WixToolset.Data
205
206
public static partial class SymbolDefinitions
207
{
208
- public static readonly Version Version = new Version("4.0.0");
209
-
208
public static IntermediateSymbolDefinition ByName(string name)
209
{
210
if (!Enum.TryParse(name, out SymbolDefinitionType type) || type == SymbolDefinitionType.MustBeFromAnExtension)
src/ext/ComPlus/wixext/Symbols/ComPlusSymbolDefinitions.cs
-2
@@ -36,8 +36,6 @@ namespace WixToolset.ComPlus
36
37
public static partial class ComPlusSymbolDefinitions
38
{
39
- public static readonly Version Version = new Version("4.0.0");
40
-
39
public static IntermediateSymbolDefinition ByName(string name)
40
{
41
if (!Enum.TryParse(name, out ComPlusSymbolDefinitionType type))
src/ext/DifxApp/wixext/Symbols/DifxAppSymbolDefinitions.cs
-2
@@ -12,8 +12,6 @@ namespace WixToolset.DifxApp
12
13
public static partial class DifxAppSymbolDefinitions
14
{
15
- public static readonly Version Version = new Version("4.0.0");
16
-
15
public static IntermediateSymbolDefinition ByName(string name)
16
{
17
if (!Enum.TryParse(name, out DifxAppSymbolDefinitionType type))
src/ext/Firewall/wixext/Symbols/FirewallSymbolDefinitions.cs
-2
@@ -12,8 +12,6 @@ namespace WixToolset.Firewall
12
13
public static partial class FirewallSymbolDefinitions
14
{
15
- public static readonly Version Version = new Version("4.0.0");
16
-
15
public static IntermediateSymbolDefinition ByName(string name)
16
{
17
if (!Enum.TryParse(name, out FirewallSymbolDefinitionType type))
src/ext/Http/wixext/Symbols/HttpSymbolDefinitions.cs
-2
@@ -14,8 +14,6 @@ namespace WixToolset.Http
14
15
public static partial class HttpSymbolDefinitions
16
{
17
- public static readonly Version Version = new Version("4.0.0");
18
-
17
public static IntermediateSymbolDefinition ByName(string name)
18
{
19
if (!Enum.TryParse(name, out HttpSymbolDefinitionType type))
src/ext/Iis/wixext/Symbols/IisSymbolDefinitions.cs
-2
@@ -29,8 +29,6 @@ namespace WixToolset.Iis
29
30
public static partial class IisSymbolDefinitions
31
{
32
- public static readonly Version Version = new Version("4.0.0");
33
-
32
public static IntermediateSymbolDefinition ByName(string name)
33
{
34
if (!Enum.TryParse(name, out IisSymbolDefinitionType type))
src/ext/Msmq/wixext/Symbols/MsmqSymbolDefinitions.cs
-2
@@ -14,8 +14,6 @@ namespace WixToolset.Msmq
14
15
public static partial class MsmqSymbolDefinitions
16
{
17
- public static readonly Version Version = new Version("4.0.0");
18
-
17
public static IntermediateSymbolDefinition ByName(string name)
18
{
19
if (!Enum.TryParse(name, out MsmqSymbolDefinitionType type))
src/ext/NetFx/wixext/Symbols/NetfxSymbolDefinitions.cs
-2
@@ -17,8 +17,6 @@ namespace WixToolset.Netfx
17
18
public static partial class NetfxSymbolDefinitions
19
{
20
- public static readonly Version Version = new Version("4.0.0");
21
-
20
public static IntermediateSymbolDefinition ByName(string name)
21
{
22
if (!Enum.TryParse(name, out NetfxSymbolDefinitionType type))
src/ext/Sql/wixext/Symbols/SqlSymbolDefinitions.cs
-2
@@ -15,8 +15,6 @@ namespace WixToolset.Sql
15
16
public static partial class SqlSymbolDefinitions
17
{
18
- public static readonly Version Version = new Version("4.0.0");
19
-
18
public static IntermediateSymbolDefinition ByName(string name)
19
{
20
if (!Enum.TryParse(name, out SqlSymbolDefinitionType type))
src/internal/TablesAndTuples/Program.cs
-2
@@ -418,8 +418,6 @@ namespace TablesAndSymbols
418
"",
419
" public static partial class {3}SymbolDefinitions",
420
" {",
421
- " public static readonly Version Version = new Version(\"4.0.0\");",
422
- "",
421
" public static IntermediateSymbolDefinition ByName(string name)",
422
" {",
423
" if (!Enum.TryParse(name, out {3}SymbolDefinitionType type))",