Skip to content

Commit dd36fc7

Browse files
[housekeeping] Automated PR to fix formatting errors on dev/stdelc/xmlns2025
1 parent 302c11b commit dd36fc7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Controls/src/Xaml/XmlTypeXamlExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
// THE SOFTWARE.
2828

2929
using System;
30-
using System.Linq;
3130
using System.Collections.Generic;
31+
using System.Linq;
3232

3333
namespace Microsoft.Maui.Controls.Xaml
3434
{
@@ -105,7 +105,7 @@ public static IEnumerable<T> GetTypeReferences<T>(
105105
T? type = null;
106106
string? returnTypeName = null;
107107
foreach (var typeInfo in potentialTypes)
108-
if ( (returnTypeName == null || returnTypeName == typeInfo.typeName) //only return multiple types if they share the same name. avoid returning both BindingExtension and Binding
108+
if ((returnTypeName == null || returnTypeName == typeInfo.typeName) //only return multiple types if they share the same name. avoid returning both BindingExtension and Binding
109109
&& (type = refFromTypeInfo(typeInfo)) != null)
110110
{
111111
returnTypeName = typeInfo.typeName;

src/Controls/tests/Xaml.UnitTests/XmlnsCollision.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using NUnit.Framework;
66

77
[assembly: XmlnsDefinition("http://companyone.com/schemas/toolkit", "CompanyOne.Controls")]
8-
[assembly:XmlnsPrefix("c1", "http://companyone.com/schemas/toolkit")]
8+
[assembly: XmlnsPrefix("c1", "http://companyone.com/schemas/toolkit")]
99
[assembly: XmlnsDefinition("http://companytwo.com/schemas/toolkit", "CompanyTwo.Controls")]
1010
[assembly: XmlnsPrefix("c2", "http://companytwo.com/schemas/toolkit")]
1111
[assembly: XmlnsDefinition("http://schemas.microsoft.com/dotnet/maui/global", "http://companyone.com/schemas/toolkit")]

0 commit comments

Comments
 (0)