From fe65918fe851643a9291f850f387359aa8e2cb0b Mon Sep 17 00:00:00 2001 From: nosami Date: Fri, 21 Oct 2022 13:26:32 +0100 Subject: Remove dead code --- .../NRefactoryExpressionEvaluatorVisitor.cs | 20 -------------------- 1 file changed, 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"; - case SyntaxKind.SByteKeyword: return "System.Nullable"; - case SyntaxKind.ByteKeyword: return "System.Nullable"; - case SyntaxKind.CharKeyword: return "System.Nullable"; - case SyntaxKind.ShortKeyword: return "System.Nullable"; - case SyntaxKind.UShortKeyword: return "System.Nullable"; - case SyntaxKind.IntKeyword: return "System.Nullable"; - case SyntaxKind.UIntKeyword: return "System.Nullable"; - case SyntaxKind.LongKeyword: return "System.Nullable"; - case SyntaxKind.ULongKeyword: return "System.Nullable"; - case SyntaxKind.FloatKeyword: return "System.Nullable"; - case SyntaxKind.DoubleKeyword: return "System.Nullable"; - case SyntaxKind.DecimalKeyword: return "System.Nullable"; - default: return null; - } - } - public override ValueReference VisitGenericName (GenericNameSyntax node) { var type = node.Resolve(ctx); -- cgit v1.2.3