|
|
@ -167,7 +167,8 @@ public class CSharpTests : GeneratorTestFixture |
|
|
|
[Test] |
|
|
|
[Test] |
|
|
|
public void TestDefaultArguments() |
|
|
|
public void TestDefaultArguments() |
|
|
|
{ |
|
|
|
{ |
|
|
|
var methodsWithDefaultValues = new MethodsWithDefaultValues(); |
|
|
|
using (var methodsWithDefaultValues = new MethodsWithDefaultValues()) |
|
|
|
|
|
|
|
{ |
|
|
|
methodsWithDefaultValues.DefaultPointer(); |
|
|
|
methodsWithDefaultValues.DefaultPointer(); |
|
|
|
methodsWithDefaultValues.DefaultVoidStar(); |
|
|
|
methodsWithDefaultValues.DefaultVoidStar(); |
|
|
|
methodsWithDefaultValues.DefaultValueType(); |
|
|
|
methodsWithDefaultValues.DefaultValueType(); |
|
|
@ -195,6 +196,8 @@ public class CSharpTests : GeneratorTestFixture |
|
|
|
methodsWithDefaultValues.DefaultDoubleWithoutF(); |
|
|
|
methodsWithDefaultValues.DefaultDoubleWithoutF(); |
|
|
|
methodsWithDefaultValues.DefaultIntExpressionWithEnum(); |
|
|
|
methodsWithDefaultValues.DefaultIntExpressionWithEnum(); |
|
|
|
methodsWithDefaultValues.DefaultCtorWithMoreThanOneArg(); |
|
|
|
methodsWithDefaultValues.DefaultCtorWithMoreThanOneArg(); |
|
|
|
|
|
|
|
methodsWithDefaultValues.DefaultWithRefManagedLong(); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
[Test] |
|
|
|
[Test] |
|
|
|