Fixed possible KeyNotFoundException
This commit is contained in:
@@ -56,6 +56,11 @@ public static class GlobalCode
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!sourceMaps[reference].ContainsKey(icErrorLine))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
var foundRange = sourceMaps[reference][icErrorLine];
|
||||
|
||||
if (foundRange is null)
|
||||
|
||||
Reference in New Issue
Block a user