B
bayeror
Tag!
Ich hab ein Property in dem ich eine Exception auslösen will.
Wenn ich das mache wird mir als "Ursprung" das throw-Statement
angezeigt. z.B.
Ich möchte aber, dass der Aufruf des Properties angezeigt wird, in dem die Exception aus gelöst wurde. z.B.
(wobei "Count" für dieses Property steht)
Wer kann mir helfen?
Ich hab ein Property in dem ich eine Exception auslösen will.
Wenn ich das mache wird mir als "Ursprung" das throw-Statement
angezeigt. z.B.
Code:
throw new System.NullReferenceException();
Code:
if (Items.Count == 0)
Wer kann mir helfen?