comparison Tools/DocGen/Content/Doc/Aspects/NotNull.cs @ 0:f990fcb411a9

Копия текущей версии из github
author cin
date Thu, 27 Mar 2014 21:46:09 +0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f990fcb411a9
1 [BLToolkitGenerated]
2 public sealed class TestObject : NotNullTest.TestObject
3 {
4 public override void Foo1(string str1, string str2, string str3)
5 {
6 if (str2 == null) throw new ArgumentNullException("str2");
7
8 base.Foo1(str1, str2, str3);
9 }
10
11 public override void Foo2(string str1, string str2, string str3)
12 {
13 if (str2 == null) throw new ArgumentNullException("str2", "Null");
14
15 base.Foo2(str1, str2, str3);
16 }
17
18 public override void Foo3(string str1, string str2, string str3)
19 {
20 if (str2 == null) throw new ArgumentNullException("str2", "Null: str2");
21
22 base.Foo3(str1, str2, str3);
23 }
24 }