public IMethod Resolve(ISolutionSnapshotWithProjectMapping solutionSnapshot)
        {
            ICompilation compilation    = solutionSnapshot.GetCompilation(parentProject.Project);
            IMethod      resolvedMethod = method.Resolve(new SimpleTypeResolveContext(compilation.MainAssembly));

            return(resolvedMethod);
        }
Esempio n. 2
0
        public ITypeDefinition Resolve(ISolutionSnapshotWithProjectMapping solutionSnapshot)
        {
            ICompilation compilation = solutionSnapshot.GetCompilation(parentProject.Project);
            IType        type        = compilation.MainAssembly.GetTypeDefinition(fullTypeName);

            return(type.GetDefinition());
        }
Esempio n. 3
0
		public IMethod Resolve(ISolutionSnapshotWithProjectMapping solutionSnapshot)
		{
			ICompilation compilation = solutionSnapshot.GetCompilation(parentProject.Project);
			IMethod resolvedMethod = method.Resolve(new SimpleTypeResolveContext(compilation.MainAssembly));
			return resolvedMethod;
		}
Esempio n. 4
0
		public ITypeDefinition Resolve(ISolutionSnapshotWithProjectMapping solutionSnapshot)
		{
			ICompilation compilation = solutionSnapshot.GetCompilation(parentProject.Project);
			IType type = compilation.MainAssembly.GetTypeDefinition(fullTypeName);
			return type.GetDefinition();
		}