diff --git a/components/Notifications/src/Badges/BadgeGlyphContent.cs b/components/Notifications/src/Badges/BadgeGlyphContent.cs
index 7e61b9068..5d02da2fd 100644
--- a/components/Notifications/src/Badges/BadgeGlyphContent.cs
+++ b/components/Notifications/src/Badges/BadgeGlyphContent.cs
@@ -3,9 +3,7 @@
// See the LICENSE file in the project root for more information.
using System;
-#if WINDOWS_UWP
using Windows.Data.Xml.Dom;
-#endif
namespace CommunityToolkit.Notifications
{
@@ -80,7 +78,6 @@ public override string ToString()
return GetContent();
}
-#if WINDOWS_UWP
///
/// Retrieves the notification XML content as a WinRT Xml document.
///
@@ -91,8 +88,7 @@ public XmlDocument GetXml()
xml.LoadXml(GetContent());
return xml;
}
-#endif
private BadgeGlyphValue _glyph = (BadgeGlyphValue)(-1);
}
-}
\ No newline at end of file
+}
diff --git a/components/Notifications/src/Badges/BadgeNumericContent.cs b/components/Notifications/src/Badges/BadgeNumericContent.cs
index 03048c732..c3cda912b 100644
--- a/components/Notifications/src/Badges/BadgeNumericContent.cs
+++ b/components/Notifications/src/Badges/BadgeNumericContent.cs
@@ -2,9 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#if WINDOWS_UWP
using Windows.Data.Xml.Dom;
-#endif
namespace CommunityToolkit.Notifications
{
@@ -62,7 +60,6 @@ public override string ToString()
return GetContent();
}
-#if WINDOWS_UWP
///
/// Retrieves the notification Xml content as a WinRT Xml document.
///
@@ -73,8 +70,7 @@ public XmlDocument GetXml()
xml.LoadXml(GetContent());
return xml;
}
-#endif
private uint _number = 0;
}
-}
\ No newline at end of file
+}
diff --git a/components/Notifications/src/Common/BaseElement.cs b/components/Notifications/src/Common/BaseElement.cs
index bf607551e..809eca5c1 100644
--- a/components/Notifications/src/Common/BaseElement.cs
+++ b/components/Notifications/src/Common/BaseElement.cs
@@ -5,9 +5,7 @@
using System.IO;
using System.Text;
-#if WINDOWS_UWP
using Windows.Data.Xml.Dom;
-#endif
namespace CommunityToolkit.Notifications
{
@@ -40,7 +38,6 @@ public string GetContent()
}
}
-#if WINDOWS_UWP
///
/// Retrieves the notification XML content as a WinRT XML document.
///
@@ -51,6 +48,5 @@ public XmlDocument GetXml()
xml.LoadXml(GetContent());
return xml;
}
-#endif
}
-}
\ No newline at end of file
+}
diff --git a/components/Notifications/src/Common/INotificationContent.cs b/components/Notifications/src/Common/INotificationContent.cs
index a025624aa..d84afe4a3 100644
--- a/components/Notifications/src/Common/INotificationContent.cs
+++ b/components/Notifications/src/Common/INotificationContent.cs
@@ -2,9 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-#if WINDOWS_UWP
using Windows.Data.Xml.Dom;
-#endif
namespace CommunityToolkit.Notifications
{
@@ -19,12 +17,10 @@ public interface INotificationContent
/// The notification Xml content as a string.
string GetContent();
-#if WINDOWS_UWP
///
/// Retrieves the notification Xml content as a WinRT Xml document.
///
/// The notification Xml content as a WinRT Xml document.
XmlDocument GetXml();
-#endif
}
-}
\ No newline at end of file
+}
diff --git a/components/Notifications/src/Common/LimitedList{T}.cs b/components/Notifications/src/Common/LimitedList{T}.cs
index f8d6045de..5ff4ac43b 100644
--- a/components/Notifications/src/Common/LimitedList{T}.cs
+++ b/components/Notifications/src/Common/LimitedList{T}.cs
@@ -5,9 +5,6 @@
using System;
using System.Collections;
using System.Collections.Generic;
-#if WINDOWS_UWP
-
-#endif
namespace CommunityToolkit.Notifications
{
@@ -113,4 +110,4 @@ internal interface IElementWithDescendants
{
IEnumerable