C# Class Microsoft.Cci.MutableCodeModel.CodeCopier

Inheritance: MetadataCopier
Datei anzeigen Open project: visualmutator/visualmutator Class Usage Examples

Protected Properties

Property Type Description
sourceLocationProvider ISourceLocationProvider

Public Methods

Method Description
CodeCopier ( IMetadataHost host, ISourceLocationProvider sourceLocationProvider ) : System

Provides copy of a method body, a statement, or an expression, in which the references to the nodes inside a cone is replaced. The cone is defined using the parent class.

CodeCopier ( IMetadataHost host, ISourceLocationProvider sourceLocationProvider, IDefinition rootOfCone, List &newTypes ) : System

Provides copy of a method body, a statement, or an expression, in which the references to the nodes inside a cone is replaced. The cone is defined using the parent class.

GetMutableCopy ( ISwitchCase swithCase ) : SwitchCase

Get the mutable copy of a switch case.

Substitute ( IExpression expression ) : IExpression

A dispatcher method that calls the type-specific Substitute for expression.

Substitute ( ILocalDefinition localDefinition ) : ILocalDefinition

Visit local definition.

Substitute ( IMethodBody methodBody ) : IMethodBody

Override the parent Substitute so that when we see a source method body, we will visit its statements.

Substitute ( IStatement statement ) : IStatement

A dispatcher method that calls the type-specific Substitute for statement

Substitute ( List statements ) : List

Substitute a list of statements.

Protected Methods

Method Description
DeepCopy ( Microsoft.Cci.MutableCodeModel.AddressableExpression addressableExpression ) : IAddressableExpression

Visits the specified addressable expression.

DeepCopy ( BlockStatement blockStatement ) : IBlockStatement

Visits the specified block statement.

DeepCopy ( CatchClause catchClause ) : ICatchClause

Visits the specified catch clause.

DeepCopy ( Microsoft.Cci.MutableCodeModel.CompileTimeConstant constant ) : ICompileTimeConstant

Visits the specified constant.

DeepCopy ( Microsoft.Cci.MutableCodeModel.Addition addition ) : IExpression

Visits the specified addition.

DeepCopy ( Microsoft.Cci.MutableCodeModel.AddressDereference addressDereference ) : IExpression

Visits the specified address dereference.

DeepCopy ( Microsoft.Cci.MutableCodeModel.AddressOf addressOf ) : IExpression

Visits the specified address of.

DeepCopy ( Microsoft.Cci.MutableCodeModel.AnonymousDelegate anonymousDelegate ) : IExpression

Visits the specified anonymous delegate.

DeepCopy ( Microsoft.Cci.MutableCodeModel.ArrayIndexer arrayIndexer ) : IExpression

Visits the specified array indexer.

DeepCopy ( Microsoft.Cci.MutableCodeModel.Assignment assignment ) : IExpression

Visits the specified assignment.

DeepCopy ( Microsoft.Cci.MutableCodeModel.BinaryOperation binaryOperation ) : IExpression

Visits the specified binary operation.

DeepCopy ( Microsoft.Cci.MutableCodeModel.BitwiseAnd bitwiseAnd ) : IExpression

Visits the specified bitwise and.

DeepCopy ( Microsoft.Cci.MutableCodeModel.BitwiseOr bitwiseOr ) : IExpression

Visits the specified bitwise or.

DeepCopy ( Microsoft.Cci.MutableCodeModel.BlockExpression blockExpression ) : IExpression

Visits the specified block expression.

DeepCopy ( Microsoft.Cci.MutableCodeModel.BoundExpression boundExpression ) : IExpression

Visits the specified bound expression.

DeepCopy ( Microsoft.Cci.MutableCodeModel.CastIfPossible castIfPossible ) : IExpression

Visits the specified cast if possible.

DeepCopy ( Microsoft.Cci.MutableCodeModel.CheckIfInstance checkIfInstance ) : IExpression

Visits the specified check if instance.

DeepCopy ( Microsoft.Cci.MutableCodeModel.Conditional conditional ) : IExpression

Visits the specified conditional.

DeepCopy ( Microsoft.Cci.MutableCodeModel.Conversion conversion ) : IExpression

Visits the specified conversion.

DeepCopy ( Microsoft.Cci.MutableCodeModel.CreateArray createArray ) : IExpression

Visits the specified create array.

DeepCopy ( Microsoft.Cci.MutableCodeModel.CreateDelegateInstance createDelegateInstance ) : IExpression

Visits the specified create delegate instance.

DeepCopy ( Microsoft.Cci.MutableCodeModel.CreateObjectInstance createObjectInstance ) : IExpression

Visits the specified create object instance.

