1 write to Index
Microsoft.CodeAnalysis.Scripting (1)
Hosting\ObjectFormatter\CommonObjectFormatter.Visitor.FormattedMember.cs (1)
30Index = index;
4 references to Index
Microsoft.CodeAnalysis.Scripting (4)
Hosting\ObjectFormatter\CommonObjectFormatter.Visitor.cs (1)
321return typeof(IEnumerable).GetTypeInfo().IsAssignableFrom(originalType) && members.All(member => member.Index >= 0);
Hosting\ObjectFormatter\CommonObjectFormatter.Visitor.FormattedMember.cs (3)
35/// Doesn't (and doesn't need to) reflect the number of digits in <see cref="Index"/> since 46return Name ?? "[" + Index.ToString() + "]"; 51return Index >= 0 && Name != null && Name.Length >= 2 && Name[0] == '[' && Name[^1] == ']';