245 references to AppendLine
Aspire.Playground.Tests (1)
AppHostTests.cs (1)
59sb.AppendLine($"Timed out waiting for this text from resource {testEndpoints.WaitForTexts[i].ResourceName}: {testEndpoints.WaitForTexts[i].Pattern}");
BuildActionTelemetryTable (2)
Program.cs (2)
188table.AppendLine(@$" ""{description}"", ""{actionTypeName}"", ""{fnvHash}"","); 227builder.AppendLine(@$" {{ ""{actionOrProviderTypeName}"", ""{description}"" }},");
CodeStyleConfigFileGenerator (3)
Program.cs (3)
107result.AppendLine($"# Style rules with '{analysisMode}' analysis mode"); 149result.AppendLine($"# {rule.Id}: {rule.Title}"); 150result.AppendLine($"dotnet_diagnostic.{rule.Id}.severity = {severityString}");
Crossgen2Tasks (17)
RunReadyToRunCompiler.cs (17)
237result.AppendLine($"-r:\"{reference}\""); 241result.AppendLine($"-r \"{reference}\""); 283result.AppendLine($"/DiasymreaderPath \"{DiaSymReader}\""); 287result.AppendLine($"\"{_outputR2RImage}\""); 292result.AppendLine($"/JITPath \"{CrossgenTool.GetMetadata(MetadataKeys.JitPath)}\""); 294result.AppendLine($"/out \"{_outputR2RImage}\""); 295result.AppendLine($"\"{_inputAssembly}\""); 308result.AppendLine($"--jitpath:\"{jitPath}\""); 312result.AppendLine($"--targetos:{Crossgen2Tool.GetMetadata(MetadataKeys.TargetOS)}"); 313result.AppendLine($"--targetarch:{Crossgen2Tool.GetMetadata(MetadataKeys.TargetArch)}"); 324result.AppendLine($"--pdb-path:{Path.GetDirectoryName(_outputPDBImage)}"); 329result.AppendLine($"--perfmap-path:{Path.GetDirectoryName(_outputPDBImage)}"); 334result.AppendLine($"--perfmap-format-version:{perfmapFormatVersion}"); 343result.AppendLine($"-m:\"{mibc.ItemSpec}\""); 363result.AppendLine($"--out:\"{_outputR2RImage}\""); 377result.AppendLine($"--out:\"{_outputR2RImage}\""); 381result.AppendLine($"{_inputAssembly}");
csc (2)
src\Compilers\Shared\CompilerServerLogger.cs (1)
84builder.AppendLine($"Error: '{exception.GetType().Name}' '{exception.Message}' occurred during '{reason}'");
src\Compilers\Shared\ExitingTraceListener.cs (1)
47builder.AppendLine($"Debug.Assert failed with message: {originalMessage}");
dotnet-svcutil-lib.Tests (2)
TestInit.cs (2)
453errMsg.AppendLine($"+ {baseline}"); 454cmdStr.AppendLine($"del /s {baseline}");
GenerateAnalyzerNuspec (4)
Program.cs (4)
64case "license": result.AppendLine($" <license type=\"expression\">{value}</license>"); continue; 70result.AppendLine($" <{name}>{value}</{name}>"); 81result.AppendLine($@" <repository type=""{repositoryType}"" url=""{repositoryUrl}"" commit=""{repositoryCommit}""/>"); 90result.AppendLine($@" <dependency id=""{dependency}"" version=""{version}"" />");
GenerateDocumentationAndConfigFiles (28)
Program.cs (22)
547builder.AppendLine($"# {fileTitle}"); 573builder.AppendLine($"## {ruleIdWithHyperLink}: {title}"); 596builder.AppendLine($"|Category|{descriptor.Category}|"); 597builder.AppendLine($"|Enabled|{descriptor.IsEnabledByDefault}|"); 598builder.AppendLine($"|Severity|{descriptor.DefaultSeverity}|"); 600builder.AppendLine($"|CodeFix|{hasCodeFix}|"); 1120result.AppendLine($@"<RuleSet Name=""{rulesetTitle}"" Description=""{rulesetDescription}"" ToolsVersion=""15.0"">"); 1130result.AppendLine($@" <Rules AnalyzerId=""{analyzerPackageName}"" RuleNamespace=""{analyzerPackageName}"">"); 1141result.AppendLine($@" <Rule Id=""{rule.Id}"" Action=""{severity}"" /> {spacing} <!-- {rule.Title} -->"); 1186result.AppendLine($@"# {editorconfigTitle}"); 1187result.AppendLine($@"# Description: {editorconfigDescription}"); 1209result.AppendLine($"# {rule.Id}: {rule.Title}"); 1210result.AppendLine($@"dotnet_diagnostic.{rule.Id}.severity = {severity}"); 1240result.AppendLine($@"{commentStart}{category ?? customTag} Rules{commentEnd}"); 1245result.AppendLine($@"{commentStart}Other Rules{commentEnd}"); 1422result.AppendLine($@"# {title}"); 1423result.AppendLine($@"# Description: {description}"); 1434result.AppendLine($@"global_level = {globalLevel}"); 1478result.AppendLine($"# {rule.Id}: {rule.Title}"); 1479result.AppendLine($@"dotnet_diagnostic.{rule.Id}.severity = {severityString}"); 1787builder.AppendLine($@" <CompilerVisibleProperty Include=""{compilerVisibleProperty}"" />"); 1815builder.AppendLine($@" <{propertyName}>@({itemOptionName}, '{MSBuildItemOptionNamesHelpers.ValuesSeparator}')</{propertyName}>");
src\RoslynAnalyzers\Utilities\Compiler\RulesetToEditorconfigConverter.cs (5)
58builder.AppendLine($@"# {name}"); 59builder.AppendLine($@"# Description: {description}"); 74builder.AppendLine($@"dotnet_analyzer_diagnostic.severity = {ruleset.GeneralDiagnosticOption.ToAnalyzerConfigString()}"); 89builder.AppendLine($@"dotnet_diagnostic.{id}.severity = {severity.ToAnalyzerConfigString()}"); 215builder.AppendLine($@"# {trimmedCommentPart}");
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferencesEditorConfigSerializer.cs (1)
41entryWriter: (name, value) => builder.AppendLine($"{name} = {value}"),
Microsoft.Arcade.Common (2)
CommandResult.cs (2)
37message.AppendLine($"{Environment.NewLine}Standard Output:{Environment.NewLine}{StdOut}"); 42message.AppendLine($"{Environment.NewLine}Standard Error:{Environment.NewLine}{StdErr}");
Microsoft.Build (4)
Graph\ProjectGraph.cs (3)
507sb.AppendLine($"/* {DebuggerDisplayString()} */"); 526sb.AppendLine($"\t{nodeId} [label=<{nodeName}<br/>({targetListString})<br/>{globalPropertiesString}>]"); 532sb.AppendLine($"\t{nodeId} -> {referenceId}");
Logging\TerminalLogger\TerminalNodesFrame.cs (1)
104sb.AppendLine($"{AnsiCodes.CSI}{previousFrame.NodesCount + 1}{AnsiCodes.MoveUpToLineStart}");
Microsoft.Build.Engine.UnitTests (1)
ProjectCache\ProjectCacheTests.cs (1)
650sb.AppendLine($"<ProjectConfiguration Project=\"{Guid.NewGuid()}\" AbsolutePath=\"{projectPath}\" {buildProjectInSolutionAttribute}>{projectName}Debug|{projectName}x64{projectDependencyElement}</ProjectConfiguration>");
Microsoft.Build.Tasks.CodeAnalysis (1)
src\Compilers\Shared\CompilerServerLogger.cs (1)
84builder.AppendLine($"Error: '{exception.GetType().Name}' '{exception.Message}' occurred during '{reason}'");
Microsoft.Build.UnitTests.Shared (2)
MockLogger.cs (2)
427_fullLog.AppendLine($"Telemetry:{telemetryEventArgs.EventName}"); 430_fullLog.AppendLine($" {telemetryEventArgs.EventName}:{pair.Key}={pair.Value}");
Microsoft.CodeAnalysis (6)
DiagnosticAnalyzer\AnalysisContextInfo.cs (6)
80sb.AppendLine($"{nameof(Compilation)}: {_compilation.AssemblyName}"); 85sb.AppendLine($"{nameof(IOperation)}: {_operation.Kind}"); 90sb.AppendLine($"{nameof(ISymbol)}: {_symbol.Name} ({_symbol.Kind})"); 97sb.AppendLine($"{nameof(SyntaxTree)}: {_file.Value.SourceTree.FilePath}"); 102sb.AppendLine($"{nameof(AdditionalText)}: {_file.Value.AdditionalFile.Path}"); 115sb.AppendLine($"{nameof(SyntaxNode)}: {GetFlattenedNodeText(_node)} [{_node.GetType().Name}]@{_node.Span} {(lineSpan.HasValue ? lineSpan.Value.ToString() : string.Empty)}");
Microsoft.CodeAnalysis.CSharp (11)
Binder\DecisionDagBuilder.cs (5)
1684result.AppendLine($"{(remainingValues.Any() ? " REMAINING " + string.Join(" ", remainingValues) : "")}"); 1688result.AppendLine($" {dumpStateForCase(cd)}"); 1693result.AppendLine($" Test: {dumpDagTest(state.SelectedTest)}"); 1698result.AppendLine($" TrueBranch: {stateIdentifierMap[state.TrueBranch]}"); 1703result.AppendLine($" FalseBranch: {stateIdentifierMap[state.FalseBranch]}");
BoundTree\LengthBasedStringSwitchData.cs (6)
266builder.AppendLine($"Buckets: {string.Join(", ", StringBasedJumpTables.Select(t => t.StringCaseLabels.Length))}"); 267builder.AppendLine($" case null: {readable(LengthBasedJumpTable.NullCaseLabel)}"); 274builder.AppendLine($"Label {readable(charJumpTable.Label)}:"); 275builder.AppendLine($" Selected char position: {charJumpTable.SelectedCharPosition}:"); 283builder.AppendLine($"Label {readable(stringJumpTable.Label)}:"); 294builder.AppendLine($" case {constant}: {readable(label)}");
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (7)
CodeGen\CodeGenAsyncIteratorTests.cs (2)
4602builder.AppendLine($@"Write(""{counter} "");"); 4608builder.AppendLine($@"yield return {counter};");
CodeGen\CodeGenCapturing.cs (2)
388methodText.AppendLine($"int {captureVar} = 0;"); 404methodText.AppendLine($"Console.WriteLine({localFuncCalls});");
CodeGen\CodeGenOperators.cs (3)
6294builder.AppendLine(@$" Assert.Equal<bool?>(Or({left}, {right}), {left} | {right}, ""{left} | {right}"");"); 6295builder.AppendLine(@$" Assert.Equal<bool?>(And({left}, {right}), {left} & {right}, ""{left} & {right}"");"); 6297builder.AppendLine(@$" Assert.Equal<bool?>(Xor({left}, {right}), {left} ^ {right}, ""{left} ^ {right}"");");
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Semantics\PatternMatchingTests.cs (2)
5038statement.AppendLine($"switch ({Expression()})"); 5043statement.AppendLine($" case {Pattern()}:");
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (8)
EndToEndTests.cs (8)
315builder.AppendLine($"public struct MyStruct{i}<T{i}> {{"); 437builder.AppendLine( 478builder.AppendLine($$""" 572sourceBuilder.AppendLine($"class C{i}<T> where T : C{next}<T> {{ }}"); 690builder.AppendLine($"{i}"); 721builder1.AppendLine($$"""interface I{{i}} { }"""); 732builder2.AppendLine($$"""void M1(System.Action<I{{i}}> a) { }"""); 742builder2.AppendLine($$"""void M2(I{{i}} x, System.Func<string, I{{i}}> f) { }""");
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (50)
Semantics\LambdaTests.cs (1)
2634builder.AppendLine($"class C{i} {{ }}");
Semantics\NullableReferenceTypesTests.cs (2)
64128builder.AppendLine($" M0(c{i} =>"); 64238builder.AppendLine($" Action<C> a{i} = c{i} => {{");
Semantics\OverloadResolutionPerfTests.cs (41)
32builder.AppendLine($" static void F(C{i} c) {{ }}"); 37builder.AppendLine($"class C{i} {{ }}"); 58builder.AppendLine($" public static object operator+(C x, C{i} y) => null;"); 63builder.AppendLine($"class C{i} {{ }}"); 81builder.AppendLine($"class C{i} {{ }}"); 87builder.AppendLine($" internal static void F(C{i} x, Action<C{i}> a) {{ F(x, y => F(y, z => F(z, w => {{ }}))); }}"); 103builder.AppendLine($"class C{i} {{ }}"); 109builder.AppendLine($" internal static C F(C{i} x, params object[] args) => new C(x, y => F(y, args[1]), args[0]);"); 110builder.AppendLine($" internal C(C{i} x, Func<C{i}, C> f, params object[] args) {{ }}"); 126builder.AppendLine($"class C{i} {{ }}"); 132builder.AppendLine($" internal static void F(this C{i} x, Action<C{i}> a) {{ x.F(y => y.F(z => z.F(w => {{ }}))); }}"); 148builder.AppendLine($"class C{i} {{ }}"); 154builder.AppendLine($" internal static void F(this C{i} x, Action<C{i}> a, params object[] args) {{ x.F(y => y.F(z => z.F(w => {{ }}), args[1]), args[0]); }}"); 170builder.AppendLine($"class C{i} {{ }}"); 178builder.AppendLine($" internal static void F(this C{i} x) {{ x.G(y => y.G(z => z.F())); }}"); // No match for x.G(...). 182builder.AppendLine($" internal static void G(this C{i} x, Action<C{i}> a) {{ }}"); 204builder.AppendLine($"public class C{i}"); 209builder.AppendLine($" public string M{j}()"); 216builder.AppendLine($" Class.Method((C{k} x{k}) => x{k}.M{l});"); 464builder.AppendLine($"class C{i}"); 470builder.AppendLine($" new {{ Id = {j} }},"); 493builder.AppendLine($" static object F{i}(object arg{i}) => arg{i};"); 522builder.AppendLine($" F1(arg{i} => arg{i});"); 551builder.AppendLine($" _ = F{i}(arg);"); 552builder.AppendLine($" static object F{i}(object arg{i}) => arg{i};"); 581builder.AppendLine($" object i{i};"); 609builder.AppendLine($" var i{i} = i{i - 1};"); 611builder.AppendLine($" return i{nLocals - 1};"); 645builder.AppendLine($" F0(() => {{ value = F1(value, arg{i} => arg{i}?.ToString()); }});"); 675builder.AppendLine($" .F({i})"); 706builder.AppendLine($" .F({i})"); 743sourceBuilder.AppendLine($" c?.M(x = {i}) == ("); 813builder.AppendLine($" goto L{nLabels - 2};"); 818builder.AppendLine($"L{i + 1}:"); 823builder.AppendLine($" goto L{i};"); 826builder.AppendLine($"L{nLabels - 1}:"); 835builder.AppendLine($" case {i}:"); 837builder.AppendLine($" goto L{i};"); 875builder.AppendLine( 911builder.AppendLine( 954builder.AppendLine(
SourceGeneration\GeneratorDriverFuzzTests.cs (5)
143builder.AppendLine($""" 416builder.AppendLine($$""" 432builder.AppendLine($""" 451builder.AppendLine($""" 456builder.AppendLine($$"""
SourceGeneration\GeneratorDriverTests.cs (1)
4358builder.AppendLine($$"""
Microsoft.CodeAnalysis.ExternalAccess.Razor.UnitTests (3)
RazorPredefinedProviderNameTests.cs (3)
27failureMessage.AppendLine($"The following Names were inconsistent between {roslynProviderNamesType.Name} and {razorProviderNamesType.Name}:"); 37failureMessage.AppendLine($"The Name '{roslynKvp.Key}' does not exist."); 42failureMessage.AppendLine($"The Value of '{roslynKvp.Key}' does not match.");
Microsoft.CodeAnalysis.Features (5)
Options\EditorConfig\EditorConfigFileGenerator.cs (5)
24editorconfig.AppendLine($"# {WorkspacesResources.Remove_the_line_below_if_you_want_to_inherit_dot_editorconfig_settings_from_higher_directories}"); 30editorconfig.AppendLine($"# {WorkspacesResources.CSharp_files}"); 35editorconfig.AppendLine($"# {WorkspacesResources.Visual_Basic_files}"); 59editorconfig.AppendLine($"#### {feature} ####"); 64editorconfig.AppendLine($"# {optionGrouping.Key.Description}");
Microsoft.CodeAnalysis.LanguageServer (1)
Testing\TestRunner.TestRunHandler.cs (1)
142messageBuilder.AppendLine($"[{result.Outcome}] {result.TestCase.DisplayName}");
Microsoft.CodeAnalysis.Test.Utilities (3)
Assert\AssertEx.cs (2)
990.AppendLine($"{exceptions.Count} out of {assertions.Length} assertions failed.") 996.AppendLine($"Assertion failed at index {index}:")
Metadata\ILValidation.cs (1)
354result.AppendLine($"{name}: {BitConverter.ToString(il[startRva..endRva].ToArray())}");
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferencesEditorConfigSerializer.cs (1)
41entryWriter: (name, value) => builder.AppendLine($"{name} = {value}"),
Workspace\Solution\SourceGeneratorExecutionVersion.cs (1)
127builder.AppendLine($" {projectId}: {version}");
Microsoft.DotNet.RemoteExecutor (13)
RemoteInvokeHandle.cs (13)
118description.AppendLine($"Memory load: {memoryLoad}"); 123description.AppendLine($"Process: {p.Id} {p.ProcessName} PrivateMemory: {p.PrivateMemorySize64}"); 147description.AppendLine($"Timed out at {DateTime.Now} after {Options.TimeOut}ms waiting for remote process."); 159description.AppendLine($"Wrote mini dump to: {miniDmpPath}"); 163description.AppendLine($"Failed to create mini dump: {exc.Message}"); 171description.AppendLine($"\tProcess ID: {Process.Id}"); 172description.AppendLine($"\tHandle: {Process.Handle}"); 173description.AppendLine($"\tName: {Process.ProcessName}"); 174description.AppendLine($"\tMainModule: {Process.MainModule?.FileName}"); 175description.AppendLine($"\tStartTime: {Process.StartTime}"); 176description.AppendLine($"\tTotalProcessorTime: {Process.TotalProcessorTime}"); 208description.AppendLine($"\t\tThread #{thread.ManagedThreadId} (OS 0x{thread.OSThreadId:X}) {threadKind} {isBackground} {apartmentModel}"); 211description.AppendLine($"\t\t\t{frame}");
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (1)
Linux\OSFileSystemTests.cs (1)
191fileContent.AppendLine($"Line {i}");
Microsoft.Gen.Metrics.Unit.Tests (4)
ParserTests.Diagnostics.cs (2)
371sb.AppendLine($"public class C{i} : C{i + 1} {{ public string dim{i} {{get;set;}}}}"); 374sb.AppendLine($"public class C{i} {{ public string dim{i} {{get;set;}}}}");
ParserTests.StrongTypes.cs (2)
602sb.AppendLine($"public class C{i} : C{i + 1} {{ public string dim{i} {{get;set;}}}}"); 605sb.AppendLine($"public class C{i} {{ public string dim{i} {{get;set;}}}}");
Microsoft.Maui.Essentials (11)
VersionTracking\VersionTracking.shared.cs (11)
312 sb.AppendLine($" IsFirstLaunchEver: {IsFirstLaunchEver}"); 313 sb.AppendLine($" IsFirstLaunchForCurrentVersion: {IsFirstLaunchForCurrentVersion}"); 314 sb.AppendLine($" IsFirstLaunchForCurrentBuild: {IsFirstLaunchForCurrentBuild}"); 316 sb.AppendLine($" CurrentVersion: {CurrentVersion}"); 317 sb.AppendLine($" PreviousVersion: {PreviousVersion}"); 318 sb.AppendLine($" FirstInstalledVersion: {FirstInstalledVersion}"); 319 sb.AppendLine($" VersionHistory: [{string.Join(", ", VersionHistory)}]"); 321 sb.AppendLine($" CurrentBuild: {CurrentBuild}"); 322 sb.AppendLine($" PreviousBuild: {PreviousBuild}"); 323 sb.AppendLine($" FirstInstalledBuild: {FirstInstalledBuild}"); 324 sb.AppendLine($" BuildHistory: [{string.Join(", ", BuildHistory)}]");
Microsoft.ML.GenAI.Core (2)
Extension\ModuleExtension.cs (2)
260sb.AppendLine($"{i}: {str}"); 279sb.AppendLine($"{i}: {key} shape: [{shapeStr}]");
PrepareTests (6)
MinimizeUtil.cs (6)
192builder.AppendLine($@"mkdir %~dp0\{directory} 2> nul"); 194builder.AppendLine($@" 203builder.AppendLine($"echo {count:n0} hydrated"); 238builder.AppendLine($@"mkdir -p ""$scriptroot/{directory}"""); 240builder.AppendLine($@"ln ""$HELIX_CORRELATION_PAYLOAD/{source}"" ""$scriptroot/{destFilePath}"" || exit $?"); 245builder.AppendLine($"echo '{count:n0} hydrated'");
PresentationFramework (6)
MS\Internal\Data\PropertyPathWorker.cs (5)
1256sb.AppendLine($" Info is wrong: expected '{info}' got '{svs.info}'"); 1259sb.AppendLine($" Type is wrong: expected '{sourceType}' got '{svs.type}'"); 1262sb.AppendLine($" Item is wrong: expected '{item}' got '{BindingExpression.GetReference(svs.item)}'"); 1272sb.AppendLine($" args[{i}] is wrong: expected '{args[i]}' got '{svs.args[i]}'"); 1277sb.AppendLine($" Args are wrong: expected length '{len1}' got length '{len2}'");
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Xaml\Context\XamlContextStack.cs (1)
156sb.AppendLine($" {iteratorFrame.Depth} {iteratorFrame}");
Replay (1)
src\Compilers\Shared\CompilerServerLogger.cs (1)
84builder.AppendLine($"Error: '{exception.GetType().Name}' '{exception.Message}' occurred during '{reason}'");
Roslyn.Test.PdbUtilities (1)
EditAndContinue\EditAndContinueTest.cs (1)
157builder.AppendLine($" Generation #{generation} failures");
RunTests (20)
HelixTestRunner.cs (14)
153builder.AppendLine($""" 225builder.AppendLine($""" 246command.AppendLine($"{setEnvironmentVariable} DOTNET_ROLL_FORWARD=LatestMajor"); 247command.AppendLine($"{setEnvironmentVariable} DOTNET_ROLL_FORWARD_TO_PRERELEASE=1"); 261command.AppendLine($"{setEnvironmentVariable} {knownEnvironmentVariable}=\"{value}\""); 270command.AppendLine($"{setEnvironmentVariable} DOTNET_DbgEnableMiniDump=1"); 271command.AppendLine($"{setEnvironmentVariable} DOTNET_DbgMiniDumpType=1"); 272command.AppendLine($"{setEnvironmentVariable} DOTNET_EnableCrashReport=1"); 281command.AppendLine($"{setEnvironmentVariable} DOTNET_DbgMiniDumpName=\"{helixDumpFolder}\""); 292command.AppendLine($"chmod +x {directoryName}/rehydrate.sh"); 310command.AppendLine($"dotnet exec \"${{vstestConsolePath}}\" @{vstestRspFileName}"); 321command.AppendLine($"dotnet exec \"%vstestConsolePath%\" @{vstestRspFileName}"); 416builder.AppendLine($"\"{filePath}\""); 419builder.AppendLine($@"/Platform:{platform}");
ProcessTestExecutor.cs (6)
26fileContentsBuilder.AppendLine($"\"{path}\""); 29fileContentsBuilder.AppendLine($@"/Platform:{options.Architecture}"); 30fileContentsBuilder.AppendLine($@"/Logger:xunit;LogFilePath={xmlResultsFilePath}"); 33fileContentsBuilder.AppendLine($@"/Logger:html;LogFileName={htmlResultsFilePath}"); 53fileContentsBuilder.AppendLine($"/Blame:{blameOption};TestTimeout={timeout};DumpType=full"); 56fileContentsBuilder.AppendLine($"/ResultsDirectory:{options.TestResultsDirectory}");
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\RegexInterpreterCode.cs (1)
127sb.AppendLine($"Direction: {((Options & RegexOptions.RightToLeft) != 0 ? "right-to-left" : "left-to-right")}");
System.Windows.Forms.Primitives.TestUtilities (1)
Metafiles\EmfValidateHelper.cs (1)
30sb.AppendLine($"{emf.RecordsToString()}```\r\n");
System.Xaml (1)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Xaml\Context\XamlContextStack.cs (1)
156sb.AppendLine($" {iteratorFrame.Depth} {iteratorFrame}");
Test.Utilities (6)
src\RoslynAnalyzers\Utilities\Compiler\RulesetToEditorconfigConverter.cs (5)
58builder.AppendLine($@"# {name}"); 59builder.AppendLine($@"# Description: {description}"); 74builder.AppendLine($@"dotnet_analyzer_diagnostic.severity = {ruleset.GeneralDiagnosticOption.ToAnalyzerConfigString()}"); 89builder.AppendLine($@"dotnet_diagnostic.{id}.severity = {severity.ToAnalyzerConfigString()}"); 215builder.AppendLine($@"# {trimmedCommentPart}");
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferencesEditorConfigSerializer.cs (1)
41entryWriter: (name, value) => builder.AppendLine($"{name} = {value}"),
vbc (2)
src\Compilers\Shared\CompilerServerLogger.cs (1)
84builder.AppendLine($"Error: '{exception.GetType().Name}' '{exception.Message}' occurred during '{reason}'");
src\Compilers\Shared\ExitingTraceListener.cs (1)
47builder.AppendLine($"Debug.Assert failed with message: {originalMessage}");
VBCSCompiler (2)
src\Compilers\Shared\CompilerServerLogger.cs (1)
84builder.AppendLine($"Error: '{exception.GetType().Name}' '{exception.Message}' occurred during '{reason}'");
src\Compilers\Shared\ExitingTraceListener.cs (1)
47builder.AppendLine($"Debug.Assert failed with message: {originalMessage}");