C# Class Microsoft.Cci.MutableCodeModel.CodeDeepCopier

Inheritance: MetadataDeepCopier
Mostrar archivo Open project: visualmutator/visualmutator Class Usage Examples

Private Properties

Property Type Description
Copy IFieldReference
Copy IMethodReference
Copy ITypeReference
Copy SourceMethodBody
CopyChildren void
CopyChildren void
CopyChildren void

Public Methods

Method Description
CodeDeepCopier ( IMetadataHost targetHost, ISourceLocationProvider sourceLocationProvider = null, ILocalScopeProvider localScopeProvider = null ) : System

CodeDeepCopier ( IMetadataHost targetHost, IUnit targetUnit, ISourceLocationProvider sourceLocationProvider = null ) : System

Copy ( IAddition addition ) : Microsoft.Cci.MutableCodeModel.Addition

Returns a deep copy of the given addition.

Copy ( IAddressDereference addressDereference ) : Microsoft.Cci.MutableCodeModel.AddressDereference

Returns a deep copy of the given address dereference expression.

Copy ( IAddressOf addressOf ) : Microsoft.Cci.MutableCodeModel.AddressOf

Returns a deep copy of the given AddressOf expression.

Copy ( IAddressableExpression addressableExpression ) : Microsoft.Cci.MutableCodeModel.AddressableExpression

Returns a deep copy of the given addressable expression.

Copy ( IAnonymousDelegate anonymousDelegate ) : Microsoft.Cci.MutableCodeModel.AnonymousDelegate

Returns a deep copy of the given anonymous delegate expression.

Copy ( IArrayIndexer arrayIndexer ) : Microsoft.Cci.MutableCodeModel.ArrayIndexer

Returns a deep copy of the given array indexer expression.

Copy ( IAssertStatement assertStatement ) : AssertStatement

Returns a deep copy of the given assert statement.

Copy ( IAssignment assignment ) : Microsoft.Cci.MutableCodeModel.Assignment

Returns a deep copy of the given assignment expression.

Copy ( IAssumeStatement assumeStatement ) : AssumeStatement

Returns a deep copy of the given assume statement.

Copy ( IBitwiseAnd bitwiseAnd ) : Microsoft.Cci.MutableCodeModel.BitwiseAnd

Returns a deep copy of the given bitwise and expression.

Copy ( IBitwiseOr bitwiseOr ) : Microsoft.Cci.MutableCodeModel.BitwiseOr

Returns a deep copy of the given bitwise or expression.

Copy ( IBlockExpression blockExpression ) : Microsoft.Cci.MutableCodeModel.BlockExpression

Returns a deep copy of the given block expression.

Copy ( IBlockStatement block ) : BlockStatement

Returns a deep copy of the given statement block.

Copy ( IBoundExpression boundExpression ) : Microsoft.Cci.MutableCodeModel.BoundExpression

Returns a deep copy of the given bound expression.

Copy ( IBreakStatement breakStatement ) : BreakStatement

Returns a deep copy of the given break statement.

Copy ( ICastIfPossible castIfPossible ) : Microsoft.Cci.MutableCodeModel.CastIfPossible

Returns a deep copy of the cast-if-possible expression.

Copy ( ICatchClause catchClause ) : CatchClause

Returns a deep copy of the given catch clause.

Copy ( ICheckIfInstance checkIfInstance ) : Microsoft.Cci.MutableCodeModel.CheckIfInstance

Returns a deep copy of the given check-if-instance expression.

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

Returns a deep copy of the given compile time constant.

Copy ( IConditional conditional ) : Microsoft.Cci.MutableCodeModel.Conditional

Returns a deep copy of the given conditional expression.

Copy ( IConditionalStatement conditionalStatement ) : ConditionalStatement

Returns a deep copy of the given conditional statement.

Copy ( IContinueStatement continueStatement ) : ContinueStatement

Returns a deep copy of the given continue statement.

Copy ( IConversion conversion ) : Microsoft.Cci.MutableCodeModel.Conversion

Returns a deep copy of the given conversion expression.

Copy ( ICopyMemoryStatement copyMemoryStatement ) : CopyMemoryStatement

Returns a deep copy of the given copy memory statement.

Copy ( ICreateArray createArray ) : Microsoft.Cci.MutableCodeModel.CreateArray

Returns a deep copy of the given array creation expression.

Copy ( ICreateDelegateInstance createDelegateInstance ) : Microsoft.Cci.MutableCodeModel.CreateDelegateInstance

Returns a deep copy of the anonymous object creation expression.

Copy ( ICreateObjectInstance createObjectInstance ) : Microsoft.Cci.MutableCodeModel.CreateObjectInstance

Returns a deep copy of the given constructor call expression.