DeepCopy ( Microsoft.Cci.MutableCodeModel.DefaultValue defaultValue ) : IExpression

Visits the specified default value.

DeepCopy ( Microsoft.Cci.MutableCodeModel.Division division ) : IExpression

Visits the specified division.

DeepCopy ( Microsoft.Cci.MutableCodeModel.DupValue dupValue ) : IExpression

Visits the specified dup value expression.

DeepCopy ( Microsoft.Cci.MutableCodeModel.Equality equality ) : IExpression

Visits the specified equality.

DeepCopy ( Microsoft.Cci.MutableCodeModel.ExclusiveOr exclusiveOr ) : IExpression

Visits the specified exclusive or.

DeepCopy ( Microsoft.Cci.MutableCodeModel.GetTypeOfTypedReference getTypeOfTypedReference ) : IExpression

Visits the specified get type of typed reference.

DeepCopy ( Microsoft.Cci.MutableCodeModel.GetValueOfTypedReference getValueOfTypedReference ) : IExpression

Visits the specified get value of typed reference.

DeepCopy ( Microsoft.Cci.MutableCodeModel.GreaterThan greaterThan ) : IExpression

Visits the specified greater than.

DeepCopy ( Microsoft.Cci.MutableCodeModel.GreaterThanOrEqual greaterThanOrEqual ) : IExpression

Visits the specified greater than or equal.

DeepCopy ( Microsoft.Cci.MutableCodeModel.LeftShift leftShift ) : IExpression

Visits the specified left shift.

DeepCopy ( Microsoft.Cci.MutableCodeModel.LessThan lessThan ) : IExpression

Visits the specified less than.

DeepCopy ( Microsoft.Cci.MutableCodeModel.LessThanOrEqual lessThanOrEqual ) : IExpression

Visits the specified less than or equal.

DeepCopy ( Microsoft.Cci.MutableCodeModel.LogicalNot logicalNot ) : IExpression

Visits the specified logical not.

DeepCopy ( Microsoft.Cci.MutableCodeModel.MakeTypedReference makeTypedReference ) : IExpression

Visits the specified make typed reference.

DeepCopy ( Microsoft.Cci.MutableCodeModel.MethodCall methodCall ) : IExpression

Visits the specified method call.

DeepCopy ( Microsoft.Cci.MutableCodeModel.Modulus modulus ) : IExpression

Visits the specified modulus.

DeepCopy ( Microsoft.Cci.MutableCodeModel.Multiplication multiplication ) : IExpression

Visits the specified multiplication.

DeepCopy ( Microsoft.Cci.MutableCodeModel.NamedArgument namedArgument ) : IExpression

Visits the specified named argument.

DeepCopy ( Microsoft.Cci.MutableCodeModel.NotEquality notEquality ) : IExpression

Visits the specified not equality.

DeepCopy ( Microsoft.Cci.MutableCodeModel.OldValue oldValue ) : IExpression

Visits the specified old value.

DeepCopy ( Microsoft.Cci.MutableCodeModel.OnesComplement onesComplement ) : IExpression

Visits the specified ones complement.

DeepCopy ( Microsoft.Cci.MutableCodeModel.OutArgument outArgument ) : IExpression

Visits the specified out argument.

DeepCopy ( Microsoft.Cci.MutableCodeModel.PointerCall pointerCall ) : IExpression

Visits the specified pointer call.

DeepCopy ( Microsoft.Cci.MutableCodeModel.PopValue popValue ) : IExpression

Visits the specified pop value expression.

DeepCopy ( Microsoft.Cci.MutableCodeModel.RefArgument refArgument ) : IExpression

Visits the specified ref argument.

DeepCopy ( Microsoft.Cci.MutableCodeModel.ReturnValue returnValue ) : IExpression

Visits the specified return value.

DeepCopy ( Microsoft.Cci.MutableCodeModel.RightShift rightShift ) : IExpression

Visits the specified right shift.

DeepCopy ( Microsoft.Cci.MutableCodeModel.RuntimeArgumentHandleExpression runtimeArgumentHandleExpression ) : IExpression

Visits the specified runtime argument handle expression.

DeepCopy ( Microsoft.Cci.MutableCodeModel.SizeOf sizeOf ) : IExpression

Visits the specified size of.

DeepCopy ( Microsoft.Cci.MutableCodeModel.StackArrayCreate stackArrayCreate ) : IExpression

Visits the specified stack array create.

DeepCopy ( Microsoft.Cci.MutableCodeModel.Subtraction subtraction ) : IExpression

Visits the specified subtraction.

DeepCopy ( Microsoft.Cci.MutableCodeModel.ThisReference thisReference ) : IExpression

Visits the specified this reference.

