C# Class Unity.ReferenceRewriter.RewriteTypeReferences

Inheritance: RewriteStep, IReferenceVisitor
ファイルを表示 Open project: Unity-Technologies/ReferenceRewriter

Public Methods

Method Description
RewriteObjectListToParamsCall ( MethodBody methodBody, int instructionIndex ) : void
RewriteTypeReferences ( string>.Func supportNamespaceMapper ) : System
Visit ( FieldReference field, string referencingEntityName ) : void
Visit ( MethodReference method, string referencingEntityName ) : void
Visit ( TypeReference type, string referencingEntityName ) : void

Protected Methods

Method Description
Run ( ) : void

Private Methods

Method Description
AddSupportReferenceIfNeeded ( Mono.Cecil.AssemblyNameReference support ) : void
AltAssemblyReference ( string @namespace, Mono.Cecil.AssemblyNameReference &names ) : bool
AreSame ( Mono a, Mono b ) : bool
AreSame ( TypeReference a, TypeReference b ) : bool
ArgsMatchParamsList ( Mono a, Mono b ) : bool
GetCompatibleMethodDefinition ( IEnumerable methods, MethodReference reference ) : Mono.Cecil.MethodDefinition
GetMethodDefinition ( IEnumerable methods, MethodReference reference ) : Mono.Cecil.MethodDefinition
IsIgnoredType ( TypeReference type ) : bool
ResolveManually ( MethodReference method ) : Mono.Cecil.MethodDefinition
SupportAssemblyReference ( ) : Mono.Cecil.AssemblyNameReference
TryToResolveInAlt ( TypeReference type ) : bool
TryToResolveInSupport ( MethodReference method ) : bool
TryToResolveInSupport ( TypeReference type ) : bool

Method Details

RewriteObjectListToParamsCall() public method

public RewriteObjectListToParamsCall ( MethodBody methodBody, int instructionIndex ) : void
methodBody Mono.Cecil.Cil.MethodBody
instructionIndex int
return void

RewriteTypeReferences() public method

public RewriteTypeReferences ( string>.Func supportNamespaceMapper ) : System
supportNamespaceMapper string>.Func
return System

Run() protected method

protected Run ( ) : void
return void

Visit() public method

public Visit ( FieldReference field, string referencingEntityName ) : void
field Mono.Cecil.FieldReference
referencingEntityName string
return void

Visit() public method

public Visit ( MethodReference method, string referencingEntityName ) : void
method Mono.Cecil.MethodReference
referencingEntityName string
return void

Visit() public method

public Visit ( TypeReference type, string referencingEntityName ) : void
type Mono.Cecil.TypeReference
referencingEntityName string
return void