Copy ( IDebuggerBreakStatement debuggerBreakStatement ) : DebuggerBreakStatement

Returns a deep copy of the given debugger break statement.

Copy ( IDefaultValue defaultValue ) : Microsoft.Cci.MutableCodeModel.DefaultValue

Returns a deep copy of the given defalut value expression.

Copy ( IDivision division ) : Microsoft.Cci.MutableCodeModel.Division

Returns a deep copy of the given division expression.

Copy ( IDoUntilStatement doUntilStatement ) : DoUntilStatement

Returns a deep copy of the given do until statement.

Copy ( IDupValue dupValue ) : Microsoft.Cci.MutableCodeModel.DupValue

Returns a deep copy of the given dup value expression.

Copy ( IEmptyStatement emptyStatement ) : EmptyStatement

Returns a deep copy of the given empty statement.

Copy ( IEquality equality ) : Microsoft.Cci.MutableCodeModel.Equality

Returns a deep copy of the given equality expression.

Copy ( IExclusiveOr exclusiveOr ) : Microsoft.Cci.MutableCodeModel.ExclusiveOr

Returns a deep copy of the given exclusive or expression.

Copy ( IExpression expression ) : Microsoft.Cci.MutableCodeModel.Expression

Returns a deep copy of the given expression.

Copy ( IExpressionStatement expressionStatement ) : ExpressionStatement

Returns a deep copy of the given expression statement.

Copy ( IFillMemoryStatement fillMemoryStatement ) : FillMemoryStatement

Returns a deep copy of the given fill memory block statement.

Copy ( IForEachStatement forEachStatement ) : ForEachStatement

Returns a deep copy of the given foreach statement.

Copy ( IForStatement forStatement ) : ForStatement

Returns a deep copy of the given for statement.

Copy ( IGetTypeOfTypedReference getTypeOfTypedReference ) : Microsoft.Cci.MutableCodeModel.GetTypeOfTypedReference

Returns a deep copy of the given get type of typed reference expression.

Copy ( IGetValueOfTypedReference getValueOfTypedReference ) : Microsoft.Cci.MutableCodeModel.GetValueOfTypedReference

Returns a deep copy of the given get value of typed reference expression.

Copy ( IGotoStatement gotoStatement ) : GotoStatement

Returns a deep copy of the given goto statement.

Copy ( IGotoSwitchCaseStatement gotoSwitchCaseStatement ) : GotoSwitchCaseStatement

Returns a deep copy of the given goto switch case statement.

Copy ( IGreaterThan greaterThan ) : Microsoft.Cci.MutableCodeModel.GreaterThan

Returns a deep copy of the given greater-than expression.

Copy ( IGreaterThanOrEqual greaterThanOrEqual ) : Microsoft.Cci.MutableCodeModel.GreaterThanOrEqual

Returns a deep copy of the given greater-than-or-equal expression.

Copy ( ILabeledStatement labeledStatement ) : LabeledStatement

Returns a deep copy of the given labeled statement.

Copy ( ILeftShift leftShift ) : Microsoft.Cci.MutableCodeModel.LeftShift

Returns a deep copy of the given left shift expression.

Copy ( ILessThan lessThan ) : Microsoft.Cci.MutableCodeModel.LessThan

Returns a deep copy of the given less-than expression.

Copy ( ILessThanOrEqual lessThanOrEqual ) : LessThanOrEqual

Returns a deep copy of the given less-than-or-equal expression.

Copy ( List catchClauses ) : List

Returns a deep copy the given list of catch clauses.

Copy ( List customModifiers ) : List

Returns a deep copy of the given list of custom modifiers.

Copy ( List expressions ) : List

Returns a deep copy the given list of expressions.

Copy ( List parameters ) : List

Returns a deep copy of the given list of parameters.

Copy ( List statements ) : List

Returns a deep copy the given enumeration of statements.

Copy ( List switchCases ) : List

Returns a deep copy the given list of switch cases.

Copy ( ILocalDeclarationStatement localDeclarationStatement ) : LocalDeclarationStatement

Returns a deep copy of the given local declaration statement.

Copy ( ILockStatement lockStatement ) : LockStatement

Returns a deep copy of the given lock statement.

Copy ( ILogicalNot logicalNot ) : LogicalNot

Returns a deep copy of the given logical not expression.

Copy ( IMakeTypedReference makeTypedReference ) : MakeTypedReference

Returns a deep copy of the given make typed reference expression.

Copy ( IMethodCall methodCall ) : MethodCall

Returns a deep copy of the given method call.

Copy ( IModulus modulus ) : Modulus

Returns a deep copy of the given modulus expression.

Copy ( IMultiplication multiplication ) : Multiplication

