Fix warnings. (#2072)
This commit is contained in:
@@ -263,9 +263,13 @@ public class PlotPanel : UserControl
|
||||
StrokeThickness = 2,
|
||||
};
|
||||
|
||||
#pragma warning disable CS0618 //obsolete warning
|
||||
|
||||
axis.AxisChanged += (sender, args) => annotation.Y = axis.ActualMinimum;
|
||||
axis.TransformChanged += (sender, args) => annotation.Y = axis.ActualMinimum;
|
||||
|
||||
#pragma warning restore CS0618 //obsolete warning
|
||||
|
||||
axis.Zoom(_settings.GetValue("plotPanel.Min" + axis.Key, float.NaN), _settings.GetValue("plotPanel.Max" + axis.Key, float.NaN));
|
||||
|
||||
if (units.ContainsKey(type))
|
||||
|
||||
@@ -87,8 +87,8 @@ internal class IsaBridgeGigabyteController : IGigabyteController
|
||||
{
|
||||
bool isEntered = false;
|
||||
|
||||
/// use a try finaly + the <see cref="isEntered" /> to get a safe
|
||||
/// <see cref="EnterMmio(IsaBridgeEc, MMIOState?)"/> and <see cref="ExitMmio(IsaBridgeEc)"/> pattern
|
||||
// use try finally + isEntered to get a safe
|
||||
// EnterMmio and ExitMmio pattern
|
||||
try
|
||||
{
|
||||
// get initial state if missing
|
||||
|
||||
Reference in New Issue
Block a user