Example #1
0
        static IList <IndirectionStub> MakeStubs(StubCollection internalStubs)
        {
            Debug.Assert(internalStubs != null);

            var stubs = new List <IndirectionStub>();

            foreach (StubElement internalStub in internalStubs)
            {
                stubs.Add(MakeStub(internalStub));
            }
            return(stubs);
        }
Example #2
0
        static IList<IndirectionStub> MakeStubs(StubCollection internalStubs)
        {
            Debug.Assert(internalStubs != null);

            var stubs = new List<IndirectionStub>();
            foreach (StubElement internalStub in internalStubs)
                stubs.Add(MakeStub(internalStub));
            return stubs;
        }