summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core/VisualElement.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Core/VisualElement.cs')
-rw-r--r--Xamarin.Forms.Core/VisualElement.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Xamarin.Forms.Core/VisualElement.cs b/Xamarin.Forms.Core/VisualElement.cs
index c85b379..05caf2f 100644
--- a/Xamarin.Forms.Core/VisualElement.cs
+++ b/Xamarin.Forms.Core/VisualElement.cs
@@ -513,7 +513,7 @@ namespace Xamarin.Forms
{
#pragma warning disable 0618 // retain until GetSizeRequest removed
SizeRequest result = GetSizeRequest(widthConstraint, heightConstraint);
-#pragma warning restore
+#pragma warning restore 0618
if ((flags & MeasureFlags.IncludeMargins) != 0)
{
@@ -581,7 +581,7 @@ namespace Xamarin.Forms
{
#pragma warning disable 0618 // retain until OnSizeRequest removed
return OnSizeRequest(widthConstraint, heightConstraint);
-#pragma warning restore
+#pragma warning restore 0618
}
protected override void OnParentSet()
@@ -597,7 +597,7 @@ namespace Xamarin.Forms
{
NavigationProxy.Inner = null;
}
-#pragma warning restore
+#pragma warning restore 0618
}
protected virtual void OnSizeAllocated(double width, double height)