3 instantiations of Builder
Microsoft.CodeAnalysis.Scripting (3)
Hosting\ObjectFormatter\CommonObjectFormatter.Visitor.cs (3)
62
return new
Builder
(_builderOptions.WithMaximumOutputLength(Math.Min(_builderOptions.MaximumLineLength, limit)), suppressEllipsis: true);
69
var builder = new
Builder
(_builderOptions, suppressEllipsis: false);
786
var builder = new
Builder
(_builderOptions.WithMaximumOutputLength(lengthLimit), suppressEllipsis: true);
22 references to Builder
Microsoft.CodeAnalysis.Scripting (22)
Hosting\ObjectFormatter\CommonObjectFormatter.Visitor.cs (20)
60
private
Builder
MakeMemberBuilder(int limit)
69
var
builder = new Builder(_builderOptions, suppressEllipsis: false);
79
private
Builder
FormatObjectRecursive(
Builder
result, object obj, bool isRoot, out string debuggerDisplayName)
223
private void FormatMembers(
Builder
result, object obj, object proxy, bool includeNonPublic, bool inlineMembers)
281
private void FormatObjectMembers(
Builder
result, object obj, TypeInfo preProxyTypeInfo, bool includeNonPublic, bool inline)
425
var
memberValueBuilder = MakeMemberBuilder(lengthLimit);
446
Builder
valueBuilder = MakeMemberBuilder(lengthLimit);
472
Builder
valueBuilder = MakeMemberBuilder(lengthLimit);
515
private void FormatException(
Builder
result, Exception exception)
526
private void FormatKeyValuePair(
Builder
result, object obj)
540
private void FormatCollectionHeader(
Builder
result, ICollection collection)
561
private void FormatArray(
Builder
result, Array array)
578
private void FormatDictionaryMembers(
Builder
result, IDictionary dict, bool inline)
619
private void FormatSequenceMembers(
Builder
result, IEnumerable sequence, bool inline)
644
private void FormatMultidimensionalArrayElements(
Builder
result, Array array, bool inline)
736
private void ObjectToString(
Builder
result, object obj)
786
var
builder = new Builder(_builderOptions.WithMaximumOutputLength(lengthLimit), suppressEllipsis: true);
790
private
Builder
FormatWithEmbeddedExpressions(
Builder
result, string format, object obj)
Hosting\ObjectFormatter\CommonObjectFormatter.Visitor.FormattedMember.cs (2)
54
public bool AppendAsCollectionEntry(
Builder
result)
75
public bool Append(
Builder
result, string separator)