| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -115,16 +115,6 @@ public static int[] TestOverloadedParams(string v, params int[] args) | |||
| 115 | 115 | return args; | |
| 116 | 116 | } | |
| 117 | 117 | ||
| 118 | - public static int TestOverloadedObject(int i) | ||
| 119 | - { | ||
| 120 | - return i; | ||
| 121 | - } | ||
| 122 | - | ||
| 123 | - public static object TestOverloadedObject(object o) | ||
| 124 | - { | ||
| 125 | - return o; | ||
| 126 | - } | ||
| 127 | - | ||
| 128 | 118 | public static int[] TestOverloadedParams(int v, int[] args) | |
| 129 | 119 | { | |
| 130 | 120 | return args; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -341,10 +341,6 @@ def test(): | |||
| 341 | 341 | # None cannot be converted to a value type like int, long, etc. | |
| 342 | 342 | self.assertRaises(TypeError, test) | |
| 343 | 343 | ||
| 344 | - def testObjectInParam(self): | ||
| 345 | - MethodTest.TestOverloadedObject(5) | ||
| 346 | - MethodTest.TestOverloadedObject("test") | ||
| 347 | - | ||
| 348 | 344 | def testObjectOutParams(self): | |
| 349 | 345 | """Test use of object out-parameters.""" | |
| 350 | 346 | result = MethodTest.TestObjectOutParams("hi", MethodTest()) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments