/
n-dimens
/
pascalabcnet
Обзор
Документация
Войти
/
n-dimens
/
pascalabcnet
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
VisualPascalABCNETLinux/MonoDebugging/Soft/SoftValueReference.cs
24 строки
558 B
Ivan Bondarev
Mono.Debugging
10 апр 2023, 22:04
10 апр 2023, 22:04
f2faa95
Код
Авторство
О чём код?
using System; using Mono.Debugging.Evaluation; using Mono.Debugger.Soft; namespace Mono.Debugging.Soft { public abstract class SoftValueReference: ValueReference { public SoftValueReference (EvaluationContext ctx) : base(ctx) { } protected void EnsureContextHasDomain (AppDomainMirror domain) { var softEvaluationContext = (SoftEvaluationContext)Context; if (softEvaluationContext.Domain == domain) return; var clone = (SoftEvaluationContext)softEvaluationContext.Clone (); clone.Domain = domain; Context = clone; } } }