Returns a deep copy of the given multiplication expression.

Copy ( INamedArgument namedArgument ) : NamedArgument

Returns a deep copy of the given named argument expression.

Copy ( INotEquality notEquality ) : NotEquality

Returns a deep copy of the given not equality expression.

Copy ( IOldValue oldValue ) : OldValue

Returns a deep copy of the given old value expression.

Copy ( IOnesComplement onesComplement ) : OnesComplement

Returns a deep copy of the given one's complement expression.

Copy ( IOutArgument outArgument ) : OutArgument

Returns a deep copy of the given out argument expression.

Copy ( IPointerCall pointerCall ) : PointerCall

Returns a deep copy of the given pointer call.

Copy ( IPopValue popValue ) : PopValue

Returns a deep copy of the given pop value expression.

Copy ( IPushStatement pushStatement ) : PushStatement

Returns a deep copy of the given push statement.

Copy ( IRefArgument refArgument ) : RefArgument

Returns a deep copy of the given ref argument expression.

Copy ( IResourceUseStatement resourceUseStatement ) : ResourceUseStatement

Returns a deep copy of the given resource usage statement.

Copy ( IRethrowStatement rethrowStatement ) : RethrowStatement

Returns a deep copy of the rethrow statement.

Copy ( IReturnStatement returnStatement ) : ReturnStatement

Returns a deep copy of the return statement.

Copy ( IReturnValue returnValue ) : ReturnValue

Returns a deep copy of the given return value expression.

Copy ( IRightShift rightShift ) : RightShift

Returns a deep copy of the given right shift expression.

Copy ( IRuntimeArgumentHandleExpression runtimeArgumentHandleExpression ) : RuntimeArgumentHandleExpression

Returns a deep copy of the given runtime argument handle expression.

Copy ( ISizeOf sizeOf ) : SizeOf

Returns a deep copy of the given sizeof() expression.

Copy ( ISourceMethodBody sourceMethodBody ) : SourceMethodBody

Returns a deep copy of the given source method body.

Copy ( IStackArrayCreate stackArrayCreate ) : StackArrayCreate

Returns a deep copy of the given stack array create expression.

Copy ( IStatement statement ) : Statement

Visits the specified statement.

Copy ( ISubtraction subtraction ) : Subtraction

Returns a deep copy of the given subtraction expression.

Copy ( ISwitchCase switchCase ) : SwitchCase

Returns a deep copy of the given switch case.

Copy ( ISwitchStatement switchStatement ) : SwitchStatement

Returns a deep copy of the given switch statement.

Copy ( ITargetExpression targetExpression ) : TargetExpression

Returns a deep copy of the given target expression.

Copy ( IThisReference thisReference ) : ThisReference

Returns a deep copy of the given this reference expression.

Copy ( IThrowStatement throwStatement ) : ThrowStatement

Returns a deep copy of the throw statement.

Copy ( ITokenOf tokenOf ) : TokenOf

Returns a deep copy of the given tokenof() expression.

Copy ( ITryCatchFinallyStatement tryCatchFilterFinallyStatement ) : TryCatchFinallyStatement

Returns a deep copy of the try-catch-filter-finally statement.

Copy ( ITypeOf typeOf ) : TypeOf

Returns a deep copy of the given typeof() expression.

Copy ( IUnaryNegation unaryNegation ) : UnaryNegation

Returns a deep copy of the given unary negation expression.

Copy ( IUnaryPlus unaryPlus ) : UnaryPlus

Returns a deep copy of the given unary plus expression.

Copy ( IVectorLength vectorLength ) : VectorLength

Returns a deep copy of the given vector length expression.

Copy ( IWhileDoStatement whileDoStatement ) : WhileDoStatement

Returns a deep copy of the given while do statement.

Copy ( IYieldBreakStatement yieldBreakStatement ) : YieldBreakStatement

Returns a deep copy of the given yield break statement.

Copy ( IYieldReturnStatement yieldReturnStatement ) : YieldReturnStatement

Returns a deep copy of the given yield return statement.

GetExistingCopyIfInsideCone ( ILocalDefinition local ) : ILocalDefinition

If the local is declared inside the subtree being copied by this copier, then return the copy. Otherwise return the local itself. No copies are made by this method.

Protected Methods

Method Description
CodeDeepCopier ( IMetadataHost targetHost, CodeShallowCopier shallowCopier ) : System

CopyMethodBody ( IMethodBody methodBody, IMethodDefinition method ) : IMethodBody

Returns a deep copy of the given method body.

Private Methods

