1 instantiation of TemporaryArray
Microsoft.CodeAnalysis.CodeStyle (1)
TemporaryArray`1.cs (1)
328_array = new TemporaryArray<T>(in array);
59 references to TemporaryArray
Microsoft.CodeAnalysis.CodeStyle (40)
AbstractUseCollectionInitializerDiagnosticAnalyzer.cs (2)
75using var matchKinds = TemporaryArray<TSyntaxKind>.Empty;
AbstractUseObjectInitializerDiagnosticAnalyzer.cs (2)
66using var matchKinds = TemporaryArray<TSyntaxKind>.Empty;
IntervalTree`1.cs (9)
110public void FillWithIntervalsThatOverlapWith<TIntrospector>(int start, int length, ref TemporaryArray<T> builder, in TIntrospector introspector) 114public void FillWithIntervalsThatIntersectWith<TIntrospector>(int start, int length, ref TemporaryArray<T> builder, in TIntrospector introspector) 118public void FillWithIntervalsThatContain<TIntrospector>(int start, int length, ref TemporaryArray<T> builder, in TIntrospector introspector) 141using var result = TemporaryArray<T>.Empty; 150using var result = TemporaryArray<T>.Empty; 158ref TemporaryArray<T> builder, in TIntrospector introspector, 182ref TemporaryArray<T> builder, in TIntrospector introspector,
J\s\src\Compilers\Core\Portable\Collections\ImmutableArrayExtensions.cs\ImmutableArrayExtensions.cs (1)
758internal static ImmutableArray<T> AddRange<T>(this ImmutableArray<T> self, in TemporaryArray<T> items)
NamingStyle.cs (2)
405using var parts = TemporaryArray<TextSpan>.Empty;
SimpleIntervalTree`2.cs (3)
55public void FillWithIntervalsThatOverlapWith(int start, int length, ref TemporaryArray<T> builder) 58public void FillWithIntervalsThatIntersectWith(int start, int length, ref TemporaryArray<T> builder) 61public void FillWithIntervalsThatContain(int start, int length, ref TemporaryArray<T> builder)
StringBreaker.cs (3)
16public static void AddWordParts(string identifier, ref TemporaryArray<TextSpan> parts) 19public static void AddCharacterParts(string identifier, ref TemporaryArray<TextSpan> parts) 22public static void AddParts(string text, bool word, ref TemporaryArray<TextSpan> parts)
TemporaryArray`1.cs (10)
75/// This field is initialized to non-<see langword="null"/> the first time the <see cref="TemporaryArray{T}"/> 81private TemporaryArray(in TemporaryArray<T> array) 89public static TemporaryArray<T> Empty => default; 185public void AddRange(in TemporaryArray<T> items) 254/// Transitions the current <see cref="TemporaryArray{T}"/> from inline storage to dynamic storage storage. An 320private readonly TemporaryArray<T> _array; 325public Enumerator(in TemporaryArray<T> array) 352public static int InlineCapacity => TemporaryArray<T>.InlineCapacity; 354public static bool HasDynamicStorage(in TemporaryArray<T> array) 357public static int InlineCount(in TemporaryArray<T> array)
TemporaryArrayExtensions.cs (8)
13/// Gets a mutable reference to a <see cref="TemporaryArray{T}"/> stored in a <c>using</c> variable. 16/// <para>This supporting method allows <see cref="TemporaryArray{T}"/>, a non-copyable <see langword="struct"/> 37public static ref TemporaryArray<T> AsRef<T>(this in TemporaryArray<T> array) 40public static bool Any<T>(this in TemporaryArray<T> array, Func<T, bool> predicate) 51public static bool All<T>(this in TemporaryArray<T> array, Func<T, bool> predicate) 62public static void AddIfNotNull<T>(this ref TemporaryArray<T> array, T? value) 71public static void AddIfNotNull<T>(this ref TemporaryArray<T> array, T? value)
Microsoft.CodeAnalysis.CodeStyle.Fixes (4)
AbstractAddExplicitCastCodeFixProvider.cs (2)
82using var actions = TemporaryArray<CodeAction>.Empty;
AbstractAliasAmbiguousTypeCodeFixProvider.cs (2)
112using var result = TemporaryArray<string>.Empty;
Microsoft.CodeAnalysis.CSharp.CodeStyle (11)
CSharpRemoveUnnecessaryNullableDirectiveDiagnosticAnalyzer.cs (2)
104using var diagnostics = TemporaryArray<Diagnostic>.Empty;
CSharpSemanticFacts.cs (5)
203using var builder = TemporaryArray<IMethodSymbol>.Empty; 215using var builder = TemporaryArray<IMethodSymbol>.Empty; 223private static void FlattenDeconstructionMethods(DeconstructionInfo deconstruction, ref TemporaryArray<IMethodSymbol> builder)
SyntaxTriviaListExtensions.cs (4)
43using var result = TemporaryArray<ImmutableArray<SyntaxTrivia>>.Empty; 44using var currentLine = TemporaryArray<SyntaxTrivia>.Empty;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (4)
CSharpTypeInferenceService.TypeInferrer.cs (2)
1500using var result = TemporaryArray<TypeInferenceInfo>.Empty;
OperatorGenerator.cs (2)
108using var tokens = TemporaryArray<SyntaxToken>.Empty;