66 references to Format
mscorlib (5)
system\datetimeoffset.cs (2)
525string.Format(Environment.GetResourceString("ArgumentOutOfRange_Range"), MinSeconds, MaxSeconds)); 538string.Format(Environment.GetResourceString("ArgumentOutOfRange_Range"), MinMilliseconds, MaxMilliseconds));
system\deployment\cmsutils.cs (1)
132friendlyName = (entry.Publisher != null ? String.Format("{0} {1}", entry.Publisher, entry.Product) : entry.Product);
system\reflection\fieldinfo.cs (1)
715return String.Format("{0}.{1}", DeclaringType.FullName, Name);
system\reflection\methodbase.cs (1)
306return String.Format("{0}.{1}", DeclaringType.FullName, FormatNameAndSig());
PresentationFramework (12)
src\Framework\System\Windows\Documents\DocumentReference.cs (2)
86DocumentsTrace.FixedDocumentSequence.IDF.Trace(string.Format("DocumentReference.GetDocument ({0}, {1})", Source == null ? new Uri("", UriKind.RelativeOrAbsolute) : Source, forceReload)); 165DocumentsTrace.FixedDocumentSequence.IDF.Trace(string.Format("====Replace old doc {0} with new {1}",
src\Framework\System\Windows\Documents\DocumentSequence.cs (1)
309DocumentsTrace.FixedFormat.IDF.Trace(string.Format("IDP.GetPageAsync({0}, {1})", pageNumber, userState));
src\Framework\System\Windows\Documents\DocumentSequenceTextView.cs (4)
86DocumentsTrace.FixedDocumentSequence.TextOM.Trace(string.Format("GetTextPositionFromPoint {0}-{1}", point, snapToText)); 133DocumentsTrace.FixedDocumentSequence.TextOM.Trace(string.Format("GetRawRectangleFromTextPosition {0} {1}", position, position.LogicalDirection)); 375DocumentsTrace.FixedDocumentSequence.TextOM.Trace(string.Format("GetLineRange {0} {1}", position, position.LogicalDirection)); 448DocumentsTrace.FixedDocumentSequence.TextOM.Trace(string.Format("Contains {0} {1}", position, position.LogicalDirection));
src\Framework\System\Windows\Documents\FixedDocument.cs (1)
385DocumentsTrace.FixedFormat.IDF.Trace(string.Format("IDP.GetPageAsync({0}, {1})", pageNumber, userState));
src\Framework\System\Windows\Documents\FixedPage.cs (2)
935DocumentsTrace.FixedFormat.FixedDocument.Trace(string.Format("FixedPage.GeElement {0} is non S0 grouping element in L[{1}]!", node, level)); 939DocumentsTrace.FixedFormat.FixedDocument.Trace(string.Format("FixedPage.GetElement {0} is NOT a grouping element in L[{1}]!!!", node, level));
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (1)
963DocumentsTrace.FixedTextOM.Builder.Trace(string.Format("_FlowOrderAnalysis P{0}-L[{0}]", pageIndex, nestingLevel));
src\Framework\System\Windows\Documents\FixedTextView.cs (1)
1194DocumentsTrace.FixedTextOM.TextView.Trace(string.Format("_CreatetTextPointer {0}:{1}", fixedPosition.ToString(), flowHit.ToString()));
System (11)
net\System\Net\IPEndPoint.cs (1)
122return String.Format(format, m_Address.ToString(), Port.ToString(NumberFormatInfo.InvariantInfo));
net\System\Net\mail\EncodedStreamFactory.cs (1)
67string header = String.Format("=?{0}?{1}?", encoding.HeaderName, useBase64Encoding ? "B" : "Q");
net\System\Net\mail\MailAddress.cs (1)
192return String.Format("\"{0}\" {1}", DisplayName, SmtpAddress);
net\System\Net\mail\SmtpDateTime.cs (2)
204return String.Format("{0} {1}", FormatDate(this.date), 209return String.Format("{0} {1}", FormatDate(this.date),
net\System\Net\WebSockets\WebSocketHelpers.cs (6)
127Logging.PrintInfo(Logging.WebSockets, string.Format("{0} = {1}", 129Logging.PrintInfo(Logging.WebSockets, string.Format("{0} = {1}", 131Logging.PrintInfo(Logging.WebSockets, string.Format("{0} = {1}", 133Logging.PrintInfo(Logging.WebSockets, string.Format("{0} = {1}", 135Logging.PrintInfo(Logging.WebSockets, string.Format("Request {0} = {1}", 138Logging.PrintInfo(Logging.WebSockets, string.Format("Response {0} = {1}",
System.Data (7)
fx\src\data\System\Data\SqlClient\SqlAeadAes256CbcHmac256EncryptionKey.cs (3)
84string encryptionKeySalt = string.Format(_encryptionKeySaltFormat, 92string macKeySalt = string.Format(_macKeySaltFormat, _algorithmName, KeySize); 98string ivKeySalt = string.Format(_ivKeySaltFormat, _algorithmName, KeySize);
fx\src\data\System\Data\SqlClient\SqlSecurityUtility.cs (1)
116return string.Format(@"{0}.{1}", methodBase.DeclaringType.Name, methodBase.Name);
fx\src\data\System\Data\SqlClient\SqlSequentialTextReader.cs (2)
310Debug.Assert((index >= 0) && (count >= 0) && (index + count <= buffer.Length), string.Format("Bad count: {0} or index: {1}", count, index)); 395Debug.Assert((outBufferOffset >= 0) && (outBufferCount > 0) && (outBufferOffset + outBufferCount <= outBuffer.Length), string.Format("Bad outBufferCount: {0} or outBufferOffset: {1}", outBufferCount, outBufferOffset));
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
10294Debug.Assert(_size < 0 || _written <= _size, string.Format("Length of data written exceeds specified length. Written: {0}, specified: {1}", _written, _size));
System.Management (22)
Instrumentation\SchemaMapping.cs (19)
282 codeCCTOR.Line(String.Format("mapTypeToConverter[typeof({0})] = typeof({1});", ((Type)entry.Key).FullName.Replace('+', '.'), (string)entry.Value)); // bug#92918 - watch for nested classes 293 codeCCTOR.Line(String.Format("IWOA.GetPropertyHandle_f27(27, wbemObjectAccessIP, \"{0}\", out cimType, out {1});", propName, handleFieldName)); 297 codeCTOR.Line(String.Format("{0} = instance.Properties[\"{1}\"];", propFieldName, propName)); 330 codeNotNull.AddChild("else").Line(String.Format("{0}.Value = SafeAssign.GetInstance(instNET.{1});", propFieldName, field.Name)); 377 codeOneLineMembers.Line(String.Format("{0} lazy_embeddedConverter_{1} = null;", embeddedConverterName, propFieldName)); 378 CodeWriter codeConverterProp = codeClass.AddChild(String.Format("{0} embeddedConverter_{1}", embeddedConverterName, propFieldName)); 381 codeIf.Line(String.Format("lazy_embeddedConverter_{0} = new {1}();", propFieldName, embeddedConverterName)); 384 codeNotNull.Line(String.Format("embeddedConverter_{0}.ToWMI(instNET.{1});", propFieldName, field.Name)); 397 codeToWMI.Line(String.Format("{0} instNET_{1} = instNET.{1} ;", t2, field.Name)); 398 codeToWMI.Line(String.Format("IWOA.WritePropertyValue_f28(28, instWbemObjectAccessIP, {0}, 1, ref instNET_{1});", handleFieldName, field.Name)); 406 codeToWMI.Line(String.Format("{0} instNET_{1} = instNET.{1} ;", t2, field.Name)); 407 codeToWMI.Line(String.Format("IWOA.WritePropertyValue_f28(28, instWbemObjectAccessIP, {0}, 2, ref instNET_{1});", handleFieldName, field.Name)); 410 codeToWMI.Line(String.Format("IWOA.WriteDWORD_f31(31, instWbemObjectAccessIP, {0}, instNET.{1});", handleFieldName, field.Name)); 412 codeToWMI.Line(String.Format("IWOA.WriteQWORD_f33(33, instWbemObjectAccessIP, {0}, instNET.{1});", handleFieldName, field.Name)); 425 codeQuickString.Line(String.Format("IWOA.WritePropertyValue_f28(28, instWbemObjectAccessIP, {0}, (instNET.{1}.Length+1)*2, instNET.{1});", handleFieldName, field.Name)); 440 codeToWMI.Line(String.Format("IWOA.WritePropertyValue_f28(28, instWbemObjectAccessIP, {0}, 52, SafeAssign.WMITimeToString(instNET.{1}));", handleFieldName, field.Name)); 444 codeToWMI.Line(String.Format("{0}.Value = instNET.{1};", propFieldName, field.Name)); 452 codeToWMI.AddChild("else").Line(String.Format("{0}.Value = SafeAssign.WMITimeArrayToStringArray(instNET.{1});", propFieldName, field.Name)); 457 codeToWMI.Line(String.Format("{0}.Value = instNET.{1};", propFieldName, field.Name));
Instrumentation\SchemaRegistration.cs (3)
378 codeCCTOR.Line(String.Format("mapTypeToConverter[typeof({0})] = typeof({1});", mapping.ClassType.FullName.Replace('+', '.'), mapping.CodeClassName)); // bug#92918 - watch for nested classes 867throw new ArgumentException(String.Format(strformat, classPath, newClass.GetText(TextFormat.Mof)), e); 883return String.Format("{0}instance of __Namespace\r\n{{\r\n Name = \"{1}\";\r\n}};\r\n\r\n", PragmaNamespace(baseNamespace), childNamespaceName);
System.Runtime.Remoting (1)
channels\core\corechannel.cs (1)
158InternalRemotingServices.RemotingTrace(string.Format(
System.ServiceModel (2)
System\ServiceModel\Diagnostics\PerformanceCountersBase.cs (1)
38return String.Format("{0}{1}", instanceName, StringUtil.GetNonRandomizedHashCode(fullInstanceName).ToString("X", CultureInfo.InvariantCulture));
System\ServiceModel\Diagnostics\ServicePerformanceCountersBase.cs (1)
162return String.Format("{0}@{1}", serviceName, uri);
System.Windows.Forms (3)
winforms\Managed\System\WinForms\MonthCalendar.cs (3)
2732value = string.Format("{0} - {1}", calendar.SelectionStart.ToLongDateString(), calendar.SelectionEnd.ToLongDateString()); 2740value = string.Format("{0} - {1}", calendar.SelectionStart.ToString("y"), calendar.SelectionEnd.ToString("y")); 2744value = string.Format("{0} - {1}", calendar.SelectionRange.Start.ToString(), calendar.SelectionRange.End.ToString());
System.Workflow.ComponentModel (3)
AuthoringOM\Compiler\XomlCompilerHelpers.cs (3)
823throw new InvalidOperationException(String.Format(SR.GetString(SR.Error_MetaDataInterfaceMissing), assemblyLocation, "IMetaDataDispenser")); 833throw new InvalidOperationException(String.Format(SR.GetString(SR.Error_MetaDataInterfaceMissing), assemblyLocation, "IMetaDataImport")); 869throw new InvalidOperationException(String.Format(SR.GetString(SR.Error_MetaDataInterfaceMissing), assemblyLocation, "IMetaDataAssemblyImport"));