File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -170,8 +170,8 @@ private static LanguageDictionary CreateLanguageDictionaryFromStringResourceItem
170170 private static LanguageDictionary . Item CreateLanguageDictionaryItem ( StringResourceItem stringResourceItem )
171171 {
172172 string name = stringResourceItem . Name ;
173- ( string Uid , string DependencyPropertyName ) = name . LastIndexOf ( "." ) is int lastSeparatorIndex && lastSeparatorIndex > 1
174- ? ( name [ ..lastSeparatorIndex ] , string . Concat ( name . AsSpan ( lastSeparatorIndex + 1 ) , "Property" ) )
173+ ( string Uid , string DependencyPropertyName ) = name . IndexOf ( "." ) is int firstSeparatorIndex && firstSeparatorIndex > 1
174+ ? ( name [ ..firstSeparatorIndex ] , string . Concat ( name . AsSpan ( firstSeparatorIndex + 1 ) , "Property" ) )
175175 : ( name , string . Empty ) ;
176176 return new LanguageDictionary . Item (
177177 Uid ,
You can’t perform that action at this time.
0 commit comments