// Copyright (c) 2010 AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under MIT X11 license (for details please see \doc\license.txt) using System; using System.Collections.Generic; using System.Collections.ObjectModel; using ICSharpCode.NRefactory.TypeSystem; namespace ICSharpCode.NRefactory.CSharp.Resolver { /// /// Represents a group of methods. /// public class MethodGroupResolveResult : ResolveResult { readonly ReadOnlyCollection methods; public MethodGroupResolveResult(IList methods) : base(SharedTypes.UnknownType) { if (methods == null) throw new ArgumentNullException("methods"); this.methods = new ReadOnlyCollection(methods); } public ReadOnlyCollection Methods { get { return methods; } } } }