DeepCopy ( Microsoft.Cci.MutableCodeModel.TokenOf tokenOf ) : IExpression

Visits the specified token of.

DeepCopy ( Microsoft.Cci.MutableCodeModel.TypeOf typeOf ) : IExpression

Visits the specified type of.

DeepCopy ( Microsoft.Cci.MutableCodeModel.UnaryNegation unaryNegation ) : IExpression

Visits the specified unary negation.

DeepCopy ( Microsoft.Cci.MutableCodeModel.UnaryOperation unaryOperation ) : IExpression

Visits the specified unary operation.

DeepCopy ( Microsoft.Cci.MutableCodeModel.UnaryPlus unaryPlus ) : IExpression

Visits the specified unary plus.

DeepCopy ( Microsoft.Cci.MutableCodeModel.VectorLength vectorLength ) : IExpression

Visits the specified vector length.

DeepCopy ( AssertStatement assertStatement ) : IStatement

Visits the specified assert statement.

DeepCopy ( AssumeStatement assumeStatement ) : IStatement

Visits the specified assume statement.

DeepCopy ( BreakStatement breakStatement ) : IStatement

Visits the specified break statement.

DeepCopy ( ConditionalStatement conditionalStatement ) : IStatement

Visits the specified conditional statement.

DeepCopy ( ContinueStatement continueStatement ) : IStatement

Visits the specified continue statement.

DeepCopy ( CopyMemoryStatement copyMemoryStatement ) : IStatement

DeepCopy ( DebuggerBreakStatement debuggerBreakStatement ) : IStatement

Visits the specified debugger break statement.

DeepCopy ( DoUntilStatement doUntilStatement ) : IStatement

Visits the specified do until statement.

DeepCopy ( EmptyStatement emptyStatement ) : IStatement

Visits the specified empty statement.

DeepCopy ( ExpressionStatement expressionStatement ) : IStatement

Visits the specified expression statement.

DeepCopy ( FillMemoryStatement fillMemoryStatement ) : IStatement

DeepCopy ( ForEachStatement forEachStatement ) : IStatement

Visits the specified for each statement.

DeepCopy ( ForStatement forStatement ) : IStatement

Visits the specified for statement.

DeepCopy ( GotoStatement gotoStatement ) : IStatement

Visits the specified goto statement.

DeepCopy ( GotoSwitchCaseStatement gotoSwitchCaseStatement ) : IStatement

Visits the specified goto switch case statement.

DeepCopy ( LabeledStatement labeledStatement ) : IStatement

Visits the specified labeled statement.

DeepCopy ( LocalDeclarationStatement localDeclarationStatement ) : IStatement

Visits the specified local declaration statement.

DeepCopy ( LockStatement lockStatement ) : IStatement

Visits the specified lock statement.

DeepCopy ( PushStatement pushStatement ) : IStatement

Visits the specified push statement.

DeepCopy ( ResourceUseStatement resourceUseStatement ) : IStatement

Visits the specified resource use statement.

DeepCopy ( RethrowStatement rethrowStatement ) : IStatement

Visits the specified rethrow statement.

DeepCopy ( ReturnStatement returnStatement ) : IStatement

Visits the specified return statement.

DeepCopy ( SwitchStatement switchStatement ) : IStatement

Visits the specified switch statement.

DeepCopy ( ThrowStatement throwStatement ) : IStatement

Visits the specified throw statement.

DeepCopy ( TryCatchFinallyStatement tryCatchFilterFinallyStatement ) : IStatement

Visits the specified try catch filter finally statement.

DeepCopy ( WhileDoStatement whileDoStatement ) : IStatement

Visits the specified while do statement.

DeepCopy ( YieldBreakStatement yieldBreakStatement ) : IStatement

Visits the specified yield break statement.

DeepCopy ( YieldReturnStatement yieldReturnStatement ) : IStatement

Visits the specified yield return statement.

DeepCopy ( SwitchCase switchCase ) : ISwitchCase

Visits the specified switch case.

DeepCopy ( Microsoft.Cci.MutableCodeModel.TargetExpression targetExpression ) : ITargetExpression

Visits the specified target expression.

DeepCopy ( List catchClauses ) : List

Deep copy a list of catch clauses.

DeepCopy ( List expressions ) : List

Visits the specified expressions.

DeepCopy ( List statements ) : List

Visit a list of statements.

DeepCopy ( List switchCases ) : List

Visits the specified switch cases.

DeepCopy ( LocalDefinition localDefinition ) : LocalDefinition

Deep copy a local definition.

GetMutableCopy ( ICatchClause catchClause ) : CatchClause

Create a mutable copy of an icatchclause.

GetMutableCopy ( ILocalDefinition localDefinition ) : LocalDefinition

