29 references to ToStringAndFree
Microsoft.CodeAnalysis (29)
CaseInsensitiveComparison.cs (1)
384return pooledStrbuilder.ToStringAndFree();
CodeGen\PermissionSetAttribute.cs (1)
130return pooledStrBuilder.ToStringAndFree();
Collections\Rope.cs (2)
148return psb.ToStringAndFree(); 180return psb.ToStringAndFree();
CommandLine\CommandLineParser.cs (1)
945return pool.ToStringAndFree().AsMemory();
CommandLine\CommonCompiler.cs (1)
873return sb.ToStringAndFree();
Compilation\DeterministicKeyBuilder.cs (2)
65return builder.ToStringAndFree(); 154return builder.ToStringAndFree();
DocumentationCommentId.cs (2)
61return generator.Failed ? null : builder.ToStringAndFree(); 92return builder.ToStringAndFree();
Emit\AnonymousTypeKey.cs (1)
101return pooledBuilder.ToStringAndFree();
InternalUtilities\JsonWriter.cs (1)
327return pooledBuilder.ToStringAndFree();
MetadataReader\MetadataHelpers.cs (1)
1064return pooledStrBuilder.ToStringAndFree();
MetadataReference\AssemblyIdentity.DisplayName.cs (2)
73return sb.ToStringAndFree(); 827value = sb.ToStringAndFree();
NativePdbWriter\PdbWriter.cs (1)
414return result.ToStringAndFree();
PEWriter\MetadataWriter.cs (1)
3739return pooled.ToStringAndFree();
PEWriter\TypeNameSerializer.cs (3)
138return pooled.ToStringAndFree(); 234return pooled.ToStringAndFree(); 301return result.ToStringAndFree();
SourceGeneration\Nodes\NodeStateTable.cs (2)
220return pooled.ToStringAndFree(); 713return sb.ToStringAndFree();
src\Dependencies\CodeAnalysis.Debugging\CustomDebugInfoReader.cs (1)
229return pooled.ToStringAndFree();
SymbolDisplay\FormattedSymbolList.cs (1)
49return pooled.ToStringAndFree();
SymbolDisplay\SymbolDisplayExtensions.cs (2)
47return pool.ToStringAndFree(); 80return pool.ToStringAndFree();
Syntax\GreenNode.cs (2)
615return sb.ToStringAndFree(); 623return sb.ToStringAndFree();
Text\SourceText.cs (1)
740return builder.ToStringAndFree();