private IterateTunnel(Structure parentStructure, IterateTunnel toCopy, NodeCopyInfo copyInfo) : base(parentStructure, toCopy, copyInfo) { Node mappedTunnel; if (copyInfo.TryGetMappingFor(toCopy.TerminateLifetimeTunnel, out mappedTunnel)) { TerminateLifetimeTunnel = (TerminateLifetimeTunnel)mappedTunnel; TerminateLifetimeTunnel.BeginLifetimeTunnel = this; } }
private IterateTunnel(Structure parentStructure, IterateTunnel toCopy, NodeCopyInfo copyInfo) : base(parentStructure, toCopy, copyInfo) { IteratorNextFunctionType = toCopy.IteratorNextFunctionType; Node mappedTunnel; if (copyInfo.TryGetMappingFor(toCopy.TerminateLifetimeTunnel, out mappedTunnel)) { TerminateLifetimeTunnel = (TerminateLifetimeTunnel)mappedTunnel; TerminateLifetimeTunnel.BeginLifetimeTunnel = this; } IntermediateValueVariable = toCopy.IntermediateValueVariable; }