Create a mutable copy of a local definition.

VisitPrivateHelperMembers ( List typeDefinitions ) : void

Do not copy private

Private Methods

Method Description
GetMutableCopyIfExists ( IPropertyDefinition propertyDefinition ) : IPropertyDefinition

Get a property definition's copy from the cache if it was copied or otherwise return the property definition itself.

GetMutableCopyParamAnonymDeleg ( IParameterDefinition parameterDefinition ) : ParameterDefinition

Get mutable copy of a parameter definition of an anonymous delegate. The parameters of anonymous delegate are not visited until the code of a souce method body is visited.

Method Details

CodeCopier() public method

Provides copy of a method body, a statement, or an expression, in which the references to the nodes inside a cone is replaced. The cone is defined using the parent class.
public CodeCopier ( IMetadataHost host, ISourceLocationProvider sourceLocationProvider ) : System
host IMetadataHost
sourceLocationProvider ISourceLocationProvider
return System

CodeCopier() public method

Provides copy of a method body, a statement, or an expression, in which the references to the nodes inside a cone is replaced. The cone is defined using the parent class.
public CodeCopier ( IMetadataHost host, ISourceLocationProvider sourceLocationProvider, IDefinition rootOfCone, List &newTypes ) : System
host IMetadataHost
sourceLocationProvider ISourceLocationProvider
rootOfCone IDefinition
newTypes List
return System

DeepCopy() protected method

Visits the specified addressable expression.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.AddressableExpression addressableExpression ) : IAddressableExpression
addressableExpression Microsoft.Cci.MutableCodeModel.AddressableExpression The addressable expression.
return IAddressableExpression

DeepCopy() protected method

Visits the specified block statement.
protected DeepCopy ( BlockStatement blockStatement ) : IBlockStatement
blockStatement BlockStatement The block statement.
return IBlockStatement

DeepCopy() protected method

Visits the specified catch clause.
protected DeepCopy ( CatchClause catchClause ) : ICatchClause
catchClause CatchClause The catch clause.
return ICatchClause

DeepCopy() protected method

Visits the specified constant.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.CompileTimeConstant constant ) : ICompileTimeConstant
constant Microsoft.Cci.MutableCodeModel.CompileTimeConstant The constant.
return ICompileTimeConstant

DeepCopy() protected method

Visits the specified addition.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.Addition addition ) : IExpression
addition Microsoft.Cci.MutableCodeModel.Addition The addition.
return IExpression

DeepCopy() protected method

Visits the specified address dereference.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.AddressDereference addressDereference ) : IExpression
addressDereference Microsoft.Cci.MutableCodeModel.AddressDereference The address dereference.
return IExpression

DeepCopy() protected method

Visits the specified address of.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.AddressOf addressOf ) : IExpression
addressOf Microsoft.Cci.MutableCodeModel.AddressOf The address of.
return IExpression

DeepCopy() protected method

Visits the specified anonymous delegate.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.AnonymousDelegate anonymousDelegate ) : IExpression
anonymousDelegate Microsoft.Cci.MutableCodeModel.AnonymousDelegate The anonymous delegate.
return IExpression

DeepCopy() protected method

Visits the specified array indexer.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.ArrayIndexer arrayIndexer ) : IExpression
arrayIndexer Microsoft.Cci.MutableCodeModel.ArrayIndexer The array indexer.
return IExpression

DeepCopy() protected method

Visits the specified assignment.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.Assignment assignment ) : IExpression
assignment Microsoft.Cci.MutableCodeModel.Assignment The assignment.
return IExpression

DeepCopy() protected method

Visits the specified binary operation.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.BinaryOperation binaryOperation ) : IExpression
binaryOperation Microsoft.Cci.MutableCodeModel.BinaryOperation The binary operation.
return IExpression

DeepCopy() protected method

Visits the specified bitwise and.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.BitwiseAnd bitwiseAnd ) : IExpression
bitwiseAnd Microsoft.Cci.MutableCodeModel.BitwiseAnd The bitwise and.
return IExpression

DeepCopy() protected method

Visits the specified bitwise or.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.BitwiseOr bitwiseOr ) : IExpression
bitwiseOr Microsoft.Cci.MutableCodeModel.BitwiseOr The bitwise or.
return IExpression

DeepCopy() protected method

Visits the specified block expression.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.BlockExpression blockExpression ) : IExpression
blockExpression Microsoft.Cci.MutableCodeModel.BlockExpression The block expression.
return IExpression

DeepCopy() protected method

Visits the specified bound expression.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.BoundExpression boundExpression ) : IExpression
boundExpression Microsoft.Cci.MutableCodeModel.BoundExpression The bound expression.
return IExpression

