AsmResolver.Net.Builder.NetAssemblyBuilder.UpdateReferences C# (CSharp) Метод

UpdateReferences() публичный Метод

public UpdateReferences ( BuildingContext context ) : void
context AsmResolver.Builder.BuildingContext
Результат void
        public override void UpdateReferences(BuildingContext context)
        {
            UpdateSectionHeaders();
            base.UpdateReferences(context);
            UpdateNtHeaders();
            UpdateRelocations();
        }

Usage Example

Пример #1
0
 /// <summary>
 /// Rebuilds and writes the assembly to a destination, using the specified building parameters.
 /// </summary>
 /// <param name="parameters">The parameters to use for building the assembly image.</param>
 public void Write(BuildingParameters parameters)
 {
     var builder = new NetAssemblyBuilder(this, parameters);
     var context = new NetBuildingContext(builder);
     builder.Build(context);
     builder.UpdateOffsets(context);
     builder.UpdateReferences(context);
     builder.Write(new WritingContext(this, parameters.Writer, context));
 }