We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0d8db0 commit 510e8e3Copy full SHA for 510e8e3
1 file changed
test/Thinktecture.Runtime.Extensions.SourceGenerator.Tests/CodeAnalysis/InstanceMemberInfoTests/Equals.cs
@@ -400,7 +400,11 @@ public class TestClass
400
private readonly int _field;
401
}
402
";
403
- var compilation = CreateCompilation(src, additionalReferences: [typeof(MessagePack.MessagePackFormatterAttribute).Assembly.Location]);
+ var compilation = CreateCompilation(src, additionalReferences:
404
+ [
405
+ typeof(System.Text.Json.Serialization.JsonConverterAttribute).Assembly.Location,
406
+ typeof(MessagePack.MessagePackFormatterAttribute).Assembly.Location
407
+ ]);
408
var factory = TypedMemberStateFactory.Create(compilation);
409
var type = GetTypeSymbol(compilation, "Test.TestClass");
410
var field = (IFieldSymbol)type.GetMembers("_field").First();
0 commit comments