28 references to GetInstance
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (28)
src\ExpressionEvaluator\Core\Source\ExpressionCompiler\CustomTypeInfo.cs (2)
91var builder = ArrayBuilder<byte>.GetInstance(); 181var builder = ArrayBuilder<string?>.GetInstance();
src\ExpressionEvaluator\Core\Source\ExpressionCompiler\DynamicFlagsCustomTypeInfo.cs (1)
93var builder = ArrayBuilder<bool>.GetInstance();
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\MemberExpansion.cs (9)
67var expansions = ArrayBuilder<Expansion>.GetInstance(); 72var staticMembers = ArrayBuilder<MemberAndDeclarationInfo>.GetInstance(); 73var instanceMembers = ArrayBuilder<MemberAndDeclarationInfo>.GetInstance(); 76var allMembers = ArrayBuilder<MemberAndDeclarationInfo>.GetInstance(); 108var favoritesMembers = ArrayBuilder<MemberAndDeclarationInfo>.GetInstance(); 166var staticExpansions = ArrayBuilder<Expansion>.GetInstance(); 223var publicExpansions = ArrayBuilder<Expansion>.GetInstance(); 224var publicMembers = ArrayBuilder<MemberAndDeclarationInfo>.GetInstance(); 225var nonPublicMembers = ArrayBuilder<MemberAndDeclarationInfo>.GetInstance();
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\TupleExpansion.cs (1)
275var builder = ArrayBuilder<Field>.GetInstance();
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.cs (2)
287var builder = ArrayBuilder<string>.GetInstance(); 316var builder = ArrayBuilder<string>.GetInstance();
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.TypeNames.cs (1)
208var stack = ArrayBuilder<Type>.GetInstance();
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.Values.cs (2)
156var values = ArrayBuilder<string>.GetInstance(); 286var fields = ArrayBuilder<EnumField>.GetInstance();
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\AttributeHelpers.cs (2)
59var builder = ArrayBuilder<bool>.GetInstance(numFlags); 83var builder = ArrayBuilder<string>.GetInstance(numFlags);
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\CustomTypeInfoTypeArgumentMap.cs (3)
117var builder = ArrayBuilder<bool>.GetInstance(); 146var builder = ArrayBuilder<string>.GetInstance(); 181var startsBuilder = ArrayBuilder<int>.GetInstance();
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\TypeHelpers.cs (2)
627var builder = ArrayBuilder<DkmCustomUIVisualizerInfo>.GetInstance(); 706var 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)
139var rows = ArrayBuilder<EvalResult>.GetInstance(); 182var rows = ArrayBuilder<EvalResult>.GetInstance();