DeepCopy() protected method

Visits the specified cast if possible.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.CastIfPossible castIfPossible ) : IExpression
castIfPossible Microsoft.Cci.MutableCodeModel.CastIfPossible The cast if possible.
return IExpression

DeepCopy() protected method

Visits the specified check if instance.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.CheckIfInstance checkIfInstance ) : IExpression
checkIfInstance Microsoft.Cci.MutableCodeModel.CheckIfInstance The check if instance.
return IExpression

DeepCopy() protected method

Visits the specified conditional.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.Conditional conditional ) : IExpression
conditional Microsoft.Cci.MutableCodeModel.Conditional The conditional.
return IExpression

DeepCopy() protected method

Visits the specified conversion.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.Conversion conversion ) : IExpression
conversion Microsoft.Cci.MutableCodeModel.Conversion The conversion.
return IExpression

DeepCopy() protected method

Visits the specified create array.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.CreateArray createArray ) : IExpression
createArray Microsoft.Cci.MutableCodeModel.CreateArray The create array.
return IExpression

DeepCopy() protected method

Visits the specified create delegate instance.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.CreateDelegateInstance createDelegateInstance ) : IExpression
createDelegateInstance Microsoft.Cci.MutableCodeModel.CreateDelegateInstance The create delegate instance.
return IExpression

DeepCopy() protected method

Visits the specified create object instance.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.CreateObjectInstance createObjectInstance ) : IExpression
createObjectInstance Microsoft.Cci.MutableCodeModel.CreateObjectInstance The create object instance.
return IExpression

DeepCopy() protected method

Visits the specified default value.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.DefaultValue defaultValue ) : IExpression
defaultValue Microsoft.Cci.MutableCodeModel.DefaultValue The default value.
return IExpression

DeepCopy() protected method

Visits the specified division.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.Division division ) : IExpression
division Microsoft.Cci.MutableCodeModel.Division The division.
return IExpression

DeepCopy() protected method

Visits the specified dup value expression.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.DupValue dupValue ) : IExpression
dupValue Microsoft.Cci.MutableCodeModel.DupValue The dup value expression.
return IExpression

DeepCopy() protected method

Visits the specified equality.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.Equality equality ) : IExpression
equality Microsoft.Cci.MutableCodeModel.Equality The equality.
return IExpression

DeepCopy() protected method

Visits the specified exclusive or.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.ExclusiveOr exclusiveOr ) : IExpression
exclusiveOr Microsoft.Cci.MutableCodeModel.ExclusiveOr The exclusive or.
return IExpression

DeepCopy() protected method

Visits the specified get type of typed reference.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.GetTypeOfTypedReference getTypeOfTypedReference ) : IExpression
getTypeOfTypedReference Microsoft.Cci.MutableCodeModel.GetTypeOfTypedReference The get type of typed reference.
return IExpression

DeepCopy() protected method

Visits the specified get value of typed reference.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.GetValueOfTypedReference getValueOfTypedReference ) : IExpression
getValueOfTypedReference Microsoft.Cci.MutableCodeModel.GetValueOfTypedReference The get value of typed reference.
return IExpression

DeepCopy() protected method

Visits the specified greater than.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.GreaterThan greaterThan ) : IExpression
greaterThan Microsoft.Cci.MutableCodeModel.GreaterThan The greater than.
return IExpression

DeepCopy() protected method

Visits the specified greater than or equal.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.GreaterThanOrEqual greaterThanOrEqual ) : IExpression
greaterThanOrEqual Microsoft.Cci.MutableCodeModel.GreaterThanOrEqual The greater than or equal.
return IExpression

DeepCopy() protected method

Visits the specified left shift.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.LeftShift leftShift ) : IExpression
leftShift Microsoft.Cci.MutableCodeModel.LeftShift The left shift.
return IExpression

DeepCopy() protected method

Visits the specified less than.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.LessThan lessThan ) : IExpression
lessThan Microsoft.Cci.MutableCodeModel.LessThan The less than.
return IExpression

DeepCopy() protected method

Visits the specified less than or equal.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.LessThanOrEqual lessThanOrEqual ) : IExpression
lessThanOrEqual Microsoft.Cci.MutableCodeModel.LessThanOrEqual The less than or equal.
return IExpression

DeepCopy() protected method

Visits the specified logical not.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.LogicalNot logicalNot ) : IExpression
logicalNot Microsoft.Cci.MutableCodeModel.LogicalNot The logical not.
return IExpression

DeepCopy() protected method

Visits the specified make typed reference.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.MakeTypedReference makeTypedReference ) : IExpression
makeTypedReference Microsoft.Cci.MutableCodeModel.MakeTypedReference The make typed reference.
return IExpression

