38 references to GetInstance
Microsoft.CodeAnalysis.CodeStyle (38)
src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\AbstractRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs (8)
158
using var _2 = ArrayBuilder<(SyntaxTrivia pragma, ImmutableArray<string> ids, bool isDisable)>.
GetInstance
(out var sortedPragmasWithIds);
239
using var _ = ArrayBuilder<string>.
GetInstance
(out var idsBuilder);
370
using var _1 = ArrayBuilder<string>.
GetInstance
(out var idBuilder);
371
using var _2 = ArrayBuilder<string>.
GetInstance
(out var categoryBuilder);
398
using var _1 = ArrayBuilder<DiagnosticAnalyzer>.
GetInstance
(out var analyzersBuilder);
399
using var _2 = ArrayBuilder<string>.
GetInstance
(out var unhandledIds);
450
using var _3 = ArrayBuilder<Diagnostic>.
GetInstance
(out var reportedDiagnostics);
616
using var _ = ArrayBuilder<Diagnostic>.
GetInstance
(out var diagnosticsBuilder);
src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\SuppressMessageAttributeState.cs (1)
58
using var _ = ArrayBuilder<(string name, IOperation value)>.
GetInstance
(out var builder);
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (3)
448
using var _2 = ArrayBuilder<string>.
GetInstance
(out var debuggerDisplayAttributeArguments);
593
using var _ = ArrayBuilder<TDocumentationCommentTriviaSyntax>.
GetInstance
(out var documentationComments);
622
using var _ = ArrayBuilder<TTypeDeclarationSyntax>.
GetInstance
(out var stack);
src\Analyzers\Core\Analyzers\SimplifyLinqExpression\AbstractSimplifyLinqExpressionDiagnosticAnalyzer.cs (1)
98
using var _ = ArrayBuilder<IMethodSymbol>.
GetInstance
(out var linqMethodSymbolsBuilder);
src\Analyzers\Core\Analyzers\UseCollectionInitializer\AbstractObjectCreationExpressionAnalyzer.cs (2)
88
using var _1 = ArrayBuilder<TMatch>.
GetInstance
(out var preMatches);
89
using var _2 = ArrayBuilder<TMatch>.
GetInstance
(out var postMatches);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\SectionMatcher_TryParseSection.cs (1)
55
using var _1 = ArrayBuilder<(int minValue, int maxValue)>.
GetInstance
(out var numberRangePairs);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ICollectionExtensions.cs (1)
16
using var _ = ArrayBuilder<T>.
GetInstance
(out var result);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (1)
407
using var _ = ArrayBuilder<ISymbol>.
GetInstance
(out var results);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamespaceOrTypeSymbolExtensions.cs (1)
93
using var _ = ArrayBuilder<INamespaceOrTypeSymbol>.
GetInstance
(out var stack);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (2)
214
using var _1 = ArrayBuilder<SyntaxNode>.
GetInstance
(out var commonAncestorsStack);
915
using var _ = ArrayBuilder<TDirectiveTriviaSyntax>.
GetInstance
(out var condDirectivesBuilder);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.InitialContextFinder.cs (2)
127
using var _ = ArrayBuilder<SuppressOperation>.
GetInstance
(out var result);
150
using var _ = ArrayBuilder<SuppressOperation>.
GetInstance
(out var buffer);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (1)
163
using var _ = ArrayBuilder<SuppressOperation>.
GetInstance
(out var suppressOperationScratch);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\TriviaEngine\AbstractTriviaFormatter.cs (3)
240
using var _ = ArrayBuilder<SyntaxTrivia>.
GetInstance
(out var triviaList);
268
using var _ = ArrayBuilder<TextChange>.
GetInstance
(out var changes);
629
using var _ = ArrayBuilder<SyntaxTrivia>.
GetInstance
(out var lineBreaks);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\TriviaEngine\TriviaHelpers.cs (1)
19
using var _ = ArrayBuilder<SyntaxTrivia>.
GetInstance
(out var builder);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (2)
213
using var _ = ArrayBuilder<string>.
GetInstance
(out var violations);
255
using var _ = ArrayBuilder<string>.
GetInstance
(out var violations);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SelectedMembers\AbstractSelectedMembers.cs (1)
88
using var _ = ArrayBuilder<SyntaxNode>.
GetInstance
(out var selectedMembers);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.BodyLevelSymbolKey.cs (1)
25
using var _ = ArrayBuilder<Location>.
GetInstance
(out var result);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.ErrorTypeSymbolKey.cs (1)
55
using var _ = ArrayBuilder<string>.
GetInstance
(out var builder);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.TupleTypeSymbolKey.cs (3)
26
using var _1 = ArrayBuilder<string?>.
GetInstance
(out var friendlyNames);
27
using var _2 = ArrayBuilder<Location>.
GetInstance
(out var locations);
41
using var _3 = ArrayBuilder<ISymbol>.
GetInstance
(out var elementTypes);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IAsyncEnumerableExtensions.cs (1)
38
using var _ = ArrayBuilder<T>.
GetInstance
(out var result);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ProducerConsumer.cs (1)
46
using var _ = ArrayBuilder<TItem>.
GetInstance
(out var items);