40 references to GetInstance
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (40)
Debugger\Engine\DkmClrType.cs (4)
201
var attributes = ArrayBuilder<DkmClrEvalAttribute>.
GetInstance
();
236
var attributes = ArrayBuilder<DkmClrDebuggerBrowsableAttribute>.
GetInstance
();
289
var builder = ArrayBuilder<DkmClrDebuggerVisualizerAttribute>.
GetInstance
();
293
var argValueTypeBuilder = ArrayBuilder<System.Type>.
GetInstance
();
Debugger\Engine\DkmClrValue.cs (4)
278
var trimmedFormatSpecifiers = ArrayBuilder<string>.
GetInstance
(rawFormatSpecifiers.Length);
593
var builder = ArrayBuilder<int>.
GetInstance
(rank);
613
var builder = ArrayBuilder<int>.
GetInstance
(rank);
647
private static readonly ReadOnlyCollection<DkmClrType> s_noArguments = ArrayBuilder<DkmClrType>.
GetInstance
(0).ToImmutableAndFree();
Debugger\Engine\DkmInspectionSession.cs (1)
74
_calls = ArrayBuilder<InstanceAndMethod>.
GetInstance
();
Debugger\MemberInfo\TypeImpl.cs (1)
455
var builder = ArrayBuilder<Type>.
GetInstance
();
ResultProviderTestBase.cs (2)
40
var builder = ArrayBuilder<bool>.
GetInstance
(dynamicFlags.Length);
216
var builder = ArrayBuilder<DkmEvaluationResult>.
GetInstance
();
src\ExpressionEvaluator\Core\Source\ExpressionCompiler\CustomTypeInfo.cs (2)
91
var builder = ArrayBuilder<byte>.
GetInstance
();
181
var builder = ArrayBuilder<string?>.
GetInstance
();
src\ExpressionEvaluator\Core\Source\ExpressionCompiler\DynamicFlagsCustomTypeInfo.cs (1)
93
var builder = ArrayBuilder<bool>.
GetInstance
();
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\MemberExpansion.cs (9)
67
var expansions = ArrayBuilder<Expansion>.
GetInstance
();
72
var staticMembers = ArrayBuilder<MemberAndDeclarationInfo>.
GetInstance
();
73
var instanceMembers = ArrayBuilder<MemberAndDeclarationInfo>.
GetInstance
();
76
var allMembers = ArrayBuilder<MemberAndDeclarationInfo>.
GetInstance
();
108
var favoritesMembers = ArrayBuilder<MemberAndDeclarationInfo>.
GetInstance
();
166
var staticExpansions = ArrayBuilder<Expansion>.
GetInstance
();
223
var publicExpansions = ArrayBuilder<Expansion>.
GetInstance
();
224
var publicMembers = ArrayBuilder<MemberAndDeclarationInfo>.
GetInstance
();
225
var nonPublicMembers = ArrayBuilder<MemberAndDeclarationInfo>.
GetInstance
();
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\TupleExpansion.cs (1)
275
var builder = ArrayBuilder<Field>.
GetInstance
();
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.cs (2)
287
var builder = ArrayBuilder<string>.
GetInstance
();
316
var builder = ArrayBuilder<string>.
GetInstance
();
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.TypeNames.cs (1)
208
var stack = ArrayBuilder<Type>.
GetInstance
();
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.Values.cs (2)
156
var values = ArrayBuilder<string>.
GetInstance
();
286
var fields = ArrayBuilder<EnumField>.
GetInstance
();
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\AttributeHelpers.cs (2)
59
var builder = ArrayBuilder<bool>.
GetInstance
(numFlags);
83
var builder = ArrayBuilder<string>.
GetInstance
(numFlags);
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\CustomTypeInfoTypeArgumentMap.cs (3)
117
var builder = ArrayBuilder<bool>.
GetInstance
();
146
var builder = ArrayBuilder<string>.
GetInstance
();
181
var startsBuilder = ArrayBuilder<int>.
GetInstance
();
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\TypeHelpers.cs (2)
627
var builder = ArrayBuilder<DkmCustomUIVisualizerInfo>.
GetInstance
();
706
var builder = ArrayBuilder<Type>.
GetInstance
();
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\TypeWalker.cs (1)
35
_stack = ArrayBuilder<Type>.
GetInstance
();
src\ExpressionEvaluator\Core\Source\ResultProvider\ResultProvider.cs (2)
139
var rows = ArrayBuilder<EvalResult>.
GetInstance
();
182
var rows = ArrayBuilder<EvalResult>.
GetInstance
();