|
|
@ -805,6 +805,11 @@ namespace CppSharp.Generators.CSharp |
|
|
|
private void GeneratePropertySetter<T>(QualifiedType returnType, T decl, Class @class) |
|
|
|
private void GeneratePropertySetter<T>(QualifiedType returnType, T decl, Class @class) |
|
|
|
where T : Declaration, ITypedDecl |
|
|
|
where T : Declaration, ITypedDecl |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
if (!(decl is Function || decl is Field) ) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
PushBlock(CSharpBlockKind.Method); |
|
|
|
PushBlock(CSharpBlockKind.Method); |
|
|
|
WriteLine("set"); |
|
|
|
WriteLine("set"); |
|
|
|
|
|
|
|
|
|
|
|