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