Method Description
Copy ( IFieldReference fieldReference ) : IFieldReference
Copy ( IMethodReference methodReference ) : IMethodReference
Copy ( ITypeReference typeReference ) : ITypeReference
Copy ( ISourceMethodBody sourceMethodBody, IMethodDefinition method ) : SourceMethodBody
CopyChildren ( BinaryOperation binaryOperation ) : void
CopyChildren ( Expression expression ) : void
CopyChildren ( UnaryOperation unaryOperation ) : void

Method Details

CodeDeepCopier() protected method

protected CodeDeepCopier ( IMetadataHost targetHost, CodeShallowCopier shallowCopier ) : System
targetHost IMetadataHost An object representing the application that will host the copies made by this copier.
shallowCopier CodeShallowCopier
return System

CodeDeepCopier() public method

public CodeDeepCopier ( IMetadataHost targetHost, ISourceLocationProvider sourceLocationProvider = null, ILocalScopeProvider localScopeProvider = null ) : System
targetHost IMetadataHost An object representing the application that will host the copies made by this copier.
sourceLocationProvider ISourceLocationProvider
localScopeProvider ILocalScopeProvider
return System

CodeDeepCopier() public method

public CodeDeepCopier ( IMetadataHost targetHost, IUnit targetUnit, ISourceLocationProvider sourceLocationProvider = null ) : System
targetHost IMetadataHost An object representing the application that will host the copies made by this copier.
targetUnit IUnit The unit of metadata into which copies made by this copier will be inserted.
sourceLocationProvider ISourceLocationProvider
return System

Copy() public method

Returns a deep copy of the given addition.
public Copy ( IAddition addition ) : Microsoft.Cci.MutableCodeModel.Addition
addition IAddition
return Microsoft.Cci.MutableCodeModel.Addition

Copy() public method

Returns a deep copy of the given address dereference expression.
public Copy ( IAddressDereference addressDereference ) : Microsoft.Cci.MutableCodeModel.AddressDereference
addressDereference IAddressDereference
return Microsoft.Cci.MutableCodeModel.AddressDereference

Copy() public method

Returns a deep copy of the given AddressOf expression.
public Copy ( IAddressOf addressOf ) : Microsoft.Cci.MutableCodeModel.AddressOf
addressOf IAddressOf
return Microsoft.Cci.MutableCodeModel.AddressOf

Copy() public method

Returns a deep copy of the given addressable expression.
public Copy ( IAddressableExpression addressableExpression ) : Microsoft.Cci.MutableCodeModel.AddressableExpression
addressableExpression IAddressableExpression
return Microsoft.Cci.MutableCodeModel.AddressableExpression

Copy() public method

Returns a deep copy of the given anonymous delegate expression.
public Copy ( IAnonymousDelegate anonymousDelegate ) : Microsoft.Cci.MutableCodeModel.AnonymousDelegate
anonymousDelegate IAnonymousDelegate
return Microsoft.Cci.MutableCodeModel.AnonymousDelegate

Copy() public method

Returns a deep copy of the given array indexer expression.
public Copy ( IArrayIndexer arrayIndexer ) : Microsoft.Cci.MutableCodeModel.ArrayIndexer
arrayIndexer IArrayIndexer
return Microsoft.Cci.MutableCodeModel.ArrayIndexer

Copy() public method

Returns a deep copy of the given assert statement.
public Copy ( IAssertStatement assertStatement ) : AssertStatement
assertStatement IAssertStatement
return AssertStatement

Copy() public method

Returns a deep copy of the given assignment expression.
public Copy ( IAssignment assignment ) : Microsoft.Cci.MutableCodeModel.Assignment
assignment IAssignment
return Microsoft.Cci.MutableCodeModel.Assignment

Copy() public method

Returns a deep copy of the given assume statement.
public Copy ( IAssumeStatement assumeStatement ) : AssumeStatement
assumeStatement IAssumeStatement
return AssumeStatement

Copy() public method

Returns a deep copy of the given bitwise and expression.
public Copy ( IBitwiseAnd bitwiseAnd ) : Microsoft.Cci.MutableCodeModel.BitwiseAnd
bitwiseAnd IBitwiseAnd
return Microsoft.Cci.MutableCodeModel.BitwiseAnd

Copy() public method

Returns a deep copy of the given bitwise or expression.
public Copy ( IBitwiseOr bitwiseOr ) : Microsoft.Cci.MutableCodeModel.BitwiseOr
bitwiseOr IBitwiseOr
return Microsoft.Cci.MutableCodeModel.BitwiseOr

Copy() public method

Returns a deep copy of the given block expression.
public Copy ( IBlockExpression blockExpression ) : Microsoft.Cci.MutableCodeModel.BlockExpression
blockExpression IBlockExpression
return Microsoft.Cci.MutableCodeModel.BlockExpression

Copy() public method

Returns a deep copy of the given statement block.
public Copy ( IBlockStatement block ) : BlockStatement
block IBlockStatement
return BlockStatement

