static IndirectionStub MakeStub(StubElement internalStub) { Debug.Assert(internalStub != null); if (internalStub.Target == null) { throw new KeyNotFoundException(""); // TODO: } return(new IndirectionStub(internalStub.Name, internalStub.Alias, internalStub.Xml, internalStub.Target)); }
static IndirectionStub MakeStub(StubElement internalStub) { Debug.Assert(internalStub != null); if (internalStub.Target == null) throw new KeyNotFoundException(""); // TODO: return new IndirectionStub(internalStub.Name, internalStub.Alias, internalStub.Xml, internalStub.Target); }