public IParameterDataProvider CreateDelegateDataProvider (ICSharpCode.NRefactory.TypeSystem.IType type) { return new Provider () { Data = new [] { type.GetDelegateInvokeMethod () } }; }
public IParameterDataProvider CreateDelegateDataProvider(int startOffset, ICSharpCode.NRefactory.TypeSystem.IType type) { Assert.IsTrue(type.Kind != TypeKind.Unknown); return new Provider () { Data = new [] { type.GetDelegateInvokeMethod () } }; }