@@ -788,16 +788,16 @@ protected virtual void AddXmlDependencyRecorder (LinkContext context, string fil
788788 context . Tracer . AddRecorder ( new XmlDependencyRecorder ( context , fileName ) ) ;
789789 }
790790
791- protected bool AddMarkAssemblyStep ( Pipeline pipeline , string arg )
791+ protected bool AddMarkHandler ( Pipeline pipeline , string arg )
792792 {
793793 if ( ! TryGetCustomAssembly ( ref arg , out Assembly custom_assembly ) )
794794 return false ;
795795
796- var step = ResolveStep < IMarkAssemblyStep > ( arg , custom_assembly ) ;
796+ var step = ResolveStep < IMarkHandler > ( arg , custom_assembly ) ;
797797 if ( step == null )
798798 return false ;
799799
800- pipeline . AppendMarkAssemblyStep ( step ) ;
800+ pipeline . AppendMarkHandler ( step ) ;
801801 return true ;
802802 }
803803
@@ -855,7 +855,7 @@ protected bool AddCustomStep (Pipeline pipeline, string arg)
855855 pipeline . AppendStep ( customStep ) ;
856856 return true ;
857857 }
858-
858+
859859 IStep target = FindStep ( pipeline , targetName ) ;
860860 if ( target == null ) {
861861 context . LogError ( $ "Pipeline step '{ targetName } ' could not be found", 1026 ) ;
@@ -867,24 +867,24 @@ protected bool AddCustomStep (Pipeline pipeline, string arg)
867867 else
868868 pipeline . AddStepAfter ( target , customStep ) ;
869869
870- } else if ( typeof ( IMarkAssemblyStep ) . IsAssignableFrom ( stepType ) ) {
870+ } else if ( typeof ( IMarkHandler ) . IsAssignableFrom ( stepType ) ) {
871871
872- var customStep = ( IMarkAssemblyStep ) Activator . CreateInstance ( stepType ) ;
872+ var customStep = ( IMarkHandler ) Activator . CreateInstance ( stepType ) ;
873873 if ( targetName == null ) {
874- pipeline . AppendMarkAssemblyStep ( customStep ) ;
874+ pipeline . AppendMarkHandler ( customStep ) ;
875875 return true ;
876876 }
877877
878- IMarkAssemblyStep target = FindMarkAssemblyStep ( pipeline , targetName ) ;
878+ IMarkHandler target = FindMarkHandler ( pipeline , targetName ) ;
879879 if ( target == null ) {
880880 context . LogError ( $ "Pipeline step '{ targetName } ' could not be found", 1026 ) ;
881881 return false ;
882882 }
883883
884884 if ( before )
885- pipeline . AddMarkAssemblyStepBefore ( target , customStep ) ;
885+ pipeline . AddMarkHandlerBefore ( target , customStep ) ;
886886 else
887- pipeline . AddMarkAssemblyStepAfter ( target , customStep ) ;
887+ pipeline . AddMarkHandlerAfter ( target , customStep ) ;
888888
889889 } else {
890890 context . LogError ( $ "Custom step '{ stepType } ' is incompatible with this linker version", 1028 ) ;
@@ -905,9 +905,9 @@ static IStep FindStep (Pipeline pipeline, string name)
905905 return null ;
906906 }
907907
908- static IMarkAssemblyStep FindMarkAssemblyStep ( Pipeline pipeline , string name )
908+ static IMarkHandler FindMarkHandler ( Pipeline pipeline , string name )
909909 {
910- foreach ( IMarkAssemblyStep step in pipeline . GetMarkAssemblySteps ( ) ) {
910+ foreach ( IMarkHandler step in pipeline . MarkHandlers ) {
911911 Type t = step . GetType ( ) ;
912912 if ( t . Name == name )
913913 return step ;
0 commit comments