Copy() public method

Returns a deep copy of the given bound expression.
public Copy ( IBoundExpression boundExpression ) : Microsoft.Cci.MutableCodeModel.BoundExpression
boundExpression IBoundExpression
return Microsoft.Cci.MutableCodeModel.BoundExpression

Copy() public method

Returns a deep copy of the given break statement.
public Copy ( IBreakStatement breakStatement ) : BreakStatement
breakStatement IBreakStatement
return BreakStatement

Copy() public method

Returns a deep copy of the cast-if-possible expression.
public Copy ( ICastIfPossible castIfPossible ) : Microsoft.Cci.MutableCodeModel.CastIfPossible
castIfPossible ICastIfPossible
return Microsoft.Cci.MutableCodeModel.CastIfPossible

Copy() public method

Returns a deep copy of the given catch clause.
public Copy ( ICatchClause catchClause ) : CatchClause
catchClause ICatchClause
return CatchClause

Copy() public method

Returns a deep copy of the given check-if-instance expression.
public Copy ( ICheckIfInstance checkIfInstance ) : Microsoft.Cci.MutableCodeModel.CheckIfInstance
checkIfInstance ICheckIfInstance
return Microsoft.Cci.MutableCodeModel.CheckIfInstance

Copy() public method

Returns a deep copy of the given compile time constant.
public Copy ( ICompileTimeConstant constant ) : Microsoft.Cci.MutableCodeModel.CompileTimeConstant
constant ICompileTimeConstant
return Microsoft.Cci.MutableCodeModel.CompileTimeConstant

Copy() public method

Returns a deep copy of the given conditional expression.
public Copy ( IConditional conditional ) : Microsoft.Cci.MutableCodeModel.Conditional
conditional IConditional
return Microsoft.Cci.MutableCodeModel.Conditional

Copy() public method

Returns a deep copy of the given conditional statement.
public Copy ( IConditionalStatement conditionalStatement ) : ConditionalStatement
conditionalStatement IConditionalStatement
return ConditionalStatement

Copy() public method

Returns a deep copy of the given continue statement.
public Copy ( IContinueStatement continueStatement ) : ContinueStatement
continueStatement IContinueStatement
return ContinueStatement

Copy() public method

Returns a deep copy of the given conversion expression.
public Copy ( IConversion conversion ) : Microsoft.Cci.MutableCodeModel.Conversion
conversion IConversion
return Microsoft.Cci.MutableCodeModel.Conversion

Copy() public method

Returns a deep copy of the given copy memory statement.
public Copy ( ICopyMemoryStatement copyMemoryStatement ) : CopyMemoryStatement
copyMemoryStatement ICopyMemoryStatement
return CopyMemoryStatement

Copy() public method

Returns a deep copy of the given array creation expression.
public Copy ( ICreateArray createArray ) : Microsoft.Cci.MutableCodeModel.CreateArray
createArray ICreateArray
return Microsoft.Cci.MutableCodeModel.CreateArray

Copy() public method

Returns a deep copy of the anonymous object creation expression.
public Copy ( ICreateDelegateInstance createDelegateInstance ) : Microsoft.Cci.MutableCodeModel.CreateDelegateInstance
createDelegateInstance ICreateDelegateInstance
return Microsoft.Cci.MutableCodeModel.CreateDelegateInstance

Copy() public method

Returns a deep copy of the given constructor call expression.
public Copy ( ICreateObjectInstance createObjectInstance ) : Microsoft.Cci.MutableCodeModel.CreateObjectInstance
createObjectInstance ICreateObjectInstance
return Microsoft.Cci.MutableCodeModel.CreateObjectInstance

Copy() public method

Returns a deep copy of the given debugger break statement.
public Copy ( IDebuggerBreakStatement debuggerBreakStatement ) : DebuggerBreakStatement
debuggerBreakStatement IDebuggerBreakStatement
return DebuggerBreakStatement

Copy() public method

Returns a deep copy of the given defalut value expression.
public Copy ( IDefaultValue defaultValue ) : Microsoft.Cci.MutableCodeModel.DefaultValue
defaultValue IDefaultValue
return Microsoft.Cci.MutableCodeModel.DefaultValue

Copy() public method

Returns a deep copy of the given division expression.
public Copy ( IDivision division ) : Microsoft.Cci.MutableCodeModel.Division
division IDivision
return Microsoft.Cci.MutableCodeModel.Division

Copy() public method

Returns a deep copy of the given do until statement.
public Copy ( IDoUntilStatement doUntilStatement ) : DoUntilStatement
doUntilStatement IDoUntilStatement
return DoUntilStatement

Copy() public method

