Skip to content

Commit 2aa40b5

Browse files
Fix Split usage to use char instead of string
1 parent d29c280 commit 2aa40b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WinUI3Localizer/Localizer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ private static void DependencyObjectsReferences_DependencyObjectRemoved(object?
254254
}
255255

256256
// TODO: This should be done on the building process.
257-
if (dependencyPropertyName.Split(".") is string[] splitResult &&
257+
if (dependencyPropertyName.Split('.') is string[] splitResult &&
258258
splitResult.Length is 2)
259259
{
260260
string attachedPropertyClassName = splitResult[0];

0 commit comments

Comments
 (0)