From ca47896204482bf4a6979e3838bf7f09f61cebeb Mon Sep 17 00:00:00 2001 From: giy <giy@omp-system.ru> Date: Fri, 02 Sep 2022 14:16:56 +0300 Subject: [PATCH] Обновление до версии 2.9.0 --- QtVsTools.Package/QML/Debugging/AD7/QmlDebugAD7Breakpoint.cs | 19 +++++++++---------- 1 files changed, 9 insertions(+), 10 deletions(-) diff --git a/QtVsTools.Package/QML/Debugging/AD7/QmlDebugAD7Breakpoint.cs b/QtVsTools.Package/QML/Debugging/AD7/QmlDebugAD7Breakpoint.cs index fad795d..13838bc 100644 --- a/QtVsTools.Package/QML/Debugging/AD7/QmlDebugAD7Breakpoint.cs +++ b/QtVsTools.Package/QML/Debugging/AD7/QmlDebugAD7Breakpoint.cs @@ -44,12 +44,12 @@ static readonly string[] ValidExtensions = new string[] { ".qml", ".js" }; public QmlEngine Engine { get; private set; } - public IDebugBreakpointRequest2 Request { get; private set; } - public enum_BP_LOCATION_TYPE LocationType { get; private set; } - public BP_REQUEST_INFO RequestInfo { get; private set; } + private IDebugBreakpointRequest2 Request { get; set; } + private enum_BP_LOCATION_TYPE LocationType { get; set; } + private BP_REQUEST_INFO RequestInfo { get; set; } public string FileName { get; private set; } public TEXT_POSITION BeginPosition { get; private set; } - public TEXT_POSITION EndPosition { get; private set; } + private TEXT_POSITION EndPosition { get; set; } public bool Enabled { get; private set; } HashSet<Breakpoint> breakpoints; @@ -85,8 +85,7 @@ if (docPosition == null) return false; - string fileName; - if (docPosition.GetFileName(out fileName) != VSConstants.S_OK) + if (docPosition.GetFileName(out string fileName) != VSConstants.S_OK) return false; if (!ValidExtensions.Where(x => string.Equals(x, Path.GetExtension(fileName))).Any()) @@ -186,12 +185,12 @@ IDebugBreakpointResolution2 // "This interface represents the information that describes a // bound breakpoint." { - public QmlDebugger Debugger { get; private set; } - public QmlEngine Engine { get; private set; } + private QmlDebugger Debugger { get; set; } + private QmlEngine Engine { get; set; } public Program Program { get; private set; } public PendingBreakpoint Parent { get; private set; } - public CodeContext CodeContext { get; private set; } - public bool Enabled { get; set; } + private CodeContext CodeContext { get; set; } + private bool Enabled { get; set; } bool supressNotify; -- Gitblit v1.9.1