Returns a deep copy of the given dup value expression.
public Copy ( IDupValue dupValue ) : Microsoft.Cci.MutableCodeModel.DupValue
dupValue IDupValue
return Microsoft.Cci.MutableCodeModel.DupValue

Copy() public method

Returns a deep copy of the given empty statement.
public Copy ( IEmptyStatement emptyStatement ) : EmptyStatement
emptyStatement IEmptyStatement
return EmptyStatement

Copy() public method

Returns a deep copy of the given equality expression.
public Copy ( IEquality equality ) : Microsoft.Cci.MutableCodeModel.Equality
equality IEquality
return Microsoft.Cci.MutableCodeModel.Equality

Copy() public method

Returns a deep copy of the given exclusive or expression.
public Copy ( IExclusiveOr exclusiveOr ) : Microsoft.Cci.MutableCodeModel.ExclusiveOr
exclusiveOr IExclusiveOr
return Microsoft.Cci.MutableCodeModel.ExclusiveOr

Copy() public method

Returns a deep copy of the given expression.
public Copy ( IExpression expression ) : Microsoft.Cci.MutableCodeModel.Expression
expression IExpression
return Microsoft.Cci.MutableCodeModel.Expression

Copy() public method

Returns a deep copy of the given expression statement.
public Copy ( IExpressionStatement expressionStatement ) : ExpressionStatement
expressionStatement IExpressionStatement
return ExpressionStatement

Copy() public method

Returns a deep copy of the given fill memory block statement.
public Copy ( IFillMemoryStatement fillMemoryStatement ) : FillMemoryStatement
fillMemoryStatement IFillMemoryStatement
return FillMemoryStatement

Copy() public method

Returns a deep copy of the given foreach statement.
public Copy ( IForEachStatement forEachStatement ) : ForEachStatement
forEachStatement IForEachStatement
return ForEachStatement

Copy() public method

Returns a deep copy of the given for statement.
public Copy ( IForStatement forStatement ) : ForStatement
forStatement IForStatement
return ForStatement

Copy() public method

Returns a deep copy of the given get type of typed reference expression.
public Copy ( IGetTypeOfTypedReference getTypeOfTypedReference ) : Microsoft.Cci.MutableCodeModel.GetTypeOfTypedReference
getTypeOfTypedReference IGetTypeOfTypedReference
return Microsoft.Cci.MutableCodeModel.GetTypeOfTypedReference

Copy() public method

Returns a deep copy of the given get value of typed reference expression.
public Copy ( IGetValueOfTypedReference getValueOfTypedReference ) : Microsoft.Cci.MutableCodeModel.GetValueOfTypedReference
getValueOfTypedReference IGetValueOfTypedReference
return Microsoft.Cci.MutableCodeModel.GetValueOfTypedReference

Copy() public method

Returns a deep copy of the given goto statement.
public Copy ( IGotoStatement gotoStatement ) : GotoStatement
gotoStatement IGotoStatement
return GotoStatement

Copy() public method

Returns a deep copy of the given goto switch case statement.
public Copy ( IGotoSwitchCaseStatement gotoSwitchCaseStatement ) : GotoSwitchCaseStatement
gotoSwitchCaseStatement IGotoSwitchCaseStatement
return GotoSwitchCaseStatement

Copy() public method

Returns a deep copy of the given greater-than expression.
public Copy ( IGreaterThan greaterThan ) : Microsoft.Cci.MutableCodeModel.GreaterThan
greaterThan IGreaterThan
return Microsoft.Cci.MutableCodeModel.GreaterThan

Copy() public method

Returns a deep copy of the given greater-than-or-equal expression.
public Copy ( IGreaterThanOrEqual greaterThanOrEqual ) : Microsoft.Cci.MutableCodeModel.GreaterThanOrEqual
greaterThanOrEqual IGreaterThanOrEqual
return Microsoft.Cci.MutableCodeModel.GreaterThanOrEqual

Copy() public method

Returns a deep copy of the given labeled statement.
public Copy ( ILabeledStatement labeledStatement ) : LabeledStatement
labeledStatement ILabeledStatement
return LabeledStatement

Copy() public method

Returns a deep copy of the given left shift expression.
public Copy ( ILeftShift leftShift ) : Microsoft.Cci.MutableCodeModel.LeftShift
leftShift ILeftShift
return Microsoft.Cci.MutableCodeModel.LeftShift

Copy() public method

Returns a deep copy of the given less-than expression.
public Copy ( ILessThan lessThan ) : Microsoft.Cci.MutableCodeModel.LessThan
lessThan ILessThan
return Microsoft.Cci.MutableCodeModel.LessThan

Copy() public method

