}
[Fact]
-#if BUILDING_SOURCE_GENERATOR_TESTS
- [ActiveIssue("https://github.com/dotnet/runtime/issues/66421")]
-#endif
public async Task IgnoreCycles_OnRecursiveDictionary()
{
var root = new RecursiveDictionary();
}
[Fact]
-#if BUILDING_SOURCE_GENERATOR_TESTS
- [ActiveIssue("https://github.com/dotnet/runtime/issues/66421")]
-#endif
public async Task IgnoreCycles_OnRecursiveList()
{
var root = new RecursiveList();
}
[Fact]
-#if BUILDING_SOURCE_GENERATOR_TESTS
- [ActiveIssue("https://github.com/dotnet/runtime/issues/66421")]
-#endif
public async Task IgnoreCycles_DoesNotSupportPreserveSemantics()
{
// Object
}
[Fact]
-#if BUILDING_SOURCE_GENERATOR_TESTS
- [ActiveIssue("https://github.com/dotnet/runtime/issues/66421")]
-#endif
public async Task IgnoreCycles_DoesNotSupportPreserveSemantics_Polymorphic()
{
// Object
public class DictionaryWithGenericCycle : Dictionary<string, DictionaryWithGenericCycle> { }
[Fact]
-#if BUILDING_SOURCE_GENERATOR_TESTS
- [ActiveIssue("https://github.com/dotnet/runtime/issues/66421")]
-#endif
public async Task DictionaryLoop()
{
DictionaryWithGenericCycle root = new DictionaryWithGenericCycle();
}
[Fact]
-#if BUILDING_SOURCE_GENERATOR_TESTS
- [ActiveIssue("https://github.com/dotnet/runtime/issues/66421")]
-#endif
public async Task DictionaryPreserveDuplicateDictionaries()
{
DictionaryWithGenericCycle root = new DictionaryWithGenericCycle();
public class DictionaryWithGenericCycleWithinList : Dictionary<string, List<DictionaryWithGenericCycleWithinList>> { }
[Fact]
-#if BUILDING_SOURCE_GENERATOR_TESTS
- [ActiveIssue("https://github.com/dotnet/runtime/issues/66421")]
-#endif
public async Task DictionaryArrayLoop()
{
DictionaryWithGenericCycleWithinList root = new DictionaryWithGenericCycleWithinList();
}
[Fact]
-#if BUILDING_SOURCE_GENERATOR_TESTS
- [ActiveIssue("https://github.com/dotnet/runtime/issues/66421")]
-#endif
public async Task DictionaryPreserveDuplicateArrays()
{
DictionaryWithGenericCycleWithinList root = new DictionaryWithGenericCycleWithinList();
public class ListWithGenericCycle : List<ListWithGenericCycle> { }
[Fact]
-#if BUILDING_SOURCE_GENERATOR_TESTS
- [ActiveIssue("https://github.com/dotnet/runtime/issues/66421")]
-#endif
public async Task ArrayLoop()
{
ListWithGenericCycle root = new ListWithGenericCycle();
public class ListWithGenericCycleWithinDictionary : List<Dictionary<string, ListWithGenericCycleWithinDictionary>> { }
[Fact]
-#if BUILDING_SOURCE_GENERATOR_TESTS
- [ActiveIssue("https://github.com/dotnet/runtime/issues/66421")]
-#endif
public async Task ArrayDictionaryLoop()
{
ListWithGenericCycleWithinDictionary root = new ListWithGenericCycleWithinDictionary();
}
[Fact]
-#if BUILDING_SOURCE_GENERATOR_TESTS
- [ActiveIssue("https://github.com/dotnet/runtime/issues/66421")]
-#endif
public async Task ArrayPreserveDuplicateDictionaries()
{
ListWithGenericCycleWithinDictionary root = new ListWithGenericCycleWithinDictionary