@@ -377,6 +377,7 @@ public static class Resources
377377 public static byte [ ] SystemXmlXDocument => ResourceLoader . GetOrCreateResource ( ref _SystemXmlXDocument , "net461.System.Xml.XDocument" ) ;
378378 private static byte [ ] ? _SystemXmlXmlSerializer ;
379379 public static byte [ ] SystemXmlXmlSerializer => ResourceLoader . GetOrCreateResource ( ref _SystemXmlXmlSerializer , "net461.System.Xml.XmlSerializer" ) ;
380+
380381 }
381382 }
382383 public static partial class Net461
@@ -3349,4 +3350,34 @@ public static IEnumerable<PortableExecutableReference> All
33493350 }
33503351 }
33513352 }
3353+ #if ! BASIC_REFERENCE_ASSEMBLIES_COMBINED
3354+ public static partial class Net461
3355+ {
3356+ public readonly struct ReferenceInfo
3357+ {
3358+ public string FileName { get ; }
3359+ public byte [ ] ImageBytes { get ; }
3360+ public PortableExecutableReference Reference { get ; }
3361+ public Guid Mvid { get ; }
3362+ public ReferenceInfo ( string fileName , byte [ ] imageBytes , PortableExecutableReference reference , Guid mvid )
3363+ {
3364+ FileName = fileName ;
3365+ ImageBytes = imageBytes ;
3366+ Reference = reference ;
3367+ Mvid = mvid ;
3368+ }
3369+
3370+ public void Deconstruct ( out string fileName , out byte [ ] imageBytes , out PortableExecutableReference reference , out Guid mvid )
3371+ {
3372+ fileName = FileName ;
3373+ imageBytes = ImageBytes ;
3374+ reference = Reference ;
3375+ mvid = Mvid ;
3376+ }
3377+
3378+ public ( string FileName , byte [ ] ImageBytes , PortableExecutableReference Reference , Guid Mvid ) AsTuple ( ) =>
3379+ ( FileName , ImageBytes , Reference , Mvid ) ;
3380+ }
3381+ }
3382+ #endif
33523383}
0 commit comments