From 32ea029bb09dbebca49563b78cc02205cb6075f1 Mon Sep 17 00:00:00 2001 From: Josef Pihrt Date: Wed, 1 Nov 2023 12:47:23 +0100 Subject: [PATCH] Update 'dev' snippets (#73) --- .../Dev/AutoGeneration/NewArrayOfT.snippet | 35 ---------------- .../Dev/BreakStatement.snippet | 2 +- .../Dev/ContinueStatement.snippet | 15 ------- ...l.snippet => DebugAssertIsNotNull.snippet} | 0 ...Null.snippet => DebugAssertIsNull.snippet} | 19 ++++++--- .../Dev/IfEnumTryParse.snippet | 40 ------------------- .../Dev/IfEqualToNullReturn.snippet | 23 ----------- .../Dev/IfEqualToNullReturnDefault.snippet | 23 ----------- .../Dev/IfEqualToNullReturnFalse.snippet | 23 ----------- .../Dev/IfEqualToNullReturnTrue.snippet | 23 ----------- .../Dev/IfNotEnumTryParse.snippet | 40 ------------------- .../Dev/IfNotEqualToNullReturn.snippet | 23 ----------- .../Dev/IfNotEqualToNullReturnDefault.snippet | 23 ----------- .../Dev/IfNotEqualToNullReturnFalse.snippet | 23 ----------- .../Dev/IfNotEqualToNullReturnNull.snippet | 23 ----------- .../Dev/IfNotEqualToNullReturnTrue.snippet | 23 ----------- .../Snippetica.CSharp/Dev/IfNotReturn.snippet | 23 ----------- .../Dev/IfNotReturnDefault.snippet | 23 ----------- .../Dev/IfNotReturnFalse.snippet | 23 ----------- .../Dev/IfNotReturnNull.snippet | 23 ----------- .../Dev/IfNotReturnTrue.snippet | 23 ----------- .../Snippetica.CSharp/Dev/IfReturn.snippet | 23 ----------- .../Dev/IfReturnDefault.snippet | 23 ----------- .../Dev/IfReturnFalse.snippet | 23 ----------- .../Dev/IfReturnNull.snippet | 23 ----------- .../Dev/IfReturnTrue.snippet | 23 ----------- .../Dev/OverrideModifier.snippet | 2 +- .../Dev/IfEnumTryParse.snippet | 40 ------------------- .../Dev/IfNotEnumTryParse.snippet | 40 ------------------- 29 files changed, 16 insertions(+), 654 deletions(-) delete mode 100644 src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/AutoGeneration/NewArrayOfT.snippet delete mode 100644 src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/ContinueStatement.snippet rename src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/{DebugAssertNotNull.snippet => DebugAssertIsNotNull.snippet} (100%) rename src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/{IfEqualToNullReturnNull.snippet => DebugAssertIsNull.snippet} (51%) delete mode 100644 src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfEnumTryParse.snippet delete mode 100644 src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfEqualToNullReturn.snippet delete mode 100644 src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfEqualToNullReturnDefault.snippet delete mode 100644 src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfEqualToNullReturnFalse.snippet delete mode 100644 src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfEqualToNullReturnTrue.snippet delete mode 100644 src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotEnumTryParse.snippet delete mode 100644 src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotEqualToNullReturn.snippet delete mode 100644 src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotEqualToNullReturnDefault.snippet delete mode 100644 src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotEqualToNullReturnFalse.snippet delete mode 100644 src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotEqualToNullReturnNull.snippet delete mode 100644 src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotEqualToNullReturnTrue.snippet delete mode 100644 src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotReturn.snippet delete mode 100644 src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotReturnDefault.snippet delete mode 100644 src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotReturnFalse.snippet delete mode 100644 src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotReturnNull.snippet delete mode 100644 src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotReturnTrue.snippet delete mode 100644 src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfReturn.snippet delete mode 100644 src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfReturnDefault.snippet delete mode 100644 src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfReturnFalse.snippet delete mode 100644 src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfReturnNull.snippet delete mode 100644 src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfReturnTrue.snippet delete mode 100644 src/Snippetica.CodeGeneration.Metadata/Snippetica.VisualBasic/Dev/IfEnumTryParse.snippet delete mode 100644 src/Snippetica.CodeGeneration.Metadata/Snippetica.VisualBasic/Dev/IfNotEnumTryParse.snippet diff --git a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/AutoGeneration/NewArrayOfT.snippet b/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/AutoGeneration/NewArrayOfT.snippet deleted file mode 100644 index e0ca40d5..00000000 --- a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/AutoGeneration/NewArrayOfT.snippet +++ /dev/null @@ -1,35 +0,0 @@ - - -
- new array @ofType@ - na - new array @ofType@ - Josef Pihrt - - Expansion - - - Meta-Array - Meta-GenerateInitializer - -
- - - - _arrayLength - Array length - 0 - - - _initializer - Initializer - - - type - Element type name - string - - - - -
\ No newline at end of file diff --git a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/BreakStatement.snippet b/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/BreakStatement.snippet index c2df8efa..b75eb650 100644 --- a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/BreakStatement.snippet +++ b/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/BreakStatement.snippet @@ -2,7 +2,7 @@
break statement - bk + br break statement Josef Pihrt diff --git a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/ContinueStatement.snippet b/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/ContinueStatement.snippet deleted file mode 100644 index dfafd6b7..00000000 --- a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/ContinueStatement.snippet +++ /dev/null @@ -1,15 +0,0 @@ - - -
- continue statement - ce - continue statement - Josef Pihrt - - Expansion - -
- - - -
\ No newline at end of file diff --git a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/DebugAssertNotNull.snippet b/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/DebugAssertIsNotNull.snippet similarity index 100% rename from src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/DebugAssertNotNull.snippet rename to src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/DebugAssertIsNotNull.snippet diff --git a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfEqualToNullReturnNull.snippet b/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/DebugAssertIsNull.snippet similarity index 51% rename from src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfEqualToNullReturnNull.snippet rename to src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/DebugAssertIsNull.snippet index d483d4d4..7c16b321 100644 --- a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfEqualToNullReturnNull.snippet +++ b/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/DebugAssertIsNull.snippet @@ -1,23 +1,32 @@ 
- if equal to null return null - ifnren - if equal to null return null + Debug.Assert is null + dan + Debug.Assert method with condition whether the expression is equal to null Josef Pihrt Expansion
+ + + System.Diagnostics + + expression Expression to evaluate x + + message + The message text + "" + - +
\ No newline at end of file diff --git a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfEnumTryParse.snippet b/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfEnumTryParse.snippet deleted file mode 100644 index edcf07cd..00000000 --- a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfEnumTryParse.snippet +++ /dev/null @@ -1,40 +0,0 @@ - - -
- if Enum.TryParse - ifentp - if statement with condition whether Enum.TryParse method returns true. - Josef Pihrt - - Expansion - -
- - - - System - - - - - result - The result - result - - - type - The type of the value to parse - TEnum - - - value - The value to parse - value - - - - -
\ No newline at end of file diff --git a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfEqualToNullReturn.snippet b/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfEqualToNullReturn.snippet deleted file mode 100644 index 61945e35..00000000 --- a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfEqualToNullReturn.snippet +++ /dev/null @@ -1,23 +0,0 @@ - - -
- if equal to null return - ifnre - if equal to null return - Josef Pihrt - - Expansion - -
- - - - expression - Expression to evaluate - x - - - - -
\ No newline at end of file diff --git a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfEqualToNullReturnDefault.snippet b/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfEqualToNullReturnDefault.snippet deleted file mode 100644 index f7f63e82..00000000 --- a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfEqualToNullReturnDefault.snippet +++ /dev/null @@ -1,23 +0,0 @@ - - -
- if equal to null return default - ifnred - if equal to null return default - Josef Pihrt - - Expansion - -
- - - - expression - Expression to evaluate - x - - - - -
\ No newline at end of file diff --git a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfEqualToNullReturnFalse.snippet b/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfEqualToNullReturnFalse.snippet deleted file mode 100644 index e6f59852..00000000 --- a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfEqualToNullReturnFalse.snippet +++ /dev/null @@ -1,23 +0,0 @@ - - -
- if equal to null return false - ifnref - if equal to null return false - Josef Pihrt - - Expansion - -
- - - - expression - Expression to evaluate - x - - - - -
\ No newline at end of file diff --git a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfEqualToNullReturnTrue.snippet b/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfEqualToNullReturnTrue.snippet deleted file mode 100644 index 67e75196..00000000 --- a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfEqualToNullReturnTrue.snippet +++ /dev/null @@ -1,23 +0,0 @@ - - -
- if equal to null return true - ifnret - if equal to null return true - Josef Pihrt - - Expansion - -
- - - - expression - Expression to evaluate - x - - - - -
\ No newline at end of file diff --git a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotEnumTryParse.snippet b/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotEnumTryParse.snippet deleted file mode 100644 index 66b0b07b..00000000 --- a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotEnumTryParse.snippet +++ /dev/null @@ -1,40 +0,0 @@ - - -
- if not Enum.TryParse - ifxentp - if statement with condition whether Enum.TryParse method returns false. - Josef Pihrt - - Expansion - -
- - - - System - - - - - result - The result - result - - - type - The type of the value to parse - TEnum - - - value - The value to parse - value - - - - -
\ No newline at end of file diff --git a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotEqualToNullReturn.snippet b/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotEqualToNullReturn.snippet deleted file mode 100644 index 3fbb9643..00000000 --- a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotEqualToNullReturn.snippet +++ /dev/null @@ -1,23 +0,0 @@ - - -
- if not equal to null return - ifxnre - if not equal to null return - Josef Pihrt - - Expansion - -
- - - - expression - Expression to evaluate - x - - - - -
\ No newline at end of file diff --git a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotEqualToNullReturnDefault.snippet b/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotEqualToNullReturnDefault.snippet deleted file mode 100644 index 74726584..00000000 --- a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotEqualToNullReturnDefault.snippet +++ /dev/null @@ -1,23 +0,0 @@ - - -
- if not equal to null return default - ifxnred - if not equal to null return default - Josef Pihrt - - Expansion - -
- - - - expression - Expression to evaluate - x - - - - -
\ No newline at end of file diff --git a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotEqualToNullReturnFalse.snippet b/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotEqualToNullReturnFalse.snippet deleted file mode 100644 index 0cbc74f9..00000000 --- a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotEqualToNullReturnFalse.snippet +++ /dev/null @@ -1,23 +0,0 @@ - - -
- if not equal to null return false - ifxnref - if not equal to null return false - Josef Pihrt - - Expansion - -
- - - - expression - Expression to evaluate - x - - - - -
\ No newline at end of file diff --git a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotEqualToNullReturnNull.snippet b/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotEqualToNullReturnNull.snippet deleted file mode 100644 index 49aecf54..00000000 --- a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotEqualToNullReturnNull.snippet +++ /dev/null @@ -1,23 +0,0 @@ - - -
- if not equal to null return null - ifxnren - if not equal to null return null - Josef Pihrt - - Expansion - -
- - - - expression - Expression to evaluate - x - - - - -
\ No newline at end of file diff --git a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotEqualToNullReturnTrue.snippet b/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotEqualToNullReturnTrue.snippet deleted file mode 100644 index ab0f144d..00000000 --- a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotEqualToNullReturnTrue.snippet +++ /dev/null @@ -1,23 +0,0 @@ - - -
- if not equal to null return true - ifxnret - if not equal to null return true - Josef Pihrt - - Expansion - -
- - - - expression - Expression to evaluate - x - - - - -
\ No newline at end of file diff --git a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotReturn.snippet b/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotReturn.snippet deleted file mode 100644 index 076d39ed..00000000 --- a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotReturn.snippet +++ /dev/null @@ -1,23 +0,0 @@ - - -
- if not return - ifxre - if not return - Josef Pihrt - - Expansion - -
- - - - expression - Expression to evaluate - x - - - - -
\ No newline at end of file diff --git a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotReturnDefault.snippet b/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotReturnDefault.snippet deleted file mode 100644 index 15bd59e5..00000000 --- a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotReturnDefault.snippet +++ /dev/null @@ -1,23 +0,0 @@ - - -
- if not return default - ifxred - if not return default - Josef Pihrt - - Expansion - -
- - - - expression - Expression to evaluate - x - - - - -
\ No newline at end of file diff --git a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotReturnFalse.snippet b/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotReturnFalse.snippet deleted file mode 100644 index 0445b670..00000000 --- a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotReturnFalse.snippet +++ /dev/null @@ -1,23 +0,0 @@ - - -
- if not return false - ifxref - if not return false - Josef Pihrt - - Expansion - -
- - - - expression - Expression to evaluate - x - - - - -
\ No newline at end of file diff --git a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotReturnNull.snippet b/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotReturnNull.snippet deleted file mode 100644 index 815ada98..00000000 --- a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotReturnNull.snippet +++ /dev/null @@ -1,23 +0,0 @@ - - -
- if not return null - ifxren - if not return null - Josef Pihrt - - Expansion - -
- - - - expression - Expression to evaluate - x - - - - -
\ No newline at end of file diff --git a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotReturnTrue.snippet b/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotReturnTrue.snippet deleted file mode 100644 index 74bb40b4..00000000 --- a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfNotReturnTrue.snippet +++ /dev/null @@ -1,23 +0,0 @@ - - -
- if not return true - ifxret - if not return true - Josef Pihrt - - Expansion - -
- - - - expression - Expression to evaluate - x - - - - -
\ No newline at end of file diff --git a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfReturn.snippet b/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfReturn.snippet deleted file mode 100644 index 750c8698..00000000 --- a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfReturn.snippet +++ /dev/null @@ -1,23 +0,0 @@ - - -
- if return - ifre - if return - Josef Pihrt - - Expansion - -
- - - - expression - Expression to evaluate - true - - - - -
\ No newline at end of file diff --git a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfReturnDefault.snippet b/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfReturnDefault.snippet deleted file mode 100644 index 48aec1a5..00000000 --- a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfReturnDefault.snippet +++ /dev/null @@ -1,23 +0,0 @@ - - -
- if return default - ifred - if return default - Josef Pihrt - - Expansion - -
- - - - expression - Expression to evaluate - true - - - - -
\ No newline at end of file diff --git a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfReturnFalse.snippet b/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfReturnFalse.snippet deleted file mode 100644 index cfd4db5c..00000000 --- a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfReturnFalse.snippet +++ /dev/null @@ -1,23 +0,0 @@ - - -
- if return false - ifref - if return false - Josef Pihrt - - Expansion - -
- - - - expression - Expression to evaluate - true - - - - -
\ No newline at end of file diff --git a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfReturnNull.snippet b/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfReturnNull.snippet deleted file mode 100644 index 6f8f9aa7..00000000 --- a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfReturnNull.snippet +++ /dev/null @@ -1,23 +0,0 @@ - - -
- if return null - ifren - if return null - Josef Pihrt - - Expansion - -
- - - - expression - Expression to evaluate - true - - - - -
\ No newline at end of file diff --git a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfReturnTrue.snippet b/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfReturnTrue.snippet deleted file mode 100644 index 394dee50..00000000 --- a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/IfReturnTrue.snippet +++ /dev/null @@ -1,23 +0,0 @@ - - -
- if return true - ifret - if return true - Josef Pihrt - - Expansion - -
- - - - expression - Expression to evaluate - true - - - - -
\ No newline at end of file diff --git a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/OverrideModifier.snippet b/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/OverrideModifier.snippet index bd492e2a..d32b44c2 100644 --- a/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/OverrideModifier.snippet +++ b/src/Snippetica.CodeGeneration.Metadata/Snippetica.CSharp/Dev/OverrideModifier.snippet @@ -2,7 +2,7 @@
override modifier - oe + ov override modifier Josef Pihrt diff --git a/src/Snippetica.CodeGeneration.Metadata/Snippetica.VisualBasic/Dev/IfEnumTryParse.snippet b/src/Snippetica.CodeGeneration.Metadata/Snippetica.VisualBasic/Dev/IfEnumTryParse.snippet deleted file mode 100644 index d46894a2..00000000 --- a/src/Snippetica.CodeGeneration.Metadata/Snippetica.VisualBasic/Dev/IfEnumTryParse.snippet +++ /dev/null @@ -1,40 +0,0 @@ - - -
- if Enum.TryParse - ifentp - if statement with condition whether Enum.TryParse method returns true. - Josef Pihrt - - Expansion - -
- - - - System - - - - - result - The result - result - - - type - The type of the value to parse - TEnum - - - value - The value to parse - value - - - - -
\ No newline at end of file diff --git a/src/Snippetica.CodeGeneration.Metadata/Snippetica.VisualBasic/Dev/IfNotEnumTryParse.snippet b/src/Snippetica.CodeGeneration.Metadata/Snippetica.VisualBasic/Dev/IfNotEnumTryParse.snippet deleted file mode 100644 index fa90d8c8..00000000 --- a/src/Snippetica.CodeGeneration.Metadata/Snippetica.VisualBasic/Dev/IfNotEnumTryParse.snippet +++ /dev/null @@ -1,40 +0,0 @@ - - -
- if not Enum.TryParse - ifxentp - if statement with condition whether Enum.TryParse method returns false. - Josef Pihrt - - Expansion - -
- - - - System - - - - - result - The result - result - - - type - The type of the value to parse - TEnum - - - value - The value to parse - value - - - - -
\ No newline at end of file