if (twitter == null)
throw new ArgumentNullException("twitter");
if (twitterConfig == null)
- throw new ArgumentNullException("config");
+ throw new ArgumentNullException("twitterConfig");
this.twitter = twitter;
this.twitterConfig = twitterConfig;
public void CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex)
{
if (array == null)
- throw new ArgumentNullException();
+ throw new ArgumentNullException("array");
if (arrayIndex < 0)
- throw new ArgumentOutOfRangeException();
+ throw new ArgumentOutOfRangeException("arrayIndex");
if (arrayIndex >= array.Length)
- throw new ArgumentException("arrayIndex is equal to or greater than array.Length.");
+ throw new ArgumentException("arrayIndex is equal to or greater than array.Length.", "arrayIndex");
if (array.Length - arrayIndex < this.Count)
- throw new ArgumentException("The destination array is too small.");
+ throw new ArgumentException("The destination array is too small.", "array");
foreach (var pair in this)
array[arrayIndex++] = pair;
set
{
if (value == null)
- throw new ArgumentNullException();
+ throw new ArgumentNullException("value");
this.IsDirty = true;
this._FilterBody = value;
set
{
if (value == null)
- throw new ArgumentNullException();
+ throw new ArgumentNullException("value");
this.IsDirty = true;
this._ExFilterBody = value;
this.textSearchTimeline.Text = value.Query;
break;
default:
- throw new InvalidEnumArgumentException("value.Type", (int)value.Type, typeof(SearchType));
+ throw new InvalidEnumArgumentException("value", (int)value.Type, typeof(SearchType));
}
}
}