DeepCopy() protected method

Visits the specified method call.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.MethodCall methodCall ) : IExpression
methodCall Microsoft.Cci.MutableCodeModel.MethodCall The method call.
return IExpression

DeepCopy() protected method

Visits the specified modulus.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.Modulus modulus ) : IExpression
modulus Microsoft.Cci.MutableCodeModel.Modulus The modulus.
return IExpression

DeepCopy() protected method

Visits the specified multiplication.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.Multiplication multiplication ) : IExpression
multiplication Microsoft.Cci.MutableCodeModel.Multiplication The multiplication.
return IExpression

DeepCopy() protected method

Visits the specified named argument.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.NamedArgument namedArgument ) : IExpression
namedArgument Microsoft.Cci.MutableCodeModel.NamedArgument The named argument.
return IExpression

DeepCopy() protected method

Visits the specified not equality.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.NotEquality notEquality ) : IExpression
notEquality Microsoft.Cci.MutableCodeModel.NotEquality The not equality.
return IExpression

DeepCopy() protected method

Visits the specified old value.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.OldValue oldValue ) : IExpression
oldValue Microsoft.Cci.MutableCodeModel.OldValue The old value.
return IExpression

DeepCopy() protected method

Visits the specified ones complement.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.OnesComplement onesComplement ) : IExpression
onesComplement Microsoft.Cci.MutableCodeModel.OnesComplement The ones complement.
return IExpression

DeepCopy() protected method

Visits the specified out argument.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.OutArgument outArgument ) : IExpression
outArgument Microsoft.Cci.MutableCodeModel.OutArgument The out argument.
return IExpression

DeepCopy() protected method

Visits the specified pointer call.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.PointerCall pointerCall ) : IExpression
pointerCall Microsoft.Cci.MutableCodeModel.PointerCall The pointer call.
return IExpression

DeepCopy() protected method

Visits the specified pop value expression.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.PopValue popValue ) : IExpression
popValue Microsoft.Cci.MutableCodeModel.PopValue The pop value expression.
return IExpression

DeepCopy() protected method

Visits the specified ref argument.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.RefArgument refArgument ) : IExpression
refArgument Microsoft.Cci.MutableCodeModel.RefArgument The ref argument.
return IExpression

DeepCopy() protected method

Visits the specified return value.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.ReturnValue returnValue ) : IExpression
returnValue Microsoft.Cci.MutableCodeModel.ReturnValue The return value.
return IExpression

DeepCopy() protected method

Visits the specified right shift.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.RightShift rightShift ) : IExpression
rightShift Microsoft.Cci.MutableCodeModel.RightShift The right shift.
return IExpression

DeepCopy() protected method

Visits the specified runtime argument handle expression.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.RuntimeArgumentHandleExpression runtimeArgumentHandleExpression ) : IExpression
runtimeArgumentHandleExpression Microsoft.Cci.MutableCodeModel.RuntimeArgumentHandleExpression The runtime argument handle expression.
return IExpression

DeepCopy() protected method

Visits the specified size of.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.SizeOf sizeOf ) : IExpression
sizeOf Microsoft.Cci.MutableCodeModel.SizeOf The size of.
return IExpression

DeepCopy() protected method

Visits the specified stack array create.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.StackArrayCreate stackArrayCreate ) : IExpression
stackArrayCreate Microsoft.Cci.MutableCodeModel.StackArrayCreate The stack array create.
return IExpression

DeepCopy() protected method

Visits the specified subtraction.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.Subtraction subtraction ) : IExpression
subtraction Microsoft.Cci.MutableCodeModel.Subtraction The subtraction.
return IExpression

DeepCopy() protected method

Visits the specified this reference.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.ThisReference thisReference ) : IExpression
thisReference Microsoft.Cci.MutableCodeModel.ThisReference The this reference.
return IExpression

DeepCopy() protected method

Visits the specified token of.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.TokenOf tokenOf ) : IExpression
tokenOf Microsoft.Cci.MutableCodeModel.TokenOf The token of.
return IExpression

DeepCopy() protected method

Visits the specified type of.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.TypeOf typeOf ) : IExpression
typeOf Microsoft.Cci.MutableCodeModel.TypeOf The type of.
return IExpression

DeepCopy() protected method

Visits the specified unary negation.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.UnaryNegation unaryNegation ) : IExpression
unaryNegation Microsoft.Cci.MutableCodeModel.UnaryNegation The unary negation.
return IExpression

DeepCopy() protected method

Visits the specified unary operation.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.UnaryOperation unaryOperation ) : IExpression
unaryOperation Microsoft.Cci.MutableCodeModel.UnaryOperation The unary operation.
return IExpression

