1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-04 15:26:00 +02:00

Property visibility fixes for default interface methods

This commit is contained in:
Brian Fiete 2023-01-13 07:01:54 -05:00
parent 2746a53839
commit 16de3a14a4
5 changed files with 45 additions and 11 deletions

View file

@ -4,6 +4,19 @@ using System.Diagnostics;
namespace LibA
{
public interface ITaggable
{
public String Tag
{
get;
}
public bool MatchesTag(String tag)
{
return Tag.Equals(tag);
}
}
struct LibAStruct
{
int mA;

View file

@ -405,6 +405,14 @@ namespace Tests
public static String Serialize(Self value);
}
public class EngineTag : LibA.ITaggable
{
public String Tag
{
get => "ET";
}
}
[Test]
public static void TestDefaults()
{