737 references to Format
Microsoft.Activities.Build (1)
Microsoft\Activities\Build\BeforeInitializeComponentExtension.cs (1)
87helperClassName = string.Format(CultureInfo.InvariantCulture, "{0}.{1}", buildContext.RootNamespace, classData.HelperClassFullName);
mscorlib (160)
system\diagnostics\eventing\eventsource.cs (1)
4037WriteStringToListener(listener, string.Format(CultureInfo.InvariantCulture, "Session {0}: Activity Sampling support: {1}",
system\gc.cs (2)
436String.Format( 446String.Format(
system\globalization\calendar.cs (2)
249String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("Argument_ResultCalendarRange"), 840String.Format(
system\globalization\chineselunisolarcalendar.cs (2)
320String.Format( 341String.Format(
system\globalization\culturedata.cs (1)
976String.Format(
system\globalization\cultureinfo.cs (2)
430String.Format( 1951String.Format(
system\globalization\eastasianlunisolarcalendar.cs (1)
160String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("ArgumentOutOfRange_CalendarRange"),
system\globalization\globalizationassembly.cs (1)
55String.Format(
system\globalization\gregoriancalendar.cs (9)
71String.Format( 290String.Format( 399String.Format( 443String.Format( 510String.Format( 531String.Format( 557String.Format( 600String.Format( 622String.Format(
system\globalization\gregoriancalendarhelper.cs (7)
205throw new ArgumentOutOfRangeException("year", String.Format(CultureInfo.CurrentCulture, Environment.GetResourceString("ArgumentOutOfRange_Range"), 341String.Format( 357String.Format( 388String.Format( 570String.Format( 607String.Format( 656String.Format(
system\globalization\hebrewcalendar.cs (5)
379String.Format( 402String.Format( 426String.Format( 445String.Format( 1065String.Format(
system\globalization\hijricalendar.cs (9)
229String.Format( 348String.Format( 367String.Format( 381String.Format( 504String.Format( 641String.Format( 689String.Format( 722String.Format( 748String.Format(
system\globalization\japanesecalendar.cs (2)
495String.Format( 577String.Format(
system\globalization\japaneselunisolarcalendar.cs (1)
207String.Format(
system\globalization\juliancalendar.cs (6)
125String.Format( 164String.Format( 235String.Format( 382String.Format( 410String.Format( 432String.Format(
system\globalization\koreancalendar.cs (1)
244String.Format(
system\globalization\koreanlunisolarcalendar.cs (2)
1253String.Format( 1277String.Format(
system\globalization\numberformatinfo.cs (8)
327String.Format( 502String.Format( 524String.Format( 546String.Format( 568String.Format( 617String.Format( 656String.Format( 705String.Format(
system\globalization\Persiancalendar.cs (8)
141String.Format( 160String.Format( 174String.Format( 295String.Format( 455String.Format( 511String.Format( 543String.Format( 569String.Format(
system\globalization\taiwancalendar.cs (2)
229String.Format( 253String.Format(
system\globalization\taiwanlunisolarcalendar.cs (1)
263String.Format(
system\globalization\thaibuddhistcalendar.cs (1)
203String.Format(
system\globalization\umalquracalendar.cs (7)
384String.Format( 403String.Format( 531String.Format( 715String.Format( 777String.Format( 809String.Format( 838String.Format(
system\io\fileloadexception.cs (1)
194return String.Format(CultureInfo.CurrentCulture, format, fileName, message);
system\io\textwriter.cs (2)
336Write(String.Format(FormatProvider, format, arg0, arg1)); 518WriteLine(String.Format(FormatProvider, format, arg0, arg1));
system\object.cs (1)
212throw new RemotingException(String.Format(
system\reflection\customattribute.cs (4)
644return String.Format(CultureInfo.CurrentCulture, "{0} = {1}", MemberInfo.Name, TypedValue.ToString(ArgumentType != typeof(object))); 919return String.Format(CultureInfo.CurrentCulture, typed ? "{0}" : "({1}){0}", Value, ArgumentType.FullName); 939result = String.Format(CultureInfo.CurrentCulture, @"new {0}[{1}] {{ ", elementType.IsEnum ? elementType.FullName : elementType.Name, array.Count); 947return String.Format(CultureInfo.CurrentCulture, typed ? "{0}" : "({1}){0}", Value, ArgumentType.Name);
system\reflection\emit\dynamicilgenerator.cs (1)
1242throw new ArgumentException(String.Format(
system\reflection\fieldinfo.cs (1)
47throw new ArgumentException(String.Format(
system\reflection\methodbase.cs (1)
71throw new ArgumentException(String.Format(
system\reflection\module.cs (2)
914String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Argument_ResolveString"), metadataToken, ToString())); 924String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Argument_ResolveString"), metadataToken, ToString()));
system\resources\resourcereader.cs (1)
1072BCLDebug.Log("RESMGRFILEFORMAT", String.Format(CultureInfo.InvariantCulture, "ReadResources: _nameOffset = 0x{0:x} _dataOffset = 0x{1:x}", _nameSectionOffset, _dataSectionOffset));
system\rttype.cs (6)
2049throw new ArgumentException(String.Format( 2077throw new ArgumentException(String.Format( 2099throw new ArgumentException(String.Format( 2169throw new ArgumentException(String.Format( 4443throw new ArgumentException(String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Arg_ObjObjEx"), value.GetType(), this)); 4485throw new ArgumentException(String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Arg_ObjObjEx"), value.GetType(), this));
system\runtime\interopservices\windowsruntime\custompropertyimpl.cs (1)
116String.Format(
system\runtime\remoting\activationservices.cs (1)
1286String.Format(
system\runtime\remoting\configuration.cs (11)
372String.Format( 527String.Format( 601String.Format( 613String.Format( 650String.Format( 1297String.Format( 1379String.Format( 1388String.Format( 1417String.Format( 1426String.Format( 1469String.Format(
system\runtime\remoting\message.cs (8)
555String.Format( 571String.Format( 633String.Format( 760String.Format( 805String.Format( 3274String.Format( 3438String.Format( 4141String.Format(
system\runtime\remoting\realproxy.cs (1)
186String.Format(
system\runtime\remoting\remotingconfigparser.cs (7)
703String.Format( 713String.Format( 729String.Format( 739String.Format( 749String.Format( 793String.Format( 805String.Format(
system\runtime\remoting\remotingservices.cs (1)
1460String.Format(
system\runtime\remoting\soapinteroptypes.cs (12)
218String.Format( 385String.Format( 958String.Format( 1049String.Format( 1138String.Format( 1151String.Format( 1200String.Format( 1213String.Format( 1262String.Format( 1275String.Format( 1324String.Format( 1337String.Format(
system\runtime\remoting\stackbuildersink.cs (3)
354String.Format( 390String.Format( 417String.Format(
system\runtime\serialization\formatters\binary\binaryobjectreader.cs (1)
336throw new SerializationException(String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("Serialization_NonSerType"),
system\runtime\serialization\formatterservices.cs (1)
507return String.Format(CultureInfo.InvariantCulture, "{0}{1}", GetClrTypeFullName(type.GetElementType()), "[]");
system\security\accesscontrol\ace.cs (2)
856string.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "ArgumentOutOfRange_ArrayLength" ), 0, MaxOpaqueLength )); 1303string.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "ArgumentOutOfRange_ArrayLength" ), 0, MaxOpaqueLengthInternal ));
system\security\claims\Claim.cs (1)
622return String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}: {1}", m_type, m_value);
system\security\permissionset.cs (2)
1761throw new ArgumentException(String.Format( null, Environment.GetResourceString( "Argument_InvalidXMLElement" ), "PermissionSet", this.GetType().FullName) ); 1863throw new ArgumentException(String.Format( null, Environment.GetResourceString( "Argument_InvalidXMLElement" ), "PermissionSet", this.GetType().FullName) );
system\security\policy\codegroup.cs (1)
450throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidXMLElement" ), "IMembershipCondition", this.GetType().FullName ) );
system\security\policy\policystatement.cs (2)
368throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidXMLElement" ), "PolicyStatement", this.GetType().FullName ) ); 446throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidXMLElement" ), "PolicyStatement", this.GetType().FullName ) );
system\security\xmlsyntaxexception.cs (1)
47: base( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "XMLSyntax_SyntaxErrorEx" ), lineNumber, message ) )
system\timezoneinfo.cs (3)
2311String.Format(CultureInfo.InvariantCulture, "{0}\\{1}\\Dynamic DST", 2488String.Format(CultureInfo.InvariantCulture, "{0}\\{1}", 2773String.Format(CultureInfo.InvariantCulture, "{0}\\{1}",
PresentationBuildTasks (3)
BuildTasks\Microsoft\Build\Tasks\Windows\UidManager.cs (2)
1138string clause = string.Format( 1150string clause = string.Format(
Framework\System\Windows\Markup\XamlTypeMapper.cs (1)
1492String.Format(CultureInfo.CurrentCulture, "{0}.{1}", objectType.Name, localName),
PresentationCore (4)
Core\CSharp\System\Windows\Media\Visual.cs (1)
2021String.Format(System.Globalization.CultureInfo.InvariantCulture,
Core\CSharp\System\Windows\Media3D\Visual3D.cs (1)
679String.Format(System.Globalization.CultureInfo.InvariantCulture,
Core\CSharp\System\Windows\Media3D\Visual3DCollection.cs (1)
586String.Format(
Core\CSharp\System\Windows\RoutedEvent.cs (1)
108return string.Format(CultureInfo.InvariantCulture, "{0}.{1}", _ownerType.Name, _name );
PresentationFramework (22)
src\Framework\MS\Internal\Data\XmlBindingWorker.cs (1)
551return String.Format(TypeConverterHelper.InvariantEnglishUS, "{0} ({1})",
src\Framework\MS\Internal\IO\Packaging\XmlFixedPageInfo.cs (1)
138string glyphRunQuery = String.Format(CultureInfo.InvariantCulture, ".//*[namespace-uri()='{0}' and local-name()='{1}']",
src\Framework\MS\Internal\Utility\TraceLog.cs (1)
65return String.Format(CultureInfo.InvariantCulture, "{0}.{1}",
src\Framework\System\Windows\Controls\DataGridClipboardHelper.cs (1)
92string prefix = string.Format(CultureInfo.InvariantCulture, DATAGRIDVIEW_htmlPrefix, bytecountEndOfHtml.ToString("00000000", CultureInfo.InvariantCulture), bytecountEndOfFragment.ToString("00000000", CultureInfo.InvariantCulture)) + DATAGRIDVIEW_htmlStartFragment;
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (1)
12907return String.Format(CultureInfo.InvariantCulture, "{0}.{1}",
src\Framework\System\Windows\Documents\Speller.cs (1)
1715System.Diagnostics.Trace.Write(string.Format(CultureInfo.InvariantCulture, "Failure to delete temporary file with custom dictionary data. file Uri:{0},exception:{1}", tempLocationUri.ToString(), e.ToString()));
src\Framework\System\Windows\Markup\BamlRecords.cs (5)
2123return string.Format(CultureInfo.InvariantCulture, 3479return string.Format(CultureInfo.InvariantCulture, 3879return string.Format(CultureInfo.InvariantCulture, 3956return string.Format(CultureInfo.InvariantCulture, 5528return string.Format(CultureInfo.InvariantCulture,
src\Framework\System\Windows\Markup\Primitives\MarkupWriter.cs (1)
1641result = string.Format(CultureInfo.InvariantCulture, clrUriPrefix + "{0};assembly={1}", type.Namespace,
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (3)
1492String.Format(CultureInfo.CurrentCulture, "{0}.{1}", objectType.Name, localName), 2300string fullTypeName = String.Format(TypeConverterHelper.InvariantEnglishUS, "{0}.{1}", usd.ClrNamespace, typeName); 2320string fullTypeName = String.Format(TypeConverterHelper.InvariantEnglishUS, "{0}.{1}", namespaces[i].ClrNamespace, typeName);
src\Framework\System\Windows\Navigation\NavigationService.cs (1)
3594name = String.Format(CultureInfo.CurrentCulture, "{0} ({1})", navWin.Title, JournalEntry.GetDisplayName(_currentSource, SiteOfOriginContainer.SiteOfOrigin));
src\Framework\System\Windows\Standard\Verify.cs (1)
249throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, "The integer value must be bounded with [{0}, {1})", lowerBoundInclusive, upperBoundExclusive), parameterName);
src\Framework\System\Windows\StyleHelper.cs (2)
1838String.Format(System.Globalization.CultureInfo.InvariantCulture, "Style.InstantiateSubTree for {0} {1}", container.GetType().Name, label)); 1878String.Format(System.Globalization.CultureInfo.InvariantCulture, "Style.InstantiateSubTree for {0} {1}", container.GetType().Name, label));
src\Framework\System\Windows\TemplateKey.cs (1)
123? String.Format(TypeConverterHelper.InvariantEnglishUS, "{0}({1})",
src\Framework\System\Windows\Window.cs (2)
4034Debug.Assert(workAreaWidthDeviceUnits >= 0, String.Format(CultureInfo.InvariantCulture, "workAreaWidth ({0})for monitor ({1}) is negative", hMonitor, workAreaWidthDeviceUnits)); 4035Debug.Assert(workAreaHeightDeviceUnits >= 0, String.Format(CultureInfo.InvariantCulture, "workAreaHeight ({0}) for monitor ({1}) is negative", hMonitor, workAreaHeightDeviceUnits));
SMDiagnostics (1)
System\ServiceModel\Diagnostics\LegacyDiagnosticTrace.cs (1)
158return string.Format(CultureInfo.InvariantCulture,
SMSvcHost (2)
System\ServiceModel\Activation\Diagnostics\ListenerTraceUtility.cs (1)
80string.Format(CultureInfo.InvariantCulture, "Unsupported trace code: Please add trace code 0x{0} to the dictionary ListenerTraceUtility.traceCodes in {1}",
TD.Designer.cs (1)
727string description = string.Format(Culture, ResourceManager.GetString("PendingSessionQueueRatio", Culture), curr, max);
System (28)
compmod\system\componentmodel\NestedContainer.cs (1)
161childName = string.Format(CultureInfo.InvariantCulture, "{0}.{1}", ownerName, childName);
net\System\Net\Configuration\ConfigurationStrings.cs (1)
16return string.Format(CultureInfo.InvariantCulture, @"{0}/{1}", ConfigurationStrings.SectionGroupName, sectionName);
net\System\Net\mail\MailAddress.cs (2)
159return String.Format(CultureInfo.InvariantCulture, "{0}@{1}", userName, host); 165return String.Format(CultureInfo.InvariantCulture, "{0}@{1}",
net\System\Net\NetRegistryConfiguration.cs (1)
160return String.Format(CultureInfo.InvariantCulture, @"{0}\{1}", GetNetFrameworkVersionedPath(), valueName);
net\System\Net\WebSockets\WebSocketBase.cs (4)
313inputParameter = string.Format(CultureInfo.InvariantCulture, 524inputParameter = string.Format(CultureInfo.InvariantCulture, 769inputParameter = string.Format(CultureInfo.InvariantCulture, 1473string.Format(CultureInfo.InvariantCulture,
net\System\Net\WebSockets\WebSocketConnectionStream.cs (1)
883return string.Format(CultureInfo.InvariantCulture,
net\System\Net\WebSockets\WebSocketHttpListenerDuplexStream.cs (1)
1248string.Format(CultureInfo.InvariantCulture, "Output channel closed for {0}#{1}",
services\monitoring\system\diagnosticts\FileVersionInfo.cs (12)
384companyName = GetFileVersionString(memIntPtr, string.Format(CultureInfo.InvariantCulture, template, codepage, "CompanyName")); 385fileDescription = GetFileVersionString(memIntPtr, string.Format(CultureInfo.InvariantCulture, template, codepage, "FileDescription")); 386fileVersion = GetFileVersionString(memIntPtr, string.Format(CultureInfo.InvariantCulture, template, codepage, "FileVersion")); 387internalName = GetFileVersionString(memIntPtr, string.Format(CultureInfo.InvariantCulture, template, codepage, "InternalName")); 388legalCopyright = GetFileVersionString(memIntPtr, string.Format(CultureInfo.InvariantCulture, template, codepage, "LegalCopyright")); 389originalFilename = GetFileVersionString(memIntPtr, string.Format(CultureInfo.InvariantCulture, template, codepage, "OriginalFilename")); 390productName = GetFileVersionString(memIntPtr, string.Format(CultureInfo.InvariantCulture, template, codepage, "ProductName")); 391productVersion = GetFileVersionString(memIntPtr, string.Format(CultureInfo.InvariantCulture, template, codepage, "ProductVersion")); 392comments = GetFileVersionString(memIntPtr, string.Format(CultureInfo.InvariantCulture, template, codepage, "Comments")); 393legalTrademarks = GetFileVersionString(memIntPtr, string.Format(CultureInfo.InvariantCulture, template, codepage, "LegalTrademarks")); 394privateBuild = GetFileVersionString(memIntPtr, string.Format(CultureInfo.InvariantCulture, template, codepage, "PrivateBuild")); 395specialBuild = GetFileVersionString(memIntPtr, string.Format(CultureInfo.InvariantCulture, template, codepage, "SpecialBuild"));
services\monitoring\system\diagnosticts\Process.cs (1)
2412return String.Format(CultureInfo.CurrentCulture, "{0} ({1})", base.ToString(), processName);
services\monitoring\system\diagnosticts\ProcessModule.cs (1)
121return String.Format(CultureInfo.CurrentCulture, "{0} ({1})", base.ToString(), this.ModuleName);
sys\system\configuration\LocalFileSettingsProvider.cs (1)
383sectionName = string.Format(CultureInfo.InvariantCulture, "{0}.{1}", sectionName, key);
sys\System\IO\compression\FastEncoder.cs (1)
136Debug.WriteLineIf(CompressionTracingSwitch.Verbose, String.Format(CultureInfo.InvariantCulture, "Match: {0}:{1}", matchLen, matchPos), "Compression");
sys\System\IO\compression\OutputWindow.cs (1)
32Debug.WriteLineIf(CompressionTracingSwitch.Verbose, String.Format(CultureInfo.InvariantCulture, "Length/Distance: {0}:{1}", length, distance), "Compression");
System.Activities (11)
Microsoft\VisualBasic\Activities\VisualBasicImportReference.cs (1)
158xamlNamespace = string.Format(CultureInfo.InvariantCulture, "clr-namespace:{0};assembly={1}", this.Import, this.Assembly);
System\Activities\Activity.cs (1)
816return string.Format(CultureInfo.CurrentCulture, "{0}: {1}", this.Id, this.DisplayName);
System\Activities\Debugger\DebugManager.cs (1)
244name = string.Format(CultureInfo.InvariantCulture, "{0}.{1}", parentName, displayName);
TD.Designer.cs (8)
111string description = string.Format(Culture, ResourceManager.GetString("TrackingRecordRaised", Culture), param0, param1); 165string description = string.Format(Culture, ResourceManager.GetString("TrackingDataExtracted", Culture), Data, Activity); 224string description = string.Format(Culture, ResourceManager.GetString("TryCatchExceptionFromTry", Culture), param0, param1); 1235string description = string.Format(Culture, ResourceManager.GetString("BookmarkScopeInitialized", Culture), param0, param1); 1564string description = string.Format(Culture, ResourceManager.GetString("WorkflowApplicationPersistableIdle", Culture), param0, param1); 1773string description = string.Format(Culture, ResourceManager.GetString("InvokedMethodThrewException", Culture), param0, param1); 1950string description = string.Format(Culture, ResourceManager.GetString("FlowchartSwitchCase", Culture), param0, param1); 2038string description = string.Format(Culture, ResourceManager.GetString("CompensationState", Culture), param0, param1);
System.Activities.Core.Presentation (4)
System\Activities\Core\Presentation\FlowchartDesigner.Helpers.cs (1)
335errorMessage += string.Format(CultureInfo.CurrentUICulture, "Link{0}:{1}\n", i + 1, error);
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (1)
2173name = string.Format(CultureInfo.CurrentUICulture, "{0}{1}", DefaultStateDisplayName, ++suffix);
System\Activities\Presentation\ActivityDesignerHelper.cs (1)
146name = string.Format(CultureInfo.CurrentUICulture, "{0}{1}", prefix, 1);
System\Activities\Presentation\DynamicArgumentDesigner.xaml.cs (1)
598return string.Format(CultureInfo.InvariantCulture, "{0}{1}", this.ArgumentPrefix, maxNum);
System.Activities.DurableInstancing (5)
System\Activities\DurableInstancing\SaveWorkflowAsyncResult.cs (4)
109commandTextBuilder.AppendLine(string.Format(CultureInfo.InvariantCulture, "exec @result = {0}.[SaveInstance] {1} ;", 433commandTextBuilder.AppendLine(string.Format(CultureInfo.InvariantCulture, "exec {0}.[CreateServiceDeployment] {1} ;", 563string argumentName = string.Format(CultureInfo.InvariantCulture, "@value{0}_promotion{1}", column, promotionNumber); 584string argumentName = string.Format(CultureInfo.InvariantCulture, "@value{0}_promotion{1}", column, promotionNumber);
TD.Designer.cs (1)
323string description = string.Format(Culture, ResourceManager.GetString("SqlExceptionCaught", Culture), param0, param1);
System.Activities.Presentation (51)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\SourceTextScanner.cs (2)
105SharedFx.Assert(string.Format(CultureInfo.CurrentCulture, "line out of range:({0},{1})", line + 1, column + 1)); 111SharedFx.Assert(string.Format(CultureInfo.CurrentCulture, "column out of range:({0},{1})", line + 1, column + 1));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\EditingContext.cs (6)
238string.Format(CultureInfo.CurrentCulture, 271throw FxTrace.Exception.AsError(new ArgumentException(string.Format( 303string.Format(CultureInfo.CurrentCulture, 365string.Format(CultureInfo.CurrentCulture, 408string.Format(CultureInfo.CurrentCulture, 558string.Format(CultureInfo.CurrentCulture,
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\MutableAttributeTable.cs (2)
553errorMsg = string.Format( 560errorMsg = string.Format(
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagStringConverter.cs (1)
57throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.InvalidFlagName, value, flagType.Name)));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\PropertyValueToDisplayNameConverter.cs (1)
89return string.Format(
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryBase.cs (2)
141this.ReportCategoryException(string.Format(CultureInfo.CurrentCulture, ExceptionStringTable.CategoryIconLoadFailed, this.CategoryName, exception.Message)); 156this.ReportCategoryException(string.Format(CultureInfo.CurrentCulture, ExceptionStringTable.CategoryIconLoadFailed, this.CategoryName, exception.Message));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\NewItemFactoryTypeModel.cs (1)
58this.ReportException(string.Format(CultureInfo.CurrentCulture, ExceptionStringTable.NewItemFactoryIconLoadFailed, this.factory.GetType().Name, exception.Message));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyEntry.cs (1)
709return string.Format(CultureInfo.CurrentCulture, "{0} (\"{1}\" - PropertyEntry)", this.PropertyName, this.DisplayName);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\CategoryEditor.cs (1)
75string.Format(
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyValueEditor.cs (1)
76string.Format(
System.Activities.Presentation\System\Activities\Presentation\Base\Core\ServiceManager.cs (2)
343string.Format( 397throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(
System.Activities.Presentation\System\Activities\Presentation\Base\Documents\ViewManagerAttribute.cs (1)
39throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentCulture,
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemCollection.cs (1)
140string.Format(CultureInfo.CurrentCulture,
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemDictionary.cs (1)
189string.Format(CultureInfo.CurrentCulture,
System.Activities.Presentation\System\Activities\Presentation\DefaultCommandExtensionCallback.cs (1)
152base(key, ModifierKeys.Control, string.Format(CultureInfo.InvariantCulture, "Ctrl+{0}, {1}", key, chordKey))
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (2)
322PropertyName = string.Format(CultureInfo.InvariantCulture, "{0}{1}", localPropertyName, ValidationErrorSuffix), 605string.Format(CultureInfo.InvariantCulture, "{0}{1}", this.descriptorData.PropertyName, DesignObjectWrapper.ValidationErrorSuffix) :
System.Activities.Presentation\System\Activities\Presentation\ErrorReporting.cs (2)
66ShowErrorMessage(string.Format(CultureInfo.CurrentUICulture, "{0}\n\n\"{1}\"", message, details)); 100ShowMessageBox(string.Format(CultureInfo.InvariantCulture, "{0}:\r\n{1}", err.GetType().Name, err.Message), MessageBoxImage.Error, err.StackTrace);
System.Activities.Presentation\System\Activities\Presentation\Expressions\ExpressionMorphHelperAttribute.cs (1)
25throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture,
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (1)
1072throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.InvariantCulture,
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (1)
512return string.Format(CultureInfo.CurrentCulture, "{0}{1}", nameDefaultPrefix, id);
System.Activities.Presentation\System\Activities\Presentation\Model\PropertyChange.cs (1)
30return string.Format(CultureInfo.InvariantCulture, "{0} - {1}", SR.PropertyChangeEditingScopeDescription, this.PropertyName);
System.Activities.Presentation\System\Activities\Presentation\Model\PropertyReferenceChange.cs (1)
25return string.Format(CultureInfo.InvariantCulture, "{0} - {1}", SR.PropertyReferenceChangeEditingScopeDescription, this.TargetProperty);
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemWrapper.cs (1)
385string error = string.Format(CultureInfo.CurrentCulture, SR.NotSupportedToolboxTypeFormatString, toolType.Name, reason);
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (1)
1778string key = string.Format(CultureInfo.InvariantCulture, "Operation{0}{1}Icon", iconName, menuItem.IsEnabled ? string.Empty : "Disabled");
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (4)
645throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.InvalidExpressionEditorType, 824errorMessage = string.Format(CultureInfo.CurrentUICulture, SR.ExpressionTypeDonnotMatch, 829errorMessage = string.Format(CultureInfo.CurrentUICulture, SR.ExpressionTypeDonnotMatch, 835errorMessage = string.Format(CultureInfo.CurrentUICulture, SR.ExpressionTypeDonnotMatch,
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionValueEditor.cs (1)
97hint.Text = string.Format(CultureInfo.CurrentCulture, hintFormatString, propertyValue.ParentProperty.PropertyName, friendlyTypeName);
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionSurface.cs (2)
231Fx.Assert(string.Format(CultureInfo.CurrentCulture, "ExtensionWindowPlacement.Mode {0} specified in ExtensionWindow '{1}' is not supported for ExtensionSurface", mode, window.Name)); 383System.Diagnostics.Debug.WriteLine(string.Format(CultureInfo.InvariantCulture, "ArrangeOverride Size({0},{1})", arrangeSize.Width, arrangeSize.Height));
System.Activities.Presentation\System\Activities\Presentation\View\FilterableData.cs (1)
63return string.Format(CultureInfo.CurrentUICulture, "{0}:({1})", base.ToString(), typeof(TData).Name);
System.Activities.Presentation\System\Activities\Presentation\View\ParserContext.cs (1)
276string.Format(CultureInfo.InvariantCulture, "clr-namespace:{0};assembly={1}",
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemViewModel.cs (1)
416throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.PromotedPropertyNotFound, outlineView.PromotedProperty, property.Value.Name)));
System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (1)
931name = string.Format(CultureInfo.CurrentUICulture, "{0}{1}", namePrefix, countStartValue++);
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (2)
930Trace.WriteLine(string.Format(CultureInfo.CurrentUICulture, "{0}\r\n{1}", err.Message, err.StackTrace)); 988Trace.WriteLine(string.Format(CultureInfo.CurrentUICulture, "{0}\r\n{1}", err.Message, err.StackTrace));
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (3)
346System.Diagnostics.Debug.WriteLine(string.Format( 499System.Diagnostics.Debug.WriteLine(string.Format( 649string.Format(CultureInfo.InvariantCulture, "{0} ) WorkflowViewElement.OnMouseDown.SetFocus ({1})",
System.AddIn (2)
System\Addin\Hosting\AddInProcess.cs (1)
361String args = String.Format(CultureInfo.InvariantCulture, "/guid:{0} /pid:{1}", guid, Process.GetCurrentProcess().Id);
System\Addin\MiniReflection\MetadataReader\Metadata.cs (1)
31return String.Format(CultureInfo.InvariantCulture, "{0:x2}{1:x6}", (UInt32)Table, Index);
System.ComponentModel.DataAnnotations (23)
DataAnnotations\AssociatedMetadataTypeTypeDescriptor.cs (1)
128throw new InvalidOperationException(String.Format(
DataAnnotations\CompareAttribute.cs (2)
29return String.Format(CultureInfo.CurrentCulture, ErrorMessageString, name, OtherPropertyDisplayName ?? OtherProperty); 58throw new ArgumentException(String.Format(CultureInfo.CurrentCulture,
DataAnnotations\CustomValidationAttribute.cs (4)
226return String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.CustomValidationAttribute_Method_Not_Found, this._method, this._validatorType.Name); 231return String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.CustomValidationAttribute_Method_Must_Return_ValidationResult, this._method, this._validatorType.Name); 238return String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.CustomValidationAttribute_Method_Signature, this._method, this._validatorType.Name); 248return String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.CustomValidationAttribute_Method_Signature, this._method, this._validatorType.Name);
DataAnnotations\DisplayAttribute.cs (3)
234throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.DisplayAttribute_PropertyNotSet, "AutoGenerateField", "GetAutoGenerateField")); 260throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.DisplayAttribute_PropertyNotSet, "AutoGenerateFilter", "GetAutoGenerateFilter")); 286throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.DisplayAttribute_PropertyNotSet, "Order", "GetOrder"));
DataAnnotations\FileExtensionsAttribute.cs (1)
54return String.Format(CultureInfo.CurrentCulture, ErrorMessageString, name, ExtensionsFormatted);
DataAnnotations\MaxLengthAttribute.cs (1)
84return string.Format(CultureInfo.CurrentCulture, ErrorMessageString, name, Length);
DataAnnotations\MinLengthAttribute.cs (1)
69return string.Format(CultureInfo.CurrentCulture, ErrorMessageString, name, Length);
DataAnnotations\RangeAttribute.cs (2)
73throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.RangeAttribute_MinGreaterThanMax, maximum, minimum)); 166String.Format(
DataAnnotations\RegularExpressionAttribute.cs (1)
88return String.Format(CultureInfo.CurrentCulture, ErrorMessageString, name, this.Pattern);
DataAnnotations\StringLengthAttribute.cs (1)
88throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.RangeAttribute_MinGreaterThanMax, this.MaximumLength, this.MinimumLength));
DataAnnotations\UIHintAttribute.cs (2)
209String.Format( 218String.Format(
DataAnnotations\ValidationAttribute.cs (2)
252String.Format( 260String.Format(
DataAnnotations\ValidationAttributeStore.cs (1)
178throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.AttributeStore_Unknown_Property, this._type.Name, propertyName), "propertyName");
DataAnnotations\Validator.cs (1)
319throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.Validator_Property_Value_Wrong_Type, propertyName, propertyType), "value");
System.Configuration (6)
System\Configuration\ConfigurationElement.cs (2)
1346throw new ConfigurationErrorsException(string.Format(CultureInfo.CurrentCulture, format, attribToLockTrim, sb.ToString()), value.SourceInfo.FileName, value.SourceInfo.LineNumber); 1348throw new ConfigurationErrorsException(string.Format(CultureInfo.CurrentCulture, format, attribToLockTrim, sb.ToString()));
System\Configuration\MgmtConfigurationRecord.cs (2)
2190utilWriter.Write(String.Format(CultureInfo.InvariantCulture, FORMAT_LOCATION_NOPATH, locationUpdates.OverrideMode.LocationTagXmlString, BoolToString(locationUpdates.InheritInChildApps))); 3059updatedXml = string.Format(CultureInfo.InvariantCulture, FORMAT_SECTION_CONFIGSOURCE, configSection.SectionInformation.Name, configSection.SectionInformation.ConfigSource);
System\Configuration\OverrideMode.cs (1)
267result = String.Format(CultureInfo.InvariantCulture, BaseConfigurationRecord.KEYWORD_LOCATION_OVERRIDEMODE_STRING, attrib, value);
System\Configuration\ValidatorUtils.cs (1)
83throw new ArgumentException( String.Format( CultureInfo.InvariantCulture,
System.Core (4)
Microsoft\Scripting\Ast\BlockExpression.cs (1)
807throw new ArgumentNullException(string.Format(System.Globalization.CultureInfo.CurrentCulture, "{0}[{1}]", collectionName, set.Count));
Microsoft\Scripting\Ast\DebugViewWriter.cs (2)
508Out(String.Format( 1127String.Format(
Microsoft\Scripting\Utils\ContractUtils.cs (1)
92throw new ArgumentNullException(string.Format(System.Globalization.CultureInfo.CurrentCulture, "{0}[{1}]", arrayName, i));
System.Data (61)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\SourceTextScanner.cs (2)
105SharedFx.Assert(string.Format(CultureInfo.CurrentCulture, "line out of range:({0},{1})", line + 1, column + 1)); 111SharedFx.Assert(string.Format(CultureInfo.CurrentCulture, "column out of range:({0},{1})", line + 1, column + 1));
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\VisualStudio\Activities\ImportServiceContract\ImportServiceContractNamingHelper.cs (1)
19return string.Format(CultureInfo.InvariantCulture, format, baseString, suffix);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\EditingContext.cs (6)
238string.Format(CultureInfo.CurrentCulture, 271throw FxTrace.Exception.AsError(new ArgumentException(string.Format( 303string.Format(CultureInfo.CurrentCulture, 365string.Format(CultureInfo.CurrentCulture, 408string.Format(CultureInfo.CurrentCulture, 558string.Format(CultureInfo.CurrentCulture,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\MutableAttributeTable.cs (2)
553errorMsg = string.Format( 560errorMsg = string.Format(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagStringConverter.cs (1)
57throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.InvalidFlagName, value, flagType.Name)));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\PropertyValueToDisplayNameConverter.cs (1)
89return string.Format(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryBase.cs (2)
141this.ReportCategoryException(string.Format(CultureInfo.CurrentCulture, ExceptionStringTable.CategoryIconLoadFailed, this.CategoryName, exception.Message)); 156this.ReportCategoryException(string.Format(CultureInfo.CurrentCulture, ExceptionStringTable.CategoryIconLoadFailed, this.CategoryName, exception.Message));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\NewItemFactoryTypeModel.cs (1)
58this.ReportException(string.Format(CultureInfo.CurrentCulture, ExceptionStringTable.NewItemFactoryIconLoadFailed, this.factory.GetType().Name, exception.Message));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyEntry.cs (1)
709return string.Format(CultureInfo.CurrentCulture, "{0} (\"{1}\" - PropertyEntry)", this.PropertyName, this.DisplayName);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\CategoryEditor.cs (1)
75string.Format(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyValueEditor.cs (1)
76string.Format(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\ServiceManager.cs (2)
343string.Format( 397throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Documents\ViewManagerAttribute.cs (1)
39throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentCulture,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemCollection.cs (1)
140string.Format(CultureInfo.CurrentCulture,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemDictionary.cs (1)
189string.Format(CultureInfo.CurrentCulture,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (2)
322PropertyName = string.Format(CultureInfo.InvariantCulture, "{0}{1}", localPropertyName, ValidationErrorSuffix), 605string.Format(CultureInfo.InvariantCulture, "{0}{1}", this.descriptorData.PropertyName, DesignObjectWrapper.ValidationErrorSuffix) :
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ErrorReporting.cs (2)
66ShowErrorMessage(string.Format(CultureInfo.CurrentUICulture, "{0}\n\n\"{1}\"", message, details)); 100ShowMessageBox(string.Format(CultureInfo.InvariantCulture, "{0}:\r\n{1}", err.GetType().Name, err.Message), MessageBoxImage.Error, err.StackTrace);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Expressions\ExpressionMorphHelperAttribute.cs (1)
25throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (1)
512return string.Format(CultureInfo.CurrentCulture, "{0}{1}", nameDefaultPrefix, id);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\PropertyChange.cs (1)
30return string.Format(CultureInfo.InvariantCulture, "{0} - {1}", SR.PropertyChangeEditingScopeDescription, this.PropertyName);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\PropertyReferenceChange.cs (1)
25return string.Format(CultureInfo.InvariantCulture, "{0} - {1}", SR.PropertyReferenceChangeEditingScopeDescription, this.TargetProperty);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemWrapper.cs (1)
385string error = string.Format(CultureInfo.CurrentCulture, SR.NotSupportedToolboxTypeFormatString, toolType.Name, reason);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (1)
1778string key = string.Format(CultureInfo.InvariantCulture, "Operation{0}{1}Icon", iconName, menuItem.IsEnabled ? string.Empty : "Disabled");
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (1)
645throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.InvalidExpressionEditorType,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ExpressionValueEditor.cs (1)
97hint.Text = string.Format(CultureInfo.CurrentCulture, hintFormatString, propertyValue.ParentProperty.PropertyName, friendlyTypeName);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\FilterableData.cs (1)
63return string.Format(CultureInfo.CurrentUICulture, "{0}:({1})", base.ToString(), typeof(TData).Name);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ParserContext.cs (1)
276string.Format(CultureInfo.InvariantCulture, "clr-namespace:{0};assembly={1}",
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemViewModel.cs (1)
416throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.PromotedPropertyNotFound, outlineView.PromotedProperty, property.Value.Name)));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (1)
931name = string.Format(CultureInfo.CurrentUICulture, "{0}{1}", namePrefix, countStartValue++);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (2)
930Trace.WriteLine(string.Format(CultureInfo.CurrentUICulture, "{0}\r\n{1}", err.Message, err.StackTrace)); 988Trace.WriteLine(string.Format(CultureInfo.CurrentUICulture, "{0}\r\n{1}", err.Message, err.StackTrace));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (3)
346System.Diagnostics.Debug.WriteLine(string.Format( 499System.Diagnostics.Debug.WriteLine(string.Format( 649string.Format(CultureInfo.InvariantCulture, "{0} ) WorkflowViewElement.OnMouseDown.SetFocus ({1})",
fx\src\data\Microsoft\SqlServer\Server\SmiMetaData.cs (2)
393String.Format((IFormatProvider)null, "SmiMetaData.ctor: Udt name={0}, maxLength={1}", udtAssemblyQualifiedName, maxLength)); 760fields = String.Format(CultureInfo.InvariantCulture,
fx\src\data\Microsoft\SqlServer\Server\SmiMetaDataProperty.cs (1)
152return String.Format(CultureInfo.InvariantCulture, "{0} {1}", SortOrdinal, Order);
fx\src\data\System\Data\Common\ActivityCorrelator.cs (1)
53return string.Format(CultureInfo.InvariantCulture, "{0}:{1}", this.Id, this.Sequence);
fx\src\data\System\Data\DataTable.cs (2)
608info.AddValue(String.Format(CultureInfo.InvariantCulture, "DataTable_{0}.DataColumn_{1}.Expression", serIndex, i), Columns[i].Expression); 616string expr = info.GetString(String.Format(CultureInfo.InvariantCulture, "DataTable_{0}.DataColumn_{1}.Expression", serIndex, i));
fx\src\data\System\Data\ProviderBase\DbConnectionPoolCounters.cs (2)
250result = String.Format((IFormatProvider)null, "{0}[{1}]", instanceName, pid); 268string.Format((IFormatProvider)null, "wrong calculation of the instance name: expected {0}, actual: {1}", CounterInstanceNameMaxLength, result.Length));
fx\src\data\System\Data\SqlClient\SqlDependencyUtils.cs (1)
200notificationId = string.Format(System.Globalization.CultureInfo.InvariantCulture,
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (1)
2742UserServerName = string.Format(CultureInfo.InvariantCulture, "{0},{1}", routing.ServerName, routing.Port);
fx\src\data\System\Data\SqlClient\TdsParserHelperClasses.cs (2)
395return String.Format(/*IFormatProvider*/ null, "(LCID={0}, Opts={1})", this.LCID, (int)this.SqlCompareOptions); 472return String.Format(CultureInfo.InvariantCulture, "STSURL: {0}, SPN: {1}", stsurl ?? String.Empty, spn ?? String.Empty);
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (2)
3231assertMessage = string.Format( 3237assertMessage = string.Format(
fx\src\data\System\Data\SQLTypes\SQLFileStream.cs (1)
839return String.Format ( CultureInfo.InvariantCulture, formatPath, path.Trim('\\'), uniqueId);
fx\src\data\System\Data\SQLTypes\UnsafeNativeMethods.cs (1)
111Debug.Assert(cchRequiredSize <= buffer.Capacity, string.Format(
System.Data.Entity (30)
System\Data\Common\EntitySql\CqlParserHelpers.cs (1)
173syntaxContextInfo = String.Format(CultureInfo.CurrentCulture, "{0} '{1}'", syntaxContextInfo, term);
System\Data\Common\Utils\Boolean\Vertex.cs (1)
137return String.Format(CultureInfo.InvariantCulture, "<{0}, {1}>", Variable, StringUtil.ToCommaSeparatedString(Children));
System\Data\EntityKey.cs (1)
1389return String.Format(System.Globalization.CultureInfo.CurrentCulture, "[{0}, {1}]", _keyName, _keyValue);
System\Data\EntityModel\SchemaObjectModel\EntityContainer.cs (1)
516string tableKey = String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}.{1}", schema, table);
System\Data\EntityModel\SchemaObjectModel\Parameter.cs (1)
200Debug.Assert(typeModifier == TypeModifier.None, string.Format(CultureInfo.CurrentCulture, "Type is not valid for property {0}: {1}. The modifier for the type cannot be used in this context.", FQName, reader.Value));
System\Data\EntityModel\SchemaObjectModel\ReturnType.cs (1)
171Debug.Assert(typeModifier == TypeModifier.None, string.Format(CultureInfo.CurrentCulture, "Type is not valid for property {0}: {1}. The modifier for the type cannot be used in this context.", FQName, reader.Value));
System\Data\EntityModel\SchemaObjectModel\RowTypePropertyElement.cs (1)
79Debug.Assert(typeModifier == TypeModifier.None, string.Format(CultureInfo.CurrentCulture, "Type is not valid for property {0}: {1}. The modifier for the type cannot be used in this context.", FQName, reader.Value));
System\Data\EntityModel\SchemaObjectModel\Utils.cs (1)
197string.Format(CultureInfo.CurrentCulture, "{1} ({0}) is not valid. {1} cannot be qualified.", name, reader.Name));
System\Data\Mapping\FunctionImportMapping.cs (1)
554return String.Format(CultureInfo.InvariantCulture, "Values={0}, Types={1}",
System\Data\Mapping\StorageModificationFunctionMapping.cs (2)
252return String.Format(CultureInfo.InvariantCulture, 324return String.Format(CultureInfo.InvariantCulture, "{0}{1}",
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQuery.cs (1)
112return String.Format(CultureInfo.InvariantCulture, "[{0} where {1}]", b, this.Condition);
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingValidator.cs (2)
220Debug.Fail(String.Format(CultureInfo.InvariantCulture, "No cached rewriting for {0}={1}", column, domainValue)); 572return String.Format(CultureInfo.InvariantCulture, "{0}={1}", Member, Value);
System\Data\Mapping\ViewGeneration\QueryRewriting\Tile.cs (2)
153return String.Format(CultureInfo.InvariantCulture, "{0}: [{1}]", this.Description, this.Query); 239return String.Format(CultureInfo.InvariantCulture, descriptionFormat, this.Arg1.Description, this.Arg2.Description);
System\Data\Metadata\TypeHelpers.cs (1)
689return string.Format(CultureInfo.InvariantCulture, "{0}.{1}", qualifier, name);
System\Data\Objects\ELinq\Funcletizer.cs (1)
312return String.Format(CultureInfo.InvariantCulture, "{0}{1}",
System\Data\Objects\Internal\EntityProxyFactory.cs (3)
461Debug.Assert(property != null, String.Format(CultureInfo.CurrentCulture, "Expected property {0} to be defined on proxy type {1}", member.Name, proxyType.FullName)); 464Debug.Assert(interceptorField != null, String.Format(CultureInfo.CurrentCulture, "Expected interceptor field for property {0} to be defined on proxy type {1}", member.Name, proxyType.FullName)); 715string proxyTypeName = String.Format(CultureInfo.InvariantCulture, ProxyTypeNameFormat, baseName, _ospaceEntityType.HashedDescription);
System\Data\Objects\ObjectQuery_EntitySqlExtensions.cs (1)
197return String.Format(
System\Data\Objects\ObjectSet.cs (1)
182return string.Format(CultureInfo.InvariantCulture, "{0}.{1}", _entitySet.EntityContainer.Name, _entitySet.Name);
System\Data\Query\InternalTrees\ColumnMap.cs (1)
227return String.Format(CultureInfo.InvariantCulture, "S({0},{1})", this.CommandId, this.ColumnPos);
System\Data\Query\InternalTrees\Metadata.cs (1)
268return String.Format(CultureInfo.InvariantCulture, "{0}::{1}", m_tableMetadata.ToString(), this.TableId); ;
System\Data\Query\PlanCompiler\CTreeGenerator.cs (1)
634PlanCompiler.Assert(retExpr != null, string.Format(CultureInfo.InvariantCulture, "Unresolvable Var used in Command: VarType={0}, Id={1}", Enum.GetName(typeof(VarType), referencedVar.VarType), referencedVar.Id));
System\Data\Query\PlanCompiler\StructuredTypeInfo.cs (1)
631typeInfo.TypeId = String.Format(CultureInfo.InvariantCulture, "{0}{1}X", typeInfo.SuperType.TypeId, subtypeNum);
System\Data\Spatial\DbGeography.cs (1)
655return string.Format(CultureInfo.InvariantCulture, "SRID={1};{0}", this.WellKnownValue.WellKnownText ?? base.ToString(), this.CoordinateSystemId);
System\Data\Spatial\DbGeometry.cs (1)
796return string.Format(CultureInfo.InvariantCulture, "SRID={1};{0}", this.WellKnownValue.WellKnownText ?? base.ToString(), this.CoordinateSystemId);
System\Data\SqlClient\SqlProviderServices.cs (1)
852string databaseName = databaseName = String.Format(CultureInfo.InvariantCulture, "{0}_{1}", strippedFileName, Guid.NewGuid().ToString("N", CultureInfo.InvariantCulture));
System.Data.Entity.Design (2)
System\Data\Entity\Design\EntityCodeGenerator.cs (1)
461message = String.Format(CultureInfo.InvariantCulture, "{0}({1})", error.ErrorText, error.ErrorNumber);
System\Data\EntityModel\Emitters\CommentEmitter.cs (1)
152string paramComment = string.Format(System.Globalization.CultureInfo.CurrentCulture,
System.Data.Linq (1)
SqlClient\SqlBuilder.cs (1)
166name = String.Format(Globalization.CultureInfo.InvariantCulture, "FK_{0}_{1}", tableName, mm.Name);
System.Data.Services.Design (4)
System\Data\EntityModel\DataServiceBuildProvider.cs (3)
120errorMessage = String.Format(CultureInfo.CurrentCulture, "{0}: {1}", IO.Path.GetFileName(mapFilePath), errorMessage); 490String.Format(CultureInfo.InvariantCulture, "'{0}', '{1}'", VersionParameterName, UseCollectionParameterName))); 552String.Format(CultureInfo.InvariantCulture, "'{0}', '{1}'", Version1Dot0, Version2Dot0)));
System\Data\EntityModel\Emitters\CommentEmitter.cs (1)
147string paramComment = string.Format(System.Globalization.CultureInfo.CurrentCulture,
System.Drawing (4)
commonui\System\Drawing\Advanced\FontFamily.cs (1)
245return string.Format(CultureInfo.CurrentCulture, "[{0}: Name={1}]", GetType().Name, this.Name);
commonui\System\Drawing\Advanced\PointF.cs (1)
222return string.Format(CultureInfo.CurrentCulture, "{{X={0}, Y={1}}}", x, y);
misc\DbgUtil.cs (2)
259return String.Format( CultureInfo.CurrentCulture, "0x{0:x8} - {1}", err, message); 386return String.Format( CultureInfo.CurrentCulture, "{0}\r\nTop Stack Trace:\r\n{1}", message, DbgUtil.StackFramesToStr(frameCount));
System.IdentityModel (14)
System\IdentityModel\Claims\Claim.cs (1)
218return string.Format(CultureInfo.CurrentCulture, "{0}: {1}", this.right, this.claimType);
System\IdentityModel\Diagnostics\TraceUtility.cs (1)
51string.Format( CultureInfo.InvariantCulture, "Unsupported trace code: Please add trace code 0x{0} to the dictionary TraceUtility.traceCodes in {1}",
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (2)
2249throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new WSTrustSerializationException(SR.GetString(SR.ID3215, encodingType, reader.LocalName, reader.NamespaceURI, string.Format(CultureInfo.InvariantCulture, "({0}, {1})", WSSecurity10Constants.EncodingTypes.Base64, WSSecurity10Constants.EncodingTypes.HexBinary)))); 2294string.Format(CultureInfo.InvariantCulture, "({0}, {1})", WSSecurity10Constants.EncodingTypes.Base64, WSSecurity10Constants.EncodingTypes.HexBinary))));
System\IdentityModel\Tokens\ConfigurationBasedIssuerNameRegistry.cs (3)
87String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}/{1}", customConfigElement.LocalName, childElement.LocalName), 88String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0} and {1}", ConfigurationStrings.Thumbprint, ConfigurationStrings.Name))); 104String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}/{1}", customConfigElement.LocalName, childElement.LocalName),
System\IdentityModel\Tokens\EncryptedKeyIdentifierClause.cs (1)
82return string.Format(CultureInfo.InvariantCulture, "EncryptedKeyIdentifierClause(EncryptedKey = {0}, Method '{1}')",
System\IdentityModel\Tokens\LocalIdKeyIdentifierClause.cs (1)
87return string.Format(CultureInfo.InvariantCulture, "LocalIdKeyIdentifierClause(LocalId = '{0}', Owner = '{1}')", this.LocalId, this.OwnerType);
System\IdentityModel\Tokens\RsaKeyIdentifierClause.cs (1)
78return string.Format(CultureInfo.InvariantCulture, "RsaKeyIdentifierClause(Modulus = {0}, Exponent = {1})",
System\IdentityModel\Tokens\SamlSecurityTokenRequirement.cs (2)
179throw DiagnosticUtility.ThrowHelperInvalidOperation(SR.GetString(SR.ID7001, String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}/{1}", element.LocalName, childElement.LocalName), ConfigurationStrings.Value)); 187throw DiagnosticUtility.ThrowHelperInvalidOperation(SR.GetString(SR.ID7001, String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}/{1}", element.LocalName, childElement.LocalName), ConfigurationStrings.Value));
System\IdentityModel\Tokens\X509IssuerSerialKeyIdentifierClause.cs (1)
108return string.Format(CultureInfo.InvariantCulture, "X509IssuerSerialKeyIdentifierClause(Issuer = '{0}', Serial = '{1}')",
System\ServiceModel\Security\SecurityContextKeyIdentifierClause.cs (1)
65return string.Format(CultureInfo.InvariantCulture, "SecurityContextKeyIdentifierClause(ContextId = '{0}', Generation = '{1}')",
System.Messaging (1)
System\Messaging\MessageQueue.cs (1)
2170queues[index] = new MessageQueue(String.Format(CultureInfo.InvariantCulture, "{0}\\{1}", machineName, queueName));
System.Numerics (5)
System\Numerics\Complex.cs (4)
259return (String.Format(CultureInfo.CurrentCulture, "({0}, {1})", this.m_real, this.m_imaginary)); 263return (String.Format(CultureInfo.CurrentCulture, "({0}, {1})", this.m_real.ToString(format, CultureInfo.CurrentCulture), this.m_imaginary.ToString(format, CultureInfo.CurrentCulture))); 267return (String.Format(provider, "({0}, {1})", this.m_real, this.m_imaginary)); 271return (String.Format(provider, "({0}, {1})", this.m_real.ToString(format, provider), this.m_imaginary.ToString(format, provider)));
System\Numerics\Plane.cs (1)
354return String.Format(ci, "{{Normal:{0} D:{1}}}", Normal.ToString(), D.ToString(ci));
System.Runtime.Remoting (16)
channels\core\corechannel.cs (1)
824String.Format(
channels\ipc\ipcmanager.cs (2)
153String.Format( 186String.Format(
channels\tcp\tcpsocketmanager.cs (2)
191String.Format( 365String.Format(
metadata\wsdlparser.cs (11)
1569String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveElementInNS"), 1809String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveNestedTypeNS"), 1819String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveNestedType"), 2648String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveTypeInNS"), 4088String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveSchemaNS"), 4761String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveSchemaNS"), 4768String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveTypeInNS"), 5777String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveSchemaNS"), 5845String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveSchemaNS"), 5852String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveTypeInNS"), 6493String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_CantResolveSchemaNS"),
System.Runtime.Serialization (12)
System\Runtime\Serialization\CodeGenerator.cs (1)
1748ilGen.Emit(OpCodes.Ldstr, string.Format(CultureInfo.InvariantCulture, "{0:00000}: {1}", lineNo - 1, line));
System\Runtime\Serialization\DataContract.cs (1)
1789return !type.IsGenericTypeDefinition && type.ContainsGenericParameters ? String.Format(CultureInfo.InvariantCulture, "{0}.{1}", type.Namespace, type.Name) : type.FullName;
System\Runtime\Serialization\Diagnostics\TraceUtility.cs (1)
51string.Format(CultureInfo.InvariantCulture, "Unsupported trace code: Please add trace code 0x{0} to the dictionary TraceUtility.traceCodes in {1}",
System\Runtime\Serialization\ExtensionDataObject.cs (1)
201element.AddAttribute(elementPrefix, elementNs, elementName, String.Format(CultureInfo.InvariantCulture, "{0}:{1}", prefix, valueName));
System\Runtime\Serialization\SchemaImporter.cs (2)
990memberTypeContract = ImportAnonymousElement(element, new XmlQualifiedName(String.Format(CultureInfo.InvariantCulture, "{0}.{1}Type", typeName.Name, element.Name), typeName.Namespace)); 1097XmlQualifiedName fullName = new XmlQualifiedName(String.Format(CultureInfo.InvariantCulture, "{0}.{1}Type", typeName.Name, element.Name), typeName.Namespace);
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (2)
240DictionaryGlobals.SerializationNamespace, string.Format(CultureInfo.InvariantCulture, "{0}{1}", "i", objectId)); 245xmlWriter.WriteAttributeString(Globals.SerPrefix, DictionaryGlobals.RefLocalName, DictionaryGlobals.SerializationNamespace, string.Format(CultureInfo.InvariantCulture, "{0}{1}", "i", objectId));
System\Runtime\Serialization\XmlWriterDelegator.cs (1)
96prefix = String.Format(CultureInfo.InvariantCulture, "d{0}p{1}", depth, prefixes);
System\Xml\XmlMtomWriter.cs (3)
354Writer.WriteValue(String.Format(CultureInfo.InvariantCulture, "{0}{1}", MimeGlobals.ContentIDScheme, contentID)); 366return String.Format(CultureInfo.InvariantCulture, "http://tempuri.org/{0}/{1}", index, DateTime.Now.Ticks); 884return String.Format(CultureInfo.InvariantCulture, "{0}{1}", prefix, nextId);
System.Security (6)
system\security\cryptography\xml\SignedXmlDebugLog.cs (6)
245return String.Format(CultureInfo.InvariantCulture, "{0}#{1}", key.GetType().Name, keyName); 254return String.Format(CultureInfo.InvariantCulture, 282string logMessage = String.Format(CultureInfo.InvariantCulture, 453string logMessage = String.Format(CultureInfo.InvariantCulture, 498string logMessage = String.Format(CultureInfo.InvariantCulture, 929string logMessage = String.Format(CultureInfo.InvariantCulture,
System.ServiceModel (52)
System\ServiceModel\Activation\Configuration\ConfigurationStrings.cs (1)
17return string.Format(CultureInfo.InvariantCulture, @"{0}/{1}", ConfigurationStrings.SectionGroupName, sectionName);
System\ServiceModel\Administration\EndpointInstanceProvider.cs (2)
465string result = String.Format(CultureInfo.InvariantCulture, 472string result = String.Format(CultureInfo.InvariantCulture,
System\ServiceModel\Administration\ServiceInstanceProvider.cs (3)
60return String.Format(CultureInfo.InvariantCulture, AdministrationStrings.Service + 222instance.SetProperty(AdministrationStrings.UserNameAuthentication, String.Format(CultureInfo.InvariantCulture, "{0}: {1}", AdministrationStrings.ValidationMode, specificBehavior.UserNameAuthentication.UserNamePasswordValidationMode.ToString())); 226instance.SetProperty(AdministrationStrings.WindowsAuthentication, String.Format(CultureInfo.InvariantCulture, "{0}: {1}", AdministrationStrings.AllowAnonymous, specificBehavior.WindowsAuthentication.AllowAnonymousLogons.ToString()));
System\ServiceModel\Channels\ApplicationContainerSettings.cs (1)
74suffix = string.Format(CultureInfo.InvariantCulture, GroupNameSuffixFormat, this.SessionId, this.PackageFullName);
System\ServiceModel\Channels\BaseUriWithWildcard.cs (1)
332return string.Format(CultureInfo.InvariantCulture, "{0}:{1}", this.HostNameComparisonMode, this.BaseAddress);
System\ServiceModel\Channels\BufferedOutputAsyncStream.cs (1)
804Fx.Assert(this.position + count <= this.bytes.Length, string.Format(CultureInfo.InvariantCulture, "Chunk is too big to fit in this buffer. Chunk size={0}, free space={1}", count, this.bytes.Length - this.position));
System\ServiceModel\Channels\HttpChannelFactory.cs (1)
781connectionGroupName = string.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}[{1}]", connectionGroupName, remoteCertificateIdentity.Certificates[0].Thumbprint);
System\ServiceModel\Channels\HttpChannelHelpers.cs (2)
409string statusDescription = string.Format(CultureInfo.InvariantCulture, HttpChannelUtilities.StatusDescriptionStrings.HttpContentTypeMismatch, ContentType, messageEncoder.ContentType); 2686httpWebRequest.ContentType = string.Format(CultureInfo.InvariantCulture, "{0}; action={1}", httpWebRequest.ContentType, action);
System\ServiceModel\Channels\HttpMessageHandlerFactory.cs (1)
302return string.Format(CultureInfo.InvariantCulture, "{0}.{1}", t.FullName, m.Name);
System\ServiceModel\Channels\PeerNodeImplementation.cs (1)
1650return string.Format(System.Globalization.CultureInfo.InvariantCulture,
System\ServiceModel\Channels\SequenceRange.cs (1)
92return string.Format(CultureInfo.InvariantCulture, "{0}-{1}", this.lower, this.upper);
System\ServiceModel\Channels\TcpConnectionPool.cs (1)
44return string.Format(CultureInfo.InvariantCulture, @"[{0}, {1}]", normalizedHost, port);
System\ServiceModel\Channels\TextMessageEncoder.cs (1)
92return String.Format(CultureInfo.InvariantCulture, "{0}; charset={1}", mediaType, TextEncoderDefaults.EncodingToCharSet(encoding));
System\ServiceModel\Configuration\ChannelEndpointElementCollection.cs (1)
27return string.Format(CultureInfo.InvariantCulture,
System\ServiceModel\Configuration\ServiceModelExtensionElement.cs (1)
114string.Format(System.Globalization.CultureInfo.InvariantCulture,
System\ServiceModel\Description\ServiceEndpoint.cs (1)
109return String.Format(CultureInfo.InvariantCulture, "{0}_{1}", new XmlName(Binding.Name).EncodedName, Contract.Name);
System\ServiceModel\Description\TypeLoader.cs (1)
625String.Format(CultureInfo.InvariantCulture, "Bad contract inheritence. Contract {0} does not implement {1}", declaringContract.ContractType.Name, contractDescription.ContractType.Name)
System\ServiceModel\Description\WsdlExporter.cs (4)
879return string.Format(CultureInfo.InvariantCulture, "{0}_{1}_policy", 890return string.Format(CultureInfo.InvariantCulture, "{0}_{1}_Input_policy", wsdlBinding.Name, wsdlOperationBinding.Name); 892return string.Format(CultureInfo.InvariantCulture, "{0}_{1}_output_policy", wsdlBinding.Name, wsdlOperationBinding.Name); 901return string.Format(CultureInfo.InvariantCulture, "{0}_{1}_Fault", wsdlBinding.Name, wsdlOperationBinding.Name);
System\ServiceModel\Description\WsdlImporter.cs (13)
1193XmlName xmlName = new XmlName(string.Format(CultureInfo.InvariantCulture, "{0}_{1}", wsdlPort.Service.Name, wsdlPort.Name), true /*isEncoded*/); 1354string id = string.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}_{1}_BindingAdHocPolicy", wsdlBinding.Name, name); 1355string newPolicyUris = string.Format(System.Globalization.CultureInfo.InvariantCulture, "#{0} {1}", id, policyUris).Trim(); 1785itemPath = string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, localName, nameValue); 1829rest = string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, "port", item.Name); 1837rest = string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, "operation", item.Name); 1845rest = string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, "operation", item.Name); 1865rest = string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, "operation", wsdlOperationBinding.Name); 1869rest += string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, messageTag, messageName); 2437string policyUri = string.Format(CultureInfo.InvariantCulture, "{0}{1}", identifier, policyId); 2446static readonly string wspPolicy = string.Format(CultureInfo.InvariantCulture, "{0}:{1}", MetadataStrings.WSPolicy.Prefix, MetadataStrings.WSPolicy.Elements.Policy); 2447static readonly string xmlId = string.Format(CultureInfo.InvariantCulture, "{0}:{1}", MetadataStrings.Xml.Prefix, MetadataStrings.Xml.Attributes.Id); 2448static readonly string wsuId = string.Format(CultureInfo.InvariantCulture, "{0}:{1}", MetadataStrings.Wsu.Prefix, MetadataStrings.Wsu.Attributes.Id);
System\ServiceModel\Diagnostics\TraceUtility.cs (2)
811string.Format(CultureInfo.InvariantCulture, "Unsupported trace code: Please add trace code 0x{0} to the SortedList TraceUtility.traceCodes in {1}", 961return string.Format(CultureInfo.InvariantCulture, "{0}:{1}", endpoint.Address, endpoint.Port);
System\ServiceModel\Dispatcher\CodeGenerator.cs (1)
1089ilGen.Emit(OpCodes.Ldstr, string.Format(CultureInfo.InvariantCulture, "{0:00000}: {1}", lineNo - 1, line));
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (1)
386DiagnosticUtility.FailFast(string.Format(CultureInfo.InvariantCulture, "ICallContextInitializer.BeforeInvoke threw an exception of type {0}: {1}", e.GetType(), e.Message));
System\ServiceModel\Dispatcher\XPathMessageContext.cs (1)
1280string e = string.Format(CultureInfo.InvariantCulture, "/s11:Envelope/s11:Header/*[@s11:actor='{0}'] | /s12:Envelope/s12:Header/*[@s12:role='{1}']", actor, actor);
System\ServiceModel\Security\EncryptedHeader.cs (1)
89throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SR.GetString(SR.MessageHeaderVersionNotSupported, String.Format(CultureInfo.InvariantCulture, "{0}:{1}", this.Namespace, this.Name), version.ToString()), "version"));
System\ServiceModel\Security\FederatedSecurityTokenManager.cs (1)
597return String.Format( CultureInfo.InvariantCulture, "{0}://NormalizedHostName{1}", listenUri.Scheme, listenUri.AbsolutePath );
System\ServiceModel\Security\SecurityHeader.cs (1)
161return string.Format(CultureInfo.InvariantCulture, "{0}(Actor = '{1}')", GetType().Name, this.Actor);
System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (1)
952sb.AppendLine(String.Format(CultureInfo.InvariantCulture, " {0}, optional={1}", this.claimTypeRequirements[i].ClaimType, this.claimTypeRequirements[i].IsOptional));
System\ServiceModel\Security\Tokens\SecurityContextSecurityToken.cs (1)
235return String.Format(CultureInfo.CurrentCulture, "SecurityContextSecurityToken(Identifier='{0}', KeyGeneration='{1}')", this.contextId, this.keyGeneration);
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (1)
54return String.Format(CultureInfo.CurrentCulture, "{0}, SyndicationVersion={1}", this.GetType(), this.Version);
System\ServiceModel\Syndication\SyndicationItemFormatter.cs (1)
55return String.Format(CultureInfo.CurrentCulture, "{0}, SyndicationVersion={1}", this.GetType(), this.Version);
System\UriTemplate.cs (1)
626Uri sourceUri = new Uri(String.Format(CultureInfo.InvariantCulture, "{0}://{1}", uri.Scheme, host));
TD.Designer.cs (1)
1215string description = string.Format(Culture, ResourceManager.GetString("ReceiveContextAbandonWithException", Culture), TypeName, ExceptionToString);
System.ServiceModel.Activation (13)
System\ServiceModel\Activation\Diagnostics\TraceUtility.cs (1)
40string.Format(CultureInfo.InvariantCulture, "Unsupported trace code: Please add trace code 0x{0} to the dictionary TraceUtility.traceCodes in {1}",
System\ServiceModel\Activation\HostedAspNetEnvironment.cs (2)
203HostedAspNetEnvironment.cachedServiceReference = string.Format(CultureInfo.InvariantCulture, "{0}{1}", ServiceHostingEnvironment.SiteName, ServiceHostingEnvironment.ApplicationVirtualPath); 526completePath = string.Format(CultureInfo.InvariantCulture, "{0}/{1}", virtualPath, fileName);
System\ServiceModel\Activation\HostedHttpTransportManager.cs (2)
86string localAddress = string.Format(CultureInfo.InvariantCulture, 88string remoteAddress = string.Format(CultureInfo.InvariantCulture,
System\ServiceModel\Activation\MetabaseSettings.cs (1)
167string binding = string.Format(CultureInfo.InvariantCulture, ":{0}:{1}", result.OriginalRequestUri.Port.ToString(NumberFormatInfo.InvariantInfo), MetabaseSettings.LocalMachine);
System\ServiceModel\Activation\ServiceRoute.cs (2)
48routePrefix = string.Format(CultureInfo.CurrentCulture, "{0}{1}", routePrefix, UnmatchedPathSegment); 52routePrefix = string.Format(CultureInfo.CurrentCulture, "{0}/{1}", routePrefix, UnmatchedPathSegment);
System\ServiceModel\Activities\Activation\WorkflowServiceHostFactory.cs (2)
82string serviceNamespace = String.Format(CultureInfo.InvariantCulture, "/{0}{1}", ServiceHostingEnvironment.SiteName, VirtualPathUtility.GetDirectory(ServiceHostingEnvironment.FullVirtualPath)); 126String.Format(CultureInfo.InvariantCulture, "/{0}{1}", ServiceHostingEnvironment.SiteName, VirtualPathUtility.GetDirectory(ServiceHostingEnvironment.FullVirtualPath))));
System\ServiceModel\ServiceHostingEnvironment.cs (2)
327ServiceHostingEnvironment.serviceActivationElementPath = string.Format(CultureInfo.CurrentCulture, "{0}/{1}", 1230normalizedVirtualPath = String.Format(CultureInfo.CurrentCulture, "{0}{1}", pathSegment, fileName);
TD.Designer.cs (1)
429string description = string.Format(Culture, ResourceManager.GetString("CBAEntryRead", Culture), RelativeAddress, NormalizedAddress);
System.ServiceModel.Activities (8)
System\ServiceModel\Activities\BookmarkNameHelper.cs (1)
16return string.Format(CultureInfo.InvariantCulture, "{0}|{1}", operationName, serviceContractName);
System\ServiceModel\Activities\Configuration\ConfigurationStrings.cs (1)
12return string.Format(CultureInfo.InvariantCulture, @"{0}/{1}", ConfigurationStrings.SectionGroupName, sectionName);
System\ServiceModel\Activities\WorkflowControlEndpoint.cs (1)
111defaultBaseUri = new Uri(string.Format(CultureInfo.InvariantCulture, "net.pipe://localhost/workflowControlServiceEndpoint/{0}/{1}",
System\ServiceModel\Activities\WorkflowServiceHost.cs (1)
687string.Format(CultureInfo.InvariantCulture, "/{0}{1}", this.Description.Name, virtualDirectoryPath));
TD.Designer.cs (4)
116string description = string.Format(Culture, ResourceManager.GetString("InferredContractDescription", Culture), param0, param1); 325string description = string.Format(Culture, ResourceManager.GetString("BufferOutOfOrderMessageNoBookmark", Culture), param0, param1); 428string description = string.Format(Culture, ResourceManager.GetString("TransactedReceiveScopeEndCommitFailed", Culture), param0, param1); 458string description = string.Format(Culture, ResourceManager.GetString("TrackingProfileNotFound", Culture), TrackingProfile, ActivityDefinitionId);
System.ServiceModel.Discovery (11)
System\ServiceModel\Discovery\DiscoveryClient.cs (1)
736string.Format(
System\ServiceModel\Discovery\DiscoveryService.cs (1)
263string.Format(
TD.Designer.cs (9)
206string description = string.Format(Culture, ResourceManager.GetString("DiscoveryMessageWithInvalidContent", Culture), messageType, messageId); 359string description = string.Format(Culture, ResourceManager.GetString("DiscoveryMessageWithNullMessageSequence", Culture), discoveryMessageName, messageId); 390string description = string.Format(Culture, ResourceManager.GetString("DiscoveryMessageWithNullRelatesTo", Culture), discoveryMessageName, messageId); 451string description = string.Format(Culture, ResourceManager.GetString("DuplicateDiscoveryMessage", Culture), messageType, messageId); 481string description = string.Format(Culture, ResourceManager.GetString("EndpointDiscoverabilityDisabled", Culture), endpointAddress, listenUri); 511string description = string.Format(Culture, ResourceManager.GetString("EndpointDiscoverabilityEnabled", Culture), endpointAddress, listenUri); 570string description = string.Format(Culture, ResourceManager.GetString("InnerChannelCreationFailed", Culture), endpointAddress, via); 601string description = string.Format(Culture, ResourceManager.GetString("InnerChannelOpenFailed", Culture), endpointAddress, via); 631string description = string.Format(Culture, ResourceManager.GetString("InnerChannelOpenSucceeded", Culture), endpointAddress, via);
System.ServiceModel.Internals (4)
System\Runtime\Diagnostics\DiagnosticTraceBase.cs (1)
349return String.Format(CultureInfo.CurrentCulture, "{0}/{1}", source.GetType().ToString(), source.GetHashCode());
System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (1)
419return string.Format(CultureInfo.InvariantCulture,
TraceCore.Designer.cs (2)
181string description = string.Format(Culture, ResourceManager.GetString("ThrowingException", Culture), param0, param1); 668string description = string.Format(Culture, ResourceManager.GetString("ThrowingExceptionVerbose", Culture), param0, param1);
System.ServiceModel.Routing (1)
TD.Designer.cs (1)
295string description = string.Format(Culture, ResourceManager.GetString("RoutingServiceMessageRoutedToEndpoints", Culture), param0, param1);
System.ServiceModel.Web (3)
System\ServiceModel\Channels\WebMessageEncoderFactory.cs (1)
40return string.Format(CultureInfo.InvariantCulture, "{0}; charset={1}", mediaType, charset);
System\ServiceModel\Dispatcher\HelpExampleGenerator.cs (2)
248value = String.Format(CultureInfo.InvariantCulture, "{0}:{1}", prefix, contentElement.QualifiedName.Name); 401context.writer.WriteString(String.Format(CultureInfo.InvariantCulture, "{0}:#{1}", derivedType.Name, derivedType.Namespace));
System.Transactions (2)
System\Transactions\Configuration\ConfigurationStrings.cs (1)
26return string.Format(CultureInfo.InvariantCulture, "{0}/{1}",
System\Transactions\Trace\TraceRecords.cs (1)
1095sb.AppendLine(string.Format(CultureInfo.InvariantCulture, "{0}: {1}", key, this.dictionary[key].ToString()));
System.Web (15)
DynamicModuleRegistry.cs (1)
49return String.Format(CultureInfo.InvariantCulture, _moduleNameFormat, moduleType.AssemblyQualifiedName, Guid.NewGuid());
ErrorFormatter.cs (1)
310errorContent.Append(String.Format(CultureInfo.CurrentCulture, errorBeginTemplate, errorHeader, ErrorTitle));
Handlers\AssemblyResourceLoader.cs (2)
119return String.Format(CultureInfo.InvariantCulture, _webResourceUrl + "?d={0}&amp;t={1}", 124return String.Format(CultureInfo.InvariantCulture, _webResourceUrl + "?d={0}&t={1}",
ModelBinding\ModelBinderErrorMessageProviders.cs (1)
46string errorMessage = String.Format(CultureInfo.CurrentCulture, errorMessageTemplate, incomingValue, displayName);
Security\MembershipPasswordAttribute.cs (1)
307return String.Format(CultureInfo.CurrentCulture, errorMessageString, name, additionalArgument);
State\OutOfProcStateClientManager.cs (1)
684return String.Format(CultureInfo.InvariantCulture, formatString, Server, Port);
UI\Util.cs (1)
333location = String.Format(CultureInfo.InvariantCulture, location, assembly, version);
UI\WebControls\BaseValidator.cs (1)
671String.Format(
UI\WebControls\ChangePassword.cs (1)
1729failureText = String.Format(CultureInfo.CurrentCulture, failureText, provider.MinRequiredPasswordLength,
UI\WebControls\CreateUserWizard.cs (1)
2162invalidPasswordErrorMessage = String.Format(CultureInfo.InvariantCulture, invalidPasswordErrorMessage,
UI\WebControls\MenuItemStyle.cs (1)
224attributes.Add(HtmlTextWriterStyle.Padding, string.Format(CultureInfo.InvariantCulture,
UI\WebControls\SubMenuStyle.cs (1)
177attributes.Add(HtmlTextWriterStyle.Padding, string.Format(CultureInfo.InvariantCulture,
UI\WebControls\TreeNodeStyle.cs (1)
275attributes.Add(HtmlTextWriterStyle.Padding, string.Format(CultureInfo.InvariantCulture,
UI\WebControls\ValidationSummary.cs (1)
352String.Format(
System.Web.DataVisualization (5)
Common\Converters\CustomAttributesConverters.cs (1)
470string itemStr = String.Format(CultureInfo.InvariantCulture, "{0}({1:N0})", item, ChartTypes.ErrorBarChart.DefaultErrorBarTypeValue(item));
Common\General\Selection.cs (1)
414return String.Format(CultureInfo.CurrentCulture, "{0} of {1}", this.Type, objectType);
Common\SR.cs (1)
12541 return string.Format(global::System.Globalization.CultureInfo.CurrentCulture, resourceManager.GetString(key, _culture), arg0, arg1);
Common\Utilities\CustomAttributesRegistry.cs (1)
1391String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}({1:N0})", ErrorBarType.StandardError, ErrorBarChart.DefaultErrorBarTypeValue(ErrorBarType.StandardError)),
WebForm\General\ChartHttpHandler.cs (1)
211string controllerFileName = String.Format(CultureInfo.InvariantCulture, "{0}msc_cntr_{1}.txt", Settings.Directory, i);
System.Web.DynamicData (27)
DynamicData\ControlFilterExpression.cs (1)
76throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
DynamicData\DynamicControl.cs (1)
264throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
DynamicData\DynamicControlParameter.cs (1)
129throw new Exception(String.Format(CultureInfo.CurrentCulture,
DynamicData\DynamicDataRouteHandler.cs (1)
133return String.Format(CultureInfo.InvariantCulture, pathPattern, Model.DynamicDataFolderVirtualPath, viewName);
DynamicData\DynamicEntity.cs (1)
92throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
DynamicData\DynamicValidator.cs (1)
46throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
DynamicData\EntityTemplateFactory.cs (1)
121return String.Format(CultureInfo.InvariantCulture, this.TemplateFolderVirtualPath + "{0}{1}.ascx", templateName, modeString);
DynamicData\FieldTemplateFactory.cs (1)
307return String.Format(CultureInfo.InvariantCulture,
DynamicData\FilterFactory.cs (1)
51throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
DynamicData\FilterRepeater.cs (3)
156throw new InvalidOperationException(String.Format( 167throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 175throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
DynamicData\FilterUserControlBase.cs (6)
63throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 154throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 164throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 182throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 204throw new InvalidOperationException(String.Format( 300throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
DynamicData\MetaModel.cs (1)
504throw new ArgumentException(String.Format(CultureInfo.CurrentCulture,
DynamicData\MetaTable.cs (5)
274throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 281throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 394throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.MetaTable_ColumnNameConflict, 523throw new InvalidOperationException(String.Format( 594throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
DynamicData\ModelProviders\AssociationProvider.cs (1)
119return String.Format(CultureInfo.InvariantCulture, format, FromColumn.Name, sortColumn.Name);
DynamicData\Util\Misc.cs (2)
112throw new InvalidOperationException(String.Format( 295throw new HttpException(String.Format(CultureInfo.CurrentCulture,
System.Web.Entity (1)
System\Data\WebControls\EntityDataSourceColumn.cs (1)
282return String.Format(CultureInfo.InvariantCulture, "<Set = {0}, Role = {1}>",
System.Web.Extensions (45)
ClientServices\Providers\ProxyHelper.cs (1)
95throw new WebException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ProxyHelper_BadStatusCode, response.StatusCode.ToString(), GetResponseString(response)), we);
Compilation\WCFBuildProvider.cs (4)
186errorMessage = String.Format(CultureInfo.CurrentCulture, "{0}: {1}", IO.Path.GetFileName(mapFilePath), errorMessage); 246errorMessage = String.Format(CultureInfo.CurrentCulture, "{0}: {1}", IO.Path.GetFileName(mapFilePath), errorMessage); 307errorMessage = String.Format(CultureInfo.CurrentCulture, "'{0}': {1}", generationError.MetadataFile, errorMessage); 359throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_FailedToGenerateCode, referenceDisplayName, collectedMessages.ToString()));
Compilation\WCFModel\SchemaMerger.cs (1)
653return String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}[@name='{1}']", elementAttribute.ElementName, itemName);
Script\Serialization\JavaScriptSerializer.cs (1)
486? String.Format(CultureInfo.CurrentCulture, AtlasWeb.JSON_CannotSerializeMemberGeneric, currentMember.Name, currentMember.ReflectedType.FullName) + " " + AtlasWeb.JSON_InvalidEnumType
Script\Serialization\ObjectConverter.cs (1)
403throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.JSON_CannotConvertObjectToType, o.GetType(), type));
Script\Services\RestHandler.cs (2)
119String.Format(CultureInfo.CurrentCulture, AtlasWeb.WebService_InvalidVerbRequest, 127String.Format(CultureInfo.CurrentCulture, AtlasWeb.WebService_InvalidVerbRequest,
Script\Services\WebServiceTypeData.cs (1)
60_stringRepresentation = string.Format(CultureInfo.InvariantCulture, "{0}:{1}", name, ns);
UI\CompositeScriptReference.cs (1)
116throw new InvalidOperationException(String.Format(CultureInfo.CurrentUICulture,
UI\ExtenderControl.cs (1)
132throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture,
UI\ScriptControlDescriptor.cs (1)
43String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptControlDescriptor_IDNotSettable,
UI\ScriptControlManager.cs (1)
299throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture,
UI\ScriptManager.cs (2)
1262String.Format(CultureInfo.CurrentUICulture, AtlasWeb.ScriptManager_MustHaveGreaterVersion, 1770String.Format(CultureInfo.InvariantCulture, "({0})||document.write('<script type=\"text/javascript\" src=\"{1}\"><\\/script>');", scriptInfo.LoadSuccessExpression, fallbackPath),
UI\ScriptReference.cs (1)
355throw new InvalidOperationException(String.Format(CultureInfo.CurrentUICulture,
UI\ScriptRegistrationManager.cs (2)
674throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptRegistrationManager_NoCloseTag, activeRegistration.Type.FullName, activeRegistration.Key)); 716throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptRegistrationManager_NoTags, activeRegistration.Type.FullName, activeRegistration.Key));
UI\ScriptResourceInfo.cs (1)
106String.Format(CultureInfo.CurrentCulture,
UI\UpdatePanelControlTrigger.cs (1)
44throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanelControlTrigger_ControlNotFound, ControlID, Owner.ID));
UI\WebControls\Dynamic.cs (1)
434return string.Format(CultureInfo.InvariantCulture, AtlasWeb.ParseException_ParseExceptionFormat, Message, position);
UI\WebControls\Expressions\MethodExpression.cs (2)
132throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.MethodExpression_FirstParamterMustBeCorrectType, 143throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
UI\WebControls\Expressions\OfTypeExpression.cs (1)
66throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
UI\WebControls\LinqDataSourceView.cs (2)
635LinqDataSourceValidationException exception = new LinqDataSourceValidationException(String.Format(CultureInfo.InvariantCulture, 885throw new LinqDataSourceValidationException(String.Format(CultureInfo.InvariantCulture,
UI\WebControls\ListView.cs (10)
1530throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_GroupItemCountNoGroupTemplate, ID, GroupPlaceholderID)); 2125throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NoItemPlaceholder, ID, ItemPlaceholderID)); 2131throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NoGroupPlaceholder, ID, GroupPlaceholderID)); 2840throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_UnhandledEvent, ID, "ItemCanceling")); 2910throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_UnhandledEvent, ID, "ItemDeleting")); 2926throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_UnhandledEvent, ID, "ItemEditing")); 2953throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_UnhandledEvent, ID, "ItemInserting")); 2978throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_UnhandledEvent, ID, "ItemUpdating")); 3049throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_UnhandledEvent, ID, "SelectedIndexChanging")); 3076throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_UnhandledEvent, ID, "Sorting"));
UI\WebControls\QueryableDataSource.cs (1)
77throw new ArgumentException(String.Format(CultureInfo.InvariantCulture,
UI\WebControls\QueryableDataSourceHelper.cs (2)
225throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 232throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture,
UI\WebResourceUtil.cs (4)
51throw new InvalidOperationException(String.Format( 81errorMessage = String.Format( 87errorMessage = String.Format( 100throw new InvalidOperationException(String.Format(
System.Web.Mobile (11)
UI\MobileControls\Adapters\ChtmlFormAdapter.cs (1)
120writer.Write(String.Format(CultureInfo.InvariantCulture, _contentTypeMetaTag, Device.PreferredRenderingMime, charset));
UI\MobileControls\Adapters\EmptyTextWriter.cs (2)
176if (!IsWhiteSpace(format) && !IsWhiteSpace(String.Format(CultureInfo.CurrentCulture, format, arg0, arg1))) 301if (!IsWhiteSpace(format) && !IsWhiteSpace(String.Format(CultureInfo.CurrentCulture, format, arg0, arg1)))
UI\MobileControls\Adapters\HtmlFormAdapter.cs (1)
235writer.Write(String.Format(CultureInfo.InvariantCulture, _contentTypeMetaTag, Device.PreferredRenderingMime, charset));
UI\MobileControls\Adapters\HtmlPhoneCallAdapter.cs (1)
77String text = String.Format(CultureInfo.CurrentCulture, Control.AlternateFormat, Control.Text,
UI\MobileControls\Adapters\WmlObjectListAdapter.cs (1)
287String displayText = String.Format(CultureInfo.InvariantCulture, "{0}: {1}", field.Title, item[fieldIndex]);
UI\MobileControls\Adapters\WmlPhoneCallAdapter.cs (1)
74text = String.Format(CultureInfo.InvariantCulture, Control.AlternateFormat,
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicPhoneCallAdapter.cs (1)
83String text = String.Format(
UI\MobileControls\Design\Util\DesignerUtility.cs (1)
72return String.Format(CultureInfo.InvariantCulture, "{0} (\"{1}\")", filter, argument);
UI\MobileControls\PagerStyle.cs (1)
137s = String.Format(CultureInfo.CurrentCulture, s, currentPageIndex, pageCount);
UI\MobileControls\SessionViewState.cs (1)
273arr.Add(String.Format(CultureInfo.InvariantCulture, "{0}({1})", item.Url, item.Id));
System.Windows.Forms (18)
misc\DbgUtil.cs (2)
259return String.Format( CultureInfo.CurrentCulture, "0x{0:x8} - {1}", err, message); 386return String.Format( CultureInfo.CurrentCulture, "{0}\r\nTop Stack Trace:\r\n{1}", message, DbgUtil.StackFramesToStr(frameCount));
misc\GDI\WindowsSolidBrush.cs (1)
67return String.Format( CultureInfo.InvariantCulture, "{0}: Color={1}", this.GetType().Name, this.Color );
winforms\Managed\System\WinForms\ComponentManagerBroker.cs (1)
115_remoteObjectName = string.Format(CultureInfo.CurrentCulture, "ComponentManagerBroker.{0}.{1:X}", Application.WindowsFormsVersion, pid);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (2)
500Debug.WriteLineIf(DbgTypeInfoProcessorSwitch.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "Adding Browsable(false) to property '" + pi.Name + "' because Invoke(dispid=0x{0:X} ,DISPATCH_PROPERTYGET) returned hr=0x{1:X}. Properties that do not return S_OK are hidden by default.", pi.DispId, hr)); 648Debug.WriteLineIf(DbgTypeInfoProcessorSwitch.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "ProcessTypeInfoEnum: ignoring function item 0x{0:X} because ITypeInfo::GetFuncDesc returned hr=0x{1:X} or NULL", i, hr));
winforms\Managed\System\WinForms\Control.Ime.cs (7)
155Debug.WriteLineIf( CompModSwitches.ImeMode.Level >= TraceLevel.Info, string.Format(CultureInfo.CurrentCulture, "Inside get_CanEnableIme(), value = {0}, this = {1}", ImeSupported, this ) ); 275Debug.WriteLineIf( CompModSwitches.ImeMode.Level >= TraceLevel.Info, string.Format( CultureInfo.CurrentCulture, "Inside set_ImeModeBase({0}), this = {1}", value, this ) ); 357Debug.WriteLineIf( CompModSwitches.ImeMode.Level >= TraceLevel.Info, string.Format( CultureInfo.CurrentCulture, "Inside set_ImeWmCharToIgnore(value={0}), this = {1}", value, this ) ); 456Debug.WriteLineIf( CompModSwitches.ImeMode.Level >= TraceLevel.Warning, string.Format( CultureInfo.CurrentCulture, "Setting PropagatingImeMode: Current value = {0}, New value = {1}", propagatingImeMode, value ) ); 785Debug.WriteLineIf( CompModSwitches.ImeMode.Level >= TraceLevel.Info, string.Format( CultureInfo.CurrentCulture, "Inside WmImeNotify(m.wparam=[{0}]), this={1}", m.WParam, this ) ); 1135Debug.WriteLineIf( CompModSwitches.ImeMode.Level >= TraceLevel.Info, string.Format( CultureInfo.CurrentCulture, "Inside ImeContext.SetImeStatus(ImeMode=[{0}, handle=[{1}])", imeMode, handle ) ); 1229Debug.WriteLineIf( CompModSwitches.ImeMode.Level >= TraceLevel.Info, string.Format( CultureInfo.CurrentCulture, "Inside SetOpenStatus(open=[{0}], handle=[{1}])", open, handle ) );
winforms\Managed\System\WinForms\DataGridViewMethods.cs (1)
8223string prefix = string.Format(CultureInfo.InvariantCulture, DATAGRIDVIEW_htmlPrefix, bytecountEndOfHtml.ToString("00000000", CultureInfo.InvariantCulture), bytecountEndOfFragment.ToString("00000000", CultureInfo.InvariantCulture)) + DATAGRIDVIEW_htmlStartFragment;
winforms\Managed\System\WinForms\MdiWindowListStrip.cs (1)
105windowListItem.Text = String.Format(CultureInfo.CurrentCulture, "&{0} {1}", accel, text);
winforms\Managed\System\WinForms\MenuItem.cs (1)
1192windowItem.Text = String.Format(CultureInfo.CurrentUICulture, "&{0} {1}", accel, forms[i].Text);
winforms\Managed\System\WinForms\ToolStripPanel.cs (2)
976Debug.WriteLineIf(ToolStripPanelDebug.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "RC.MoveControl - Point {0} is not in current rafting container drag bounds {1}, calling MoveOutsideContainer", clientLocation, DragBounds)); 1258Debug.Write(String.Format(CultureInfo.CurrentCulture, "[{0} {1}] ", RowsInternal[i].ControlsInternal[j].Name, ((ToolStripPanelCell)RowsInternal[i].Cells[j]).Margin));
System.Windows.Forms.DataVisualization (4)
Common\Converters\CustomAttributesConverters.cs (1)
470string itemStr = String.Format(CultureInfo.InvariantCulture, "{0}({1:N0})", item, ChartTypes.ErrorBarChart.DefaultErrorBarTypeValue(item));
Common\General\Selection.cs (1)
414return String.Format(CultureInfo.CurrentCulture, "{0} of {1}", this.Type, objectType);
Common\SR.cs (1)
12541 return string.Format(global::System.Globalization.CultureInfo.CurrentCulture, resourceManager.GetString(key, _culture), arg0, arg1);
Common\Utilities\CustomAttributesRegistry.cs (1)
1391String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}({1:N0})", ErrorBarType.StandardError, ErrorBarChart.DefaultErrorBarTypeValue(ErrorBarType.StandardError)),
System.Workflow.Activities (6)
CorrelationValidator.cs (2)
110validationErrors.Add(new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_CorrelationTokenSpecifiedForUncorrelatedInterface), activity.QualifiedName, interfaceType), ErrorNumbers.Error_InvalidIdentifier, false, "CorrelationToken")); 452string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_OutRefParameterNotSupported), (memberInfo is EventInfo) ? delegateType.Name : methodInfo.Name, param.Name), ErrorNumbers.Error_OutRefParameterNotSupported);
Delay.cs (1)
240throw new Exception(string.Format(System.Globalization.CultureInfo.CurrentCulture, SR.GetString(SR.Error_NegativeValue), value.ToString(), "TimeoutDuration"));
Rules\Expressions.cs (2)
1123message = string.Format(CultureInfo.CurrentCulture, baseMessage, propGetExpr.PropertyName, RuleDecompiler.DecompileType(targetType)); 2392message = string.Format(CultureInfo.CurrentCulture, baseMessage, pi.Name, RuleDecompiler.DecompileType(targetType));
Rules\Tracer.cs (1)
35tracePrefix = string.Format(CultureInfo.CurrentCulture, traceRuleIdentifier, name, activityExecutionContext.ContextGuid.ToString());
System.Workflow.ComponentModel (11)
AuthoringOM\Behaviors\WorkflowTransactionOptions.cs (1)
107throw new Exception(string.Format(System.Globalization.CultureInfo.CurrentCulture, SR.GetString(SR.Error_NegativeValue), value.ToString(), "TimeoutDuration"));
AuthoringOM\Compiler\CompileXomlTask.cs (1)
482normalizedVersion = string.Format(CultureInfo.InvariantCulture, "v{0}.{1}", parts[0], parts[1]);
AuthoringOM\Compiler\XomlCompiler.cs (1)
228string normalizedVersionString = string.Format(CultureInfo.InvariantCulture, "v{0}.{1}", targetVersion.Major, targetVersion.Minor);
AuthoringOM\Design\ActivityDesigner.cs (1)
814this.rulesText += String.Format(CultureInfo.CurrentCulture, "{0}: {1}", ruleName, ruleDescription);
AuthoringOM\Design\DesignerHelpers.cs (2)
1717string finalIdentifier = string.Format(CultureInfo.InvariantCulture, "{0}{1}", baseIdentifier, index); 1721finalIdentifier = string.Format(CultureInfo.InvariantCulture, "{0}{1}", baseIdentifier, index);
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (2)
383helpMessage = string.Format(CultureInfo.CurrentCulture, PropertyAssignableFormat, memberType, desiredType) + ((memberDescription.Length > 0) ? string.Format(CultureInfo.CurrentCulture, DescriptionFormat, memberDescription) : string.Empty); 385helpMessage = string.Format(CultureInfo.CurrentCulture, PleaseSelectCorrectActivityProperty, desiredType, memberType);
AuthoringOM\Design\TypeConverters.cs (1)
231convertedValue = String.Format(CultureInfo.InvariantCulture, ("Activity={0}, Path={1}"), (activity != null) ? activity.QualifiedName : activityBind.Name, activityBind.Path);
AuthoringOM\Serializer\CodeTypeReferenceSerializer.cs (1)
70typeName = string.Format(CultureInfo.InvariantCulture, "{0}, {1}", type.FullName, assemblyFullName);
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (1)
2269string normalizedVersionString = string.Format(CultureInfo.InvariantCulture, "v{0}.{1}", targetVersion.Major, targetVersion.Minor);
System.Workflow.Runtime (3)
DebugEngine\DebugController.cs (1)
586Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "WDE: Failure in DebugController.AttachToConduit: {0}, Call stack:{1}", e.Message, e.StackTrace));
Tracking\SqlTrackingService.cs (1)
1148WorkflowTrace.Host.TraceEvent(TraceEventType.Error, 0, string.Format(System.Globalization.CultureInfo.InvariantCulture, "Error partitioning instance {0}: {1}", _parameters.InstanceId, e.ToString()));
Tracking\TrackingProfileSerializer.cs (1)
899version = string.Format(NumberFormatInfo.InvariantInfo, "{0}.{1}", profile.Version.Major, profile.Version.Minor);
System.WorkflowServices (5)
System\ServiceModel\Activities\Description\WorkflowRuntimeEndpoint.cs (2)
24static readonly Uri baseUri = new Uri(string.Format(CultureInfo.InvariantCulture, "net.pipe://localhost/ExternalDataExchangeEndpoint/{0}/{1}", 42string endpointUri = String.Format(CultureInfo.InvariantCulture, "{0}/{1}", baseUri, Interlocked.Increment(ref uriCounter));
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.cs (2)
250string generatedName = string.Format(CultureInfo.InvariantCulture, "{0}{1}", generatedNameBase, ++index); 259generatedName = string.Format(CultureInfo.InvariantCulture, "{0}{1}", generatedNameBase, ++index);
System\Workflow\Activities\ServiceOperationInfoTypeConverter.cs (1)
46return string.Format(CultureInfo.InvariantCulture,
System.Xml (4)
System\Xml\Core\XmlConfiguration.cs (2)
19internal static string XmlReaderSectionPath = string.Format(CultureInfo.InvariantCulture, @"{0}/{1}", XmlConfigurationSectionName, XmlReaderSectionName); 20internal static string XsltSectionPath = string.Format(CultureInfo.InvariantCulture, @"{0}/{1}", XmlConfigurationSectionName, XsltSectionName);
System\Xml\Serialization\Configuration\ConfigurationStrings.cs (1)
17return string.Format(CultureInfo.InvariantCulture, @"{0}/{1}", ConfigurationStrings.SectionGroupName, sectionName);
System\Xml\Serialization\XmlSerializationReader.cs (1)
4562Writer.WriteLine(String.Format(CultureInfo.InvariantCulture, "CheckReaderCount(ref whileIterations{0}, ref readerCount{1});", loopIndex, loopIndex));
UIAutomationClientsideProviders (1)
MS\Internal\AutomationProxies\MSAAEventDispatcher.cs (1)
161Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "ERROR: AdviseEventRemoved called for {0} and event/property {1} without matching AdviseEventAdded.", hwnd, key), "NativeMsaaProxy");
WindowsBase (1)
Base\System\Windows\Threading\Dispatcher.cs (1)
2779list.Add(String.Format(System.Globalization.CultureInfo.InvariantCulture,
WsatConfig (1)
CommandLine\OptionUsage.cs (1)
167string optionString = String.Format(CultureInfo.InvariantCulture, "-{0}:{1}", option, optionUse);
XamlBuildTask (2)
Microsoft\Build\Tasks\Xaml\XamlBuildTaskServices.cs (2)
392return string.Format(CultureInfo.InvariantCulture, "{0}{1}", 529clrTypeName = string.Format(CultureInfo.InvariantCulture, "{0}.{1}", clrNs, name);