Exemplo n.º 1
0
        // Token: 0x06000023 RID: 35 RVA: 0x00002691 File Offset: 0x00000891
        public static IEnumerable <Reference> GetReferences(this Project project)
        {
            VSProject vsproject = ProjectInterfaceConverters.ToVSProject(project);

            foreach (object obj in vsproject.References)
            {
                Reference reference = (Reference)obj;
                yield return(reference);
            }
            IEnumerator enumerator = null;

            yield break;
            yield break;
        }
Exemplo n.º 2
0
        // Token: 0x06000026 RID: 38 RVA: 0x00002700 File Offset: 0x00000900
        public static void AddReference(this Project project, Project toProject)
        {
            VSProject vsproject = ProjectInterfaceConverters.ToVSProject(project);

            vsproject.References.AddProject(toProject);
        }