12 references to ToImmutableAndClear
Microsoft.CodeAnalysis.CodeStyle (3)
AbstractUseCollectionInitializerDiagnosticAnalyzer.cs (1)
82matchKinds.ToImmutableAndClear());
AbstractUseObjectInitializerDiagnosticAnalyzer.cs (1)
71context.RegisterSyntaxNodeAction(AnalyzeNode, matchKinds.ToImmutableAndClear());
IntervalTree`1.cs (1)
152return result.ToImmutableAndClear();
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
AbstractAddExplicitCastCodeFixProvider.cs (1)
99CodeAction.Create(CodeFixesResources.Add_explicit_cast, actions.ToImmutableAndClear(), isInlinable: false),
AbstractAliasAmbiguousTypeCodeFixProvider.cs (1)
125return result.ToImmutableAndClear();
Microsoft.CodeAnalysis.CSharp.CodeStyle (5)
CSharpRemoveUnnecessaryNullableDirectiveDiagnosticAnalyzer.cs (1)
166return diagnostics.ToImmutableAndClear();
CSharpSemanticFacts.cs (2)
205return builder.ToImmutableAndClear(); 217return builder.ToImmutableAndClear();
SyntaxTriviaListExtensions.cs (2)
58result.Add(currentLine.ToImmutableAndClear()); 62return result.ToImmutableAndClear();
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
CSharpTypeInferenceService.TypeInferrer.cs (1)
1515return result.ToImmutableAndClear();
OperatorGenerator.cs (1)
123return tokens.ToImmutableAndClear().ToSyntaxTokenList();