chore(dotnet): remove set properties (#6531)

This commit is contained in:
Darío Kondratiuk 2021-05-13 16:00:45 -03:00 committed by GitHub
parent 6a39b86640
commit c4321887d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 9 deletions

View File

@ -458,15 +458,6 @@ function renderMethod(member, parent, output, name) {
output(`${type} ${name} { get; }`);
return;
}
} else if (member.args.size == 1
&& type === 'void'
&& name.startsWith('Set')
&& !member.async) {
name = name.substring(3); // remove the 'Set'
if (member.spec)
output(XmlDoc.renderXmlDoc(member.spec, maxDocumentationColumnWidth));
output(`${translateType(member.argsArray[0].type, parent)} ${name} { get; set; }`);
return;
}
// HACK: special case for generics handling!