8 references to MoveToImmutable
Microsoft.CodeAnalysis.ResxSourceGenerator (8)
src\Dependencies\Collections\Extensions\FixedSizeArrayBuilder.cs (4)
19
/// <see cref="
MoveToImmutable
"/> is called, this type is entirely garbage free. In the non-golden path (usually
31
/// Exactly that number of elements is actually added prior to calling <see cref="
MoveToImmutable
"/>. This means no
36
/// cref="
MoveToImmutable
"/>).
116
/// cref="
MoveToImmutable
"/> without that number of elements actually having been added to the builder. This will
src\Dependencies\Collections\Extensions\ImmutableArrayExtensions.cs (2)
194
return builder.
MoveToImmutable
();
527
return builder.
MoveToImmutable
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ObjectWriterExtensions.cs (1)
34
return builder.
MoveToImmutable
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SpecializedTasks.cs (1)
95
return result.
MoveToImmutable
();