Tweak properties detection to block all field backed ones

このコミットが含まれているのは:
Sergio Pedri committed 2022-04-29 12:58:19 +02:00
1 親 7d14403632
コミット 1ef6040e58
7ファイル変更
+79 -31

検索条件に一致するファイルはありません

+2 -1
ファイルの表示
@@ -62,12 +62,13 @@ public unsafe partial class AutoConstructorAttributeTests
public void Foo();
}
[AutoConstructor]
public partial struct AnotherStruct : IAnotherInterface
{
public int a;
public float b;
int IAnotherInterface.B { get; }
int IAnotherInterface.B => 100;
void IAnotherInterface.Foo()
{
+2 -2
ファイルの表示
@@ -289,7 +289,7 @@ namespace ComputeSharp.Tests
[AutoConstructor]
internal readonly partial struct ComputeShaderWithInheritedShaderInterfaceShader : IMyBaseShader
{
int IMyBaseShader.A { get; }
int IMyBaseShader.A => 42;
void IMyBaseShader.B()
{
@@ -322,7 +322,7 @@ namespace ComputeSharp.Tests
[AutoConstructor]
internal readonly partial struct PixelShaderWithInheritedShaderInterfaceShader : IMyBaseShader<float4>
{
int IMyBaseShader<float4>.A { get; }
int IMyBaseShader<float4>.A => 42;
void IMyBaseShader<float4>.B()
{