Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused symbol Version. #455

Merged
merged 1 commit into from
Sep 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/api/wix/WixToolset.Data/Symbols/SymbolDefinitions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ public enum SymbolDefinitionType

public static partial class SymbolDefinitions
{
public static readonly Version Version = new Version("4.0.0");

public static IntermediateSymbolDefinition ByName(string name)
{
if (!Enum.TryParse(name, out SymbolDefinitionType type) || type == SymbolDefinitionType.MustBeFromAnExtension)
Expand Down
2 changes: 0 additions & 2 deletions src/ext/ComPlus/wixext/Symbols/ComPlusSymbolDefinitions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ public enum ComPlusSymbolDefinitionType

public static partial class ComPlusSymbolDefinitions
{
public static readonly Version Version = new Version("4.0.0");

public static IntermediateSymbolDefinition ByName(string name)
{
if (!Enum.TryParse(name, out ComPlusSymbolDefinitionType type))
Expand Down
2 changes: 0 additions & 2 deletions src/ext/DifxApp/wixext/Symbols/DifxAppSymbolDefinitions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ public enum DifxAppSymbolDefinitionType

public static partial class DifxAppSymbolDefinitions
{
public static readonly Version Version = new Version("4.0.0");

public static IntermediateSymbolDefinition ByName(string name)
{
if (!Enum.TryParse(name, out DifxAppSymbolDefinitionType type))
Expand Down
2 changes: 0 additions & 2 deletions src/ext/Firewall/wixext/Symbols/FirewallSymbolDefinitions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ public enum FirewallSymbolDefinitionType

public static partial class FirewallSymbolDefinitions
{
public static readonly Version Version = new Version("4.0.0");

public static IntermediateSymbolDefinition ByName(string name)
{
if (!Enum.TryParse(name, out FirewallSymbolDefinitionType type))
Expand Down
2 changes: 0 additions & 2 deletions src/ext/Http/wixext/Symbols/HttpSymbolDefinitions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ public enum HttpSymbolDefinitionType

public static partial class HttpSymbolDefinitions
{
public static readonly Version Version = new Version("4.0.0");

public static IntermediateSymbolDefinition ByName(string name)
{
if (!Enum.TryParse(name, out HttpSymbolDefinitionType type))
Expand Down
2 changes: 0 additions & 2 deletions src/ext/Iis/wixext/Symbols/IisSymbolDefinitions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ public enum IisSymbolDefinitionType

public static partial class IisSymbolDefinitions
{
public static readonly Version Version = new Version("4.0.0");

public static IntermediateSymbolDefinition ByName(string name)
{
if (!Enum.TryParse(name, out IisSymbolDefinitionType type))
Expand Down
2 changes: 0 additions & 2 deletions src/ext/Msmq/wixext/Symbols/MsmqSymbolDefinitions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ public enum MsmqSymbolDefinitionType

public static partial class MsmqSymbolDefinitions
{
public static readonly Version Version = new Version("4.0.0");

public static IntermediateSymbolDefinition ByName(string name)
{
if (!Enum.TryParse(name, out MsmqSymbolDefinitionType type))
Expand Down
2 changes: 0 additions & 2 deletions src/ext/NetFx/wixext/Symbols/NetfxSymbolDefinitions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ public enum NetfxSymbolDefinitionType

public static partial class NetfxSymbolDefinitions
{
public static readonly Version Version = new Version("4.0.0");

public static IntermediateSymbolDefinition ByName(string name)
{
if (!Enum.TryParse(name, out NetfxSymbolDefinitionType type))
Expand Down
2 changes: 0 additions & 2 deletions src/ext/Sql/wixext/Symbols/SqlSymbolDefinitions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ public enum SqlSymbolDefinitionType

public static partial class SqlSymbolDefinitions
{
public static readonly Version Version = new Version("4.0.0");

public static IntermediateSymbolDefinition ByName(string name)
{
if (!Enum.TryParse(name, out SqlSymbolDefinitionType type))
Expand Down
2 changes: 0 additions & 2 deletions src/internal/TablesAndTuples/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,6 @@ private static string SymbolNamesFileContent(string prefix, List<string> symbolN
"",
" public static partial class {3}SymbolDefinitions",
" {",
" public static readonly Version Version = new Version(\"4.0.0\");",
"",
" public static IntermediateSymbolDefinition ByName(string name)",
" {",
" if (!Enum.TryParse(name, out {3}SymbolDefinitionType type))",
Expand Down