56 references to AppendFormat
dotnet-svcutil-lib (6)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContractSet.cs (1)
468errorMessage.AppendFormat("{0}\"{1}\" ", Environment.NewLine, conflictingType.AssemblyQualifiedName);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ExceptionDataContract.cs (1)
842_sb.AppendFormat(" {0}=\"{1}\"", name, value);
FrameworkFork\System.ServiceModel\System\IdentityModel\SecurityUtils.cs (1)
200sb.AppendFormat("{0}{1}", prefix, issuer == claimSet ? "Self" : (issuer.Count <= 0 ? "Unknown" : issuer[0].ToString()));
FrameworkFork\System.ServiceModel\System\ServiceModel\ExceptionDetail.cs (1)
81sb.AppendFormat("{0}: {1}", this.Type, this.Message);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\DataProtectionSecurityStateEncoder.cs (2)
62result.AppendFormat("{0} UseCurrentUserProtectionScope={1}", Environment.NewLine, _useCurrentUserProtectionScope); 63result.AppendFormat("{0} Entropy Length={1}", Environment.NewLine, (_entropy == null) ? 0 : _entropy.Length);
Infrastructure.Common (3)
CertificateManager.cs (2)
117exceptionString.AppendFormat("Error opening StoreName: '{0}' certificate store from StoreLocation '{1}' in ReadWrite mode ", storeName, storeLocation); 118exceptionString.AppendFormat("while attempting to install cert with thumbprint '{1}'.", Environment.NewLine, certificate.Thumbprint);
JsonSerializer.cs (1)
22sb.AppendFormat(" {0} : \"{1}\",\n", key, dictionary[key] == null ? String.Empty : dictionary[key].ToString());
Microsoft.CodeAnalysis (1)
TreeDumper.cs (1)
150_sb.AppendFormat("<{0}>{1}</{0}>", node.Text, DumperString(node.Value));
Microsoft.CodeAnalysis.CSharp (4)
Binder\Semantics\Operators\BinaryOperatorOverloadResolutionResult.cs (1)
101sb.AppendFormat("operator: {0} reason: {1}\n", result.Signature.ToString(), result.Kind.ToString());
Binder\Semantics\Operators\UnaryOperatorOverloadResolutionResult.cs (1)
101sb.AppendFormat("operator: {0} reason: {1}\n", result.Signature.ToString(), result.Kind.ToString());
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
1573sb.AppendFormat("method: {0} reason: {1}\n", result.Member.ToString(), result.Result.Kind.ToString());
Compiler\AnonymousTypeMethodBodySynthesizer.cs (1)
258formatString.Builder.AppendFormat(i == 0 ? "{{{{ {0} = {{{1}}}" : ", {0} = {{{1}}}", property.Name, i);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\OperatorTests.cs (5)
7448builder.AppendFormat( 7457builder.AppendFormat( 7466builder.AppendFormat( 7831builder.AppendFormat( 7991builder.AppendFormat(
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Symbols\MockSymbolTests.cs (2)
136builder.AppendFormat("namespace {0} [{1}]", sym.Name, (sym as NamespaceSymbol).Extent); 140builder.AppendFormat("{0} {1}", (sym as NamedTypeSymbol).TypeKind.ToString().ToLower(), sym.Name);
Microsoft.CodeAnalysis.Features (3)
Completion\Providers\ImportCompletionProvider\ImportCompletionItem.cs (2)
72sortTextBuilder.Builder.AppendFormat(GetSortTextFormatString(containingNamespace), name, containingNamespace); 106sortTextBuilder.Builder.AppendFormat(GetSortTextFormatString(attributeItem.InlineDescription), attributeNameWithoutSuffix, attributeItem.InlineDescription);
Snippets\SnippetFunctionService.cs (1)
82casesBuilder.AppendFormat(SwitchCaseFormat, simplifiedTypeName, member.Name);
Microsoft.CodeAnalysis.Test.Utilities (1)
Metadata\ILValidation.cs (1)
303result.AppendFormat("<invalid byte 0x{0:X2} at offset {1}>", il[rva], rva);
Microsoft.CodeAnalysis.VisualBasic (2)
Binding\SyntheticBoundTrees\AnonymousTypeSyntheticMethods.vb (1)
350formatStringBuilder.Builder.AppendFormat(If(index = 0, "{0} = {{{1}}}", ", {0} = {{{1}}}"), [property].MetadataName, index)
Symbols\TypeSubstitution.vb (1)
551builder.AppendFormat("{0}->{1}", _pairs(i).Key.ToString(), _pairs(i).Value.Type.ToString())
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Differencing\LongestCommonSubsequenceTests.cs (1)
36sb.AppendFormat("[{0},{1}]", actPair.Key, actPair.Value);
Microsoft.ML.Data (5)
Data\Conversion.cs (1)
923public void Convert(in UG src, ref SB dst) { ClearDst(ref dst); dst.AppendFormat("0x{0:x16}{1:x16}", src.High, src.Low); }
Evaluators\EvaluatorUtils.cs (2)
1658sb.AppendFormat(format, i, confusionMatrix.PredictedClassesIndicators[i]); 1670sb.AppendFormat(rowLabelFormat, i, confusionMatrix.PredictedClassesIndicators[i]);
Evaluators\MultiOutputRegressionEvaluator.cs (1)
756sb.AppendFormat("{0}{1,12}:", isWeighted ? "Weighted " : "", fold.Schema[i].Name);
Scorers\FeatureContributionCalculation.cs (1)
249sb.AppendFormat("{0}: {1}, ", name, val);
Microsoft.ML.FastTree (11)
FastTreeRanking.cs (1)
378lineBuilder.AppendFormat("\t{0:0.0000}\t{1:0.0000}", trainTestResult, validTestResult);
FastTreeRegression.cs (1)
396lineBuilder.AppendFormat("\t{0:0.0000}\t{1:0.0000}", trainRegression, validRegression);
FastTreeTweedie.cs (1)
332lineBuilder.AppendFormat("\t{0:0.0000}\t{1:0.0000}", trainRegression, validRegression);
Training\Test.cs (2)
374sb.AppendFormat("@{0}:{1:00.00}", i++, 100.0 * t.FinalValue); 509sb.AppendFormat("{0}:{1:00.00}", t.LossFunctionName, t.FinalValue);
TreeEnsemble\InternalRegressionTree.cs (1)
1331output.AppendFormat("\nNodeType:{0}=Value\nNodeValue:{0}={1}\n", numNonLeaves + n, LeafValues[n]);
TreeEnsemble\InternalTreeEnsemble.cs (3)
136sb.AppendFormat("[TreeEnsemble]\nInputs={0}\nEvaluators={1}\n", featureToID.Count, evaluatorCounter + 1); 142sb.AppendFormat("\n[Evaluator:{0}]\nEvaluatorType=Aggregator\nNumNodes={1}\nNodes=", evaluatorCounter + 1, numNodes); 209sb.AppendFormat("C:{0}=PARAM:{1}\n", i + 3, trainingParamsList[i]);
Utils\Timer.cs (2)
174sb.AppendFormat("{0} {1,10}\n", padded, "Accumulate"); 181sb.AppendFormat("{0} {1,10}\n", padded, count);
Microsoft.ML.Predictor.Tests (1)
CmdLine\CmdLine.cs (1)
242sb.AppendFormat(" subArray={0}{1}", sc.Name, sc.GetSettingsString());
Microsoft.ML.StandardTrainers (1)
Standard\LinearPredictorUtils.cs (1)
201b.AppendLine().AppendFormat("{0}\t{1}", weightValue.Key, (float)weightValue.Value);
Microsoft.ML.Transforms (1)
Expression\Lexer.cs (1)
838_sb.AppendFormat("{0}({1})", ChCur, LexCharUtils.GetUniEscape(ChCur));
Microsoft.VisualStudio.LanguageServices.DevKit (1)
Logging\VSCodeTelemetryLogger.cs (1)
174sb.AppendFormat("\"{0}\":{1},", keyValue.Key, keyValue.Value);
Security.TransportSecurity.IntegrationTests (3)
Tcp\ClientCredentialTypeCertificateCanonicalNameTests.4.1.0.cs (3)
87errorBuilder.AppendFormat("Exception message: {0}{1}", Environment.NewLine, exception.Message); 164errorBuilder.AppendFormat("Exception message: {0}{1}", Environment.NewLine, exception.Message); 248errorBuilder.AppendFormat("Exception message: {0}{1}", Environment.NewLine, exception.Message);
System.Composition.Hosting (2)
System\Composition\Hosting\Core\CompositionDependency.cs (1)
147message.AppendFormat(SR.Dependency_TooManyExports, Contract, list);
System\Composition\Hosting\Core\ExportDescriptorRegistryUpdate.cs (1)
124result.AppendFormat(SR.ExportDescriptor_DependencyErrorLine, import.Site, step.Target.Origin);
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\DataContractSet.cs (1)
594errorMessage.AppendFormat("{0}\"{1}\" ", Environment.NewLine, conflictingType.AssemblyQualifiedName);
System.ServiceModel.Primitives (2)
System\IdentityModel\SecurityUtils.cs (1)
205sb.AppendFormat("{0}{1}", prefix, issuer == claimSet ? "Self" : (issuer.Count <= 0 ? "Unknown" : issuer[0].ToString()));
System\ServiceModel\ExceptionDetail.cs (1)
62sb.AppendFormat("{0}: {1}", Type, Message);