DeepCopy() protected method

Visits the specified unary plus.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.UnaryPlus unaryPlus ) : IExpression
unaryPlus Microsoft.Cci.MutableCodeModel.UnaryPlus The unary plus.
return IExpression

DeepCopy() protected method

Visits the specified vector length.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.VectorLength vectorLength ) : IExpression
vectorLength Microsoft.Cci.MutableCodeModel.VectorLength Length of the vector.
return IExpression

DeepCopy() protected method

Visits the specified assert statement.
protected DeepCopy ( AssertStatement assertStatement ) : IStatement
assertStatement AssertStatement The assert statement.
return IStatement

DeepCopy() protected method

Visits the specified assume statement.
protected DeepCopy ( AssumeStatement assumeStatement ) : IStatement
assumeStatement AssumeStatement The assume statement.
return IStatement

DeepCopy() protected method

Visits the specified break statement.
protected DeepCopy ( BreakStatement breakStatement ) : IStatement
breakStatement BreakStatement The break statement.
return IStatement

DeepCopy() protected method

Visits the specified conditional statement.
protected DeepCopy ( ConditionalStatement conditionalStatement ) : IStatement
conditionalStatement ConditionalStatement The conditional statement.
return IStatement

DeepCopy() protected method

Visits the specified continue statement.
protected DeepCopy ( ContinueStatement continueStatement ) : IStatement
continueStatement ContinueStatement The continue statement.
return IStatement

DeepCopy() protected method

protected DeepCopy ( CopyMemoryStatement copyMemoryStatement ) : IStatement
copyMemoryStatement CopyMemoryStatement
return IStatement

DeepCopy() protected method

Visits the specified debugger break statement.
protected DeepCopy ( DebuggerBreakStatement debuggerBreakStatement ) : IStatement
debuggerBreakStatement DebuggerBreakStatement The debugger break statement.
return IStatement

DeepCopy() protected method

Visits the specified do until statement.
protected DeepCopy ( DoUntilStatement doUntilStatement ) : IStatement
doUntilStatement DoUntilStatement The do until statement.
return IStatement

DeepCopy() protected method

Visits the specified empty statement.
protected DeepCopy ( EmptyStatement emptyStatement ) : IStatement
emptyStatement EmptyStatement The empty statement.
return IStatement

DeepCopy() protected method

Visits the specified expression statement.
protected DeepCopy ( ExpressionStatement expressionStatement ) : IStatement
expressionStatement ExpressionStatement The expression statement.
return IStatement

DeepCopy() protected method

protected DeepCopy ( FillMemoryStatement fillMemoryStatement ) : IStatement
fillMemoryStatement FillMemoryStatement
return IStatement

DeepCopy() protected method

Visits the specified for each statement.
protected DeepCopy ( ForEachStatement forEachStatement ) : IStatement
forEachStatement ForEachStatement For each statement.
return IStatement

DeepCopy() protected method

Visits the specified for statement.
protected DeepCopy ( ForStatement forStatement ) : IStatement
forStatement ForStatement For statement.
return IStatement

DeepCopy() protected method

Visits the specified goto statement.
protected DeepCopy ( GotoStatement gotoStatement ) : IStatement
gotoStatement GotoStatement The goto statement.
return IStatement

DeepCopy() protected method

Visits the specified goto switch case statement.
protected DeepCopy ( GotoSwitchCaseStatement gotoSwitchCaseStatement ) : IStatement
gotoSwitchCaseStatement GotoSwitchCaseStatement The goto switch case statement.
return IStatement

DeepCopy() protected method

Visits the specified labeled statement.
protected DeepCopy ( LabeledStatement labeledStatement ) : IStatement
labeledStatement LabeledStatement The labeled statement.
return IStatement

DeepCopy() protected method

Visits the specified local declaration statement.
protected DeepCopy ( LocalDeclarationStatement localDeclarationStatement ) : IStatement
localDeclarationStatement LocalDeclarationStatement The local declaration statement.
return IStatement

DeepCopy() protected method

Visits the specified lock statement.
protected DeepCopy ( LockStatement lockStatement ) : IStatement
lockStatement LockStatement The lock statement.
return IStatement

DeepCopy() protected method

Visits the specified push statement.
protected DeepCopy ( PushStatement pushStatement ) : IStatement
pushStatement PushStatement
return IStatement

DeepCopy() protected method

Visits the specified resource use statement.
protected DeepCopy ( ResourceUseStatement resourceUseStatement ) : IStatement
resourceUseStatement ResourceUseStatement The resource use statement.
return IStatement

DeepCopy() protected method

Visits the specified rethrow statement.
protected DeepCopy ( RethrowStatement rethrowStatement ) : IStatement
rethrowStatement RethrowStatement The rethrow statement.
return IStatement

