62 references to Builder
Microsoft.CodeAnalysis (62)
CaseInsensitiveComparison.cs (1)
379StringBuilder builder = pooledStrbuilder.Builder;
CodeGen\PermissionSetAttribute.cs (1)
121StringBuilder stringBuilder = pooledStrBuilder.Builder;
Collections\Rope.cs (2)
137psb.Builder.Append(s.ToString()); 168psb.Builder.Append(s.ToString(rem, out var wrote));
CommandLine\CommandLineParser.cs (6)
393var part = pooledPart.Builder; 598stringBuilder.Builder.Length = 0; 602stringBuilder.Builder, 616stringBuilder.Builder.Length = 0; 620stringBuilder.Builder, 923var builder = pool.Builder;
CommandLine\CommonCompiler.cs (3)
865sb.Builder.Append(Arguments.GetOutputFilePath(Arguments.OutputFileName)); 870sb.Builder.Append(type.AssemblyQualifiedName); 871sb.Builder.Append(type.Assembly.ManifestModule.ModuleVersionId.ToString());
Compilation\DeterministicKeyBuilder.cs (1)
64EncodeByteArrayValue(value, builder.Builder);
Emit\AnonymousTypeKey.cs (1)
92var builder = pooledBuilder.Builder;
InternalUtilities\JsonWriter.cs (1)
282b = pooledBuilder.Builder;
MetadataReader\MetadataHelpers.cs (2)
145StringBuilder typeNameBuilder = pooledStrBuilder.Builder; 1058var s = pooledStrBuilder.Builder;
MetadataReference\AssemblyIdentity.DisplayName.cs (4)
71StringBuilder builder = sb.Builder; 79var sb = pooledBuilder.Builder; 815if (!Unescape(sb.Builder, str, ref i)) 823sb.Builder.Append(c);
NativePdbWriter\PdbWriter.cs (5)
397result.Builder.Append(namespaceName); 398result.Builder.Append('.'); 401result.Builder.Append(namespaceType.Name); 407result.Builder.Append('.'); 408result.Builder.Append(nestedNamesReversed[i]);
PEWriter\MetadataWriter.cs (1)
3700StringBuilder sb = pooled.Builder;
PEWriter\TypeNameSerializer.cs (4)
28StringBuilder sb = pooled.Builder; 210StringBuilder mangledName = pooled.Builder; 292result.Builder.Append(namesReversed[i]); 296result.Builder.Append('.');
SourceGeneration\Nodes\NodeStateTable.cs (10)
216pooled.Builder.Append(packedChar); 218pooled.Builder.Append(','); 697sb.Builder.Append('{'); 702sb.Builder.Append(','); 705sb.Builder.Append(" ("); 706sb.Builder.Append(GetItem(i)); 707sb.Builder.Append(':'); 708sb.Builder.Append(GetState(i)); 709sb.Builder.Append(')'); 712sb.Builder.Append(" }");
src\Dependencies\CodeAnalysis.Debugging\CustomDebugInfoReader.cs (2)
217var builder = pooled.Builder; 247var nameBuilder = pooledNameBuilder.Builder;
src\Dependencies\PooledObjects\PooledStringBuilder.cs (7)
31get { return this.Builder.Length; } 36var builder = this.Builder; 53return this.Builder.ToString(); 58var result = this.Builder.ToString(); 66var result = this.Builder.ToString(startIndex, length); 91Debug.Assert(builder.Builder.Length == 0); 97return obj.Builder;
SymbolDisplay\FormattedSymbolList.cs (1)
32StringBuilder builder = pooled.Builder;
SymbolDisplay\SymbolDisplayExtensions.cs (2)
41var actualBuilder = pool.Builder; 74var actualBuilder = pool.Builder;
Symbols\Attributes\AttributeUsageInfo.cs (4)
193if (builder.Builder.Length > 0) 195builder.Builder.Append(", "); 198builder.Builder.Append(CodeAnalysisResources.ResourceManager.GetString(id, culture)); 202var message = builder.Builder.ToString();
Syntax\GreenNode.cs (2)
613var writer = new System.IO.StringWriter(sb.Builder, System.Globalization.CultureInfo.InvariantCulture); 621var writer = new System.IO.StringWriter(sb.Builder, System.Globalization.CultureInfo.InvariantCulture);
Text\SourceText.cs (2)
727builder.Builder.EnsureCapacity(length); 733builder.Builder.Append(buffer, 0, copyLength);