C#using System;
using System.Linq;
namespace Test {
public class TestClass {
bool field;
void MethodName(bool param, bool defaultParam = true) {
field = param && defaultParam;
}
void MethodName2() {
Method<<:caret:>>Name(true);
}
}
}
'Inline Method' fails if a target method has parameters with a default value
Answers approved by DevExpress Support
We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.
Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.
- v16.2.4Download Official Update
- v16.1.10Download Official Update