DeepCopy() protected method

Visits the specified return statement.
protected DeepCopy ( ReturnStatement returnStatement ) : IStatement
returnStatement ReturnStatement The return statement.
return IStatement

DeepCopy() protected method

Visits the specified switch statement.
protected DeepCopy ( SwitchStatement switchStatement ) : IStatement
switchStatement SwitchStatement The switch statement.
return IStatement

DeepCopy() protected method

Visits the specified throw statement.
protected DeepCopy ( ThrowStatement throwStatement ) : IStatement
throwStatement ThrowStatement The throw statement.
return IStatement

DeepCopy() protected method

Visits the specified try catch filter finally statement.
protected DeepCopy ( TryCatchFinallyStatement tryCatchFilterFinallyStatement ) : IStatement
tryCatchFilterFinallyStatement TryCatchFinallyStatement The try catch filter finally statement.
return IStatement

DeepCopy() protected method

Visits the specified while do statement.
protected DeepCopy ( WhileDoStatement whileDoStatement ) : IStatement
whileDoStatement WhileDoStatement The while do statement.
return IStatement

DeepCopy() protected method

Visits the specified yield break statement.
protected DeepCopy ( YieldBreakStatement yieldBreakStatement ) : IStatement
yieldBreakStatement YieldBreakStatement The yield break statement.
return IStatement

DeepCopy() protected method

Visits the specified yield return statement.
protected DeepCopy ( YieldReturnStatement yieldReturnStatement ) : IStatement
yieldReturnStatement YieldReturnStatement The yield return statement.
return IStatement

DeepCopy() protected method

Visits the specified switch case.
protected DeepCopy ( SwitchCase switchCase ) : ISwitchCase
switchCase SwitchCase The switch case.
return ISwitchCase

DeepCopy() protected method

Visits the specified target expression.
protected DeepCopy ( Microsoft.Cci.MutableCodeModel.TargetExpression targetExpression ) : ITargetExpression
targetExpression Microsoft.Cci.MutableCodeModel.TargetExpression The target expression.
return ITargetExpression

DeepCopy() protected method

Deep copy a list of catch clauses.
protected DeepCopy ( List catchClauses ) : List
catchClauses List
return List

DeepCopy() protected method

Visits the specified expressions.
protected DeepCopy ( List expressions ) : List
expressions List The expressions.
return List

DeepCopy() protected method

Visit a list of statements.
protected DeepCopy ( List statements ) : List
statements List
return List

DeepCopy() protected method

Visits the specified switch cases.
protected DeepCopy ( List switchCases ) : List
switchCases List The switch cases.
return List

DeepCopy() protected method

Deep copy a local definition.
protected DeepCopy ( LocalDefinition localDefinition ) : LocalDefinition
localDefinition LocalDefinition
return LocalDefinition

GetMutableCopy() protected method

Create a mutable copy of an icatchclause.
protected GetMutableCopy ( ICatchClause catchClause ) : CatchClause
catchClause ICatchClause
return CatchClause

GetMutableCopy() protected method

Create a mutable copy of a local definition.
protected GetMutableCopy ( ILocalDefinition localDefinition ) : LocalDefinition
localDefinition ILocalDefinition
return LocalDefinition

GetMutableCopy() public method

Get the mutable copy of a switch case.
public GetMutableCopy ( ISwitchCase swithCase ) : SwitchCase
swithCase ISwitchCase
return SwitchCase

Substitute() public method

A dispatcher method that calls the type-specific Substitute for expression.
public Substitute ( IExpression expression ) : IExpression
expression IExpression
return IExpression

Substitute() public method

Visit local definition.
public Substitute ( ILocalDefinition localDefinition ) : ILocalDefinition
localDefinition ILocalDefinition
return ILocalDefinition

Substitute() public method

Override the parent Substitute so that when we see a source method body, we will visit its statements.
public Substitute ( IMethodBody methodBody ) : IMethodBody
methodBody IMethodBody
return IMethodBody

Substitute() public method

A dispatcher method that calls the type-specific Substitute for statement
public Substitute ( IStatement statement ) : IStatement
statement IStatement
return IStatement

Substitute() public method

Substitute a list of statements.
public Substitute ( List statements ) : List
statements List
return List

VisitPrivateHelperMembers() protected method

Do not copy private
protected VisitPrivateHelperMembers ( List typeDefinitions ) : void
typeDefinitions List
return void

Property Details

sourceLocationProvider protected_oe property

An object that can map the ILocation objects found in a block of statements to IPrimarySourceLocation objects. May be null.
protected ISourceLocationProvider sourceLocationProvider
return ISourceLocationProvider