File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -121,8 +121,10 @@ public void AddFile(string assemblyPath, bool extractAll)
121121 filesAnalyzed . Add ( assemblyPath ) ;
122122 try
123123 {
124- var info = new AssemblyInfo ( assemblyPath ) ;
125- info . extract = extractAll ;
124+ var info = new AssemblyInfo ( assemblyPath )
125+ {
126+ extract = extractAll
127+ } ;
126128 if ( ! assembliesRead . ContainsKey ( info . name ) )
127129 assembliesRead . Add ( info . name , info ) ;
128130 }
Original file line number Diff line number Diff line change @@ -30,10 +30,12 @@ public Assembly(Context cx) : base(cx)
3030 cx . assembly = this ;
3131 var def = cx . mdReader . GetAssemblyDefinition ( ) ;
3232
33- assemblyName = new AssemblyName ( ) ;
34- assemblyName . Name = cx . mdReader . GetString ( def . Name ) ;
35- assemblyName . Version = def . Version ;
36- assemblyName . CultureInfo = new CultureInfo ( cx . mdReader . GetString ( def . Culture ) ) ;
33+ assemblyName = new AssemblyName
34+ {
35+ Name = cx . mdReader . GetString ( def . Name ) ,
36+ Version = def . Version ,
37+ CultureInfo = new CultureInfo ( cx . mdReader . GetString ( def . Culture ) )
38+ } ;
3739
3840 if ( ! def . PublicKey . IsNil )
3941 assemblyName . SetPublicKey ( cx . mdReader . GetBlobBytes ( def . PublicKey ) ) ;
Original file line number Diff line number Diff line change @@ -72,8 +72,10 @@ public PrimitiveType Create(PrimitiveTypeCode code)
7272
7373 if ( e is null )
7474 {
75- e = new PrimitiveType ( this , code ) ;
76- e . Label = cx . GetNewLabel ( ) ;
75+ e = new PrimitiveType ( this , code )
76+ {
77+ Label = cx . GetNewLabel ( )
78+ } ;
7779 cx . DefineLabel ( e , cx . TrapWriter . Writer , cx . Extractor ) ;
7880 primitiveTypes [ ( int ) code ] = e ;
7981 }
You can’t perform that action at this time.
0 commit comments