mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
chore(dotnet): avoid adding two prefixes (#5974)
This commit is contained in:
parent
49bbc2bc76
commit
779037a77e
@ -438,7 +438,8 @@ function renderMethod(member, parent, output, name) {
|
||||
// set-only methods to settable properties
|
||||
if (member.args.size == 0
|
||||
&& type !== 'void'
|
||||
&& !name.startsWith('Get')) {
|
||||
&& !name.startsWith('Get')
|
||||
&& !/Is[A-Z]/.test(name)) {
|
||||
if (!member.async) {
|
||||
if (member.spec)
|
||||
output(XmlDoc.renderXmlDoc(member.spec, maxDocumentationColumnWidth));
|
||||
|
Loading…
x
Reference in New Issue
Block a user