C# Class OTAPI.Patcher.Engine.Extensions.FieldReplacementExtensions

Afficher le fichier Open project: DeathCradle/Open-Terraria-API

Méthodes publiques

Méthode Description
ReplaceWith ( this field, Mono.Cecil.PropertyDefinition property ) : void

Replaces all occurrences of a field with a property call by simply swapping the field instructions that load/set.

Method Details

ReplaceWith() public static méthode

Replaces all occurrences of a field with a property call by simply swapping the field instructions that load/set.
public static ReplaceWith ( this field, Mono.Cecil.PropertyDefinition property ) : void
field this
property Mono.Cecil.PropertyDefinition
Résultat void