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