diff options
author | nosami <jasonimison@gmail.com> | 2022-10-21 15:26:32 +0300 |
---|---|---|
committer | nosami <jasonimison@gmail.com> | 2022-10-25 13:44:29 +0300 |
commit | fe65918fe851643a9291f850f387359aa8e2cb0b (patch) | |
tree | bcea71071014acc0f244ad42db5c795462639a7f | |
parent | a4ef543d0d8eeb8339b3ce22e5598be0f5b740e1 (diff) |
Remove dead code
-rw-r--r-- | Mono.Debugging/Mono.Debugging.Evaluation/NRefactoryExpressionEvaluatorVisitor.cs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/Mono.Debugging/Mono.Debugging.Evaluation/NRefactoryExpressionEvaluatorVisitor.cs b/Mono.Debugging/Mono.Debugging.Evaluation/NRefactoryExpressionEvaluatorVisitor.cs index 7470e43..5d4c750 100644 --- a/Mono.Debugging/Mono.Debugging.Evaluation/NRefactoryExpressionEvaluatorVisitor.cs +++ b/Mono.Debugging/Mono.Debugging.Evaluation/NRefactoryExpressionEvaluatorVisitor.cs @@ -1277,26 +1277,6 @@ namespace Mono.Debugging.Evaluation return new TypeValueReference(ctx, type1); } - private string GetNullableKind(PredefinedTypeSyntax type) - { - switch (type.Keyword.Kind()) { - case SyntaxKind.BoolKeyword: return "System.Nullable<System.Boolean>"; - case SyntaxKind.SByteKeyword: return "System.Nullable<System.SByte>"; - case SyntaxKind.ByteKeyword: return "System.Nullable<System.Byte>"; - case SyntaxKind.CharKeyword: return "System.Nullable<System.Char>"; - case SyntaxKind.ShortKeyword: return "System.Nullable<System.Int16>"; - case SyntaxKind.UShortKeyword: return "System.Nullable<System.UInt16>"; - case SyntaxKind.IntKeyword: return "System.Nullable<System.Int32>"; - case SyntaxKind.UIntKeyword: return "System.Nullable<System.UInt32>"; - case SyntaxKind.LongKeyword: return "System.Nullable<System.Int64>"; - case SyntaxKind.ULongKeyword: return "System.Nullable<System.UInt64>"; - case SyntaxKind.FloatKeyword: return "System.Nullable<System.Single>"; - case SyntaxKind.DoubleKeyword: return "System.Nullable<System.Double>"; - case SyntaxKind.DecimalKeyword: return "System.Nullable<System.Decimal>"; - default: return null; - } - } - public override ValueReference VisitGenericName (GenericNameSyntax node) { var type = node.Resolve(ctx); |