Returns a deep copy of the given less-than-or-equal expression.
public Copy ( ILessThanOrEqual lessThanOrEqual ) : LessThanOrEqual
lessThanOrEqual ILessThanOrEqual
return LessThanOrEqual

Copy() public method

Returns a deep copy the given list of catch clauses.
public Copy ( List catchClauses ) : List
catchClauses List
return List

Copy() public method

Returns a deep copy of the given list of custom modifiers.
public Copy ( List customModifiers ) : List
customModifiers List
return List

Copy() public method

Returns a deep copy the given list of expressions.
public Copy ( List expressions ) : List
expressions List
return List

Copy() public method

Returns a deep copy of the given list of parameters.
public Copy ( List parameters ) : List
parameters List
return List

Copy() public method

Returns a deep copy the given enumeration of statements.
public Copy ( List statements ) : List
statements List
return List

Copy() public method

Returns a deep copy the given list of switch cases.
public Copy ( List switchCases ) : List
switchCases List
return List

Copy() public method

Returns a deep copy of the given local declaration statement.
public Copy ( ILocalDeclarationStatement localDeclarationStatement ) : LocalDeclarationStatement
localDeclarationStatement ILocalDeclarationStatement
return LocalDeclarationStatement

Copy() public method

Returns a deep copy of the given lock statement.
public Copy ( ILockStatement lockStatement ) : LockStatement
lockStatement ILockStatement
return LockStatement

Copy() public method

Returns a deep copy of the given logical not expression.
public Copy ( ILogicalNot logicalNot ) : LogicalNot
logicalNot ILogicalNot
return LogicalNot

Copy() public method

Returns a deep copy of the given make typed reference expression.
public Copy ( IMakeTypedReference makeTypedReference ) : MakeTypedReference
makeTypedReference IMakeTypedReference
return MakeTypedReference

Copy() public method

Returns a deep copy of the given method call.
public Copy ( IMethodCall methodCall ) : MethodCall
methodCall IMethodCall
return MethodCall

Copy() public method

Returns a deep copy of the given modulus expression.
public Copy ( IModulus modulus ) : Modulus
modulus IModulus
return Modulus

Copy() public method

Returns a deep copy of the given multiplication expression.
public Copy ( IMultiplication multiplication ) : Multiplication
multiplication IMultiplication
return Multiplication

Copy() public method

Returns a deep copy of the given named argument expression.
public Copy ( INamedArgument namedArgument ) : NamedArgument
namedArgument INamedArgument
return NamedArgument

Copy() public method

Returns a deep copy of the given not equality expression.
public Copy ( INotEquality notEquality ) : NotEquality
notEquality INotEquality
return NotEquality

Copy() public method

Returns a deep copy of the given old value expression.
public Copy ( IOldValue oldValue ) : OldValue
oldValue IOldValue
return OldValue

Copy() public method

Returns a deep copy of the given one's complement expression.
public Copy ( IOnesComplement onesComplement ) : OnesComplement
onesComplement IOnesComplement
return OnesComplement

Copy() public method

Returns a deep copy of the given out argument expression.
public Copy ( IOutArgument outArgument ) : OutArgument
outArgument IOutArgument
return OutArgument

Copy() public method

Returns a deep copy of the given pointer call.
public Copy ( IPointerCall pointerCall ) : PointerCall
pointerCall IPointerCall
return PointerCall

Copy() public method

Returns a deep copy of the given pop value expression.
public Copy ( IPopValue popValue ) : PopValue
popValue IPopValue
return PopValue

Copy() public method

Returns a deep copy of the given push statement.
public Copy ( IPushStatement pushStatement ) : PushStatement
pushStatement IPushStatement
return PushStatement

Copy() public method

Returns a deep copy of the given ref argument expression.
public Copy ( IRefArgument refArgument ) : RefArgument
refArgument IRefArgument
return RefArgument

Copy() public method

Returns a deep copy of the given resource usage statement.
public Copy ( IResourceUseStatement resourceUseStatement ) : ResourceUseStatement
resourceUseStatement IResourceUseStatement
return ResourceUseStatement

Copy() public method

Returns a deep copy of the rethrow statement.
public Copy ( IRethrowStatement rethrowStatement ) : RethrowStatement
rethrowStatement IRethrowStatement
return RethrowStatement

Copy() public method

Returns a deep copy of the return statement.
public Copy ( IReturnStatement returnStatement ) : ReturnStatement
returnStatement IReturnStatement
return ReturnStatement

Copy() public method

Returns a deep copy of the given return value expression.
public Copy ( IReturnValue returnValue ) : ReturnValue
returnValue IReturnValue
return ReturnValue

Copy() public method

Returns a deep copy of the given right shift expression.
public Copy ( IRightShift rightShift ) : RightShift
rightShift IRightShift
return RightShift

