20 references to DebuggerAttributes
Microsoft.CodeAnalysis.UnitTests (20)
Collections\ImmutableSegmentedDictionaryBuilderTest.cs (3)
248DebuggerAttributes.ValidateDebuggerDisplayReferences(ImmutableSegmentedDictionary.CreateBuilder<string, int>()); 252DebuggerAttributeInfo info = DebuggerAttributes.ValidateDebuggerTypeProxyProperties(builder); 261Type proxyType = DebuggerAttributes.GetProxyType(ImmutableSegmentedDictionary.Create<string, int>());
Collections\ImmutableSegmentedDictionaryTest.cs (5)
247DebuggerAttributes.ValidateDebuggerDisplayReferences(ImmutableSegmentedDictionary.Create<int, int>()); 249DebuggerAttributeInfo info = DebuggerAttributes.ValidateDebuggerTypeProxyProperties(dict); 251object rootNode = DebuggerAttributes.GetFieldValue(ImmutableSegmentedDictionary.Create<string, string>(), "_root") ?? throw new InvalidOperationException(); 252DebuggerAttributes.ValidateDebuggerDisplayReferences(rootNode); 261Type proxyType = DebuggerAttributes.GetProxyType(ImmutableSegmentedDictionary.Create<string, int>());
Collections\ImmutableSegmentedHashSetBuilderTest.cs (1)
315DebuggerAttributes.ValidateDebuggerDisplayReferences(ImmutableSegmentedHashSet.CreateBuilder<int>());
Collections\ImmutableSegmentedHashSetTest.cs (3)
186DebuggerAttributes.ValidateDebuggerDisplayReferences(ImmutableSegmentedHashSet.Create<string>()); 188DebuggerAttributeInfo info = DebuggerAttributes.ValidateDebuggerTypeProxyProperties(set); 197Type proxyType = DebuggerAttributes.GetProxyType(ImmutableSegmentedHashSet.Create<string>());
Collections\ImmutableSegmentedListBuilderTest.cs (3)
358DebuggerAttributes.ValidateDebuggerDisplayReferences(ImmutableSegmentedList.CreateBuilder<int>()); 362DebuggerAttributeInfo info = DebuggerAttributes.ValidateDebuggerTypeProxyProperties(builder); 371Type proxyType = DebuggerAttributes.GetProxyType(ImmutableSegmentedList.CreateBuilder<string>());
Collections\ImmutableSegmentedListTest.cs (5)
772DebuggerAttributes.ValidateDebuggerDisplayReferences(ImmutableSegmentedList.Create<int>()); 774DebuggerAttributeInfo info = DebuggerAttributes.ValidateDebuggerTypeProxyProperties(list); 776object? rootNode = DebuggerAttributes.GetFieldValue(ImmutableSegmentedList.Create<string>("1", "2", "3"), "_root")!; 777DebuggerAttributes.ValidateDebuggerDisplayReferences(rootNode); 786Type proxyType = DebuggerAttributes.GetProxyType(ImmutableSegmentedList.Create<double>());