File tree Expand file tree Collapse file tree
BepInEx.Preloader/Patching Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- using System ;
1+ using System ;
22using System . Collections . Generic ;
33using System . IO ;
44using BepInEx . Bootstrap ;
@@ -46,5 +46,8 @@ public void Load(BinaryReader br)
4646 {
4747 TypeName = br . ReadString ( ) ;
4848 }
49+
50+ /// <inheritdoc />
51+ public override string ToString ( ) => TypeName ;
4952 }
5053}
Original file line number Diff line number Diff line change 1- using System ;
1+ using System ;
22using System . Collections . Generic ;
33using System . IO ;
44using System . Linq ;
@@ -116,6 +116,7 @@ static TypeLoader()
116116 long lastWrite = File . GetLastWriteTimeUtc ( dll ) . Ticks ;
117117 if ( lastWrite == cacheEntry . Timestamp )
118118 {
119+ Logger . LogDebug ( $ "Found { dll } (cached): { cacheEntry . CacheItems } ") ;
119120 result [ dll ] = cacheEntry . CacheItems ;
120121 continue ;
121122 }
@@ -131,6 +132,7 @@ static TypeLoader()
131132 }
132133
133134 var matches = ass . MainModule . Types . Select ( typeSelector ) . Where ( t => t != null ) . ToList ( ) ;
135+ Logger . LogDebug ( $ "Found { dll } : { matches } ") ;
134136 result [ dll ] = matches ;
135137 ass . Dispose ( ) ;
136138 }
You can’t perform that action at this time.
0 commit comments