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:
authornosami <jasonimison@gmail.com>2019-07-10 14:14:07 +0300
committernosami <jasonimison@gmail.com>2019-07-19 17:29:43 +0300
commit283390c69d58e5b913b32d2dc8c2058e58b7ec21 (patch)
treed26cfdd86cc58aad06d3a8e6f94ff6f4e0707cc7 /Mono.Debugging.Soft/SoftEvaluationContext.cs
parent0b4675bf084747681a9b6a942516c718ff72a4f4 (diff)
Make SourceLink retrieval lazy
Diffstat (limited to 'Mono.Debugging.Soft/SoftEvaluationContext.cs')
-rw-r--r--Mono.Debugging.Soft/SoftEvaluationContext.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mono.Debugging.Soft/SoftEvaluationContext.cs b/Mono.Debugging.Soft/SoftEvaluationContext.cs
index 6b47f80..3f4ab2d 100644
--- a/Mono.Debugging.Soft/SoftEvaluationContext.cs
+++ b/Mono.Debugging.Soft/SoftEvaluationContext.cs
@@ -53,7 +53,7 @@ namespace Mono.Debugging.Soft
if (frame.Method.DeclaringType != null)
method = frame.Method.DeclaringType.FullName + "." + method;
var pdb = session.GetPdbData (frame.Method);
- var sourceLink = pdb?.GetSourceLink ();
+ var sourceLink = pdb?.SourceLink;
var location = new DC.SourceLocation (method, frame.FileName, frame.LineNumber, frame.ColumnNumber, frame.EndLineNumber, frame.EndColumnNumber, frame.Location.SourceFileHash, sourceLink);
string language;