Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/debugger-libs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Mono.Debugging.Soft/SoftDebuggerSession.cs')
-rw-r--r--Mono.Debugging.Soft/SoftDebuggerSession.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Mono.Debugging.Soft/SoftDebuggerSession.cs b/Mono.Debugging.Soft/SoftDebuggerSession.cs
index 138057b..4ee1a96 100644
--- a/Mono.Debugging.Soft/SoftDebuggerSession.cs
+++ b/Mono.Debugging.Soft/SoftDebuggerSession.cs
@@ -759,9 +759,8 @@ namespace Mono.Debugging.Soft
SourceLinkMap [] GetSourceLinkMaps (MethodMirror method)
{
var asm = method.DeclaringType.Assembly;
- SourceLinkMap [] maps = Array.Empty<SourceLinkMap>();
- if (SourceLinkCache.TryGetValue (asm, out maps)) {
+ if (SourceLinkCache.TryGetValue (asm, out SourceLinkMap[] maps)) {
return maps;
}