@@ -182,7 +182,7 @@ public void CalculateDescriptor()
182182 Descriptor = $ "{ startTime } { eventType } ";
183183 return ;
184184 }
185- case scnScenesVersionsSceneChanges scn when scn . Scene . DepotPath . GetResolvedText ( ) is string s && s != "" :
185+ case scnScenesVersionsSceneChanges scn when scn . Scene . DepotPath . GetResolvedText ( ) is string s && s != string . Empty :
186186 {
187187 Descriptor = s ;
188188 return ;
@@ -208,7 +208,7 @@ when animSet.AsyncAnimSet.DepotPath.GetResolvedText() is string s && s != string
208208 case worldNodeData sst when Parent ? . Parent ? . ResolvedData is worldStreamingSector wss && sst . NodeIndex < wss . Nodes . Count :
209209 Descriptor = $ "[{ sst . NodeIndex } ] { StringHelper . Stringify ( wss . Nodes [ sst . NodeIndex ] . Chunk ) } ";
210210 return ;
211- case worldNode worldNode when StringHelper . Stringify ( worldNode ) is string s && s != "" :
211+ case worldNode worldNode when StringHelper . Stringify ( worldNode ) is string s && s != string . Empty :
212212 Descriptor = s ;
213213 return ;
214214 case worldNode :
@@ -219,7 +219,7 @@ when handle.Chunk.GetProperty("InputNodes") is CArray<animPoseLink> animAry:
219219
220220 Descriptor = StringHelper . Stringify ( animAry
221221 . Select ( ( animPoseLink ) => GetNodeName ( animPoseLink . Node ) ?? "" ) . ToArray ( ) ) ;
222- if ( Descriptor != "" )
222+ if ( Descriptor != string . Empty )
223223 {
224224 return ;
225225 }
@@ -305,7 +305,7 @@ when handle.Chunk.GetProperty("InputNodes") is CArray<animPoseLink> animAry:
305305 }
306306
307307 Descriptor = $ "{ csvAry [ nameIndex ] } ";
308- if ( Descriptor != "" )
308+ if ( Descriptor != string . Empty )
309309 {
310310 return ;
311311 }
@@ -321,7 +321,7 @@ when handle.Chunk.GetProperty("InputNodes") is CArray<animPoseLink> animAry:
321321 case appearanceAppearancePart part :
322322 {
323323 Descriptor = part . Resource . DepotPath . GetResolvedText ( ) ?? "" ;
324- if ( Descriptor != "" )
324+ if ( Descriptor != string . Empty )
325325 {
326326 return ;
327327 }
@@ -331,7 +331,7 @@ when handle.Chunk.GetProperty("InputNodes") is CArray<animPoseLink> animAry:
331331 case locVoLineEntry voLineEntry :
332332 {
333333 Descriptor = voLineEntry . StringId . ToString ( ) ;
334- if ( Descriptor != "" )
334+ if ( Descriptor != string . Empty )
335335 {
336336 return ;
337337 }
@@ -341,7 +341,7 @@ when handle.Chunk.GetProperty("InputNodes") is CArray<animPoseLink> animAry:
341341 case animAnimEvent animEvent :
342342 {
343343 Descriptor = animEvent . EventName . GetResolvedText ( ) ;
344- if ( Descriptor != "" )
344+ if ( Descriptor != string . Empty )
345345 {
346346 return ;
347347 }
@@ -351,7 +351,7 @@ when handle.Chunk.GetProperty("InputNodes") is CArray<animPoseLink> animAry:
351351 case locVoLengthEntry voLengthEntry :
352352 {
353353 Descriptor = voLengthEntry . StringId . ToString ( ) ;
354- if ( Descriptor != "" )
354+ if ( Descriptor != string . Empty )
355355 {
356356 return ;
357357 }
@@ -370,7 +370,7 @@ when handle.Chunk.GetProperty("InputNodes") is CArray<animPoseLink> animAry:
370370 Descriptor = ResourcePathPool . ResolveHash ( result ) ;
371371 }
372372
373- if ( Descriptor != "" )
373+ if ( Descriptor != string . Empty )
374374 {
375375 return ;
376376 }
@@ -426,7 +426,7 @@ when handle.Chunk.GetProperty("InputNodes") is CArray<animPoseLink> animAry:
426426 case scnPropDef propDef :
427427 {
428428 Descriptor = $ "{ propDef . PropName } ";
429- if ( propDef . SpecPropRecordId . GetResolvedText ( ) is string s && s != "" )
429+ if ( propDef . SpecPropRecordId . GetResolvedText ( ) is string s && s != string . Empty )
430430 {
431431 Descriptor = $ "{ Descriptor } ID: { s } ";
432432 }
@@ -436,7 +436,7 @@ when handle.Chunk.GetProperty("InputNodes") is CArray<animPoseLink> animAry:
436436 case scnSpawnDespawnEntityParams spawnDespawnParams :
437437 {
438438 Descriptor = $ "{ spawnDespawnParams . DynamicEntityUniqueName . GetResolvedText ( ) } ";
439- if ( spawnDespawnParams . SpawnMarkerNodeRef . GetResolvedText ( ) is string s && s != "" )
439+ if ( spawnDespawnParams . SpawnMarkerNodeRef . GetResolvedText ( ) is string s && s != string . Empty )
440440 {
441441 Descriptor = $ "{ Descriptor } ID: { s } ";
442442 }
@@ -461,7 +461,7 @@ when handle.Chunk.GetProperty("InputNodes") is CArray<animPoseLink> animAry:
461461 case scnLipsyncAnimSetSRRef lipsyncAnim :
462462 Descriptor = StringHelper . StringifyOrNull ( lipsyncAnim . LipsyncAnimSet . DepotPath )
463463 ?? StringHelper . StringifyOrNull ( lipsyncAnim . AsyncRefLipsyncAnimSet . DepotPath ) ?? "" ;
464- if ( Descriptor != "" )
464+ if ( Descriptor != string . Empty )
465465 {
466466 return ;
467467 }
@@ -638,7 +638,7 @@ when NodeIdxInParent > -1
638638 break ;
639639 }
640640 case IRedMeshComponent meshComponent
641- when meshComponent . Name . GetResolvedText ( ) is string name && name != "" :
641+ when meshComponent . Name . GetResolvedText ( ) is string name && name != string . Empty :
642642 {
643643 IsDefault = name == "Component" ;
644644 Descriptor = name ;
0 commit comments