Copy() public method

Returns a deep copy of the given runtime argument handle expression.
public Copy ( IRuntimeArgumentHandleExpression runtimeArgumentHandleExpression ) : RuntimeArgumentHandleExpression
runtimeArgumentHandleExpression IRuntimeArgumentHandleExpression
return RuntimeArgumentHandleExpression

Copy() public method

Returns a deep copy of the given sizeof() expression.
public Copy ( ISizeOf sizeOf ) : SizeOf
sizeOf ISizeOf
return SizeOf

Copy() public method

Returns a deep copy of the given source method body.
public Copy ( ISourceMethodBody sourceMethodBody ) : SourceMethodBody
sourceMethodBody ISourceMethodBody
return SourceMethodBody

Copy() public method

Returns a deep copy of the given stack array create expression.
public Copy ( IStackArrayCreate stackArrayCreate ) : StackArrayCreate
stackArrayCreate IStackArrayCreate
return StackArrayCreate

Copy() public method

Visits the specified statement.
public Copy ( IStatement statement ) : Statement
statement IStatement The statement.
return Statement

Copy() public method

Returns a deep copy of the given subtraction expression.
public Copy ( ISubtraction subtraction ) : Subtraction
subtraction ISubtraction
return Subtraction

Copy() public method

Returns a deep copy of the given switch case.
public Copy ( ISwitchCase switchCase ) : SwitchCase
switchCase ISwitchCase
return SwitchCase

Copy() public method

Returns a deep copy of the given switch statement.
public Copy ( ISwitchStatement switchStatement ) : SwitchStatement
switchStatement ISwitchStatement
return SwitchStatement

Copy() public method

Returns a deep copy of the given target expression.
public Copy ( ITargetExpression targetExpression ) : TargetExpression
targetExpression ITargetExpression
return TargetExpression

Copy() public method

Returns a deep copy of the given this reference expression.
public Copy ( IThisReference thisReference ) : ThisReference
thisReference IThisReference
return ThisReference

Copy() public method

Returns a deep copy of the throw statement.
public Copy ( IThrowStatement throwStatement ) : ThrowStatement
throwStatement IThrowStatement
return ThrowStatement

Copy() public method

Returns a deep copy of the given tokenof() expression.
public Copy ( ITokenOf tokenOf ) : TokenOf
tokenOf ITokenOf
return TokenOf

Copy() public method

Returns a deep copy of the try-catch-filter-finally statement.
public Copy ( ITryCatchFinallyStatement tryCatchFilterFinallyStatement ) : TryCatchFinallyStatement
tryCatchFilterFinallyStatement ITryCatchFinallyStatement
return TryCatchFinallyStatement

Copy() public method

Returns a deep copy of the given typeof() expression.
public Copy ( ITypeOf typeOf ) : TypeOf
typeOf ITypeOf
return TypeOf

Copy() public method

Returns a deep copy of the given unary negation expression.
public Copy ( IUnaryNegation unaryNegation ) : UnaryNegation
unaryNegation IUnaryNegation
return UnaryNegation

Copy() public method

Returns a deep copy of the given unary plus expression.
public Copy ( IUnaryPlus unaryPlus ) : UnaryPlus
unaryPlus IUnaryPlus
return UnaryPlus

Copy() public method

Returns a deep copy of the given vector length expression.
public Copy ( IVectorLength vectorLength ) : VectorLength
vectorLength IVectorLength
return VectorLength

Copy() public method

Returns a deep copy of the given while do statement.
public Copy ( IWhileDoStatement whileDoStatement ) : WhileDoStatement
whileDoStatement IWhileDoStatement
return WhileDoStatement

Copy() public method

Returns a deep copy of the given yield break statement.
public Copy ( IYieldBreakStatement yieldBreakStatement ) : YieldBreakStatement
yieldBreakStatement IYieldBreakStatement
return YieldBreakStatement

Copy() public method

Returns a deep copy of the given yield return statement.
public Copy ( IYieldReturnStatement yieldReturnStatement ) : YieldReturnStatement
yieldReturnStatement IYieldReturnStatement
return YieldReturnStatement

CopyMethodBody() protected method

Returns a deep copy of the given method body.
protected CopyMethodBody ( IMethodBody methodBody, IMethodDefinition method ) : IMethodBody
methodBody IMethodBody
method IMethodDefinition
return IMethodBody

GetExistingCopyIfInsideCone() public method

If the local is declared inside the subtree being copied by this copier, then return the copy. Otherwise return the local itself. No copies are made by this method.
public GetExistingCopyIfInsideCone ( ILocalDefinition local ) : ILocalDefinition
local ILocalDefinition A local that is referenced from an expression.
return ILocalDefinition