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