1221 references to Format
mscorlib (124)
system\globalization\cultureinfo.cs (2)
1972String.Format(CultureInfo.CurrentCulture, Environment.GetResourceString("Argument_CultureIetfNotSupported"), name) 1983String.Format(CultureInfo.CurrentCulture, Environment.GetResourceString("Argument_CultureIetfNotSupported"), name)
system\globalization\culturenotfoundexception.cs (1)
116return String.Format(CultureInfo.InvariantCulture,
system\globalization\datetimeformat.cs (1)
340String.Format(
system\globalization\encodingtable.cs (1)
96String.Format(
system\globalization\regioninfo.cs (2)
87String.Format( 336String.Format(
system\io\textwriter.cs (2)
328Write(String.Format(FormatProvider, format, arg0)); 510WriteLine(String.Format(FormatProvider, format, arg0));
system\object.cs (1)
198throw new RemotingException(String.Format(
system\reflection\assembly.cs (2)
3044throw new FileNotFoundException(String.Format(culture, Environment.GetResourceString("IO.FileNotFound_FileName"), an.Name)); 3105dllNotFoundException = new FileNotFoundException(String.Format(culture,
system\reflection\ConstructorInfo.cs (3)
549String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Acc_CreateInterfaceEx"), declaringType)); 554String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Acc_CreateAbstEx"), declaringType)); 574String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Acc_CreateGenericEx"), declaringType));
system\reflection\customattribute.cs (11)
506ctorArgs += String.Format(CultureInfo.CurrentCulture, i == 0 ? "{0}" : ", {0}", ConstructorArguments[i]); 510namedArgs += String.Format(CultureInfo.CurrentCulture, i == 0 && ctorArgs.Length == 0 ? "{0}" : ", {0}", NamedArguments[i]); 804String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString("Arg_CATypeResolutionFailed"), typeName)); 922return String.Format(CultureInfo.CurrentCulture, typed ? "null" : "({0})null", ArgumentType.Name); 925return String.Format(CultureInfo.CurrentCulture, "\"{0}\"", Value); 928return String.Format(CultureInfo.CurrentCulture, "'{0}'", Value); 931return String.Format(CultureInfo.CurrentCulture, "typeof({0})", ((Type)Value).FullName); 942result += String.Format(CultureInfo.CurrentCulture, i == 0 ? "{0}" : ", {0}", array[i].ToString(elementType != typeof(object))); 1791String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString( 1822String.Format(CultureInfo.CurrentUICulture, Environment.GetResourceString( 2029throw new FormatException(String.Format(
system\reflection\emit\enumbuilder.cs (1)
396string s = String.Format(CultureInfo.InvariantCulture, "[{0}]", szrank); // [,,]
system\reflection\emit\generictypeparameterbuilder.cs (1)
100string s = String.Format(CultureInfo.InvariantCulture, "[{0}]", szrank); // [,,]
system\reflection\emit\modulebuilder.cs (2)
401throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 425throw new NotSupportedException(String.Format(CultureInfo.InvariantCulture,
system\reflection\emit\symboltype.cs (1)
321string s = String.Format(CultureInfo.InvariantCulture, "[{0}]", szrank); // [,,]
system\reflection\emit\typebuilder.cs (1)
1500string s = String.Format(CultureInfo.InvariantCulture, "[{0}]", szrank); // [,,]
system\reflection\emit\typebuilderinstantiation.cs (1)
104string s = String.Format(CultureInfo.InvariantCulture, "[{0}]", comma);
system\reflection\mdimport.cs (2)
253public override string ToString() { return String.Format(CultureInfo.InvariantCulture, "0x{0:x8}", Value); } 756return String.Format(CultureInfo.CurrentCulture, "MetadataException HResult = {0:x}.", m_hr);
system\resources\resourcewriter.cs (1)
719Contract.Assert(typeCode >= ResourceTypeCode.StartOfUserTypes, String.Format(CultureInfo.InvariantCulture, "ResourceReader: Unsupported ResourceTypeCode in .resources file! {0}", typeCode));
system\runtime\interopservices\typelibconverter.cs (1)
430String strProductName = String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("TypeLibConverter_ImportedTypeLibProductName"), strTypeLibName);
system\runtime\remoting\activationservices.cs (4)
190String.Format( 1419String.Format( 1483String.Format( 1493String.Format(
system\runtime\remoting\configuration.cs (6)
230String.Format( 424String.Format( 496String.Format( 627String.Format( 1134String.Format( 1632String.Format(
system\runtime\remoting\context.cs (1)
990String.Format(
system\runtime\remoting\dynamicpropertyholder.cs (1)
93String.Format(
system\runtime\remoting\identity.cs (1)
538String.Format(
system\runtime\remoting\identityholder.cs (1)
418String.Format(
system\runtime\remoting\message.cs (2)
3118String.Format( 3427String.Format(
system\runtime\remoting\objref.cs (1)
992String.Format(
system\runtime\remoting\remotingconfigparser.cs (3)
759String.Format( 771String.Format( 782String.Format(
system\runtime\remoting\remotingservices.cs (7)
214String.Format( 253String.Format( 281String.Format( 1002String.Format( 1185String.Format( 1389String.Format( 1889String.Format(
system\runtime\remoting\serveridentity.cs (1)
287String.Format(
system\runtime\serialization\objectmanager.cs (1)
262throw new SerializationException(String.Format(CultureInfo.CurrentCulture, Environment.GetResourceString("Serialization_NotCyclicallyReferenceableSurrogate"), surrogate.GetType().FullName));
system\runtime\versioning\binarycompatibility.cs (2)
340Contract.Assert(false, String.Format(CultureInfo.InvariantCulture, "Unrecognized Silverlight profile \"{0}\". What is this, an XBox app?", profile)); 347Contract.Assert(false, String.Format(CultureInfo.InvariantCulture, "Unrecognized Target Framework Moniker in our Binary Compatibility class. Framework name: \"{0}\"", targetFrameworkMoniker));
system\security\accesscontrol\ace.cs (2)
862string.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "ArgumentOutOfRange_ArrayLengthMultiple" ), 4 )); 1309string.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "ArgumentOutOfRange_ArrayLengthMultiple" ), 4 ));
system\security\accesscontrol\nativeobjectsecurity.cs (2)
166Contract.Assert( false, string.Format( CultureInfo.InvariantCulture, "Win32GetSecurityInfo() failed with unexpected error code {0}", error )); 311Contract.Assert( false, string.Format( CultureInfo.InvariantCulture, "Unexpected error code {0}", error ));
system\security\accesscontrol\privilege.cs (4)
139Contract.Assert( false, string.Format( CultureInfo.InvariantCulture, "LookupPrivilegeValue() failed with unrecognized error code {0}", error )); 314Contract.Assert( false, string.Format( CultureInfo.InvariantCulture, "WindowsIdentity.GetCurrentThreadToken() failed with unrecognized error code {0}", error )); 579Contract.Assert( false, string.Format( CultureInfo.InvariantCulture, "AdjustTokenPrivileges() failed with unrecognized error code {0}", error )); 669Contract.Assert( false, string.Format( CultureInfo.InvariantCulture, "AdjustTokenPrivileges() failed with unrecognized error code {0}", error ));
system\security\accesscontrol\privilegenotheldexception.cs (2)
23: base( string.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "PrivilegeNotHeld_Named" ), privilege )) 29: base( string.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "PrivilegeNotHeld_Named" ), privilege ), inner )
system\security\accesscontrol\securitydescriptor.cs (2)
250Contract.Assert( false, string.Format( CultureInfo.InvariantCulture, "Win32.ConvertSdToSddl returned {0}", error )); 678Contract.Assert( false, string.Format( CultureInfo.InvariantCulture, "Unexpected error out of Win32.ConvertStringSdToSd: {0}", error ));
system\security\cryptography\crypto.cs (2)
98: base(String.Format(CultureInfo.CurrentCulture, format, insert)) { 154: base(String.Format(CultureInfo.CurrentCulture, format, insert)) {
system\security\cryptography\utils.cs (1)
812throw new CryptographicException(String.Format(null, Environment.GetResourceString("Cryptography_Padding_EncDataTooBig"), cb-2-2*cbHash));
system\security\framesecuritydescriptor.cs (4)
332throw new SecurityException(String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("Security_Generic"), demand.GetType().AssemblyQualifiedName), null, permSet, SecurityRuntime.GetMethodInfo(rmh), demand, demand); 347throw new SecurityException(String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("Security_Generic"), demand.GetType().AssemblyQualifiedName), null, permSet, SecurityRuntime.GetMethodInfo(rmh), demand, demand); 360throw new SecurityException(String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("Security_Generic"), demand.GetType().AssemblyQualifiedName), permSet, null, SecurityRuntime.GetMethodInfo(rmh), demand, demand); 372throw new SecurityException(String.Format(CultureInfo.InvariantCulture, Environment.GetResourceString("Security_Generic"), demand.GetType().AssemblyQualifiedName), permSet, null, SecurityRuntime.GetMethodInfo(rmh), demand, demand);
system\security\policy\codegroup.cs (1)
612throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_FailedCodeGroup" ), marker.element.Attribute( "class" ) ) );
system\security\policy\publishermembershipcondition.cs (1)
99return String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Publisher_ToStringArg" ), System.Security.Util.Hex.EncodeHexString( m_certificate.GetPublicKey() ) );
system\security\policy\sitemembershipcondition.cs (1)
236return String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Site_ToStringArg" ), m_site );
system\security\policy\strongnamemembershipcondition.cs (2)
323sName = " " + String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "StrongName_Name" ), Name ); 326sVersion = " " + String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "StrongName_Version" ), Version );
system\security\policy\urlmembershipcondition.cs (1)
248return String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Url_ToStringArg" ), m_url.ToString() );
system\security\policy\zonemembershipcondition.cs (1)
251return String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Zone_ToString" ), s_names[(int)m_zone] );
system\security\principal\ntaccount.cs (1)
348Contract.Assert( false, string.Format( CultureInfo.InvariantCulture, "Win32Native.LsaLookupNames(2) returned unrecognized error {0}", win32ErrorCode ));
system\security\principal\sid.cs (5)
424Contract.Assert( false, string.Format( CultureInfo.InvariantCulture, "Win32.CreateSidFromString returned unrecognized error {0}", Error )); 526Contract.Assert( false, string.Format( CultureInfo.InvariantCulture, "Win32.GetWindowsAccountDomainSid returned unrecognized error {0}", ErrorCode) ); 549Contract.Assert( false, string.Format( CultureInfo.InvariantCulture, "Win32.CreateWellKnownSid returned unrecognized error {0}", Error )); 757Contract.Assert( false, string.Format( CultureInfo.InvariantCulture, "Win32.GetWindowsAccountDomainSid returned unrecognized error {0}", Error) ); 998Contract.Assert( false, string.Format( CultureInfo.InvariantCulture, "Win32Native.LsaLookupSids returned {0}", win32ErrorCode));
system\security\securityelement.cs (9)
117throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementTag" ), tag ) ); 130throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementTag" ), tag ) ); 133throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementText" ), text ) ); 156throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementTag" ), value ) ); 205throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementName" ), (String)enumerator.Current ) ); 208throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementValue" ), (String)enumerator.Value ) ); 235throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementTag" ), value ) ); 325throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementName" ), name ) ); 328throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementValue" ), value ) );
system\security\securityexception.cs (2)
98message = String.Format(CultureInfo.InvariantCulture, GetResString("Security_Generic"), demand.GetType().AssemblyQualifiedName ); 100message = String.Format(CultureInfo.InvariantCulture, GetResString("Security_Generic"), permThatFailed.GetType().AssemblyQualifiedName);
system\security\securitymanager.cs (5)
217throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Policy_BadXml" ), "configuration" ) ); 221throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Policy_BadXml" ), "mscorlib" ) ); 225throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Policy_BadXml" ), "security" ) ); 229throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Policy_BadXml" ), "policy" ) ); 235throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Policy_BadXml" ), "PolicyLevel" ) );
system\security\util\xmlutil.cs (4)
209throw new ArgumentException( String.Format( null, Environment.GetResourceString( "Argument_WrongElementType" ), "<Permission>" ) ) ; 434throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_WrongElementType" ), "<CodeGroup>" ) ) ; 508throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_WrongElementType" ), "<IMembershipCondition>" ) ) ; 643throw new ArgumentException( String.Format( null, Environment.GetResourceString("Argument_InvalidXMLMissingAttr"), "class") );
system\security\xmlsyntaxexception.cs (1)
40: base (String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "XMLSyntax_SyntaxError" ), lineNumber ) )
system\text\decoderfallback.cs (1)
272strBytes.Append(String.Format(CultureInfo.InvariantCulture, "\\x{0:X2}", bytesUnknown[i]));
system\text\decodernls.cs (1)
40String.Format(
system\text\encodernls.cs (1)
43String.Format(
PresentationBuildTasks (1)
BuildTasks\Microsoft\Build\Tasks\Windows\UidManager.cs (1)
1168string.Format(
PresentationCore (22)
Core\CSharp\System\Windows\Media\Animation\Generated\BooleanKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "BooleanKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\ByteKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "ByteKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\CharKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "CharKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\ColorKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "ColorKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\DecimalKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "DecimalKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\DoubleKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "DoubleKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\Int16KeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "Int16KeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\Int32KeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "Int32KeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\Int64KeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "Int64KeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\MatrixKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "MatrixKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\ObjectKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "ObjectKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\Point3DKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "Point3DKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\PointKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "PointKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\QuaternionKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "QuaternionKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\RectKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "RectKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\Rotation3DKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "Rotation3DKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\SingleKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "SingleKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\SizeKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "SizeKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\StringKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "StringKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\Vector3DKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "Vector3DKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\Animation\Generated\VectorKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "VectorKeyFrameCollection[{0}]", index));
Core\CSharp\System\Windows\Media\ColorContext.cs (1)
159Invariant.Assert(false, String.Format(CultureInfo.InvariantCulture, "IWICColorContext::GetExifColorSpace returned {0}.", colorSpace));
PresentationFramework (27)
src\Framework\MS\Internal\Data\DefaultValueConverter.cs (2)
595return String.Format(culture, "{0}", o); 634return String.Format(culture, "{0}", o);
src\Framework\MS\Internal\Data\ObjectRef.cs (2)
290return String.Format(CultureInfo.InvariantCulture, 351s = String.Format(CultureInfo.InvariantCulture,
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (1)
303messageString = String.Format(System.Globalization.CultureInfo.CurrentCulture, messageString, findToolBar.SearchText);
src\Framework\MS\Internal\Ink\StrokeCollectionDefaultValueFactory.cs (1)
46string.Format(System.Globalization.CultureInfo.InvariantCulture, "The DependencyProperty {0} has to be type of StrokeCollection.", property));
src\Framework\System\Windows\Application.cs (1)
2611string regPath = string.Format(CultureInfo.InvariantCulture, SYSTEM_SOUNDS_REGISTRY_LOCATION, soundName);
src\Framework\System\Windows\Automation\Peers\DocumentPageViewAutomationPeer.cs (1)
68result = String.Format(CultureInfo.InvariantCulture, "DocumentPage{0}", owner.PageNumber + 1);
src\Framework\System\Windows\Controls\ContentPresenter.cs (3)
1058EventTrace.EventProvider.TraceEvent(EventTrace.Event.WClientStringEnd, EventTrace.Keyword.KeywordGeneral, EventTrace.Level.Info, String.Format(System.Globalization.CultureInfo.InvariantCulture, "ContentPresenter.BuildVisualTree for CP {0}", container.GetHashCode())); 1108textBlock.Text = String.Format(culture, stringFormat, content); 1127textBlock.Text = String.Format(culture, "{0}", content);
src\Framework\System\Windows\Controls\DocumentViewer.cs (1)
2270messageString = String.Format(
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
591string.Format(System.Globalization.CultureInfo.InvariantCulture, "Unknown dependency property detected - {0}.", e.Property));
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (2)
12894return String.Format(CultureInfo.InvariantCulture, "{0}", g.IndexFromContainer(container, returnLocalIndex:true)); 12903return String.Format(CultureInfo.InvariantCulture, "{0}", localIndex);
src\Framework\System\Windows\Data\BindingExpression.cs (1)
1636convertedValue = String.Format(culture, stringFormat, value);
src\Framework\System\Windows\Data\MultiBindingExpression.cs (1)
1241value = String.Format(culture, EffectiveStringFormat, preFormattedValue);
src\Framework\System\Windows\Interop\ActiveXHost.cs (1)
567Debug.Assert(hr == NativeMethods.S_OK, String.Format(CultureInfo.CurrentCulture, "DoVerb call failed for verb 0x{0:X}", verb));
src\Framework\System\Windows\Markup\BamlRecords.cs (1)
986return string.Format(CultureInfo.InvariantCulture, "{0}", RecordType);
src\Framework\System\Windows\Markup\Primitives\MarkupWriter.cs (1)
1633result = string.Format(CultureInfo.InvariantCulture, clrUriPrefix + ";assembly={0}",
src\Framework\System\Windows\Media\Animation\Generated\ThicknessKeyFrameCollection.cs (1)
481throw new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "ThicknessKeyFrameCollection[{0}]", index));
src\Framework\System\Windows\Standard\ErrorCodes.cs (1)
387return string.Format(CultureInfo.InvariantCulture, "0x{0:X8}", _value);
src\Framework\System\Windows\Standard\Verify.cs (4)
145throw new InvalidOperationException(string.Format(CultureInfo.InvariantCulture, "The property {0} cannot be null at this time.", name)); 155throw new InvalidOperationException(string.Format(CultureInfo.InvariantCulture, "The property {0} must be null at this time.", name)); 284throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, "No file exists at \"{0}\"", filePath), parameterName); 308throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, "The parameter must implement interface {0}.", interfaceType.ToString()), parameterName);
src\Framework\System\Windows\TemplateKey.cs (1)
125: String.Format(TypeConverterHelper.InvariantEnglishUS, "{0}(null)",
System (25)
compmod\system\componentmodel\LicFileLicenseProvider.cs (1)
44return string.Format(CultureInfo.InvariantCulture, "{0} is a licensed component.", type.FullName);
compmod\system\componentmodel\ReflectPropertyDescriptor.cs (1)
265realChangedEvent = TypeDescriptor.GetEvents(ComponentType)[string.Format(CultureInfo.InvariantCulture, "{0}Changed", Name)];
compmod\system\componentmodel\TypeDescriptor.cs (2)
1912suffix = string.Format(CultureInfo.InvariantCulture, "_{0}", name); 3335Debug.WriteLineIf(TraceDescriptor.Enabled, string.Format(CultureInfo.InvariantCulture, "TypeDescriptor : {0}", string.Format(CultureInfo.InvariantCulture, message, args)));
net\System\_IPv6Address.cs (1)
84builder.Append(string.Format(CultureInfo.InvariantCulture, CanonicalNumberFormat, numbers[i]));
net\System\Net\_NetRes.cs (1)
56return String.Format(CultureInfo.CurrentCulture, Msg, StatusMsg);
net\System\Net\_NTAuthentication.cs (1)
520if (Logging.On) Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_operation_failed_with_error, "SspiEncodeStringsAsAuthIdentity()", String.Format(CultureInfo.CurrentCulture, "0x{0:X}", (int)result)));
net\System\Net\_SSPIWrapper.cs (6)
134if (Logging.On) Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_operation_failed_with_error, "AcquireDefaultCredential()", String.Format(CultureInfo.CurrentCulture, "0X{0:X}", errorCode))); 174if (Logging.On) Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_operation_failed_with_error, "AcquireCredentialsHandle()", String.Format(CultureInfo.CurrentCulture, "0X{0:X}", errorCode))); 192if (Logging.On) Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_operation_failed_with_error, "AcquireCredentialsHandle()", String.Format(CultureInfo.CurrentCulture, "0X{0:X}", errorCode))); 218if (Logging.On) Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_operation_failed_with_error, "AcquireCredentialsHandle()", String.Format(CultureInfo.CurrentCulture, "0X{0:X}", errorCode))); 484Logging.PrintError(Logging.Web, SR.GetString(SR.net_log_operation_failed_with_error, op, String.Format(CultureInfo.CurrentCulture, "0X{0:X}", errorCode))); 977return "Capabilities:" + String.Format(CultureInfo.InvariantCulture, "0x{0:x}", Capabilities)
net\System\Net\Logging.cs (2)
608string disp = String.Format(CultureInfo.CurrentCulture, "{0:X8} : ", offset); 610disp += String.Format(CultureInfo.CurrentCulture, "{0:X2}", buffer[offset + i]) + ((i == 7) ? '-' : ' ');
net\System\Net\mail\MailAddress.cs (3)
171return String.Format(CultureInfo.InvariantCulture, "<{0}>", Address); 177return String.Format(CultureInfo.InvariantCulture, "<{0}>", GetAddress(allowUnicode)); 227encodedAddress = String.Format(CultureInfo.InvariantCulture, "\"{0}\"", this.displayName);
net\System\Net\NetRegistryConfiguration.cs (1)
147string versionedKeyPath = String.Format(
net\System\Net\WebSockets\WebSocketBase.cs (2)
1849string assertMessage = string.Format(CultureInfo.InvariantCulture, 1935string.Format(CultureInfo.InvariantCulture, "Invalid ReceiveState '{0}'.", originalReceiveState));
net\System\Net\WebSockets\WebSocketBuffer.cs (1)
550string.Format(CultureInfo.InvariantCulture,
net\System\Net\WebSockets\WebSocketHelpers.cs (1)
391invalidChar = string.Format(CultureInfo.InvariantCulture, "[{0}]", (int)ch);
sys\System\IO\compression\FastEncoder.cs (1)
160Debug.WriteLineIf(CompressionTracingSwitch.Verbose, String.Format(CultureInfo.InvariantCulture, "Literal: {0}", b ), "Compression");
sys\System\IO\compression\OutputWindow.cs (1)
24Debug.WriteLineIf(CompressionTracingSwitch.Verbose, String.Format(CultureInfo.InvariantCulture, "Literal: {0}", b), "Compression");
System.Activities (38)
System\Activities\ActivityUtilities.cs (2)
1096return string.Format(CultureInfo.InvariantCulture, "<Unnamed Id={0}>", bookmark.Id); 1112return string.Format(CultureInfo.InvariantCulture, "<Uninitialized TemporaryId={0}>", bookmarkScope.TemporaryId);
System\Activities\Debugger\DebugInfo.cs (1)
121expressionString = string.Format(CultureInfo.InvariantCulture, "[{0}]", expressionString);
System\Activities\Runtime\BookmarkScopeManager.cs (1)
470TD.CreateBookmarkScope(string.Format(CultureInfo.InvariantCulture, "Id: {0}", ActivityUtilities.GetTraceString(scope)));
System\Activities\Statements\InvokeDelegate.cs (1)
166Fx.Assert(string.Format(CultureInfo.InvariantCulture, "Expected argument named '{0}' in the DelegateArguments collection to be an out argument.", entry.Key));
System\Activities\Validation\ValidationHelper.cs (1)
403Fx.Assert(!listValues.Contains(listEntry), string.Format(CultureInfo.InvariantCulture, "Duplicate group entry '{0}' getting added.", listEntry));
System\Activities\XamlIntegration\ActivityBuilderXamlWriter.cs (4)
482xClassName = string.Format(CultureInfo.CurrentCulture, "_{0}", Guid.NewGuid().ToString().Replace("-", string.Empty).Substring(0, 4)); 502this.xClassNamespace = string.Format(CultureInfo.CurrentUICulture, "clr-namespace:{0}", this.xClassNamespace ?? string.Empty); 808propertyName = string.Format(CultureInfo.CurrentCulture, "_{0}", Guid.NewGuid().ToString().Replace("-", string.Empty)); 883this.propertyName = string.Format(CultureInfo.CurrentCulture, "_{0}", Guid.NewGuid().ToString().Replace("-", string.Empty));
System\Activities\XamlIntegration\TextExpressionCompiler.cs (4)
1477expressionMethod.Name = string.Format(CultureInfo.InvariantCulture, expressionGetTreeString, nextExpressionId); 1536expressionMethod.Name = string.Format(CultureInfo.InvariantCulture, expressionGetString, nextExpressionId); 1581expressionMethod.Name = string.Format(CultureInfo.InvariantCulture, expressionSetString, nextExpressionId); 1631expressionMethod.Name = string.Format(CultureInfo.InvariantCulture, expressionStatementString, nextExpressionId);
TD.Designer.cs (24)
194string description = string.Format(Culture, ResourceManager.GetString("SwitchCaseNotFound", Culture), param0); 253string description = string.Format(Culture, ResourceManager.GetString("TryCatchExceptionDuringCancelation", Culture), param0); 282string description = string.Format(Culture, ResourceManager.GetString("TryCatchExceptionFromCatchOrFinally", Culture), param0); 570string description = string.Format(Culture, ResourceManager.GetString("CreateBookmarkScope", Culture), param0); 688string description = string.Format(Culture, ResourceManager.GetString("RuntimeTransactionComplete", Culture), param0); 1264string description = string.Format(Culture, ResourceManager.GetString("WorkflowActivityResume", Culture), Id); 1293string description = string.Format(Culture, ResourceManager.GetString("WorkflowActivityStart", Culture), Id); 1322string description = string.Format(Culture, ResourceManager.GetString("WorkflowActivityStop", Culture), Id); 1351string description = string.Format(Culture, ResourceManager.GetString("WorkflowActivitySuspend", Culture), Id); 1447string description = string.Format(Culture, ResourceManager.GetString("WorkflowInstanceAborted", Culture), param0); 1476string description = string.Format(Culture, ResourceManager.GetString("WorkflowInstanceCanceled", Culture), param0); 1505string description = string.Format(Culture, ResourceManager.GetString("WorkflowApplicationCompleted", Culture), param0); 1534string description = string.Format(Culture, ResourceManager.GetString("WorkflowApplicationIdled", Culture), param0); 1593string description = string.Format(Culture, ResourceManager.GetString("WorkflowApplicationPersisted", Culture), param0); 1623string description = string.Format(Culture, ResourceManager.GetString("WorkflowApplicationTerminated", Culture), param0); 1685string description = string.Format(Culture, ResourceManager.GetString("WorkflowApplicationUnloaded", Culture), param0); 1714string description = string.Format(Culture, ResourceManager.GetString("InvokeMethodIsStatic", Culture), param0); 1743string description = string.Format(Culture, ResourceManager.GetString("InvokeMethodIsNotStatic", Culture), param0); 1833string description = string.Format(Culture, ResourceManager.GetString("InvokeMethodDoesNotUseAsyncPattern", Culture), param0); 1862string description = string.Format(Culture, ResourceManager.GetString("FlowchartStart", Culture), param0); 1891string description = string.Format(Culture, ResourceManager.GetString("FlowchartEmpty", Culture), param0); 1920string description = string.Format(Culture, ResourceManager.GetString("FlowchartNextNull", Culture), param0); 1979string description = string.Format(Culture, ResourceManager.GetString("FlowchartSwitchDefault", Culture), param0); 2008string description = string.Format(Culture, ResourceManager.GetString("FlowchartSwitchCaseNotFound", Culture), param0);
System.Activities.Core.Presentation (21)
System\Activities\Core\Presentation\DynamicActivityPropertyToTooltipConverter.cs (1)
27return string.Format(CultureInfo.CurrentUICulture, SR.PropertyReferenceNotResolved, property.Name);
System\Activities\Core\Presentation\GenericFlowSwitchHelper.cs (3)
202caseName = string.Format(CultureInfo.InvariantCulture, SR.CaseFormat, i); 545reason = string.Format(CultureInfo.CurrentCulture, SR.DuplicateCaseKey, key); 552reason = string.Format(CultureInfo.CurrentUICulture, SR.EqualityError, genericType.Name);
System\Activities\Core\Presentation\InvokeDelegateValidationFeature.cs (4)
135this.EmitValidationError(context, string.Format(CultureInfo.CurrentUICulture, SR.PropertyReferenceNotResolved, reference)); 141this.EmitValidationWarning(context, string.Format(CultureInfo.CurrentUICulture, SR.PropertyIsNotAConcreteActivityDelegate, reference)); 147this.EmitValidationError(context, string.Format(CultureInfo.CurrentUICulture, SR.PropertyIsNotAnActivityDelegate, reference)); 153this.EmitValidationWarning(context, string.Format(CultureInfo.CurrentUICulture, SR.PropertyIsNotAConcreteActivityDelegate, reference));
System\Activities\Core\Presentation\StateContainerEditor.CompositeView.cs (1)
215errorMessage = string.Format(CultureInfo.CurrentUICulture, SR.PasteTransitionWithoutAvailableConnectionPoints, sourceState.DisplayName);
System\Activities\Core\Presentation\StateContainerEditor.Utilities.cs (2)
97startDot.ToolTip = string.Format(CultureInfo.InvariantCulture, TriggerNameToolTip, triggerName) + Environment.NewLine + SR.SharedTriggerToolTip; 538name = string.Format(CultureInfo.InvariantCulture, "T{0}", ++suffix);
System\Activities\Core\Presentation\StateLinkButtonToolTipConverter.cs (1)
23return string.Format(CultureInfo.CurrentUICulture, SR.StateLinkButtonToolTip, stateOrTransitionName);
System\Activities\Core\Presentation\SwitchDesigner.xaml.cs (1)
112reason = string.Format(CultureInfo.CurrentCulture, SR.DuplicateCaseKey, key);
System\ServiceModel\Activities\Presentation\ActivityXRefConverter.cs (1)
45return string.Format(CultureInfo.CurrentUICulture, formatString, displayName);
System\ServiceModel\Activities\Presentation\CorrelationDataDesigner.xaml.cs (1)
162ErrorReporting.ShowErrorMessage(string.Format(CultureInfo.CurrentCulture, System.Activities.Core.Presentation.SR.DuplicateKeyName, newKey));
System\ServiceModel\Activities\Presentation\MessageQueryEditor.xaml.cs (1)
177string xpath = string.Format(CultureInfo.InvariantCulture, "sm:body(){0}", xpathQuery);
System\ServiceModel\Activities\Presentation\MessageQuerySetDesigner.xaml.cs (1)
329errors.Add(string.Format(CultureInfo.CurrentUICulture, System.Activities.Core.Presentation.SR.DuplicateKeyName, name));
System\ServiceModel\Activities\Presentation\ReceiveDesigner.xaml.cs (1)
165ErrorReporting.ShowAlertMessage(string.Format(CultureInfo.CurrentUICulture, System.Activities.Core.Presentation.SR.CannotPasteSendReplyOrReceiveReply, typeof(SendReply).Name));
System\ServiceModel\Activities\Presentation\ReceiveReplyValidationFeature.cs (1)
86Message = new InArgument<string>(ctx => string.Format(CultureInfo.CurrentCulture, System.Activities.Core.Presentation.SR.UnrootedRequestInReceiveReply, receiveReply.Get(ctx).DisplayName))
System\ServiceModel\Activities\Presentation\SendDesigner.xaml.cs (1)
168ErrorReporting.ShowAlertMessage(string.Format(CultureInfo.CurrentUICulture, System.Activities.Core.Presentation.SR.CannotPasteSendReplyOrReceiveReply, typeof(ReceiveReply).Name));
System\ServiceModel\Activities\Presentation\SendReplyValidationFeature.cs (1)
86Message = new InArgument<string>(ctx => string.Format(CultureInfo.CurrentCulture, System.Activities.Core.Presentation.SR.UnrootedRequestInSendReply, sendReply.Get(ctx).DisplayName))
System.Activities.DurableInstancing (24)
System\Activities\DurableInstancing\CreateWorkflowOwnerAsyncResult.cs (1)
23static readonly string commandText = string.Format(CultureInfo.InvariantCulture, "{0}.[CreateLockOwner]", SqlWorkflowInstanceStoreConstants.DefaultSchema);
System\Activities\DurableInstancing\DeleteWorkflowOwnerAsyncResult.cs (1)
15static string commandText = string.Format(CultureInfo.InvariantCulture, "{0}.[DeleteLockOwner]", SqlWorkflowInstanceStoreConstants.DefaultSchema);
System\Activities\DurableInstancing\DetectActivatableWorkflowsAsyncResult.cs (1)
17static readonly string commandText = string.Format(CultureInfo.InvariantCulture, "{0}.[GetActivatableWorkflowsActivationParameters]", SqlWorkflowInstanceStoreConstants.DefaultSchema);
System\Activities\DurableInstancing\DetectRunnableInstancesAsyncResult.cs (1)
17static readonly string commandText = string.Format(CultureInfo.InvariantCulture, "{0}.[DetectRunnableInstances]", SqlWorkflowInstanceStoreConstants.DefaultSchema);
System\Activities\DurableInstancing\ExtendLockAsyncResult.cs (1)
16static readonly string commandText = string.Format(CultureInfo.InvariantCulture, "{0}.[ExtendLock]", SqlWorkflowInstanceStoreConstants.DefaultSchema);
System\Activities\DurableInstancing\LoadWorkflowAsyncResult.cs (1)
18static readonly string commandText = string.Format(CultureInfo.InvariantCulture, "{0}.[LoadInstance]", SqlWorkflowInstanceStoreConstants.DefaultSchema);
System\Activities\DurableInstancing\QueryActivatableWorkflowAsyncResult.cs (1)
18static readonly string commandText = string.Format(CultureInfo.InvariantCulture, "{0}.[GetActivatableWorkflowsActivationParameters]", SqlWorkflowInstanceStoreConstants.DefaultSchema);
System\Activities\DurableInstancing\RecoverInstanceLocksAsyncResult.cs (1)
16static readonly string commandText = string.Format(CultureInfo.InvariantCulture, "{0}.[RecoverInstanceLocks]", SqlWorkflowInstanceStoreConstants.DefaultSchema);
System\Activities\DurableInstancing\SaveWorkflowAsyncResult.cs (5)
541string promotionNameArgument = string.Format(CultureInfo.InvariantCulture, "@promotionName{0}", promotionNumber); 542string instanceIdArgument = string.Format(CultureInfo.InvariantCulture, "@instanceId{0}", promotionNumber); 544storedProcInvocationBuilder.Append(string.Format(CultureInfo.InvariantCulture, "exec {0}.[InsertPromotedProperties] ", SqlWorkflowInstanceStoreConstants.DefaultSchema)); 562string parameterName = string.Format(CultureInfo.InvariantCulture, "@value{0}=", column); 583string parameterName = string.Format(CultureInfo.InvariantCulture, "@value{0}=", column);
System\Activities\DurableInstancing\TestVersionAndRunAsyncResult.cs (1)
20static readonly string commandText = string.Format(CultureInfo.InvariantCulture, "{0}.[GetWorkflowInstanceStoreVersion]", SqlWorkflowInstanceStoreConstants.DefaultSchema);
System\Activities\DurableInstancing\TryLoadRunnableWorkflowAsyncResult.cs (1)
16static readonly string commandText = string.Format(CultureInfo.InvariantCulture, "{0}.[TryLoadRunnableInstance]", SqlWorkflowInstanceStoreConstants.DefaultSchema);
System\Activities\DurableInstancing\UnlockInstanceAsyncResult.cs (1)
15static string commandText = string.Format(CultureInfo.InvariantCulture, "{0}.[UnlockInstance]", SqlWorkflowInstanceStoreConstants.DefaultSchema);
TD.Designer.cs (8)
86string description = string.Format(Culture, ResourceManager.GetString("EndSqlCommandExecute", Culture), param0); 115string description = string.Format(Culture, ResourceManager.GetString("StartSqlCommandExecute", Culture), param0); 174string description = string.Format(Culture, ResourceManager.GetString("FoundProcessingError", Culture), param0); 203string description = string.Format(Culture, ResourceManager.GetString("UnlockInstanceException", Culture), param0); 262string description = string.Format(Culture, ResourceManager.GetString("RetryingSqlCommandDueToSqlError", Culture), param0); 292string description = string.Format(Culture, ResourceManager.GetString("TimeoutOpeningSqlConnection", Culture), param0); 353string description = string.Format(Culture, ResourceManager.GetString("LockRetryTimeout", Culture), param0); 383string description = string.Format(Culture, ResourceManager.GetString("QueuingSqlRetry", Culture), param0);
System.Activities.Presentation (86)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (2)
658SharedFx.Assert(string.Format(CultureInfo.CurrentCulture, "no such property:{0}", propertyName)); 666SharedFx.Assert(string.Format(CultureInfo.CurrentCulture, "no such property value:{0}", propertyName));
System.Activities.Presentation\System\Activities\Presentation\ActivityDelegatePresenter.cs (1)
185this.ReportError(string.Format(CultureInfo.CurrentUICulture, SR.CannotCreateInstance, TypeNameHelper.GetDisplayName(this.Factory.DelegateType, false)), details);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\EditingContext.cs (4)
59string.Format(CultureInfo.CurrentCulture, Resources.Error_NullImplementation, "CreateContextItemManager"))); 80string.Format(CultureInfo.CurrentCulture, Resources.Error_NullImplementation, "CreateServiceManager"))); 540throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Resources.Error_RecursionResolvingService, serviceType.FullName))); 707throw FxTrace.Exception.AsError(new ArgumentException(string.Format(
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\AttributeDataCache.cs (1)
194string.Format(
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Automation\CategoryListAutomationPeer.cs (1)
89status = string.Format(
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Automation\TextFormatConverter.cs (1)
41return string.Format(culture ?? CultureInfo.CurrentCulture, _format ?? "{0}", value.ToString());
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\EditModeSwitchButtonKeyboardFix.cs (1)
146Debug.Fail(string.Format(
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\PropertyValueToDisplayNameConverter.cs (1)
81return string.Format(
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\SubPropertyEditor.cs (1)
192return string.Format(
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\ExtensibilityMetadataHelper.cs (2)
52exceptionLogger.WriteLine(string.Format(CultureInfo.CurrentCulture, ExceptionStringTable.ValueEditorLoadFailed, ExtensibilityMetadataHelper.GetExceptionMessage(e))); 83exceptionLogger.WriteLine(string.Format(CultureInfo.CurrentCulture, ExceptionStringTable.CategoryEditorTypeLoadFailed, ExtensibilityMetadataHelper.GetExceptionMessage(e)));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyEntry.cs (3)
527string.Format( 590string.Format( 705return string.Format(CultureInfo.CurrentCulture, "{0} (PropertyEntry)", this.PropertyName);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValue.cs (2)
243throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format( 421return string.Format(CultureInfo.CurrentCulture, "{0} (PropertyValue)", value ?? "{null}");
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyValueDialogHost.cs (1)
109_dialogWindow.Text = string.Format(
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Resources\PropertyInspectorResources.cs (1)
45return string.Format(
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\CategoryEditorSelectionStop.cs (1)
75return string.Format(
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\CategorySelectionStop.cs (2)
49string.Format( 53string.Format(
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\PropertySelectionStop.cs (1)
73return string.Format(
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\SelectionPathResolver.cs (1)
46Debug.Fail(string.Format(System.Globalization.CultureInfo.CurrentCulture, "ISelectionPathInterpreter for path type of ID '{0}' already registered. Ignoring.", interpreter.PathTypeId));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\EditModeSwitchButton.cs (2)
104Debug.Fail(string.Format( 238Debug.Fail(string.Format(
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyContainer.cs (1)
762string.Format(
System.Activities.Presentation\System\Activities\Presentation\Base\Core\ServiceManager.cs (1)
63string.Format(CultureInfo.CurrentCulture,
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemDictionary.cs (2)
351string.Format(CultureInfo.CurrentCulture, 414string.Format(CultureInfo.CurrentCulture,
System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (1)
43static readonly string WorkflowCallbackClipboardFormat = string.Format(CultureInfo.InvariantCulture, "WorkflowCallbackFormat{0}", Guid.NewGuid());
System.Activities.Presentation\System\Activities\Presentation\DesignerConfigurationService.cs (3)
324throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.NotSupportedFrameworkIdentifier, value.Identifier))); 329throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.NotSupportedFrameworkProfile, value.Profile))); 334throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.NotSupportedFrameworkVersion, value.Version.ToString())));
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (8)
49ModelItemDataFormat = string.Format(CultureInfo.InvariantCulture, "ModelItemFormat_{0}", postfix); 50CompositeViewFormat = string.Format(CultureInfo.InvariantCulture, "CompositeViewFormat_{0}", postfix); 51DragAnchorPointFormat = string.Format(CultureInfo.InvariantCulture, "DragAnchorFormat_{0}", postfix); 52ModelItemsDataFormat = string.Format(CultureInfo.InvariantCulture, "ModelItemsFormat_{0}", postfix); 53MovedViewElementsFormat = string.Format(CultureInfo.InvariantCulture, "MovedViewElementsFormat_{0}", postfix); 216throw FxTrace.Exception.ArgumentNull(string.Format(CultureInfo.InvariantCulture, "allowedItemTypes[{0}]", i)); 378new ArgumentException(string.Format(CultureInfo.CurrentCulture, SR.Error_ItemNotOnView, index))); 453ErrorReporting.ShowErrorMessage(string.Format(CultureInfo.CurrentUICulture, SR.CannotCreateInstance, TypeNameHelper.GetDisplayName(type, false)), details);
System.Activities.Presentation\System\Activities\Presentation\Expressions\ExpressionActivityEditor.cs (1)
167throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.InvalidExpressionEditorNameToSet,
System.Activities.Presentation\System\Activities\Presentation\Metadata\ActivityArgumentHelper.cs (1)
45throw FxTrace.Exception.Argument("activityType", string.Format(CultureInfo.CurrentCulture, SR.TypeDoesNotInheritFromActivity, activityType.Name));
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (2)
206throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.PropertyDoesntExistFormatString, path[i]))); 257throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.PropertyDoesntExistFormatString, path[i])));
System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (1)
685string toolTipText = string.Format(CultureInfo.CurrentUICulture, SR.SearchHintText, entry.ModelProperty.Name);
System.Activities.Presentation\System\Activities\Presentation\TextFormattingConverter.cs (1)
20return string.Format(culture, parameter as string, value);
System.Activities.Presentation\System\Activities\Presentation\UndoEngine.cs (2)
230throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.UndoEngine_OperationNotAllowed, "CommitBookmark"))); 253throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.UndoEngine_OperationNotAllowed, "RollbackBookmark")));
System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (2)
797originalError.ErrorMessages.Add(string.Format(CultureInfo.CurrentUICulture, SR.WarningFormat, newError.Message)); 853throw FxTrace.Exception.Argument("validationErrorInfo", string.Format(CultureInfo.CurrentUICulture, SR.SourceReferenceIdNotFoundInWorkflow, sourceReferenceId));
System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (5)
477identifierName.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.DuplicateIdentifier, newName); 482duplicateIdentifier.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.DuplicateIdentifier, duplicateIdentifier.IdentifierName); 1099throw FxTrace.Exception.AsError(new NotSupportedException(string.Format(CultureInfo.CurrentCulture, "{0} argument direction is not supported", this.GetArgumentDirection()))); 1295errors.Add(string.Format(CultureInfo.CurrentUICulture, SR.InvalidXamlMemberName, name)); 1306errors.Add(string.Format(CultureInfo.CurrentUICulture, SR.DuplicateArgumentName, name));
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (1)
636Fx.Assert(null != dg, string.Format(CultureInfo.CurrentCulture, "DataGrid is not in the visual tree of this control: {0}", ctrl));
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (2)
476Fx.Assert(this.contextMenuTarget.IsVisible, string.Format(CultureInfo.InvariantCulture, "ContextMenuTarget {0} is not visible", this.contextMenuTarget.GetType())); 522System.Diagnostics.Debug.WriteLine(string.Format(CultureInfo.InvariantCulture, "{0} DesignerView.OnWorkflowViewContextMenuLoaded()", DateTime.Now.ToLocalTime()));
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (2)
1706result = string.Format(CultureInfo.CurrentCulture, "{0}%", valueAsDouble.ToString("F0", CultureInfo.CurrentCulture)); 1710result = string.Format(CultureInfo.CurrentCulture, "{0}%", valueAsDouble.ToString("F2", CultureInfo.CurrentCulture));
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (3)
404this.UnsupportedEditorMessage = string.Format(CultureInfo.CurrentUICulture, SR.NonRegisteredExpressionEditor, editorName); 418throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.InvalidExpressionEditorName, 650throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.ExpressionActivityEditorRequiresDefaultConstructor,
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionSurface.cs (2)
221Fx.Assert(string.Format(CultureInfo.InvariantCulture, "PlacementTarget must be set in RelativeMode on ExtensionSurface '{0}'", this.Name)); 279Fx.Assert(string.Format(CultureInfo.CurrentCulture, "ExtensionWindowPlacement.Position = '{0}' is not supported", alignment));
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindow.cs (1)
249Fx.Assert(string.Format(CultureInfo.InvariantCulture, "ExtensionWindow '{0}' cannot be used outside ExtensionSurface", this.Name));
System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (1)
323namespaceModel.Properties[ErrorMessagePropertyName].SetValue(string.Format(CultureInfo.CurrentCulture, SR.CannotResolveNamespace, namespaceData.Namespace));
System.Activities.Presentation\System\Activities\Presentation\View\ParserContext.cs (1)
229prefix = string.Format(CultureInfo.InvariantCulture, "__{0}", Guid.NewGuid().ToString().Replace("-", "").Substring(0, 5));
System.Activities.Presentation\System\Activities\Presentation\View\TypeToStringValueConverter.cs (2)
20Fx.Assert(value is Type, string.Format(CultureInfo.InvariantCulture, "TypeToStringValueConverter cannot convert from type {0} to string", value.GetType().FullName)); 49stringValue = string.Format(CultureInfo.InvariantCulture, "System.{0}", stringValue);
System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (4)
165identifierName.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.DuplicateIdentifier, newName); 170duplicateIdentifier.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.DuplicateIdentifier, duplicateIdentifier.IdentifierName); 1418errors.Add(string.Format(CultureInfo.CurrentUICulture, SR.DuplicateVariableName, newName)); 1442errors.Add(string.Format(CultureInfo.CurrentUICulture, SR.DuplicateVariableName, currentName));
System.Activities.Presentation\System\Activities\Presentation\View\VBIdentifierName.cs (3)
128this.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.InvalidXamlMemberName, trimedName); 133this.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.InvalidIdentifier, trimedName); 138this.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.InvalidIdentifier, trimedName);
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
1080newExpressionText = string.Format(CultureInfo.InvariantCulture, formatString, serializableExpression.ConvertToString(context.ParserContext));
System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewService.cs (1)
105string errorText = string.Format(CultureInfo.CurrentCulture, SR.CouldNotGenerateView, modelItem.ItemType.Name);
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (1)
457throw FxTrace.Exception.AsError(new SecurityException(string.Format(CultureInfo.CurrentUICulture, SR.UntrustedSourceDetected, fileName)));
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerIcons.cs (1)
198string uri = string.Format(CultureInfo.InvariantCulture, "pack://application:,,,/System.Activities.Presentation;component/Resources/{0}.png", iconName);
System.AddIn (1)
System\Addin\MiniReflection\MetadataReader\Metadata.cs (1)
157Names[i] = String.Format(CultureInfo.InvariantCulture, "<<{0}>>", i);
System.ComponentModel.DataAnnotations (14)
DataAnnotations\CompareAttribute.cs (1)
41return new ValidationResult(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.CompareAttribute_UnknownProperty, OtherProperty));
DataAnnotations\CustomValidationAttribute.cs (2)
183return String.Format(CultureInfo.CurrentCulture, this._lastMessage, name); 208return String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.CustomValidationAttribute_Type_Must_Be_Public, this._validatorType.Name);
DataAnnotations\EnumDataTypeAttribute.cs (1)
27throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.EnumDataTypeAttribute_TypeNeedsToBeAnEnum, this.EnumType.FullName));
DataAnnotations\Schema\ColumnAttribute.cs (2)
28throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.ArgumentIsNullOrWhitespace, "name")); 62throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.ArgumentIsNullOrWhitespace, "value"));
DataAnnotations\Schema\ForeignKeyAttribute.cs (1)
26throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.ArgumentIsNullOrWhitespace, "name"));
DataAnnotations\Schema\InversePropertyAttribute.cs (1)
20throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.ArgumentIsNullOrWhitespace, "property"));
DataAnnotations\Schema\TableAttribute.cs (2)
21throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.ArgumentIsNullOrWhitespace, "name")); 40throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.ArgumentIsNullOrWhitespace, "value"));
DataAnnotations\UIHintAttribute.cs (1)
200String.Format(
DataAnnotations\ValidationAttribute.cs (1)
298return String.Format(CultureInfo.CurrentCulture, this.ErrorMessageString, name);
DataAnnotations\ValidationContext.cs (2)
366throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Resources.DataAnnotationsResources.ValidationContextServiceContainer_ItemAlreadyExists, serviceType), "serviceType"); 386throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Resources.DataAnnotationsResources.ValidationContextServiceContainer_ItemAlreadyExists, serviceType), "serviceType");
System.Configuration (4)
System\Configuration\MgmtConfigurationRecord.cs (4)
2079utilWriter.Write(string.Format(CultureInfo.InvariantCulture, 2085utilWriter.Write(string.Format(CultureInfo.InvariantCulture, 2340configurationStartElement = string.Format( 3241utilWriter.Write(string.Format(CultureInfo.InvariantCulture, FORMAT_CONFIGSOURCE_FILE, ConfigStreamInfo.StreamEncoding.WebName));
System.Core (8)
Microsoft\Scripting\Ast\DebugViewWriter.cs (8)
396op = String.Format( 490Out(String.Format( 495Out(String.Format( 952Out(String.Format(CultureInfo.CurrentCulture, "<{0}>", node.Type.ToString())); 1085Out(String.Format(CultureInfo.CurrentCulture, ".Extension<{0}>", node.GetType().ToString())); 1113Out(String.Format(CultureInfo.CurrentCulture, ".LabelTarget {0}:", GetLabelTargetName(target))); 1119return String.Format(CultureInfo.CurrentCulture, "#Label{0}", GetLabelTargetId(target)); 1165return String.Format(CultureInfo.CurrentCulture, "'{0}'", name);
System.Data (153)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlHelper.cs (2)
658SharedFx.Assert(string.Format(CultureInfo.CurrentCulture, "no such property:{0}", propertyName)); 666SharedFx.Assert(string.Format(CultureInfo.CurrentCulture, "no such property value:{0}", propertyName));
cdf\src\NetFx40\Tools\System.Activities.Core.Presentation\System\Activities\Core\Presentation\SwitchDesigner.xaml.cs (1)
112reason = string.Format(CultureInfo.CurrentCulture, SR.DuplicateCaseKey, key);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ActivityDelegatePresenter.cs (1)
185this.ReportError(string.Format(CultureInfo.CurrentUICulture, SR.CannotCreateInstance, TypeNameHelper.GetDisplayName(this.Factory.DelegateType, false)), details);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\EditingContext.cs (4)
59string.Format(CultureInfo.CurrentCulture, Resources.Error_NullImplementation, "CreateContextItemManager"))); 80string.Format(CultureInfo.CurrentCulture, Resources.Error_NullImplementation, "CreateServiceManager"))); 540throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Resources.Error_RecursionResolvingService, serviceType.FullName))); 707throw FxTrace.Exception.AsError(new ArgumentException(string.Format(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\AttributeDataCache.cs (1)
194string.Format(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Automation\TextFormatConverter.cs (1)
41return string.Format(culture ?? CultureInfo.CurrentCulture, _format ?? "{0}", value.ToString());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\EditModeSwitchButtonKeyboardFix.cs (1)
146Debug.Fail(string.Format(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\PropertyValueToDisplayNameConverter.cs (1)
81return string.Format(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\SubPropertyEditor.cs (1)
192return string.Format(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\ExtensibilityMetadataHelper.cs (2)
52exceptionLogger.WriteLine(string.Format(CultureInfo.CurrentCulture, ExceptionStringTable.ValueEditorLoadFailed, ExtensibilityMetadataHelper.GetExceptionMessage(e))); 83exceptionLogger.WriteLine(string.Format(CultureInfo.CurrentCulture, ExceptionStringTable.CategoryEditorTypeLoadFailed, ExtensibilityMetadataHelper.GetExceptionMessage(e)));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyEntry.cs (3)
527string.Format( 590string.Format( 705return string.Format(CultureInfo.CurrentCulture, "{0} (PropertyEntry)", this.PropertyName);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValue.cs (2)
243throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format( 421return string.Format(CultureInfo.CurrentCulture, "{0} (PropertyValue)", value ?? "{null}");
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyValueDialogHost.cs (1)
109_dialogWindow.Text = string.Format(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\CategoryEditorSelectionStop.cs (1)
75return string.Format(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\CategorySelectionStop.cs (2)
49string.Format( 53string.Format(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\PropertySelectionStop.cs (1)
73return string.Format(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\SelectionPathResolver.cs (1)
46Debug.Fail(string.Format(System.Globalization.CultureInfo.CurrentCulture, "ISelectionPathInterpreter for path type of ID '{0}' already registered. Ignoring.", interpreter.PathTypeId));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\EditModeSwitchButton.cs (2)
104Debug.Fail(string.Format( 238Debug.Fail(string.Format(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyContainer.cs (1)
762string.Format(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\ServiceManager.cs (1)
63string.Format(CultureInfo.CurrentCulture,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemDictionary.cs (2)
351string.Format(CultureInfo.CurrentCulture, 414string.Format(CultureInfo.CurrentCulture,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (1)
43static readonly string WorkflowCallbackClipboardFormat = string.Format(CultureInfo.InvariantCulture, "WorkflowCallbackFormat{0}", Guid.NewGuid());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignerConfigurationService.cs (3)
324throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.NotSupportedFrameworkIdentifier, value.Identifier))); 329throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.NotSupportedFrameworkProfile, value.Profile))); 334throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.NotSupportedFrameworkVersion, value.Version.ToString())));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (8)
49ModelItemDataFormat = string.Format(CultureInfo.InvariantCulture, "ModelItemFormat_{0}", postfix); 50CompositeViewFormat = string.Format(CultureInfo.InvariantCulture, "CompositeViewFormat_{0}", postfix); 51DragAnchorPointFormat = string.Format(CultureInfo.InvariantCulture, "DragAnchorFormat_{0}", postfix); 52ModelItemsDataFormat = string.Format(CultureInfo.InvariantCulture, "ModelItemsFormat_{0}", postfix); 53MovedViewElementsFormat = string.Format(CultureInfo.InvariantCulture, "MovedViewElementsFormat_{0}", postfix); 216throw FxTrace.Exception.ArgumentNull(string.Format(CultureInfo.InvariantCulture, "allowedItemTypes[{0}]", i)); 378new ArgumentException(string.Format(CultureInfo.CurrentCulture, SR.Error_ItemNotOnView, index))); 453ErrorReporting.ShowErrorMessage(string.Format(CultureInfo.CurrentUICulture, SR.CannotCreateInstance, TypeNameHelper.GetDisplayName(type, false)), details);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Expressions\ExpressionActivityEditor.cs (1)
167throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.InvalidExpressionEditorNameToSet,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Metadata\ActivityArgumentHelper.cs (1)
45throw FxTrace.Exception.Argument("activityType", string.Format(CultureInfo.CurrentCulture, SR.TypeDoesNotInheritFromActivity, activityType.Name));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (2)
206throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.PropertyDoesntExistFormatString, path[i]))); 257throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.PropertyDoesntExistFormatString, path[i])));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (1)
685string toolTipText = string.Format(CultureInfo.CurrentUICulture, SR.SearchHintText, entry.ModelProperty.Name);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\TextFormattingConverter.cs (1)
20return string.Format(culture, parameter as string, value);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\UndoEngine.cs (2)
230throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.UndoEngine_OperationNotAllowed, "CommitBookmark"))); 253throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.UndoEngine_OperationNotAllowed, "RollbackBookmark")));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (1)
853throw FxTrace.Exception.Argument("validationErrorInfo", string.Format(CultureInfo.CurrentUICulture, SR.SourceReferenceIdNotFoundInWorkflow, sourceReferenceId));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (5)
477identifierName.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.DuplicateIdentifier, newName); 482duplicateIdentifier.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.DuplicateIdentifier, duplicateIdentifier.IdentifierName); 1099throw FxTrace.Exception.AsError(new NotSupportedException(string.Format(CultureInfo.CurrentCulture, "{0} argument direction is not supported", this.GetArgumentDirection()))); 1295errors.Add(string.Format(CultureInfo.CurrentUICulture, SR.InvalidXamlMemberName, name)); 1306errors.Add(string.Format(CultureInfo.CurrentUICulture, SR.DuplicateArgumentName, name));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (2)
476Fx.Assert(this.contextMenuTarget.IsVisible, string.Format(CultureInfo.InvariantCulture, "ContextMenuTarget {0} is not visible", this.contextMenuTarget.GetType())); 522System.Diagnostics.Debug.WriteLine(string.Format(CultureInfo.InvariantCulture, "{0} DesignerView.OnWorkflowViewContextMenuLoaded()", DateTime.Now.ToLocalTime()));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (2)
1706result = string.Format(CultureInfo.CurrentCulture, "{0}%", valueAsDouble.ToString("F0", CultureInfo.CurrentCulture)); 1710result = string.Format(CultureInfo.CurrentCulture, "{0}%", valueAsDouble.ToString("F2", CultureInfo.CurrentCulture));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (3)
404this.UnsupportedEditorMessage = string.Format(CultureInfo.CurrentUICulture, SR.NonRegisteredExpressionEditor, editorName); 418throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.InvalidExpressionEditorName, 650throw FxTrace.Exception.AsError(new ArgumentException(string.Format(CultureInfo.CurrentUICulture, SR.ExpressionActivityEditorRequiresDefaultConstructor,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ExtensionSurface.cs (1)
279Fx.Assert(string.Format(CultureInfo.CurrentCulture, "ExtensionWindowPlacement.Position = '{0}' is not supported", alignment));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (1)
323namespaceModel.Properties[ErrorMessagePropertyName].SetValue(string.Format(CultureInfo.CurrentCulture, SR.CannotResolveNamespace, namespaceData.Namespace));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ParserContext.cs (1)
229prefix = string.Format(CultureInfo.InvariantCulture, "__{0}", Guid.NewGuid().ToString().Replace("-", "").Substring(0, 5));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypeToStringValueConverter.cs (2)
20Fx.Assert(value is Type, string.Format(CultureInfo.InvariantCulture, "TypeToStringValueConverter cannot convert from type {0} to string", value.GetType().FullName)); 49stringValue = string.Format(CultureInfo.InvariantCulture, "System.{0}", stringValue);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (4)
165identifierName.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.DuplicateIdentifier, newName); 170duplicateIdentifier.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.DuplicateIdentifier, duplicateIdentifier.IdentifierName); 1418errors.Add(string.Format(CultureInfo.CurrentUICulture, SR.DuplicateVariableName, newName)); 1442errors.Add(string.Format(CultureInfo.CurrentUICulture, SR.DuplicateVariableName, currentName));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VBIdentifierName.cs (3)
128this.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.InvalidXamlMemberName, trimedName); 133this.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.InvalidIdentifier, trimedName); 138this.ErrorMessage = string.Format(CultureInfo.CurrentUICulture, SR.InvalidIdentifier, trimedName);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewService.cs (1)
105string errorText = string.Format(CultureInfo.CurrentCulture, SR.CouldNotGenerateView, modelItem.ItemType.Name);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (1)
457throw FxTrace.Exception.AsError(new SecurityException(string.Format(CultureInfo.CurrentUICulture, SR.UntrustedSourceDetected, fileName)));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerIcons.cs (1)
198string uri = string.Format(CultureInfo.InvariantCulture, "pack://application:,,,/System.Activities.Presentation;component/Resources/{0}.png", iconName);
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (1)
1129Debug.Assert(index >= 0 && index < __dbTypeToStorageType.Length, string.Format(CultureInfo.InvariantCulture, "Unexpected dbType value: {0}", dbType));
fx\src\data\System\Data\Common\DBCommandBuilder.cs (3)
175Debug.Assert(_isMutatedName[iMutatedName], String.Format(CultureInfo.InvariantCulture, "{0} expected to be a mutated name", _baseParameterNames[iMutatedName])); 1052return String.Format(CultureInfo.InvariantCulture, _parameterMarkerFormat, parameterName); 1095return String.Format(CultureInfo.InvariantCulture, _parameterMarkerFormat, parameterName);
fx\src\data\System\Data\DataSet.cs (2)
299info.AddValue(String.Format(CultureInfo.InvariantCulture, "DataSet.Tables_{0}", i), memStream.GetBuffer()); 360Byte[] buffer = (Byte[])info.GetValue(String.Format(CultureInfo.InvariantCulture, "DataSet.Tables_{0}", i), typeof(Byte[]));
fx\src\data\System\Data\DataTable.cs (54)
351info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.ColumnName", i), Columns[i].ColumnName); 352info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.Namespace", i), Columns[i]._columnUri); 353info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.Prefix", i), Columns[i].Prefix); 354info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.ColumnMapping", i), Columns[i].ColumnMapping); 355info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.AllowDBNull", i), Columns[i].AllowDBNull); 356info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrement", i), Columns[i].AutoIncrement); 357info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrementStep", i), Columns[i].AutoIncrementStep); 358info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrementSeed", i), Columns[i].AutoIncrementSeed); 359info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.Caption", i), Columns[i].Caption); 360info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.DefaultValue", i), Columns[i].DefaultValue); 361info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.ReadOnly", i), Columns[i].ReadOnly); 362info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.MaxLength", i), Columns[i].MaxLength); 363info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.DataType", i), Columns[i].DataType); 365info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.XmlDataType", i), Columns[i].XmlDataType); 366info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.SimpleType", i), Columns[i].SimpleType); 368info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.DateTimeMode", i), Columns[i].DateTimeMode); 371info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrementCurrent", i), Columns[i].AutoIncrementCurrent); 375info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.Expression", i), Columns[i].Expression); 379info.AddValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.ExtendedProperties", i), Columns[i].extendedProperties); 427dc.ColumnName = info.GetString(String.Format(formatProvider, "DataTable.DataColumn_{0}.ColumnName", i)); 428dc._columnUri = info.GetString(String.Format(formatProvider, "DataTable.DataColumn_{0}.Namespace", i)); 429dc.Prefix = info.GetString(String.Format(formatProvider, "DataTable.DataColumn_{0}.Prefix", i)); 431dc.DataType = (Type) info.GetValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.DataType", i), typeof(Type)); 432dc.XmlDataType = (string) info.GetValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.XmlDataType", i), typeof(string)); 433dc.SimpleType = (SimpleType) info.GetValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.SimpleType", i), typeof(SimpleType)); 435dc.ColumnMapping = (MappingType) info.GetValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.ColumnMapping", i), typeof(MappingType)); 436dc.DateTimeMode = (DataSetDateTime) info.GetValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.DateTimeMode", i), typeof(DataSetDateTime)); 438dc.AllowDBNull = info.GetBoolean(String.Format(formatProvider, "DataTable.DataColumn_{0}.AllowDBNull", i)); 439dc.AutoIncrement = info.GetBoolean(String.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrement", i)); 440dc.AutoIncrementStep = info.GetInt64(String.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrementStep", i)); 441dc.AutoIncrementSeed = info.GetInt64(String.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrementSeed", i)); 442dc.Caption = info.GetString(String.Format(formatProvider, "DataTable.DataColumn_{0}.Caption", i)); 443dc.DefaultValue = info.GetValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.DefaultValue", i), typeof(object)); 444dc.ReadOnly = info.GetBoolean(String.Format(formatProvider, "DataTable.DataColumn_{0}.ReadOnly", i)); 445dc.MaxLength= info.GetInt32(String.Format(formatProvider, "DataTable.DataColumn_{0}.MaxLength", i)); 448dc.AutoIncrementCurrent = info.GetValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.AutoIncrementCurrent", i), typeof(object)); 452expressions[i] = info.GetString(String.Format(formatProvider, "DataTable.DataColumn_{0}.Expression", i)); 456dc.extendedProperties = (PropertyCollection) info.GetValue(String.Format(formatProvider, "DataTable.DataColumn_{0}.ExtendedProperties", i), typeof(PropertyCollection)); 535info.AddValue(String.Format(CultureInfo.InvariantCulture, "DataTable_{0}.Constraints", serIndex), constraintList); 545ArrayList constraintList = (ArrayList) info.GetValue(String.Format(CultureInfo.InvariantCulture, "DataTable_{0}.Constraints", serIndex), typeof(ArrayList)); 691info.AddValue(String.Format(formatProvider, "DataTable_{0}.Rows.Count", serIndex), rowCount); 692info.AddValue(String.Format(formatProvider, "DataTable_{0}.Records.Count", serIndex), recordCount); 693info.AddValue(String.Format(formatProvider, "DataTable_{0}.RowStates", serIndex), rowStates); 694info.AddValue(String.Format(formatProvider, "DataTable_{0}.Records", serIndex), storeList); 695info.AddValue(String.Format(formatProvider, "DataTable_{0}.NullBits", serIndex), nullbitList); 696info.AddValue(String.Format(formatProvider, "DataTable_{0}.RowErrors", serIndex), rowErrors); 697info.AddValue(String.Format(formatProvider, "DataTable_{0}.ColumnErrors", serIndex), colErrors); 710int rowCount = info.GetInt32(String.Format(formatProvider, "DataTable_{0}.Rows.Count", serIndex)); 711int recordCount = info.GetInt32(String.Format(formatProvider, "DataTable_{0}.Records.Count", serIndex)); 712BitArray rowStates = (BitArray) info.GetValue(String.Format(formatProvider, "DataTable_{0}.RowStates", serIndex), typeof(BitArray)); 713ArrayList storeList = (ArrayList) info.GetValue(String.Format(formatProvider, "DataTable_{0}.Records", serIndex), typeof(ArrayList)); 714ArrayList nullbitList = (ArrayList) info.GetValue(String.Format(formatProvider, "DataTable_{0}.NullBits", serIndex), typeof(ArrayList)); 715Hashtable rowErrors = (Hashtable) info.GetValue(String.Format(formatProvider, "DataTable_{0}.RowErrors", serIndex), typeof(Hashtable)); 717Hashtable colErrors = (Hashtable) info.GetValue(String.Format(formatProvider, "DataTable_{0}.ColumnErrors", serIndex), typeof(Hashtable));
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (1)
905Debug.Assert(SniContext.Snix_Read==stateObj.SniContext, String.Format((IFormatProvider)null, "The SniContext should be Snix_Read but it actually is {0}", stateObj.SniContext));
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (4)
1236Debug.Assert(SniContext.Snix_Login == Parser._physicalStateObj.SniContext, String.Format((IFormatProvider)null, "SniContext should be Snix_Login; actual Value: {0}", Parser._physicalStateObj.SniContext)); 1542Debug.Assert(SniContext.Undefined== Parser._physicalStateObj.SniContext, String.Format((IFormatProvider)null, "SniContext should be Undefined; actual Value: {0}", Parser._physicalStateObj.SniContext)); 1781Debug.Assert(SniContext.Undefined== Parser._physicalStateObj.SniContext, String.Format((IFormatProvider)null, "SniContext should be Undefined; actual Value: {0}", Parser._physicalStateObj.SniContext)); 1830Debug.Assert(SniContext.Undefined == Parser._physicalStateObj.SniContext, String.Format((IFormatProvider)null, "SniContext should be Undefined; actual Value: {0}", Parser._physicalStateObj.SniContext));
fx\src\data\System\Data\SqlClient\sqlmetadatafactory.cs (1)
158resultString.Append(String.Format((IFormatProvider)null, "{0,-2:x2}", b));
fx\src\data\System\Data\SqlClient\SqlUtil.cs (1)
1677string errorMessageId = String.Format((IFormatProvider)null, "SNI_ERROR_{0}", sniError);
fx\src\data\System\Data\SqlClient\TdsParser.cs (5)
1384string providerRid = String.Format((IFormatProvider)null,"SNI_PN{0}", (int)sniError.provider); 1386Debug.Assert(!ADP.IsEmpty(providerName), String.Format((IFormatProvider)null,"invalid providerResourceId '{0}'", providerRid)); 1871Debug.Assert(false, String.Format((IFormatProvider)null, "unexpected token; token = {0,-2:X2}", token)); 7205Debug.Assert(SniContext.Snix_Login==_physicalStateObj.SniContext, String.Format((IFormatProvider)null, "Unexpected SniContext. Expecting Snix_Login, actual value is '{0}'", _physicalStateObj.SniContext)); 7653Debug.Assert(SniContext.Snix_Read==stateObj.SniContext, String.Format((IFormatProvider)null, "The SniContext should be Snix_Read but it actually is {0}", stateObj.SniContext));
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (1)
2842Debug.Assert (false, String.Format((IFormatProvider)null, "Unexpected argument {0,-2:x2} to WritePacket", flushMode));
System.Data.Entity (46)
System\Data\Common\CommandTrees\AbstractExpressions.cs (1)
340Debug.Assert(type != null, string.Format(CultureInfo.InvariantCulture, "{0}.Type is null in DbExpression constructor", this.GetType().Name));
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (1)
112return DbExpressionBuilder.GroupBindAs(input, alias, string.Format(CultureInfo.InvariantCulture, "Group{0}", alias));
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (2)
1748throw EntityUtil.ArgumentNull(string.Format(CultureInfo.InvariantCulture, "{0}.Key", argumentName)); 1757throw EntityUtil.ArgumentNull(string.Format(CultureInfo.InvariantCulture, "{0}.Value", argumentName));
System\Data\Common\CommandTrees\OperatorExpressions.cs (1)
374Debug.Assert(DbExpressionKind.IsOf == this.ExpressionKind || DbExpressionKind.IsOfOnly == this.ExpressionKind, string.Format(CultureInfo.InvariantCulture, "Invalid DbExpressionKind used in DbIsOfExpression: {0}", Enum.GetName(typeof(DbExpressionKind), this.ExpressionKind)));
System\Data\Common\Internal\Materialization\ColumnMapKeyBuilder.cs (2)
195Append(prefix, String.Format(CultureInfo.InvariantCulture, "{0}", value)); 280Append(String.Format(CultureInfo.InvariantCulture, "MD-{0}", Guid.NewGuid()));
System\Data\Common\Internal\Materialization\Translator.cs (1)
419Debug.Fail(string.Format(CultureInfo.CurrentCulture, "The type {0} was not the expected scalar, enumeration, collection, structural, nominal, or reference type.", edmType.GetType()));
System\Data\Common\Utils\Boolean\BoolExpr.cs (1)
475return String.Format(CultureInfo.InvariantCulture, "!{0}", Child);
System\Data\Common\Utils\StringUtil.cs (1)
236return String.Format(CultureInfo.InvariantCulture, "{0}", value);
System\Data\EntityModel\SchemaObjectModel\EntityContainerAssociationSet.cs (1)
122string.Format(CultureInfo.InvariantCulture, "The relationship referenced by the Association attribute of {0} is not an Association relationship.", FQName));
System\Data\EntityModel\SchemaObjectModel\NavigationProperty.cs (1)
196Debug.Assert(_unresolvedRelationshipName == null, string.Format(CultureInfo.CurrentCulture, "{0} is already defined", reader.Name));
System\Data\EntityModel\SchemaObjectModel\Schema.cs (1)
1285Debug.Assert(resourceStream != null, string.Format(CultureInfo.CurrentCulture, "Unable to load the resource {0} from assembly resources.", resourceName));
System\Data\EntityModel\SchemaObjectModel\SchemaElement.cs (2)
415Debug.Assert(string.IsNullOrEmpty(field), string.Format(CultureInfo.CurrentCulture, "{0} is already defined", reader.Name)); 434Debug.Assert(string.IsNullOrEmpty(field), string.Format(CultureInfo.CurrentCulture, "{0} is already defined", reader.Name));
System\Data\EntityModel\SchemaObjectModel\StructuredType.cs (1)
371Debug.Assert(UnresolvedBaseType == null, string.Format(CultureInfo.CurrentCulture, "{0} is already defined", reader.Name));
System\Data\Mapping\BaseMetadataMappingVisitor.cs (5)
53Debug.Fail(string.Format(CultureInfo.InvariantCulture, "Found type '{0}', did we add a new type?", entitySetBase.BuiltInTypeKind)); 206Debug.Fail(String.Format(CultureInfo.InvariantCulture, "Found type '{0}', did we add a new type?", relationshipType.BuiltInTypeKind)); 247Debug.Fail(String.Format(CultureInfo.InvariantCulture, "Found type '{0}', did we add a new type?", edmType.BuiltInTypeKind)); 326Debug.Fail(String.Format(CultureInfo.InvariantCulture, "Found type '{0}', did we add a new type?", entityTypeBase.BuiltInTypeKind)); 385Debug.Fail(String.Format(CultureInfo.InvariantCulture, "Found type '{0}', did we add a new type?", storagePropertyMapping.GetType()));
System\Data\Mapping\ViewGeneration\QueryRewriting\FragmentQueryProcessor.cs (1)
150FragmentQuery derivedView = new FragmentQuery(String.Format(CultureInfo.InvariantCulture, "project({0})", view.Description), view.FromVariable,
System\Data\Mapping\ViewGeneration\QueryRewriting\Tile.cs (1)
157return String.Format(CultureInfo.InvariantCulture, "[{0}]", this.Query);
System\Data\Metadata\Edm\MemberCollection.cs (1)
339Debug.Assert(member.DeclaringType == null, string.Format(CultureInfo.CurrentCulture, "The member {0} already has a declaring type, it cannot be added to this collection.", argumentName));
System\Data\Metadata\TypeHelpers.cs (2)
54throw new NotSupportedException(String.Format(CultureInfo.InvariantCulture, "PrimitiveType must be CSpace '{0}'", typeUsage.ToString())); 685return string.Format(CultureInfo.InvariantCulture, "{0}", name);
System\Data\Objects\ELinq\ExpressionConverter.cs (1)
808binding = input.GroupBindAs(alias, string.Format(CultureInfo.InvariantCulture, "Group{0}", alias));
System\Data\Objects\FieldDescriptor.cs (1)
93Debug.Fail(string.Format(CultureInfo.CurrentCulture, "The type {0} was not the expected scalar, enumeration, collection, structural, nominal, or reference type.", edmType.GetType()));
System\Data\Objects\Internal\EntityProxyFactory.cs (1)
69AssemblyName assemblyName = new AssemblyName(String.Format(CultureInfo.InvariantCulture, "EntityFrameworkDynamicProxies-{0}", assembly.FullName));
System\Data\Objects\Internal\ObjectSpanRewriter.cs (2)
152info.ColumnNames = new AliasGenerator(string.Format(CultureInfo.InvariantCulture, "Span{0}_Column", _spanCount)); 298string.Format(CultureInfo.InvariantCulture, "Span{0}_SpanRoot", thisSpan),
System\Data\Objects\ObjectContext.cs (2)
2521string parameterName = string.Format(CultureInfo.InvariantCulture, "p{0}", i.ToString(CultureInfo.InvariantCulture)); 3230parameterNames[i] = string.Format(CultureInfo.InvariantCulture, "p{0}", i);
System\Data\Objects\ObjectViewFactory.cs (1)
275Debug.Assert(typeUsage.EdmType.DataSpace == DataSpace.CSpace, String.Format(System.Globalization.CultureInfo.InvariantCulture, "Expected EdmType.DataSpace to be C-Space, but instead it is {0}.", typeUsage.EdmType.DataSpace.ToString()));
System\Data\Query\InternalTrees\ColumnMap.cs (4)
578string str = String.Format(CultureInfo.InvariantCulture, "C{0}", base.ToString()); 641string str = String.Format(CultureInfo.InvariantCulture, "E{0}", base.ToString()); 877string str = String.Format(CultureInfo.InvariantCulture, "M{{{0}}}", this.Element.ToString()); 1091return this.IsNamed ? this.Name : String.Format(CultureInfo.InvariantCulture, "{0}", m_var.Id);
System\Data\Query\InternalTrees\Dump.cs (1)
226WriteString(String.Format(CultureInfo.InvariantCulture,"{0}",op.Value));
System\Data\Query\InternalTrees\Vars.cs (1)
99return String.Format(CultureInfo.InvariantCulture, "{0}", this.Id); ;
System\Data\Query\PlanCompiler\CTreeGenerator.cs (5)
490string groupVarName = string.Format(CultureInfo.InvariantCulture, "{0}Group", varName); 647PlanCompiler.Assert(2 == n.Children.Count, string.Format(CultureInfo.InvariantCulture, "Non-Binary {0} encountered", n.Op.GetType().Name)); 789PlanCompiler.Assert(resultExpr != null, string.Format(CultureInfo.InvariantCulture, "ArithmeticOp OpType not recognized: {0}", Enum.GetName(typeof(OpType), op.OpType))); 897PlanCompiler.Assert(compExpr != null, string.Format(CultureInfo.InvariantCulture, "ComparisonOp OpType not recognized: {0}", Enum.GetName(typeof(OpType), op.OpType))); 956PlanCompiler.Assert(condExpr != null, string.Format(CultureInfo.InvariantCulture, "ConditionalOp OpType not recognized: {0}", Enum.GetName(typeof(OpType), op.OpType)));
System\Data\Query\PlanCompiler\StructuredTypeInfo.cs (1)
588AssignRootTypeId(kv.Value, String.Format(CultureInfo.InvariantCulture, "{0}X", typeNum));
System.Data.Entity.Design (3)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (1)
811qualifiedTypeName = string.Format(CultureInfo.InvariantCulture, modifierFormat, qualifiedTypeName);
System\Data\EntityModel\Emitters\CommentEmitter.cs (2)
328commentCollection.Add(new CodeCommentStatement(string.Format(CultureInfo.InvariantCulture, "<{0}>", tag), true)); 330commentCollection.Add(new CodeCommentStatement(string.Format(CultureInfo.InvariantCulture, "</{0}>", tag), true));
System.Data.Linq (2)
SqlClient\SqlBuilder.cs (2)
67string name = String.Format(Globalization.CultureInfo.InvariantCulture, "PK_{0}", table.TableName); 109sb.Append(string.Format(Globalization.CultureInfo.InvariantCulture, " {0} ", SqlIdentifier.QuoteCompoundIdentifier(mm.MappedName)));
System.Data.Services (2)
System\Data\Services\Serializers\JsonWriter.cs (1)
280String.Format(
System\Data\Services\Serializers\MetadataSerializer.cs (1)
179returnTypeString = String.Format(CultureInfo.InvariantCulture, XmlConstants.EdmCollectionTypeFormat, returnTypeString);
System.Data.Services.Design (2)
System\Data\EntityModel\Emitters\CommentEmitter.cs (2)
327commentCollection.Add(new CodeCommentStatement(string.Format(CultureInfo.InvariantCulture, "<{0}>", tag), true)); 329commentCollection.Add(new CodeCommentStatement(string.Format(CultureInfo.InvariantCulture, "</{0}>", tag), true));
System.Data.SqlXml (2)
System\Xml\Xsl\Xslt\XPathPatternBuilder.cs (1)
293string prompt = string.Format(CultureInfo.InvariantCulture, "Internal Error: {0} is not allowed in XSLT pattern outside of predicate.", tokenName);
System\Xml\Xsl\XsltOld\OutputScopeManager.cs (1)
159prefix = String.Format(CultureInfo.InvariantCulture, format, this.prefixIndex ++);
System.Drawing (1)
commonui\System\Drawing\FontConverter.cs (1)
409string fonstStringFormat = string.Format(CultureInfo.CurrentCulture, "name{0} size[units[{0} style=style1[{0} style2{0} ...]]]", separator);
System.IdentityModel (7)
System\IdentityModel\Tokens\KerberosTicketHashIdentifierClause.cs (1)
33return string.Format(CultureInfo.InvariantCulture, "KerberosTicketHashKeyIdentifierClause(Hash = {0})", ToBase64String());
System\IdentityModel\Tokens\SamlAssertionKeyIdentifierClause.cs (1)
89return string.Format(CultureInfo.InvariantCulture, "SamlAssertionKeyIdentifierClause(AssertionId = '{0}')", this.AssertionId);
System\IdentityModel\Tokens\X509RawDataKeyIdentifierClause.cs (1)
72return string.Format(CultureInfo.InvariantCulture, "X509RawDataKeyIdentifierClause(RawData = {0})", ToBase64String());
System\IdentityModel\Tokens\X509SubjectKeyIdentifierClause.cs (1)
75return string.Format(CultureInfo.InvariantCulture, "X509SubjectKeyIdentifierClause(SKI = 0x{0})", ToHexString());
System\IdentityModel\Tokens\X509ThumbprintKeyIdentifierClause.cs (1)
50return string.Format(CultureInfo.InvariantCulture, "X509ThumbprintKeyIdentifierClause(Hash = 0x{0})", ToHexString());
System\ServiceModel\Security\EncryptedKeyHashIdentifierClause.cs (1)
35return string.Format(CultureInfo.InvariantCulture, "EncryptedKeyHashIdentifierClause(Hash = {0})", Convert.ToBase64String(GetRawBuffer()));
System\ServiceModel\Security\KeyNameIdentifierClause.cs (1)
47return string.Format(CultureInfo.InvariantCulture, "KeyNameIdentifierClause(KeyName = '{0}')", this.KeyName);
System.Messaging (2)
System\Messaging\MessageQueue.cs (2)
2136DirectorySearcher localComputerSearcher = new DirectorySearcher(String.Format(CultureInfo.InvariantCulture, "(&(CN={0})(objectCategory=Computer))", ComputerName)); 2148DirectorySearcher remoteComputerSearcher = new DirectorySearcher(String.Format(CultureInfo.InvariantCulture, "(&(CN={0})(objectCategory=Computer))", machineName));
System.Net (2)
net\Logging.cs (2)
125sb.Append(String.Format(CultureInfo.CurrentCulture, "{0:X8} : ", offset)); 128sb.Append(String.Format(CultureInfo.CurrentCulture, "{0:X2}", buffer[offset + i]) + ((i == 7) ? '-' : ' '));
System.Numerics (3)
System\Numerics\BigNumber.cs (3)
484fmt = String.Format(CultureInfo.InvariantCulture, "{0}1", format); 490fmt = String.Format(CultureInfo.InvariantCulture, "{0}2", format); 530format = String.Format(CultureInfo.InvariantCulture, "D{0}", digits.ToString(CultureInfo.InvariantCulture));
System.Runtime.Remoting (43)
channels\core\corechannel.cs (3)
813String.Format( 952sidString.Append(String.Format(CultureInfo.CurrentCulture, "{0:x12}", number)); 963sidString.Append(String.Format(CultureInfo.CurrentCulture, "-{0:x12}", number));
channels\http\httpremotinghandler.cs (1)
466throw new RemotingException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_AssemblyLoadFailed"), "System.Web.Services"));
channels\http\httpserverchannel.cs (1)
457String.Format(
channels\ipc\ipcclientmanager.cs (1)
58String.Format(
channels\ipc\ipcmanager.cs (1)
173String.Format(
channels\ipc\ipcport.cs (9)
104throw new RemotingException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Ipc_CreateIpcFailed"), GetMessage(error))); 162throw new RemotingException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Ipc_ConnectIpcFailed"), GetMessage(error))); 167throw new RemotingException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Ipc_Busy"), GetMessage(error))); 187return String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_UnknownError_Num"), errorCode.ToString(CultureInfo.InvariantCulture)); 198throw new RemotingException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Ipc_ImpersonationFailed"), GetMessage(error))); 212throw new RemotingException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Ipc_ReadFailure"), GetMessage(error))); 246throw new RemotingException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Ipc_ReadFailure"), GetMessage(error))); 290throw new RemotingException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Ipc_ReadFailure"), GetMessage(ar._errorCode))); 307throw new RemotingException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Ipc_WriteFailure"), GetMessage(error)));
channels\sinks\soapformattersinks.cs (2)
670String.Format( 859String.Format(
channels\tcp\tcpclientchannel.cs (1)
365String.Format(
channels\tcp\tcpclientsocketmanager.cs (1)
90String.Format(
channels\tcp\tcpserverchannel.cs (1)
398String.Format(
channels\tcp\tcpsocketmanager.cs (4)
79String.Format( 108String.Format( 211String.Format( 314String.Format(
channels\tcp\tcpstreams.cs (1)
309String.Format(
metadata\sdlchannelsink.cs (1)
311String.Format(
metadata\wsdlparser.cs (16)
731throw new SUDSParserException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_Import"), reader.Location)); 836throw new SUDSParserException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_UnknownElementAtRootLevel"), elementName)); 1144throw new SUDSParserException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_DuplicatePortTypesOperationName"), portTypeOperation.name)); 1152throw new SUDSParserException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_DuplicatePortSectionName"), portContent.name)); 1735String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_WsdlInvalidMessage"), 1792String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_WsdlInvalidMessage"), 1929String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_WsdlInvalidPortType"), 2002String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_WsdlMissingMessage"), 2046String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_WsdlMissingMessage"), 2082String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_WsdlInvalidPortType"), 2531String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_WsdlInvalidStringSyntax"), 2565String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_WsdlInvalidStringSyntax"), 4465throw new SUDSParserException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_AssemblyNotFound"), assemName)); 5212throw new SUDSParserException(String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_AssemblyNotFound"), assemName)); 5320String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_InvalidEnumType"), type)); 6385String.Format(CultureInfo.CurrentCulture, CoreChannel.GetResourceString("Remoting_Suds_WsdlInvalidArraySyntax"),
System.Runtime.Serialization (14)
System\Runtime\Serialization\Json\XmlJsonWriter.cs (2)
1523nodeWriter.WriteText(string.Format(CultureInfo.InvariantCulture, "{0:x4}", (int)ch)); 1545nodeWriter.WriteText(string.Format(CultureInfo.InvariantCulture, "{0:x4}", (int)ch));
System\Xml\XmlBaseReader.cs (4)
1160throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(string.Format(CultureInfo.InvariantCulture, "localNames[{0}]", i)); 1175throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(string.Format(CultureInfo.InvariantCulture, "localNames[{0}]", i)); 1202throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(string.Format(CultureInfo.InvariantCulture, "localNames[{0}]", i)); 1217throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(string.Format(CultureInfo.InvariantCulture, "localNames[{0}]", i));
System\Xml\XmlDictionaryReader.cs (4)
327throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(string.Format(CultureInfo.InvariantCulture, "localNames[{0}]", i)); 353throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(string.Format(CultureInfo.InvariantCulture, "localNames[{0}]", i)); 650throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(string.Format(CultureInfo.InvariantCulture, "strings[{0}]", i)); 670throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(string.Format(CultureInfo.InvariantCulture, "strings[{0}]", i));
System\Xml\XmlMtomReader.cs (3)
61throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(String.Format(CultureInfo.InvariantCulture, "encodings[{0}]", i)); 275return String.Format(CultureInfo.InvariantCulture, "<{0}>", startUri); 360contentID = String.Format(CultureInfo.InvariantCulture, "<{0}>", Uri.UnescapeDataString(uri.Substring(MimeGlobals.ContentIDScheme.Length)));
System\Xml\XmlMtomWriter.cs (1)
425mimeWriter.WriteHeader(MimeGlobals.ContentIDHeader, String.Format(CultureInfo.InvariantCulture, "<{0}>", contentID));
System.Security (32)
system\security\cryptography\dataprotection.cs (1)
243throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Arg_EnumIllegalVal"), (int) scope));
system\security\cryptography\pkcs\pkcs7signer.cs (3)
89throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Arg_EnumIllegalVal"), "value")); 92throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Arg_EnumIllegalVal"), "value")); 139throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Arg_EnumIllegalVal"), "value"));
system\security\cryptography\x509\x509ui.cs (1)
93throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Arg_EnumIllegalVal"), "selectionFlag"));
system\security\cryptography\xml\reference.cs (2)
355throw new CryptographicException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Cryptography_Xml_SelfReferenceRequiresContext"), m_uri)); 369throw new CryptographicException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Cryptography_Xml_SelfReferenceRequiresContext"),m_uri));
system\security\cryptography\xml\signedinfo.cs (1)
98throw new CryptographicException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Cryptography_Xml_CreateTransformFailed"), this.CanonicalizationMethod));
system\security\cryptography\xml\SignedXmlDebugLog.cs (20)
227keyName = String.Format(CultureInfo.InvariantCulture, 232keyName = String.Format(CultureInfo.InvariantCulture, 237keyName = String.Format(CultureInfo.InvariantCulture, 335string logMessage = String.Format(CultureInfo.InvariantCulture, 407string logMessage = String.Format(CultureInfo.InvariantCulture, 564string logMessage = String.Format(CultureInfo.InvariantCulture, 626string logMessage = String.Format(CultureInfo.InvariantCulture, 672string logMessage = String.Format(CultureInfo.InvariantCulture, 696string logMessage = String.Format(CultureInfo.InvariantCulture, 826string hashLog = String.Format(CultureInfo.InvariantCulture, 831string signatureLog = String.Format(CultureInfo.InvariantCulture, 854string logMessage = String.Format(CultureInfo.InvariantCulture, 864string hashLog = String.Format(CultureInfo.InvariantCulture, 869string signatureLog = String.Format(CultureInfo.InvariantCulture, 888string buildMessage = String.Format(CultureInfo.InvariantCulture, 899string revocationMode = String.Format(CultureInfo.InvariantCulture, 904string revocationFlag = String.Format(CultureInfo.InvariantCulture, 909string verificationFlags = String.Format(CultureInfo.InvariantCulture, 914string verificationTime = String.Format(CultureInfo.InvariantCulture, 919string urlTimeout = String.Format(CultureInfo.InvariantCulture,
system\security\permissions\dataprotectionpermission.cs (4)
68throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Argument_WrongType"), this.GetType().FullName)); 83throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Argument_WrongType"), this.GetType().FullName)); 100throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Argument_WrongType"), this.GetType().FullName)); 150throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, SecurityResources.GetResourceString("Arg_EnumIllegalVal"), (int)flags));
System.ServiceModel (123)
System\ServiceModel\Activation\Utility.cs (2)
29builder.Path = string.Format(CultureInfo.InvariantCulture, "/{0}/", listenerEndPoint); 299string accountName = string.Format(CultureInfo.InvariantCulture, WindowsServiceAccountFormat, name);
System\ServiceModel\Administration\EndpointInstanceProvider.cs (1)
56string machineAddress = String.Format(CultureInfo.InvariantCulture,
System\ServiceModel\Administration\ServiceInstanceProvider.cs (10)
167result += String.Format(CultureInfo.InvariantCulture, "Certificate: {0}\n", specificBehavior.ClientCertificate.Certificate); 173result += String.Format(CultureInfo.InvariantCulture, "AllowUntrustedRsaIssuers: {0}\n", specificBehavior.IssuedTokenAuthentication.AllowUntrustedRsaIssuers); 174result += String.Format(CultureInfo.InvariantCulture, "CertificateValidationMode: {0}\n", specificBehavior.IssuedTokenAuthentication.CertificateValidationMode); 175result += String.Format(CultureInfo.InvariantCulture, "RevocationMode: {0}\n", specificBehavior.IssuedTokenAuthentication.RevocationMode); 176result += String.Format(CultureInfo.InvariantCulture, "TrustedStoreLocation: {0}\n", specificBehavior.IssuedTokenAuthentication.TrustedStoreLocation); 181result += String.Format(CultureInfo.InvariantCulture, "Known certificate: {0}\n", certificate.FriendlyName); 184result += String.Format(CultureInfo.InvariantCulture, "AudienceUriMode: {0}\n", specificBehavior.IssuedTokenAuthentication.AudienceUriMode); 191result += String.Format(CultureInfo.InvariantCulture, "Allowed Uri: {0}\n", str); 201result += String.Format(CultureInfo.InvariantCulture, "Certificate: {0}\n", specificBehavior.Peer.Certificate.ToString(true)); 211result += String.Format(CultureInfo.InvariantCulture, "ClaimType: {0}\n", claimType);
System\ServiceModel\BasicHttpsSecurityMode.cs (1)
39Fx.Assert(mode == BasicHttpSecurityMode.Transport || mode == BasicHttpSecurityMode.TransportWithMessageCredential, string.Format(CultureInfo.InvariantCulture, "Invalid BasicHttpSecurityMode value: {0}.", mode.ToString()));
System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (2)
448sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "MessageProtectionOrder: {0}", this.messageProtectionOrder.ToString())); 449sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "RequireSignatureConfirmation: {0}", this.requireSignatureConfirmation.ToString()));
System\ServiceModel\Channels\BufferedOutputAsyncStream.cs (2)
805Fx.Assert(!this.writePending, string.Format(CultureInfo.InvariantCulture, "The buffer is in use, position={0}", this.position)); 814Fx.Assert(!this.writePending, string.Format(CultureInfo.InvariantCulture, "The buffer is in use, position={0}", this.position));
System\ServiceModel\Channels\HttpChannelHelpers.cs (2)
2523action = string.Format(CultureInfo.InvariantCulture, "\"{0}\"", UrlUtility.UrlPathEncode(action)); 2667string value = string.Format(CultureInfo.InvariantCulture, "\"{0}\"", parsedContentType.Parameters["action"]);
System\ServiceModel\Channels\HttpChannelListener.cs (12)
758AddSpn(serviceNames, string.Format(CultureInfo.InvariantCulture, hostSpnFormat, hostName)); 759AddSpn(serviceNames, string.Format(CultureInfo.InvariantCulture, httpSpnFormat, hostName)); 766AddSpn(serviceNames, string.Format(CultureInfo.InvariantCulture, hostSpnFormat, dnsSafeHostName)); 767AddSpn(serviceNames, string.Format(CultureInfo.InvariantCulture, httpSpnFormat, dnsSafeHostName)); 773AddSpn(serviceNames, string.Format(CultureInfo.InvariantCulture, hostSpnFormat, dnsSafeHostName)); 774AddSpn(serviceNames, string.Format(CultureInfo.InvariantCulture, httpSpnFormat, dnsSafeHostName)); 775AddSpn(serviceNames, string.Format(CultureInfo.InvariantCulture, hostSpnFormat, hostName)); 776AddSpn(serviceNames, string.Format(CultureInfo.InvariantCulture, httpSpnFormat, hostName)); 783AddSpn(serviceNames, string.Format(CultureInfo.InvariantCulture, hostSpnFormat, hostName)); 784AddSpn(serviceNames, string.Format(CultureInfo.InvariantCulture, httpSpnFormat, hostName)); 791AddSpn(serviceNames, string.Format(CultureInfo.InvariantCulture, hostSpnFormat, localhost)); 792AddSpn(serviceNames, string.Format(CultureInfo.InvariantCulture, httpSpnFormat, localhost));
System\ServiceModel\Channels\HttpMessageHandlerFactory.cs (3)
65string.Format(CultureInfo.InvariantCulture, "handlers[<<{0}>>]", cnt), 72string.Format(CultureInfo.InvariantCulture, "handlers[<<{0}>>]", cnt), 80string.Format(CultureInfo.InvariantCulture, "handlers[<<{0}>>]", cnt),
System\ServiceModel\Channels\PeerConnector.cs (2)
270throw Fx.AssertAndThrow(string.Format(CultureInfo.InvariantCulture, "Neighbor state expected to be Authenticated or Closed, actual state: {0}", neighbor.State)); 279throw Fx.AssertAndThrow(string.Format(CultureInfo.InvariantCulture, "Neighbor state expected to be Faulted or Closed, actual state: {0}", neighbor.State));
System\ServiceModel\Channels\PnrpPeerResolver.cs (5)
345string peerName = string.Format(CultureInfo.InvariantCulture, "0.{0}", meshId); 399pathBuilder.Append(PathSeparator + String.Format(CultureInfo.InvariantCulture, "{0}", guid.ToString())); 402uriBuilder.Path = String.Format(CultureInfo.InvariantCulture, "{0}", pathBuilder.ToString()); 445string peerName = string.Format(CultureInfo.InvariantCulture, "0.{0}", meshName); 647string peerName = string.Format(CultureInfo.InvariantCulture, "0.{0}", meshId);
System\ServiceModel\Channels\SecurityBindingElement.cs (9)
1833sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "{0}:", this.GetType().ToString())); 1834sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "DefaultAlgorithmSuite: {0}", this.defaultAlgorithmSuite.ToString())); 1835sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "IncludeTimestamp: {0}", this.includeTimestamp.ToString())); 1836sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "KeyEntropyMode: {0}", this.keyEntropyMode.ToString())); 1837sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "MessageSecurityVersion: {0}", this.MessageSecurityVersion.ToString())); 1838sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "SecurityHeaderLayout: {0}", this.securityHeaderLayout.ToString())); 1839sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "ProtectTokens: {0}", this.protectTokens.ToString())); 1852sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "OperationSupportingTokenParameters[\"{0}\"]:", requestAction)); 1864sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "OptionalOperationSupportingTokenParameters[\"{0}\"]:", requestAction));
System\ServiceModel\Channels\SymmetricSecurityBindingElement.cs (2)
406sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "MessageProtectionOrder: {0}", this.messageProtectionOrder.ToString())); 407sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "RequireSignatureConfirmation: {0}", this.requireSignatureConfirmation.ToString()));
System\ServiceModel\Channels\WebSocketHelper.cs (1)
177invalidChar = string.Format(CultureInfo.InvariantCulture, "[{0}]", (int)ch);
System\ServiceModel\Configuration\ExtensionsSection.cs (6)
184Fx.Assert(String.Format(CultureInfo.InvariantCulture, "{0} is not a type supported by the ServiceModelExtensionsSection collections.", extensionType.AssemblyQualifiedName)); 185DiagnosticUtility.FailFast(String.Format(CultureInfo.InvariantCulture, "{0} is not a type supported by the ServiceModelExtensionsSection collections.", extensionType.AssemblyQualifiedName)); 234Fx.Assert(String.Format(CultureInfo.InvariantCulture, "{0} is not a valid ServiceModelExtensionsSection collection name.", collectionName)); 235DiagnosticUtility.FailFast(String.Format(CultureInfo.InvariantCulture, "{0} is not a valid ServiceModelExtensionsSection collection name.", collectionName)); 288Fx.Assert(String.Format(CultureInfo.InvariantCulture, "{0} is not a valid ServiceModelExtensionsSection collection name.", collectionName)); 289DiagnosticUtility.FailFast(String.Format(CultureInfo.InvariantCulture, "{0} is not a valid ServiceModelExtensionsSection collection name.", collectionName));
System\ServiceModel\Configuration\UnrecognizedPolicyAssertionElement.cs (2)
66WriteComment(String.Format(CultureInfo.InvariantCulture, "<wsdl:binding name='{0}'>", this.wsdlBinding.Name), indent, writer, settings); 77WriteComment(String.Format(CultureInfo.InvariantCulture, "<wsdl:operation name='{0}'>", operation.Name), indent, writer, settings);
System\ServiceModel\Description\ClientClassGenerator.cs (9)
946return string.Format(CultureInfo.InvariantCulture, "{0}Async", syncMethodName); 951return string.Format(CultureInfo.InvariantCulture, "onBegin{0}Delegate", syncMethodName); 956return string.Format(CultureInfo.InvariantCulture, "OnBegin{0}", syncMethodName); 961return string.Format(CultureInfo.InvariantCulture, "onEnd{0}Delegate", syncMethodName); 966return string.Format(CultureInfo.InvariantCulture, "OnEnd{0}", syncMethodName); 971return string.Format(CultureInfo.InvariantCulture, "on{0}CompletedDelegate", syncMethodName); 976return string.Format(CultureInfo.InvariantCulture, "On{0}Completed", syncMethodName); 981return string.Format(CultureInfo.InvariantCulture, "{0}Completed", syncMethodName); 986return string.Format(CultureInfo.InvariantCulture, "{0}CompletedEventArgs", syncMethodName);
System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (2)
199Fx.Assert(String.Format(CultureInfo.InvariantCulture, "Cannot find DataContract attribute for {0}", messageName)); 201throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(String.Format(CultureInfo.InvariantCulture, "Cannot find DataContract attribute for {0}", messageName)));
System\ServiceModel\Description\MessageContractExporter.cs (1)
531string messageNameBase = string.Format(System.Globalization.CultureInfo.InvariantCulture,
System\ServiceModel\Description\OperationGenerator.cs (3)
423Fx.Assert(System.CodeDom.Compiler.CodeGenerator.IsValidLanguageIndependentIdentifier(name), String.Format(System.Globalization.CultureInfo.InvariantCulture, "Type name '{0}' is not ValidLanguageIndependentIdentifier!", name)); 590Fx.Assert(String.IsNullOrEmpty(typeName) || System.CodeDom.Compiler.CodeGenerator.IsValidLanguageIndependentIdentifier(typeName), String.Format(System.Globalization.CultureInfo.InvariantCulture, "Type name '{0}' is not ValidLanguageIndependentIdentifier!", typeName)); 1037Fx.Assert(String.Format(System.Globalization.CultureInfo.InvariantCulture, "Attribute generation is not supported for argument type {0}", type));
System\ServiceModel\Description\PolicyReader.cs (1)
233return string.Format(CultureInfo.InvariantCulture, "#{0}", id);
System\ServiceModel\Description\ServiceReflector.cs (1)
140throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Cannot generate unique name for name {0}", baseName)));
System\ServiceModel\Description\WsdlExporter.cs (2)
840return string.Format(CultureInfo.InvariantCulture, "#{0}", key); 874return string.Format(CultureInfo.InvariantCulture, "{0}_policy", wsdlBinding.Name);
System\ServiceModel\Description\WsdlHelper.cs (4)
162string policyIdStringWithOldBindingName = string.Format(CultureInfo.InvariantCulture, policyIdStringPrefixFormat, oldBindingName); 163string policyIdStringWithNewBindingName = string.Format(CultureInfo.InvariantCulture, policyIdStringPrefixFormat, newBindingName); 200string policyReferenceValueWithOldBindingName = string.Format(CultureInfo.InvariantCulture, policyReferencePrefixFormat, oldBindingName); 201string policyReferenceValueWithNewBindingName = string.Format(CultureInfo.InvariantCulture, policyReferencePrefixFormat, newBindingName);
System\ServiceModel\Description\WsdlImporter.cs (2)
1781string documentPath = string.Format(CultureInfo.InvariantCulture, xPathDocumentFormatString, wsdlNs); 1867rest += string.Format(CultureInfo.InvariantCulture, xPathItemSubFormatString, messageTag);
System\ServiceModel\Security\IdentityVerifier.cs (1)
296expectedSpn = string.Format(CultureInfo.InvariantCulture, "host/{0}", (string)identity.IdentityClaim.Resource);
System\ServiceModel\Security\IssuedTokensHeader.cs (1)
56throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(String.Format(CultureInfo.InvariantCulture, "tokenIssuances[{0}]", index));
System\ServiceModel\Security\RequestSecurityToken.cs (1)
274throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException(String.Format(CultureInfo.InvariantCulture, "value[{0}]", index)));
System\ServiceModel\Security\RequestSecurityTokenResponseCollection.cs (1)
34throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(String.Format(CultureInfo.InvariantCulture, "rstrCollection[{0}]", index));
System\ServiceModel\Security\SecuritySessionFilter.cs (2)
20static readonly string SessionContextIdsProperty = String.Format(CultureInfo.InvariantCulture, "{0}/SecuritySessionContextIds", DotNetSecurityStrings.Namespace); 247Fx.Assert(String.Format(CultureInfo.InvariantCulture, "Unknown filter type {0}", filter.GetType()));
System\ServiceModel\Security\SecurityUtils.cs (3)
445identity = EndpointIdentity.CreateSpnIdentity(String.Format(CultureInfo.InvariantCulture, "host/{0}", DnsCache.MachineName)); 745spn = String.Format(CultureInfo.InvariantCulture, "host/{0}", (string)identity.IdentityClaim.Resource); 763return string.Format(CultureInfo.InvariantCulture, "host/{0}", target.Uri.DnsSafeHost);
System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (9)
23static readonly string wsidPPIClaim = String.Format(CultureInfo.InvariantCulture, "{0}/claims/privatepersonalidentifier", wsidNamespace); 920sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "TokenType: {0}", this.tokenType == null ? "null" : this.tokenType)); 921sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "KeyType: {0}", this.keyType.ToString())); 922sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "KeySize: {0}", this.keySize.ToString(CultureInfo.InvariantCulture))); 923sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "IssuerAddress: {0}", this.issuerAddress == null ? "null" : this.issuerAddress.ToString())); 924sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "IssuerMetadataAddress: {0}", this.issuerMetadataAddress == null ? "null" : this.issuerMetadataAddress.ToString())); 925sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "DefaultMessgeSecurityVersion: {0}", this.defaultMessageSecurityVersion == null ? "null" : this.defaultMessageSecurityVersion.ToString())); 926sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "UseStrTransform: {0}", this.useStrTransform.ToString())); 938sb.AppendLine(String.Format(CultureInfo.InvariantCulture, " BindingElement[{0}]:", i.ToString(CultureInfo.InvariantCulture)));
System\ServiceModel\Security\Tokens\SecureConversationSecurityTokenParameters.cs (1)
212sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "RequireCancellation: {0}", this.requireCancellation.ToString()));
System\ServiceModel\Security\Tokens\SecurityTokenParameters.cs (4)
197sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "{0}:", this.GetType().ToString())); 198sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "InclusionMode: {0}", this.inclusionMode.ToString())); 199sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "ReferenceStyle: {0}", this.referenceStyle.ToString())); 200sb.Append(String.Format(CultureInfo.InvariantCulture, "RequireDerivedKeys: {0}", this.requireDerivedKeys.ToString()));
System\ServiceModel\Security\Tokens\ServiceModelSecurityTokenRequirement.cs (3)
236sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "{0}:", this.GetType().ToString())); 240sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "PropertyName: {0}", propertyName)); 241sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "PropertyValue: {0}", propertyValue));
System\ServiceModel\Security\Tokens\SslSecurityTokenParameters.cs (2)
132sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "RequireCancellation: {0}", this.RequireCancellation.ToString())); 133sb.Append(String.Format(CultureInfo.InvariantCulture, "RequireClientCertificate: {0}", this.RequireClientCertificate.ToString()));
System\ServiceModel\Security\Tokens\SspiSecurityTokenParameters.cs (1)
112sb.Append(String.Format(CultureInfo.InvariantCulture, "RequireCancellation: {0}", this.RequireCancellation.ToString()));
System\ServiceModel\Security\Tokens\SupportingTokenParameters.cs (4)
121sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "Endorsing[{0}]", k.ToString(CultureInfo.InvariantCulture))); 130sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "Signed[{0}]", k.ToString(CultureInfo.InvariantCulture))); 139sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "SignedEncrypted[{0}]", k.ToString(CultureInfo.InvariantCulture))); 148sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "SignedEndorsing[{0}]", k.ToString(CultureInfo.InvariantCulture)));
System\ServiceModel\Security\Tokens\X509SecurityTokenParameters.cs (1)
146sb.Append(String.Format(CultureInfo.InvariantCulture, "X509ReferenceStyle: {0}", this.x509ReferenceStyle.ToString()));
TD.Designer.cs (2)
1184string description = string.Format(Culture, ResourceManager.GetString("ReceiveContextAbandonFailed", Culture), TypeName); 1245string description = string.Format(Culture, ResourceManager.GetString("ReceiveContextCompleteFailed", Culture), TypeName);
System.ServiceModel.Activation (10)
System\ServiceModel\Activation\HostedHttpRequestAsyncResult.cs (3)
646Fx.Assert(currentStreamedReadState == StreamedReadState.ReceiveStarted, string.Format(CultureInfo.InvariantCulture, "currentStramedReadState is not ReceivedStarted: {0}", currentStreamedReadState)); 652Fx.Assert(this.streamedReadState == StreamedReadState.ReceiveFinishedAfterAbortStarted, string.Format(CultureInfo.InvariantCulture, "currentStramedReadState is not ReceiveFinished: {0}", this.streamedReadState)); 681Fx.Assert(this.streamedReadState == StreamedReadState.Aborted, string.Format(CultureInfo.InvariantCulture, "currentStramedReadState is not Aborted: {0}", this.streamedReadState));
System\ServiceModel\Activation\ServiceRouteHandler.cs (1)
40this.baseAddress = string.Format(CultureInfo.CurrentCulture, "~/{0}", baseAddress);
System\ServiceModel\Activities\Activation\WorkflowServiceHostFactory.cs (2)
248string virtualFileFolder = string.Format(CultureInfo.InvariantCulture, "~\\{0}", Path.Combine(SupportedVersionsFolder, xamlFileName)); 273string virtualFile = string.Format(CultureInfo.InvariantCulture, "~\\{0}", path);
TD.Designer.cs (4)
318string description = string.Format(Culture, ResourceManager.GetString("AspNetRoutingService", Culture), IncomingAddress); 459string description = string.Format(Culture, ResourceManager.GetString("CBAMatchFound", Culture), IncomingAddress); 532string description = string.Format(Culture, ResourceManager.GetString("IncrementBusyCount", Culture), Data); 561string description = string.Format(Culture, ResourceManager.GetString("DecrementBusyCount", Culture), Data);
System.ServiceModel.Activities (8)
System\ServiceModel\Activities\Description\CorrelationQueryBehavior.cs (2)
23static string xPathForCookie = string.Format(CultureInfo.InvariantCulture, defaultQueryFormat, cookieCorrelationName); 316Expression = string.Format(CultureInfo.InvariantCulture, defaultQueryFormat, data.Name),
System\ServiceModel\Activities\WorkflowControlEndpoint.cs (1)
117Uri tempUri = new Uri(string.Format(CultureInfo.InvariantCulture, "net.pipe://localhost/workflowControlServiceEndpoint/{0}",
System\ServiceModel\CorrelationActionMessageFilter.cs (1)
83return string.Format(CultureInfo.InvariantCulture, "Action: {0}", this.Action);
TD.Designer.cs (4)
86string description = string.Format(Culture, ResourceManager.GetString("MaxInstancesExceeded", Culture), limit); 176string description = string.Format(Culture, ResourceManager.GetString("DuplicateCorrelationQuery", Culture), param0); 294string description = string.Format(Culture, ResourceManager.GetString("BufferOutOfOrderMessageNoInstance", Culture), param0); 354string description = string.Format(Culture, ResourceManager.GetString("MaxPendingMessagesPerChannelExceeded", Culture), limit);
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\UdpChannelBase.cs (1)
282messageIdString = string.Format(CultureInfo.CurrentCulture, "'{0}' ", message.Headers.MessageId.ToString());
System.ServiceModel.Discovery (6)
System\ServiceModel\Discovery\FindCriteria.cs (1)
413return new Uri(string.Format(CultureInfo.InvariantCulture, "urn:{0}", contractTypeName.ToString()));
TD.Designer.cs (5)
269string description = string.Format(Culture, ResourceManager.GetString("DiscoveryMessageWithInvalidReplyTo", Culture), messageId); 299string description = string.Format(Culture, ResourceManager.GetString("DiscoveryMessageWithNoContent", Culture), messageType); 329string description = string.Format(Culture, ResourceManager.GetString("DiscoveryMessageWithNullMessageId", Culture), messageType); 420string description = string.Format(Culture, ResourceManager.GetString("DiscoveryMessageWithNullReplyTo", Culture), messageId); 660string description = string.Format(Culture, ResourceManager.GetString("SynchronizationContextReset", Culture), synchronizationContextType);
System.ServiceModel.Internals (6)
TraceCore.Designer.cs (6)
119string description = string.Format(Culture, ResourceManager.GetString("HandledException", Culture), param0); 149string description = string.Format(Culture, ResourceManager.GetString("ShipAssertExceptionMessage", Culture), param0); 212string description = string.Format(Culture, ResourceManager.GetString("UnhandledException", Culture), param0); 393string description = string.Format(Culture, ResourceManager.GetString("HandledExceptionWarning", Culture), param0); 525string description = string.Format(Culture, ResourceManager.GetString("HandledExceptionError", Culture), param0); 556string description = string.Format(Culture, ResourceManager.GetString("HandledExceptionVerbose", Culture), param0);
System.ServiceModel.Routing (15)
TD.Designer.cs (15)
86string description = string.Format(Culture, ResourceManager.GetString("RoutingServiceClosingClient", Culture), param0); 115string description = string.Format(Culture, ResourceManager.GetString("RoutingServiceChannelFaulted", Culture), param0); 204string description = string.Format(Culture, ResourceManager.GetString("RoutingServiceProcessingFailure", Culture), param0); 233string description = string.Format(Culture, ResourceManager.GetString("RoutingServiceCreatingClientForEndpoint", Culture), param0); 417string description = string.Format(Culture, ResourceManager.GetString("RoutingServiceCommittingTransaction", Culture), param0); 448string description = string.Format(Culture, ResourceManager.GetString("RoutingServiceDuplexCallbackException", Culture), param0); 510string description = string.Format(Culture, ResourceManager.GetString("RoutingServiceCreatingTransaction", Culture), param0); 540string description = string.Format(Culture, ResourceManager.GetString("RoutingServiceCloseFailed", Culture), param0); 570string description = string.Format(Culture, ResourceManager.GetString("RoutingServiceSendingResponse", Culture), param0); 600string description = string.Format(Culture, ResourceManager.GetString("RoutingServiceSendingFaultResponse", Culture), param0); 630string description = string.Format(Culture, ResourceManager.GetString("RoutingServiceCompletingReceiveContext", Culture), param0); 660string description = string.Format(Culture, ResourceManager.GetString("RoutingServiceAbandoningReceiveContext", Culture), param0); 690string description = string.Format(Culture, ResourceManager.GetString("RoutingServiceUsingExistingTransaction", Culture), param0); 721string description = string.Format(Culture, ResourceManager.GetString("RoutingServiceTransmitFailed", Culture), param0); 796string description = string.Format(Culture, ResourceManager.GetString("RoutingServiceAbortingChannel", Culture), param0);
System.ServiceModel.Web (6)
System\ServiceModel\Channels\JavascriptXmlWriterWrapper.cs (2)
96byte[] buffer = this.encoding.GetBytes(String.Format(CultureInfo.InvariantCulture, ",{0}", (int)this.JavascriptResponseMessageProperty.StatusCode)); 155byte[] buffer = this.encoding.GetBytes(String.Format(CultureInfo.InvariantCulture, "{0}(", this.JavascriptResponseMessageProperty.CallbackFunctionName));
System\ServiceModel\Channels\JsonMessageEncoderFactory.cs (2)
329byte[] buffer = this.writeEncoding.GetBytes(String.Format(CultureInfo.InvariantCulture, "{0}(", javascriptResponseMessageProperty.CallbackFunctionName)); 342byte[] buffer = this.writeEncoding.GetBytes(String.Format(CultureInfo.InvariantCulture, ",{0}", (int)javascriptResponseMessageProperty.StatusCode));
System\ServiceModel\Dispatcher\HelpHtmlBuilder.cs (1)
80new XAttribute(HtmlHrefAttributeName, String.Format(CultureInfo.InvariantCulture, HelpOperationPageUrl, operationHelpInfo.Name)), operationHelpInfo.Method)),
System\ServiceModel\Web\OutgoingWebResponseContext.cs (1)
316return string.Format(CultureInfo.InvariantCulture, "\"{0}\"", entityTag.ToString());
System.Transactions (21)
System\Transactions\EnlistmentState.cs (8)
110Debug.Assert( false, string.Format( null, "Invalid Event for InternalEnlistment State; Current State: {0}", this.GetType() )); 117Debug.Assert( false, string.Format( null, "Invalid Event for InternalEnlistment State; Current State: {0}", this.GetType() )); 124Debug.Assert( false, string.Format( null, "Invalid Event for InternalEnlistment State; Current State: {0}", this.GetType() )); 131Debug.Assert( false, string.Format( null, "Invalid Event for InternalEnlistment State; Current State: {0}", this.GetType() )); 138Debug.Assert( false, string.Format( null, "Invalid Event for InternalEnlistment State; Current State: {0}", this.GetType() )); 145Debug.Assert( false, string.Format( null, "Invalid Event for InternalEnlistment State; Current State: {0}", this.GetType() )); 152Debug.Assert( false, string.Format( null, "Invalid Event for InternalEnlistment State; Current State: {0}", this.GetType() )); 159Debug.Assert( false, string.Format( null, "Invalid Event for InternalEnlistment State; Current State: {0}", this.GetType() ));
System\Transactions\TransactionState.cs (13)
794Debug.Assert( false, string.Format( null, "Invalid Event for State; Current State: {0}", this.GetType() )); 923Debug.Assert( false, string.Format( null, "Invalid Event for State; Current State: {0}", this.GetType() )); 935Debug.Assert( false, string.Format( null, "Invalid Event for State; Current State: {0}", this.GetType() )); 947Debug.Assert( false, string.Format( null, "Invalid Event for State; Current State: {0}", this.GetType() )); 959Debug.Assert( false, string.Format( null, "Invalid Event for State; Current State: {0}", this.GetType() )); 971Debug.Assert( false, string.Format( null, "Invalid Event for State; Current State: {0}", this.GetType() )); 983Debug.Assert( false, string.Format( null, "Invalid Event for State; Current State: {0}", this.GetType() )); 995Debug.Assert( false, string.Format( null, "Invalid Event for State; Current State: {0}", this.GetType() )); 1007Debug.Assert( false, string.Format( null, "Invalid Event for State; Current State: {0}", this.GetType() )); 1019Debug.Assert( false, string.Format( null, "Invalid Event for State; Current State: {0}", this.GetType() )); 1036Debug.Assert( false, string.Format( null, "Invalid Event for State; Current State: {0}", this.GetType() )); 1043Debug.Assert( false, string.Format( null, "Invalid Event for State; Current State: {0}", this.GetType() )); 1050Debug.Assert( false, string.Format( null, "Invalid Event for State; Current State: {0}", this.GetType() ));
System.Web (38)
Security\ADMembershipProvider.cs (1)
4404errorMsg = SR.GetString(SR.ADMembership_Unknown_Error, string.Format(CultureInfo.InvariantCulture, "{0}", errorCode));
UI\ControlBuilder.cs (2)
103Debug.Assert(typeof(INamingContainer).IsAssignableFrom(ctrlType), String.Format(CultureInfo.InvariantCulture, "NamingContainerBuilder.Control type {0} is not an INamingContainer", ctrlType.FullName)); 121Debug.Assert(typeof(INamingContainer).IsAssignableFrom(ctrlType), String.Format(CultureInfo.InvariantCulture, "NamingContainerBuilder.Control type {0} is not an INamingContainer", ctrlType.FullName));
UI\WebControls\Adapters\MenuAdapter.cs (4)
260expandImage.AlternateText = String.Format( 267expandImage.AlternateText = String.Format( 282writer.Write(HttpUtility.HtmlEncode(String.Format( 290writer.Write(HttpUtility.HtmlEncode(String.Format(
UI\WebControls\BoundColumn.cs (1)
121formattedValue = String.Format(CultureInfo.CurrentCulture, formatting, dataValue);
UI\WebControls\BoundField.cs (3)
410formattedValue = String.Format(CultureInfo.CurrentCulture, formatting, dataValueString); 413formattedValue = String.Format(CultureInfo.CurrentCulture, formatting, dataValue); 428dataValueString = String.Format(CultureInfo.CurrentCulture, formatting, dataValue);
UI\WebControls\ButtonColumn.cs (1)
204formattedTextValue = String.Format(CultureInfo.CurrentCulture, formatting, dataTextValue);
UI\WebControls\ButtonField.cs (1)
183formattedTextValue = String.Format(CultureInfo.CurrentCulture, formatting, dataTextValue);
UI\WebControls\HyperLinkColumn.cs (2)
209formattedUrlValue = String.Format(CultureInfo.CurrentCulture, formatting, dataUrlValue); 228formattedTextValue = String.Format(CultureInfo.CurrentCulture, formatting, dataTextValue);
UI\WebControls\HyperLinkField.cs (1)
267formattedTextValue = String.Format(CultureInfo.CurrentCulture, formatting, dataTextValue);
UI\WebControls\ImageField.cs (2)
336formattedValue = String.Format(CultureInfo.CurrentCulture, formatting, dataValue); 363formattedAlternateText = String.Format(CultureInfo.CurrentCulture, altTextFormatString, value);
UI\WebControls\ListControl.cs (1)
715item.Text = String.Format(CultureInfo.CurrentCulture, textFormat, dataItem);
UI\WebControls\LoginName.cs (1)
101writer.Write(String.Format(CultureInfo.CurrentCulture, formatString, userName));
UI\WebControls\Menu.cs (1)
1468text = string.Format(CultureInfo.CurrentCulture, level.FormatString, objData);
UI\WebControls\MenuItem.cs (4)
239return String.Format(CultureInfo.CurrentCulture, _owner.StaticItemFormatString, Text); 242return String.Format(CultureInfo.CurrentCulture, _owner.DynamicItemFormatString, Text); 1059String.Format(CultureInfo.CurrentCulture, _owner.StaticPopOutImageTextFormatString, Text)); 1064String.Format(CultureInfo.CurrentCulture, _owner.DynamicPopOutImageTextFormatString, Text));
UI\WebControls\ObjectDataSourceView.cs (4)
738throw new InvalidOperationException(SR.GetString(SR.ObjectDataSourceView_CannotConvertType, paramName, paramValueType.FullName, String.Format(CultureInfo.InvariantCulture, "Nullable<{0}>", destinationType.GetGenericArguments()[0].FullName))); 1425string formattedParamName = String.Format(CultureInfo.InvariantCulture, OldValuesParameterFormatString, param0Name); 1431formattedParamName = String.Format(CultureInfo.InvariantCulture, OldValuesParameterFormatString, param1Name); 1777parameterName = String.Format(CultureInfo.InvariantCulture, parameterNameFormatString, parameterName);
UI\WebControls\SqlDataSourceView.cs (1)
641formattedParamName = String.Format(CultureInfo.InvariantCulture, oldValuesParameterFormatString, rawParamName);
UI\WebControls\TreeNode.cs (2)
1215String.Format(CultureInfo.CurrentCulture, imageToolTip, Text)); 1219String.Format(CultureInfo.CurrentCulture, imageToolTip, Text));
UI\WebControls\TreeView.cs (1)
1494text = string.Format(CultureInfo.CurrentCulture, level.FormatString, objData);
UI\WebParts\ConnectionsZone.cs (1)
1926label.Text = String.Format(CultureInfo.CurrentCulture, instructionTitle, WebPartToConnect.DisplayTitle);
UI\WebParts\WebPartChrome.cs (1)
571verbControl.ToolTip = String.Format(CultureInfo.CurrentCulture, verb.Description, webPart.DisplayTitle);
UI\WebParts\WebPartManager.cs (1)
3992string dragOverlayElementHtml = String.Format(CultureInfo.InvariantCulture, DragOverlayElementHtmlTemplate, ClientID);
UI\WebParts\WebPartMenu.cs (1)
229alt = String.Format(CultureInfo.CurrentCulture, verb.Description, associatedWebPart.DisplayTitle);
Util\EnableViewStateMacRegistryHelper.cs (1)
67string keyName = String.Format(CultureInfo.InvariantCulture, @"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v{0}", Environment.Version.ToString(3));
System.Web.ApplicationServices (4)
Hosting\CustomLoaderHelper.cs (2)
98throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ApplicationServicesStrings.CustomLoader_NoAttributeFound, customLoaderAssemblyName)); 108throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ApplicationServicesStrings.CustomLoader_MustImplementICustomLoader, customLoader.GetType()));
Security\MembershipProviderCollection.cs (1)
24throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ApplicationServicesStrings.Provider_must_implement_type, typeof(MembershipProvider).ToString()), "provider");
Util\SecurityServices.cs (1)
34throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, ApplicationServicesStrings.Parameter_can_not_be_empty, paramName), paramName);
System.Web.DataVisualization (10)
Common\Formulas\FormulaHelpers.cs (1)
112Debug.Fail(String.Format(CultureInfo.InvariantCulture, "{0} case is not defined", formula));
Common\SR.cs (1)
12536 return string.Format(global::System.Globalization.CultureInfo.CurrentCulture, resourceManager.GetString(key, _culture), arg0);
Common\Utilities\ValueConverter.cs (4)
120result = String.Format(CultureInfo.CurrentCulture, convertionFormat, DateTime.FromOADate(value)); 131result = String.Format(CultureInfo.CurrentCulture, convertionFormat, DateTime.FromOADate(value)); 146result = String.Format(CultureInfo.CurrentCulture,convertionFormat, value); 160result = String.Format(CultureInfo.CurrentCulture, convertionFormat, (long)value);
WebForm\ChartWebControl.cs (1)
855 result = String.Format(CultureInfo.InvariantCulture, result, imageSeqNumber);
WebForm\General\ChartHttpHandler.cs (3)
212_controllerDirectory = String.Format(CultureInfo.InvariantCulture, "charts_{0}", i); 1865return String.Format( CultureInfo.InvariantCulture, this._keyFormat, this._current.Value.Index); 1875return String.Format(CultureInfo.InvariantCulture, this._keyFormat, ringItem.Index);
System.Web.DynamicData (42)
DynamicData\DataBoundControlParameterTarget.cs (1)
34return attribute.Name + String.Format(CultureInfo.InvariantCulture, "['{0}']", columnName);
DynamicData\DynamicControlParameter.cs (3)
42throw new InvalidOperationException(String.Format( 55throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 162throw new InvalidOperationException(String.Format(
DynamicData\DynamicDataExtensions.cs (1)
315dataValueString = String.Format(CultureInfo.CurrentCulture, formatting, fieldValue);
DynamicData\DynamicDataManager.cs (1)
123String.Format(CultureInfo.CurrentCulture,
DynamicData\DynamicEntity.cs (1)
84throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
DynamicData\DynamicFilterExpression.cs (1)
32throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, "The control '{0}' could not be found.", ControlID));
DynamicData\DynamicHyperLink.cs (5)
136throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 142throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 170throw new InvalidOperationException(String.Format( 206throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.DynamicHyperLink_CannotDetermineTable, this.ID), exception); 210throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.DynamicHyperLink_CannotDetermineTable, this.ID));
DynamicData\DynamicQueryStringParameter.cs (1)
38throw new InvalidOperationException(String.Format(
DynamicData\FieldTemplateUserControl.cs (6)
86throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 101throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 455errorMessage = String.Format(CultureInfo.CurrentCulture, 461errorMessage = String.Format(CultureInfo.CurrentCulture, 468errorMessage = String.Format(CultureInfo.CurrentCulture, 473errorMessage = String.Format(CultureInfo.CurrentCulture,
DynamicData\FilterRepeater.cs (3)
142throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 146throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 183throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
DynamicData\FilterUserControlBase.cs (5)
129throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 139throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 144throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 173throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 345return String.Format(CultureInfo.InvariantCulture, "SelectedDataKey['{0}']", columnName);
DynamicData\MetaModel.cs (6)
127throw new InvalidOperationException(String.Format( 181throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.MetaModel_ContextTypeNotSupported, contextType.FullName)); 223throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.MetaModel_ContextAlreadyRegistered, dataModelProvider.ContextType.FullName)); 412throw new ArgumentException(String.Format( 454throw new ArgumentException(String.Format( 499throw new ArgumentException(String.Format(CultureInfo.CurrentCulture,
DynamicData\MetaTable.cs (1)
773throw new InvalidOperationException(String.Format(
DynamicData\ModelProviders\AssociationProvider.cs (1)
105throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
DynamicData\ModelProviders\EFColumnProvider.cs (1)
113Debug.Assert(false, String.Format(CultureInfo.CurrentCulture, "Unknown EdmType {0}.", edmType.GetType().FullName));
DynamicData\ModelProviders\EFDataModelProvider.cs (1)
87Debug.Assert(result != null, String.Format(CultureInfo.CurrentCulture, "Cannot map EdmType '{0}' to matching CLR Type", entityType));
DynamicData\ModelProviders\SchemaCreator.cs (1)
24throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.SchemaCreator_UnknownModel, contextInstance.GetType().FullName));
DynamicData\Util\DataControlHelper.cs (1)
37throw new Exception(String.Format(
DynamicData\Util\MetaTableHelper.cs (1)
79throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
DynamicData\Util\TemplateFactory.cs (1)
123throw new InvalidOperationException(String.Format(
System.Web.Extensions (115)
ApplicationServices\ApplicationServiceHelper.cs (3)
111throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, AtlasWeb.AppService_Disabled, "AuthenticationService")); 154throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, AtlasWeb.AppService_Disabled, "ProfileService")); 161throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, AtlasWeb.AppService_Disabled, "RoleService"));
ClientServices\Providers\ClientFormsAuthenticationMembershipProvider.cs (1)
149throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, AtlasWeb.AttributeNotRecognized, attribUnrecognized));
ClientServices\Providers\ClientRoleProvider.cs (1)
93throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, AtlasWeb.AttributeNotRecognized, attribUnrecognized));
ClientServices\Providers\ClientSettingsProvider.cs (1)
192throw new ArgumentException(string.Format(CultureInfo.InvariantCulture, AtlasWeb.AttributeNotRecognized, attribUnrecognized));
Compilation\WCFBuildProvider.cs (1)
625throw new System.IO.FileNotFoundException(String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_FailedToLoadAssembly, assemblyName));
Compilation\WCFModel\ExternalFile.cs (1)
102throw new NotSupportedException(String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_InvalidFileName, value));
Compilation\WCFModel\MapFileLoader.cs (1)
342throw new FormatException(String.Format(CultureInfo.CurrentCulture,
Compilation\WCFModel\VSWCFServiceContractGenerator.cs (4)
567new FormatException(String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_SharedTypeMustBePublic, mapping.TypeName))) 903new FormatException(String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_SharedTypeMustBePublic, referencedType.TypeName))) 934new Exception(String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_DataContractExcludedAndIncluded, excludedType.TypeName)))); 1205new FormatException(String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_SharedTypeMustBePublic, referencedCollectionMapping.TypeName)))
Configuration\ConvertersCollection.cs (2)
83throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ConvertersCollection_UnknownType, converter.Type)); 87throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ConvertersCollection_NotJavaScriptConverter, t.Name));
Handlers\ScriptResourceHandler.cs (2)
787throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ScriptResourceHandler_ResourceUrlTooLong, _maximumResourceUrlLength)); 807throw new HttpException(String.Format(CultureInfo.CurrentCulture,
Script\Serialization\JavaScriptObjectDeserializer.cs (2)
36throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.JSON_IllegalPrimitive, jsod._s.ToString())); 267throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.JSON_IllegalPrimitive, input));
Script\Serialization\JavaScriptSerializer.cs (2)
322throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.JSON_DictionaryTypeNotSupported, o.GetType().FullName)); 504throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.JSON_CircularReference, type.FullName));
Script\Serialization\ObjectConverter.cs (5)
190throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.JSON_DictionaryTypeNotSupported, type.FullName)); 233throw new MissingMethodException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.JSON_NoConstructor, type.FullName)); 236throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.JSON_DeserializerTypeMismatch, type.FullName)); 477throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.JSON_CannotCreateListType, type.FullName)); 512throw new InvalidOperationException(String.Format(
Script\Services\ProxyGenerator.cs (2)
55throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, 60throw new ArgumentException(String.Format(CultureInfo.CurrentCulture,
Script\Services\WebServiceData.cs (4)
142throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.WebService_NoWebServiceDataInlineScript, virtualPath)); 145throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.WebService_NoWebServiceData, virtualPath)); 273String.Format(CultureInfo.CurrentCulture, AtlasWeb.WebService_UnknownWebMethod, methodName), "methodName"); 350throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture,
Script\Services\WebServiceMethodData.cs (1)
172throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.WebService_MissingArg, paramData.ParameterInfo.Name));
UI\AsyncPostBackTrigger.cs (1)
85throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.Common_ScriptManagerRequired, Owner.ID));
UI\ExtenderControl.cs (2)
63throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 126throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture,
UI\PageRequestManager.cs (6)
226return new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptManager_InvalidControlRegistration, control.ID)); 580throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptManager_CannotRegisterBothPostBacks, control.ID)); 605String.Format( 627throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptManager_CannotRegisterBothPostBacks, control.ID)); 645String.Format(CultureInfo.InvariantCulture, "The UpdatePanel with ID '{0}' has already been registered with the ScriptManager.", updatePanel.ID)); 918throw new ArgumentException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptManager_UpdatePanelNotRegistered, updatePanel.ID), "updatePanel");
UI\PostBackTrigger.cs (1)
51throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.Common_ScriptManagerRequired, Owner.ID));
UI\ProfileServiceManager.cs (1)
204throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, AtlasWeb.AppService_UnknownProfileProperty, fullPropertyName));
UI\ScriptControl.cs (1)
55throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture,
UI\ScriptControlManager.cs (4)
194String.Format(CultureInfo.InvariantCulture, 203String.Format(CultureInfo.InvariantCulture, 230String.Format(CultureInfo.InvariantCulture, 240String.Format(CultureInfo.InvariantCulture,
UI\ScriptManagerProxy.cs (1)
151throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.Common_ScriptManagerRequired, ID));
UI\ScriptReference.cs (1)
244String.Format(CultureInfo.CurrentUICulture, AtlasWeb.ScriptReference_InvalidReleaseScriptName, releaseName));
UI\ScriptReferenceBase.cs (1)
179String.Format(CultureInfo.CurrentUICulture, AtlasWeb.ScriptReference_InvalidReleaseScriptPath, pathWithoutQuery));
UI\ScriptResourceAttribute.cs (2)
128throw new HttpException(String.Format(CultureInfo.CurrentCulture, 195throw new HttpException(String.Format(
UI\ScriptResourceMapping.cs (1)
46String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptResourceDefinition_InvalidPath, path));
UI\ServiceReference.cs (1)
74String.Format(CultureInfo.InvariantCulture, AtlasWeb.WebService_InvalidInlineVirtualPath, serviceUrl));
UI\Timer.cs (1)
98throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.Common_ScriptManagerRequired, ID));
UI\UpdatePanel.cs (10)
102throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_CannotSetContentTemplate, ID)); 196throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.Common_ScriptManagerRequired, ID)); 353throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_ChildrenTriggersAndUpdateAlways, ID)); 441throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_UpdateConditional, ID)); 445throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_UpdateTooLate, ID)); 472throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_CannotModifyControlCollection, Owner.ID)); 476throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_CannotModifyControlCollection, Owner.ID)); 480throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_CannotModifyControlCollection, Owner.ID)); 495throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_CannotModifyControlCollection, Owner.ID)); 502throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_CannotModifyControlCollection, Owner.ID));
UI\UpdatePanelControlTrigger.cs (1)
40throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanelControlTrigger_NoControlID, Owner.ID));
UI\UpdateProgress.cs (2)
128throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.Common_ScriptManagerRequired, ID)); 198throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdateProgress_NoUpdatePanel, AssociatedUpdatePanelID));
UI\WebControls\DataPager.cs (3)
295throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.DataPager_PageableItemContainerNotFound, PagedControlID)); 299throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.DataPager_ControlIsntPageable, PagedControlID)); 310throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.DataPager_NoNamingContainer, ID));
UI\WebControls\DataSourceHelper.cs (1)
191String.Format(CultureInfo.InvariantCulture, "Nullable<{0}>",
UI\WebControls\Expressions\MethodExpression.cs (4)
83MethodName = String.Format(CultureInfo.CurrentCulture, MethodName, dataSource.EntitySetName); 121throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 126throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 157throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.MethodExpression_ChangingTheReturnTypeIsNotAllowed,
UI\WebControls\Expressions\OfTypeExpression.cs (1)
59throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
UI\WebControls\LinqDataSourceView.cs (14)
113throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 120throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 135throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 176throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 215throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 610throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 922throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 929throw new NotSupportedException(String.Format(CultureInfo.InvariantCulture, 937throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 941throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 948throw new NotSupportedException(String.Format(CultureInfo.InvariantCulture, 953throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 961throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 969throw new NotSupportedException(String.Format(CultureInfo.InvariantCulture,
UI\WebControls\ListView.cs (14)
533throw new ArgumentOutOfRangeException("value", String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_ContainerNameMustNotBeEmpty, "GroupPlaceholderID")); 669throw new ArgumentOutOfRangeException("value", String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_ContainerNameMustNotBeEmpty, "ItemPlaceholderID")); 785throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_DataKeyNamesMustBeSpecified, ID)); 1455throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NullView, ID)); 1478throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NeedICollectionOrTotalRowCount, GetType().Name)); 1506throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_Missing_VirtualItemCount, ID)); 1617throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_InsertTemplateRequired, ID)); 2191throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NullView, ID)); 2336throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NullView, ID)); 2408throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NullView, ID)); 2497throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NullView, ID)); 2527throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NullView, ID)); 2647throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_ItemTemplateRequired, ID)); 3281throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_DataSourceDoesntSupportPaging, DataSourceID));
UI\WebControls\QueryableDataSourceHelper.cs (2)
122throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 139throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture,
UI\WebControls\QueryableDataSourceView.cs (4)
402throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 413throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 426throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 468throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture,
UI\WebControls\QueryExtender.cs (1)
44String.Format(CultureInfo.CurrentCulture,
UI\WebControls\TemplatePagerField.cs (1)
119throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.TemplatePagerField_UnhandledEvent, "PagerCommand"));
System.Web.Mobile (25)
UI\MobileControls\Adapters\EmptyTextWriter.cs (2)
165if (!IsWhiteSpace(format) && !IsWhiteSpace(String.Format(CultureInfo.CurrentCulture, format, arg0))) 290if (!IsWhiteSpace(format) && !IsWhiteSpace(String.Format(CultureInfo.CurrentCulture, format, arg0)))
UI\MobileControls\Adapters\HtmlCalendarAdapter.cs (1)
136String.Format(CultureInfo.CurrentCulture, "bgcolor=\"{0}\" ", bgColorDistance < _bgColorDistanceTreshold ? "White" : "Silver");
UI\MobileControls\Adapters\HtmlObjectListAdapter.cs (4)
216String.Format(CultureInfo.InvariantCulture, ShowMoreFormat, item.Index.ToString(CultureInfo.InvariantCulture)); 243String.Format(CultureInfo.InvariantCulture, ShowMoreFormat, item.Index), 306String.Format(CultureInfo.InvariantCulture, ShowMoreFormat, item.Index), 327RenderPostBackEventAsAttribute(writer, "href", String.Format(CultureInfo.InvariantCulture, ShowMoreFormat, item.Index));
UI\MobileControls\Adapters\UpWmlMobileTextWriter.cs (1)
146Write(String.Format(CultureInfo.InvariantCulture, _loopDetectionCard, Page.ActiveForm.ClientID));
UI\MobileControls\Adapters\WmlObjectListAdapter.cs (2)
182String.Format(CultureInfo.InvariantCulture, _showMoreFormatAnchor, item.Index) : 214String.Format(CultureInfo.InvariantCulture, _showMoreFormatAnchor, item.Index) :
UI\MobileControls\Adapters\WmlPageAdapter.cs (1)
408writer.Write(String.Format(CultureInfo.InvariantCulture, _headerEncoding, charset));
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicObjectListAdapter.cs (4)
494String.Format(CultureInfo.InvariantCulture, ShowMoreFormat, item.Index), 526String.Format(CultureInfo.InvariantCulture, ShowMoreFormat, item.Index), 569String eventArgument = HasDefaultCommand() ? item.Index.ToString(CultureInfo.InvariantCulture) : String.Format(CultureInfo.InvariantCulture, ShowMoreFormat, item.Index.ToString(CultureInfo.InvariantCulture)); 583String.Format(CultureInfo.InvariantCulture, ShowMoreFormat, item.Index),
UI\MobileControls\Design\Adapters\DesignerCommandAdapter.cs (2)
103tmpRequiredWidth = MSHTMLHostUtil.GetHtmlFragmentWidth(String.Format(CultureInfo.CurrentCulture, htmlFragment, HttpUtility.HtmlEncode(controlText.Substring(0, allowedLength)))); 133additionalStyle = String.Format(CultureInfo.CurrentCulture, "width:{0};", width);
UI\MobileControls\Design\Adapters\DesignerTextBoxAdapter.cs (2)
104requiredWidth = MSHTMLHostUtil.GetHtmlFragmentWidth(size > 0 ? String.Format(CultureInfo.InvariantCulture, htmlFragment, size) : htmlFragment); 122requiredWidth = MSHTMLHostUtil.GetHtmlFragmentWidth(String.Format(CultureInfo.InvariantCulture, htmlFragment, fittingSize));
UI\MobileControls\Design\DesignerCapabilities.cs (2)
139String.Format(CultureInfo.CurrentCulture, "property {0} not defined in DesignerCapabilities", key)); 141String.Format(CultureInfo.CurrentCulture, "property {0} invalid type defined", key));
UI\MobileControls\Design\MobileTemplatedControlDesigner.cs (1)
651templateContent = String.Format(CultureInfo.CurrentCulture, _illFormedHtml, _illFormedWarning);
UI\MobileControls\ObjectListField.cs (1)
220dataText = String.Format(CultureInfo.InvariantCulture, dataFormatString, data);
UI\MobileControls\PagerStyle.cs (2)
105return String.Format(CultureInfo.CurrentCulture, s, currentPageIndex + 1); 119return String.Format(CultureInfo.CurrentCulture, s, currentPageIndex - 1);
System.Windows.Forms (17)
winforms\Managed\System\WinForms\BindingNavigator.cs (1)
554countItem.Text = DesignMode ? CountItemFormat : String.Format(CultureInfo.CurrentCulture, CountItemFormat, count);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (4)
541Debug.Fail(String.Format(CultureInfo.CurrentCulture, "ITypeInfo::GetDocumentation didn't return a name for DISPID 0x{0:X} but returned SUCEEDED(hr), Component=" + cnd.GetClassName(typeInfo), dispid)); 766Debug.WriteLineIf(DbgTypeInfoProcessorSwitch.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "ProcessTypeInfoEnum: ignoring item 0x{0:X} because ITypeInfo::GetVarDesc returned hr=0x{1:X} or NULL", hr)); 789Debug.WriteLineIf(DbgTypeInfoProcessorSwitch.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "ProcessTypeInfoEnum: ignoring item 0x{0:X} because ITypeInfo::GetDocumentation returned hr=0x{1:X} or NULL", hr)); 905Debug.WriteLineIf(DbgTypeInfoProcessorSwitch.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "ProcessTypeInfoEnum: ignoring variable item 0x{0:X} because ITypeInfo::GetFuncDesc returned hr=0x{1:X} or NULL", hr));
winforms\Managed\System\WinForms\Control.cs (1)
16847Debug.WriteLineIf(CompModSwitches.ActiveX.TraceInfo, "IDispatch::Invoke failed. HR: 0x" + String.Format(CultureInfo.CurrentCulture, "{0:X}", hr));
winforms\Managed\System\WinForms\TableLayoutSettingsTypeConverter.cs (2)
153Debug.Fail(string.Format(CultureInfo.CurrentCulture, "Failed to parse int: {0}", attributeValue)); 229Debug.Fail(string.Format(CultureInfo.CurrentCulture, "Failed to parse float for style: {0}", floatString));
winforms\Managed\System\WinForms\ToolStrip.cs (5)
3531Debug.WriteLineIf(ToolStripItem.MouseDebugging.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "Item to get mouse move: {0}", (item == null) ? "null" : item.ToString())); 3533Debug.WriteLineIf(ToolStripItem.MouseDebugging.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "This is a new item - last item to get was {0}", (lastMouseActiveItem == null) ? "null" : lastMouseActiveItem.ToString())); 3542Debug.WriteLineIf(ToolStripItem.MouseDebugging.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "Firing MouseEnter on: {0}", (lastMouseActiveItem == null) ? "null" : lastMouseActiveItem.ToString())); 3559Debug.WriteLineIf(ToolStripItem.MouseDebugging.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "Firing MouseMove on: {0}", (item == null) ? "null" : item.ToString())); 3568Debug.WriteLineIf(ToolStripItem.MouseDebugging.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "Firing MouseMove on: {0}", (this == null) ? "null" : this.ToString()));
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
3927Debug.WriteLineIf(ToolStrip.SelectionDebug.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "[Selection DBG] WBI.Unselect: {0}", this.ToString()));
winforms\Managed\System\WinForms\ToolStripManager.cs (1)
1714Debug.WriteLineIf(ToolStrip.SnapFocusDebug.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "[ProcessMenuKey] MenuStripToActivate is: {0}", menuStripToActivate));
winforms\Managed\System\WinForms\ToolStripPanel.cs (1)
1239Debug.Fail(String.Format(CultureInfo.CurrentCulture, "ToolStripPanelRow has not been assigned! Should be set to {0}.", i));
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
747Debug.Assert(hr == NativeMethods.S_OK, String.Format(CultureInfo.CurrentCulture, "DoVerb call failed for verb 0x{0:X}", verb));
System.Windows.Forms.DataVisualization (6)
Common\Formulas\FormulaHelpers.cs (1)
112Debug.Fail(String.Format(CultureInfo.InvariantCulture, "{0} case is not defined", formula));
Common\SR.cs (1)
12536 return string.Format(global::System.Globalization.CultureInfo.CurrentCulture, resourceManager.GetString(key, _culture), arg0);
Common\Utilities\ValueConverter.cs (4)
120result = String.Format(CultureInfo.CurrentCulture, convertionFormat, DateTime.FromOADate(value)); 131result = String.Format(CultureInfo.CurrentCulture, convertionFormat, DateTime.FromOADate(value)); 146result = String.Format(CultureInfo.CurrentCulture,convertionFormat, value); 160result = String.Format(CultureInfo.CurrentCulture, convertionFormat, (long)value);
System.Workflow.Activities (21)
CorrelationValidator.cs (10)
40ValidationError error = new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_GenericMethodsNotSupported), interfaceType.FullName), ErrorNumbers.Error_GenericMethodsNotSupported); 49ValidationError error = new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_ExternalDataExchangeException), interfaceType.FullName), ErrorNumbers.Error_TypeNotExist); 79ValidationError error = new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_GenericMethodsNotSupported), methodInfo.Name), ErrorNumbers.Error_GenericMethodsNotSupported); 121validationErrors.Add(new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_MissingCorrelationTokenProperty), activity.QualifiedName), ErrorNumbers.Error_ParameterPropertyNotSet, false, "CorrelationToken")); 127validationErrors.Add(new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_MissingCorrelationTokenOwnerNameProperty), activity.QualifiedName), ErrorNumbers.Error_ParameterPropertyNotSet, false, "CorrelationToken")); 158ValidationError error = new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_OwnerActivityIsNotParent), activity.QualifiedName), ErrorNumbers.Error_ParameterPropertyNotSet); 172ValidationError error = new ValidationError(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_InitializerInReplicator), replicatorParent.QualifiedName), ErrorNumbers.Error_InitializerInReplicator, false); 428string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_GenericMethodsNotSupported), (memberInfo is EventInfo) ? delegateType.Name : methodInfo.Name), ErrorNumbers.Error_GenericMethodsNotSupported); 439string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_ReturnTypeNotVoid), (memberInfo is EventInfo) ? delegateType.Name : methodInfo.Name), ErrorNumbers.Error_ReturnTypeNotVoid); 929validationErrors.Add(new ValidationError(string.Format(CultureInfo.CurrentCulture,
Designers\StateDesigner.cs (1)
1966string.Format(System.Globalization.CultureInfo.InvariantCulture,
LocalService\ExternalDataExchangeService.cs (4)
72throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, 92String.Format(Thread.CurrentThread.CurrentCulture, SR.GetString(SR.Error_UnknownConfigurationParameter), key), "parameters"); 99throw new ArgumentException(String.Format(CultureInfo.CurrentCulture, 281throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_ExternalDataExchangeServiceExists), type));
Rules\Tracer.cs (1)
37tracePrefix = string.Format(CultureInfo.CurrentCulture, traceRuleHeader, name);
SR.cs (5)
23System.Diagnostics.Debug.Assert(DescriptionValue != null, string.Format(CultureInfo.CurrentCulture, "String resource {0} not found.", description)); 49System.Diagnostics.Debug.Assert(localizedString != null, string.Format(CultureInfo.CurrentCulture, "String resource {0} not found.", value)); 71System.Diagnostics.Debug.Assert(DisplayNameValue != null, string.Format(CultureInfo.CurrentCulture, "String resource {0} not found.", name)); 112System.Diagnostics.Debug.Assert(res != null, string.Format(CultureInfo.CurrentCulture, "String resource {0} not found.", name)); 134System.Diagnostics.Debug.Assert(res != null, string.Format(CultureInfo.CurrentCulture, "String resource {0} not found.", name));
System.Workflow.ComponentModel (15)
AuthoringOM\Compiler\CompileXomlTask.cs (1)
486normalizedVersion = string.Format(CultureInfo.InvariantCulture, "v{0}.0", parts[0]);
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (1)
635return this.typeProvider.GetType(String.Format(CultureInfo.InvariantCulture, "{0}[]", this.FullName));
AuthoringOM\Compiler\XomlCompilerHelpers.cs (1)
52new WorkflowCompilerError(string.Empty, 0, 0, ErrorNumbers.Error_LibraryPath.ToString(CultureInfo.InvariantCulture), string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.LibraryPathIsInvalid), libraryPath));
AuthoringOM\Design\ActivityDesigner.cs (1)
2223verb.Properties["Text"] = (propertyName != null && verb.Enabled) ? string.Format(CultureInfo.CurrentCulture, DR.GetString(DR.BindSelectedPropertyFormat), propertyName) : DR.GetString(DR.BindSelectedProperty);
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (8)
144this.Text = string.Format(CultureInfo.CurrentCulture, ActivityBindDialogTitleFormat, context.PropertyDescriptor.Name); 207this.newMemberHelpTextBox.Lines = string.Format(CultureInfo.CurrentCulture, CreateNewMemberHelpFormat, GetSimpleTypeFullName(this.boundType)).Split(new char[] { '\n' }); 374helpMessage = string.Format(CultureInfo.CurrentCulture, PleaseSelectActivityProperty, desiredType); 383helpMessage = string.Format(CultureInfo.CurrentCulture, PropertyAssignableFormat, memberType, desiredType) + ((memberDescription.Length > 0) ? string.Format(CultureInfo.CurrentCulture, DescriptionFormat, memberDescription) : string.Empty); 392helpMessage = string.Format(CultureInfo.CurrentCulture, PleaseSelectActivityProperty, desiredType); 1026DesignerHelpers.ShowError(this.parent.serviceProvider, string.Format(CultureInfo.CurrentCulture, this.parent.IncorrectIndexChange, newLabel)); 1072this.TreeView.ImageList.Images.Add(string.Format(CultureInfo.InvariantCulture, MemberTypeFormat, i), image); //member type key is non-localizable 1106node.ImageIndex = node.SelectedImageIndex = this.TreeView.ImageList.Images.IndexOfKey(string.Format(CultureInfo.InvariantCulture, MemberTypeFormat, imageNumber)); //it's non-localizable
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (1)
661Debug.Assert(false, string.Format(CultureInfo.CurrentCulture, "Could not load type '{0}'", stockTypeName));
AuthoringOM\Serializer\WorkflowMarkupSerializerMapping.cs (2)
447prefix = basePrefix + string.Format(CultureInfo.InvariantCulture, "{0}", index++); 449prefix = basePrefix + string.Format(CultureInfo.InvariantCulture, "{0}", index++);
System.Workflow.Runtime (4)
DebugEngine\DebugController.cs (2)
303Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "WDE: DebugController.Attach(): programId = {0}", programId)); 502controllerConduitType = Type.GetType(string.Format(CultureInfo.InvariantCulture, controllerConduitTypeFormat, version));
DebugEngine\DebugControllerThread.cs (1)
121eeFrameType = Type.GetType(string.Format(CultureInfo.InvariantCulture, eeFrameTypeNameFormat, version));
WorkBatch.cs (1)
239Debug.Assert(!workItems.ContainsKey(orderId), string.Format(System.Globalization.CultureInfo.InvariantCulture, "List already contains key {0}", orderId));
System.Xml (8)
System\Xml\Serialization\XmlSerializationReader.cs (2)
4555Writer.WriteLine(String.Format(CultureInfo.InvariantCulture, "int whileIterations{0} = 0;", nextWhileLoopIndex)); 4556Writer.WriteLine(String.Format(CultureInfo.InvariantCulture, "int readerCount{0} = ReaderCount;", nextWhileLoopIndex));
System\Xml\Serialization\XmlSerializationReaderILGen.cs (4)
3455ilg.Stloc(typeof(Int32), String.Format(CultureInfo.InvariantCulture, "whileIterations{0}", nextWhileLoopIndex)); 3458ilg.Stloc(typeof(Int32), String.Format(CultureInfo.InvariantCulture, "readerCount{0}", nextWhileLoopIndex)); 3472ilg.Ldloca(ilg.GetLocal(String.Format(CultureInfo.InvariantCulture, "whileIterations{0}", loopIndex))); 3473ilg.Ldloca(ilg.GetLocal(String.Format(CultureInfo.InvariantCulture, "readerCount{0}", loopIndex)));
System\Xml\XmlException.cs (2)
258aStringList[1] = string.Format(CultureInfo.InvariantCulture, "0x{0:X2}", combinedChar); 268aStringList[1] = string.Format(CultureInfo.InvariantCulture, "0x{0:X2}", (int)invChar);
UIAutomationClientsideProviders (4)
MS\Internal\AutomationProxies\Accessible.cs (3)
1226Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "Unexpected exception thrown for AccessibleChildren: {0}", e)); 1438Debug.Assert(false, string.Format(CultureInfo.CurrentCulture, "MsaaNativeProvider: IAccessible threw a COMException: {0}", e.Message)); 1460Debug.Assert(false, string.Format(CultureInfo.CurrentCulture, "Unexpected IAccessible exception: {0}", e));
MS\Internal\AutomationProxies\MSAAEventDispatcher.cs (1)
167Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "ERROR: AdviseEventRemoved called for {0} without matching AdviseEventAdded.", hwnd), "NativeMsaaProxy");
WindowsBase (2)
Base\MS\Internal\Interop\ErrorCodes.cs (1)
336return string.Format(CultureInfo.InvariantCulture, "0x{0:X8}", _value);
Base\MS\Internal\NamedObject.cs (1)
39_name = String.Format(CultureInfo.InvariantCulture, "{{{0}}}", _name);
WsatConfig (3)
CommandLine\OptionUsage.cs (2)
173string optionString = String.Format(CultureInfo.InvariantCulture, "-{0}", option); 191Console.Write(string.Format(CultureInfo.InvariantCulture, optionOnlyPattern, optionUses[i]));
Configuration\WsatServiceAddress.cs (1)
22wsatServiceAddress = String.Format(CultureInfo.InvariantCulture, wsatServiceAddressFormat, this.port);
WsatUI (2)
Configuration\ETWWsatTraceSession.cs (1)
211string backupFile2 = backupFile + "-" + String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0:00}", attemptNum);
Configuration\WsatServiceAddress.cs (1)
22wsatServiceAddress = String.Format(CultureInfo.InvariantCulture, wsatServiceAddressFormat, this.port);