@ -640,6 +640,9 @@ namespace CppSharp.Generators.CLI
PushBlock(CLIBlockKind.Property, property);
var type = property.QualifiedType.Visit(TypePrinter);
if (property.IsStatic)
Write("static ");
if (property.IsIndexer)
{
GenerateIndexer(property);
@ -181,8 +181,7 @@ public class BasicTests : GeneratorTestFixture
[Test]
public void TestAttributedDelegate()
var attributedDelegate = basic.GetAttributedDelegate();
var result = basic.AttributedDelegate(2);
var result = attributedDelegate(2);
Assert.AreEqual(4, result);
}