public IParameterDataProvider CreateConstructorProvider (ICSharpCode.NRefactory.TypeSystem.IType type) { return new Provider () { Data = type.GetConstructors (m => m.Accessibility == Accessibility.Public) }; }
public IParameterDataProvider CreateConstructorProvider(int startOffset, ICSharpCode.NRefactory.TypeSystem.IType type) { Assert.IsTrue(type.Kind != TypeKind.Unknown); return new Provider () { Data = type.GetConstructors (m => m.Accessibility == Accessibility.Public) }; }