File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,8 @@ private void DumpTypes(Version version)
156
156
157
157
PrintVerbose ( $ "Parsing configuration from { ConfigFileName } ") ;
158
158
159
- foreach ( var entry in Config . RootElement . GetProperty ( "attachedProps" ) . EnumerateObject ( ) ) {
159
+ foreach ( var entry in Config . RootElement . GetProperty ( "attachedProps" ) . EnumerateObject ( ) )
160
+ {
160
161
var propName = GetTypeNameFromJsonProperty ( entry ) ;
161
162
var attachedDPs = Util . AttachedProperties . Where ( p => Util . MinusPropertySuffix ( Util . GetPropFullName ( p ) ) . StartsWith ( propName ) ) ;
162
163
@@ -223,7 +224,7 @@ private void DumpTypes(Version version)
223
224
var val = GetTypeNameFromJsonProperty ( entry ) ;
224
225
var typeName = val . Substring ( 0 , val . LastIndexOf ( '.' ) ) ;
225
226
var eventName = val . Substring ( val . LastIndexOf ( '.' ) + 1 ) ;
226
-
227
+
227
228
syntheticEvents . Add ( new SyntheticProperty ( )
228
229
{
229
230
Name = eventName ,
@@ -303,7 +304,7 @@ private void DumpTypes(Version version)
303
304
events . AddRange ( eventsToAdd ) ;
304
305
}
305
306
306
-
307
+
307
308
308
309
foreach ( var type in Util . eventArgsTypes )
309
310
{
@@ -457,7 +458,8 @@ private static string GetTypeNameFromJson(JsonElement entry)
457
458
if ( entry . ValueKind == JsonValueKind . Object )
458
459
{
459
460
return entry . GetProperty ( "name" ) . GetString ( ) . Replace ( "$xaml" , XamlNames . XamlNamespace ) ;
460
- } else
461
+ }
462
+ else
461
463
{
462
464
return entry . GetString ( ) . Replace ( "$xaml" , XamlNames . XamlNamespace ) ;
463
465
}
You can’t perform that action at this time.
0 commit comments