csharp: Marking property with static.

Summary: ref T8420

Reviewers: lauromoura, felipealmeida, YOhoho, jptiz

Reviewed By: jptiz

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8420

Differential Revision: https://phab.enlightenment.org/D10657
This commit is contained in:
Lauro Moura 2019-12-09 08:22:59 -03:00
parent 39758346ef
commit ed43683955
1 changed files with 3 additions and 3 deletions

View File

@ -515,7 +515,7 @@ class TestProvider
private class ProviderHolder : Dummy.TestObject
{
private Dummy.TestObject provider;
public string ProviderName
public static string ProviderName
{
get
{
@ -526,7 +526,7 @@ class TestProvider
public ProviderHolder() : base(null)
{
this.provider = new Dummy.TestObject(this);
this.provider.Name = this.ProviderName;
this.provider.Name = ProviderHolder.ProviderName;
this.provider.IfaceProp = 1997;
}
@ -553,7 +553,7 @@ class TestProvider
provider = obj.CallFindProviderForIface();
Test.AssertNotNull(provider, msg : "Provider of ITestIFace must not be null");
Test.AssertEquals(provider.Name, obj.ProviderName, "Provider name does not match expected");
Test.AssertEquals(provider.Name, ProviderHolder.ProviderName, "Provider name does not match expected");
obj.Dispose();
}
}