Tests: Add Properties test
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
<Compile Remove="TestSources\CustomAttributeData.cs" />
|
||||
<Compile Remove="TestSources\GenericTypes.cs" />
|
||||
<Compile Remove="TestSources\Methods.cs" />
|
||||
<Compile Remove="TestSources\Properties.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
@@ -53,6 +54,7 @@
|
||||
<Content Include="TestSources\CustomAttributeData.cs" />
|
||||
<Content Include="TestSources\GenericTypes.cs" />
|
||||
<Content Include="TestSources\Methods.cs" />
|
||||
<Content Include="TestSources\Properties.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
16
Il2CppTests/TestSources/Properties.cs
Normal file
16
Il2CppTests/TestSources/Properties.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
Copyright 2017-2019 Katy Coe - http://www.hearthcode.org - http://www.djkaty.com
|
||||
|
||||
All rights reserved.
|
||||
*/
|
||||
|
||||
namespace Il2CppTests.TestSources
|
||||
{
|
||||
internal class Test
|
||||
{
|
||||
private int prop1 { get; set; }
|
||||
protected int prop2 { get; private set; }
|
||||
protected int prop3 { private get; set; }
|
||||
public static int prop4 { private get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user