550 references to Format
Aspire.Dashboard.Components.Tests (1)
Pages\ConsoleLogsTests.cs (1)
495string.Format(
Client.ClientBase.IntegrationTests (1)
ClientBaseTests.4.1.0.cs (1)
97string.Format("Expected cookie named '{0}' to be set to '{1}', but the actual value was '{2}'", cookieName, timeReturned, timeSetInCookie));
Client.ExpectedExceptions.IntegrationTests (6)
ExpectedExceptionTests.4.0.0.cs (4)
97String.Format("Expected elapsed time to be >= to {0} and <= to {1}\nActual elapsed time was: {2}", lowRange, highRange, watch.ElapsedMilliseconds)); 144String.Format("Expected elapsed time to be >= to {0} and <= to {1}\nActual elapsed time was: {2}", lowRange, highRange, watch.ElapsedMilliseconds)); 355String.Format("Expected operation #{0} to return '{1}' but actual was '{2}'", 380String.Format("The {0} operations took {1} ms to complete which exceeds the expected {2} ms",
ExpectedExceptionTests.4.1.0.cs (2)
605String.Format("Expected operation #{0} to return '{1}' but actual was '{2}'", 632String.Format("The {0} operations took {1} ms to complete which exceeds the expected {2} ms",
Contract.Message.IntegrationTests (1)
MessageContractTests.4.4.0.cs (1)
75String.Format("The {0} element was expected to return {1} items, actual = {2}",
dotnet-svcutil.xmlserializer (1)
src\Common\src\System\SR.cs (1)
60return String.Format(resourceFormat, p1, p2, p3);
dotnet-svcutil-lib (176)
CodeDomFixup\EndpointSelector.cs (1)
137s_bindingValidationErrors.Add(string.Format(SR.BindingMessageEncodingElementNotSupportedFormat, bindingElement.GetType().FullName,
CommandProcessorOptions.cs (2)
933throw new ToolArgumentException(string.Format(SR.ErrCannotDisambiguateSpecifiedTypesFormat, 981throw new ToolArgumentException(string.Format(SR.ErrCannotLoadSpecifiedTypeFormat, Switches.CollectionType.Name, collectionType, Switches.Reference.Name));
FrameworkFork\Microsoft.CodeDom\Compiler\CodeValidator.cs (2)
709String message = string.Format(SRCodeDom.InvalidTypeName, typeName, propertyName, e.GetType().FullName); 718String message = string.Format(SRCodeDom.InvalidLanguageIdentifier, identifier, propertyName, e.GetType().FullName);
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (1)
2119string innerStr = string.Format(ResXml.Xml_BadNameCharWithPos, invCharArgs[0], invCharArgs[1], len);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (1)
1760string innerStr = string.Format(ResXml.Xml_BadNameCharWithPos, invCharArgs[0], invCharArgs[1], len);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlValueConverter.cs (2)
566return new InvalidCastException(string.Format(ResXml.XmlConvert_TypeBadMapping2, XmlTypeName, sourceType.Name, destinationType.Name)); 3662return new InvalidCastException(string.Format(ResXml.XmlConvert_TypeListBadMapping2, XmlTypeName, sourceType.Name, destinationType.Name));
FrameworkFork\Microsoft.Xml\Xml\Serialization\Compilation.cs (1)
148throw new InvalidOperationException(string.Format(ResXml.XmlInvalidEncoding3, encodingStyle, Soap.Encoding, Soap12.Encoding));
FrameworkFork\Microsoft.Xml\Xml\Serialization\ImportContext.cs (1)
172Warnings.Add(string.Format(ResXml.XmlMismatchSchemaObjects, item.GetType().Name, qname.Name, qname.Namespace));
FrameworkFork\Microsoft.Xml\Xml\Serialization\Mappings.cs (3)
651throw new InvalidOperationException(string.Format(ResXml.XmlIllegalTypedTextAttribute, TypeDesc.FullName, text.Name, text.Mapping.TypeDesc.FullName)); 1309throw new InvalidOperationException(string.Format(ResXml.XmlSerializableRootDupName, _getSchemaMethod.DeclaringType.FullName, e.Name, elementNs)); 1395throw new InvalidOperationException(string.Format(ResXml.XmlGetSchemaInclude, _xsiType.Namespace, _getSchemaMethod.DeclaringType.FullName, _getSchemaMethod.Name));
FrameworkFork\Microsoft.Xml\Xml\Serialization\Models.cs (2)
290throw new InvalidOperationException(string.Format(ResXml.XmlInvalidSpecifiedType, specifiedField.Name, specifiedField.FieldType.FullName, typeof(bool).FullName)); 307throw new InvalidOperationException(string.Format(ResXml.XmlInvalidSpecifiedType, specifiedProperty.Name, specifiedProperty.PropertyType.FullName, typeof(bool).FullName));
FrameworkFork\Microsoft.Xml\Xml\Serialization\SchemaImporter.cs (1)
168throw new InvalidOperationException(string.Format(ResXml.XmlInvalidBaseType, structMapping.TypeDesc.FullName, baseType.FullName, typeDescToChange.BaseTypeDesc.FullName));
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (2)
207throw new InvalidOperationException(string.Format(ResXml.XmlInvalidXsdDataType, dataType, "SoapElementAttribute.DataType", new XmlQualifiedName(dataType, XmlSchema.Namespace).ToString())); 211throw new InvalidOperationException(string.Format(ResXml.XmlDataTypeMismatch, dataType, "SoapElementAttribute.DataType", model.TypeDesc.FullName));
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (5)
65throw new InvalidOperationException(string.Format(ResXml.XmlPrimitiveBaseType, name.Name, name.Namespace, baseType.FullName)); 202throw new InvalidOperationException(string.Format(ResXml.XmlInvalidSchemaElementType, parentType.Name, parentType.Namespace, element.Name)); 207throw new InvalidOperationException(string.Format(ResXml.XmlInvalidSchemaElementType, parentType.Name, parentType.Namespace, element.Name)); 218throw new InvalidOperationException(string.Format(ResXml.XmlElementMissingType, parentType.Name, parentType.Namespace, element.Name)); 301throw new InvalidOperationException(string.Format(ResXml.XmlInvalidSchemaElementType, parentType.Name, parentType.Namespace, element.Name));
FrameworkFork\Microsoft.Xml\Xml\Serialization\Types.cs (2)
1330throw new InvalidOperationException(string.Format(ResXml.XmlNoAddMethod, type.FullName, currentType, "IEnumerable")); 1386throw new InvalidOperationException(string.Format(ResXml.XmlNoAddMethod, type.FullName, indexer.PropertyType, "ICollection"));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (3)
427AddWarningComment(comments, string.Format(ResXml.XmlDropAttributeValue, attributeName, mapping.TypeName, defaultValue.ToString())); 437AddWarningComment(comments, string.Format(ResXml.XmlDropArrayAttributeValue, attributeName, defaultValue.ToString(), ((ElementAccessor)accessor).Name)); 494AddWarningComment(comments, string.Format(ResXml.XmlDropAttributeValue, attributeName, pm.TypeName, defaultValue.ToString()));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (13)
402throw new InvalidOperationException(string.Format(ResXml.XmlInvalidXsdDataType, dataType, "XmlElementAttribute.DataType", new XmlQualifiedName(dataType, XmlSchema.Namespace).ToString())); 406throw new InvalidOperationException(string.Format(ResXml.XmlDataTypeMismatch, dataType, "XmlElementAttribute.DataType", modelTypeDesc.FullName)); 493throw new InvalidOperationException(string.Format(ResXml.XmlGetSchemaMethodMissing, provider.MethodName, typeof(XmlSchemaSet).Name, type.FullName)); 598throw new InvalidOperationException(string.Format(ResXml.XmlGetSchemaInclude, baseQname.Namespace, typeof(IXmlSerializable).Name, "GetSchema")); 871throw new InvalidOperationException(string.Format(ResXml.XmlIllegalTypedTextAttribute, typeName, member.Text.Name, member.Text.Mapping.TypeDesc.FullName)); 912throw new InvalidOperationException(string.Format(ResXml.XmlSequenceUnique, member.SequenceId.ToString(), "Order", member.Name)); 1425throw new InvalidOperationException(string.Format(ResXml.XmlChoiceIdentifierType, identifierName, memberName, type.GetElementType().FullName)); 1432throw new InvalidOperationException(string.Format(ResXml.XmlChoiceIdentifierArrayType, identifierName, memberName, type.FullName)); 1568throw new InvalidOperationException(string.Format(ResXml.XmlIllegalAttrOrTextInterface, accessorName, accessor.TypeDesc.ArrayElementTypeDesc.FullName, typeof(IXmlSerializable).Name)); 1684throw new InvalidOperationException(string.Format(ResXml.XmlAnyElementDuplicate, accessorName, xmlAnyElement.Name, xmlAnyElement.Namespace == null ? "null" : xmlAnyElement.Namespace)); 1851throw new InvalidOperationException(string.Format(ResXml.XmlXmlnsInvalidType, accessorName, accessorType.FullName, typeof(XmlSerializerNamespaces).FullName)); 1862throw new InvalidOperationException(string.Format(ResXml.XmlIllegalAttrOrTextInterface, accessorName, accessor.TypeDesc.FullName, typeof(IXmlSerializable).Name)); 1928throw new InvalidOperationException(string.Format(ResXml.XmlAnyElementDuplicate, accessorName, xmlAnyElement.Name, xmlAnyElement.Namespace == null ? "null" : xmlAnyElement.Namespace));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (1)
1012throw new InvalidOperationException(string.Format(ResXml.XmlCircularReference2, mapping.TypeDesc.Name, "AnonymousType", "false"));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (2)
110throw new InvalidOperationException(string.Format(ResXml.XmlBadBaseElement, name.Name, name.Namespace, baseType.FullName)); 170throw new InvalidOperationException(string.Format(ResXml.XmlBadBaseType, typeName.Name, typeName.Namespace, baseType.FullName));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemas.cs (4)
630item = string.Format(ResXml.XmlSchemaElementReference, e.RefName.ToString(), parentName.Name, parentName.Namespace); 652return string.Format(ResXml.XmlSchemaAttributeReference, a.RefName.ToString(), parentName.Name, parentName.Namespace); 663item = string.Format(ResXml.XmlSchemaContentDef, parentName.Name, parentName.Namespace, null); 668item = string.Format(ResXml.XmlSchemaItem, ns, itemType, details);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationReader.cs (6)
990if (qname.Name != name) throw new InvalidOperationException(string.Format(ResXml.XmlInvalidArrayTypeName, qname.Name, name, CurrentTag())); 991if (qname.Namespace != ns) throw new InvalidOperationException(string.Format(ResXml.XmlInvalidArrayTypeNamespace, qname.Namespace, ns, CurrentTag())); 1365return new InvalidOperationException(string.Format(ResXml.XmlUnknownType, type.Name, type.Namespace, CurrentTag())); 1377return new InvalidOperationException(string.Format(ResXml.XmlAbstractType, name, ns, CurrentTag())); 1418return new InvalidCastException(string.Format(ResXml.XmlInvalidCastWithId, value.GetType().FullName, type.FullName, id)); 1649throw new InvalidOperationException(string.Format(ResXml.XmlInvalidArrayRef, id, o.GetType().FullName, i.ToString()));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (1)
826return new InvalidOperationException(string.Format(ResXml.XmlChoiceMismatchChoiceException, elementName, value, enumValue));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ClassDataContract.cs (5)
914string.Format(SRSerialization.ValueTypeCannotHaveIsReference, 999string.Format(SRSerialization.IsRequiredDataMemberOnIsReferenceDataContractType, 1065string.Format(SRSerialization.NonOptionalFieldMemberOnIsReferenceSerializableType, 1234DataContract.ThrowInvalidDataContractException(string.Format(SRSerialization.CallbacksCannotBeVirtualMethods, method, DataContract.GetClrTypeFullName(method.DeclaringType), attributeType), method.DeclaringType); 1240DataContract.ThrowInvalidDataContractException(string.Format(SRSerialization.CallbackParameterInvalid, DataContract.GetClrTypeFullName(method.DeclaringType), method, Globals.TypeOfStreamingContext), method.DeclaringType);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (6)
88throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.CLRNamespaceMappedMultipleTimes, currentDataContractNamespace, dataContractNamespace, clrNamespace))); 307throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.TypeCannotBeImported, typeName.Name, typeName.Namespace, string.Format(SRSerialization.CircularTypeReference, classContract.StableName.Name, classContract.StableName.Namespace)))); 551throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.ReferencedTypeDoesNotMatch, type.AssemblyQualifiedName, dataContract.StableName.Name, dataContract.StableName.Namespace))); 569throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.ReferencedTypeDoesNotMatch, type.AssemblyQualifiedName, dataContract.StableName.Name, dataContract.StableName.Namespace))); 583throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.ReferencedTypeDoesNotMatch, 1055throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.CannotDeriveFromSealedReferenceType, dataContract.StableName.Name, dataContract.StableName.Namespace, DataContract.GetClrTypeFullName(baseType))));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeGenerator.cs (2)
519throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.ParameterCountMismatch, methodInfo.Name, methodInfo.GetParameters().Length, expectedCount))); 725throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.CannotLoadMemberType, "Unknown", memberInfo.DeclaringType, memberInfo.Name)));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (2)
1853throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.DataContractNamespaceAlreadySet, dataContractNs, nsAttribute.ContractNamespace, clrNs))); 2041throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.GenericParameterNotValid, format.Substring(start, i - start), genericNameProvider.GetGenericTypeName(), genericNameProvider.GetParameterCount() - 1)));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContractSet.cs (2)
265throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.SurrogatesWithGetOnlyCollectionsNotSupported, 483throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\EnumDataContract.cs (1)
211string.Format(SRSerialization.EnumTypeCannotHaveIsReference,
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (7)
1001throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.InvalidEmitDefaultAnnotation, memberName, typeName.Name, typeName.Namespace))); 1312throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.GenericAnnotationHasInvalidElement, argumentElement.LocalName, argumentElement.NamespaceURI, type.Name))); 1321throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.GenericAnnotationForNestedLevelMustBeIncreasing, argumentElement.LocalName, argumentElement.NamespaceURI, type.Name))); 1454ThrowTypeCannotBeImportedException(string.Format(SRSerialization.TypeCannotBeImported, name, ns, message)); 1459ThrowTypeCannotBeImportedException(string.Format(SRSerialization.ArrayTypeCannotBeImported, name, ns, message)); 1464ThrowTypeCannotBeImportedException(string.Format(SRSerialization.EnumTypeCannotBeImported, name, ns, message)); 1469ThrowTypeCannotBeImportedException(string.Format(SRSerialization.ISerializableTypeCannotBeImported, name, ns, message));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (2)
423throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.FactoryObjectContainsSelfReference, DataContract.GetClrTypeFullName(oldObj.GetType()), DataContract.GetClrTypeFullName(newObj.GetType()), id))); 511throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.ArrayExceededSizeAttribute, arraySize, itemName.Value, itemNamespace.Value)));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (1)
273throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.DcTypeNotFoundOnSerialize, DataContract.GetClrTypeFullName(dataContract.UnderlyingType), dataContract.StableName.Name, dataContract.StableName.Namespace)));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlReaderDelegator.cs (1)
632throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.ArrayExceededSizeAttribute, expectedLength, itemName.Value, itemNamespace.Value)));
FrameworkFork\System.Runtime.Serialization\System\Xml\ValueHandle.cs (2)
654DiagnosticUtility.DebugAssert(offset + count <= chars.Length, string.Format("offset '{0}' + count '{1}' MUST BE <= chars.Length '{2}'", offset, count, chars.Length)); 738string.Format("byteOffset {0} + actualByteCount {1} MUST BE < bytes.Length {2}", byteOffset, actualByteCount, bytes.Length));
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBaseWriter.cs (3)
216throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.XmlPrefixBoundToNamespace, "xml", xmlNamespace, ns), "ns")); 224throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.XmlPrefixBoundToNamespace, "xmlns", xmlnsNamespace, ns), "ns")); 1936throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.XmlPrefixBoundToNamespace, prefix, nameSpace.Uri, uri), "prefix"));
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlExceptionHelper.cs (1)
31string s = string.Format(res, arg1, arg2, arg3);
FrameworkFork\System.ServiceModel\Framework\System\ComponentModel\InvalidEnumArgumentException.cs (1)
46: base(string.Format(SRServiceModel.InvalidEnumArgument,
FrameworkFork\System.ServiceModel\System\IdentityModel\Selectors\SecurityTokenRequirement.cs (1)
166throw Fx.Exception.Argument(propertyName, string.Format(SRServiceModel.SecurityTokenRequirementHasInvalidTypeForProperty, propertyName, dictionaryValue.GetType(), typeof(TValue)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (1)
225string contractAssociationName = String.Format("{0}:{1}:{2}", ContractProtectionLevelKey, policyContext.Contract.Name, policyContext.Contract.Namespace);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BinaryMessageEncodingBindingElement.cs (2)
89string errorMsg = string.Format(SRServiceModel.UnsupportedEnvelopeVersion, this.GetType().FullName, BinaryEncoderDefaults.EnvelopeVersion, value.Envelope); 173throw FxTrace.Exception.AsError(new NotSupportedException(string.Format(
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ChannelRequirements.cs (1)
235exception = new InvalidOperationException(string.Format(SRServiceModel.EndpointListenerRequirementsCannotBeMetBy3,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (1)
244throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(SRServiceModel.ClientWebSocketFactory_InvalidSubProtocol, _connectionFactory.GetType().Name, obtained, requested)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (1)
1167throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpMessageHandlerFactory.cs (1)
183throw FxTrace.Exception.Argument("handlers", string.Format(SRServiceModel.DelegatingHandlerArrayHasNonNullInnerHandler, s_delegatingHandlerType.Name, "InnerHandler", handler.GetType().Name));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpRequestMessageExtensionMethods.cs (1)
38throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageHeaders.cs (2)
646throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MessageHeaderException(string.Format(SRServiceModel.MultipleMessageHeadersWithActor, name, ns, actors[0]), name, ns, true)); 679throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MessageHeaderException(string.Format(SRServiceModel.MultipleMessageHeadersWithActor, name, ns, actors[0]), name, ns, true));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ReliableSessionBindingElementImporter.cs (5)
247throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidChannelBindingException(string.Format(SRServiceModel.RequiredAttributeIsMissing, ReliableSessionPolicyStrings.Milliseconds, wsrmNode.LocalName, ReliableSessionPolicyStrings.ReliableSessionName))); 399string exceptionString = string.Format(SRServiceModel.UnexpectedXmlChildNode, 470throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidChannelBindingException(string.Format( 498throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidChannelBindingException(string.Format( 516throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidChannelBindingException(string.Format(
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannel.cs (1)
933Exception error = new ProtocolException(string.Format(SRServiceModel.SFxReplyActionMismatch3,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SocketConnection.cs (2)
452return new EndpointNotFoundException(string.Format(SRServiceModel.TcpConnectError, remoteUri.AbsoluteUri, (int)socketException.SocketErrorCode, socketException.Message), innerException); 473return new CommunicationException(string.Format(SRServiceModel.TcpConnectError, remoteUri.AbsoluteUri, (int)socketException.SocketErrorCode, socketException.Message), innerException);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportSecurityHelpers.cs (1)
433new SecurityNegotiationException(string.Format(SRServiceModel.HttpsServerCertThumbprintMismatch,
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (11)
409AddError(string.Format(SRServiceModel.SFxInconsistentWsdlOperationStyleInOperationMessages, operation.Name, inferredOperationStyle, style)); 780throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxWsdlMessageDoesNotContainPart3, name, message.Name, message.ServiceDescription.TargetNamespace))); 1223AddWarning(string.Format(SRServiceModel.SFxFaultCannotBeImported, faultName, operationName, message)); 1335AddError(string.Format(SRServiceModel.SFxInconsistentBindingBodyParts, messageBinding.OperationBinding.Name, messageBinding.OperationBinding.Binding.Name, partName)); 1395AddError(string.Format(SRServiceModel.SFxInconsistentWsdlOperationStyleInHeader, part.Name, headerStyle, style)); 1456throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxWsdlPartMustHaveElementOrType, part.Name, part.Message.Name, part.Message.Namespaces))); 1483throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxWsdlPartMustHaveElementOrType, part.Name, part.Message.Name, part.Message.Namespaces))); 2185string warning = string.Format(SRServiceModel.IgnoreSoapHeaderBinding3, messageBinding.OperationBinding.Name, messageBinding.OperationBinding.Binding.ServiceDescription.TargetNamespace, reason); 2193string warning = string.Format(SRServiceModel.IgnoreSoapHeaderBinding3, messageBinding.OperationBinding.Name, messageBinding.OperationBinding.Binding.ServiceDescription.TargetNamespace, reason); 2205string warning = string.Format(SRServiceModel.IgnoreSoapFaultBinding3, faultBinding.OperationBinding.Name, faultBinding.OperationBinding.Binding.ServiceDescription.TargetNamespace, reason); 2218string warning = string.Format(SRServiceModel.IgnoreMessagePart3, message.Name, message.ServiceDescription.TargetNamespace, reason);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeClient.cs (4)
758string.Format(SRServiceModel.SFxMetadataExchangeClientCouldNotCreateWebRequest, _location, this.dialect, this.identifier), e)); 805string.Format(SRServiceModel.SFxMetadataExchangeClientCouldNotCreateWebRequest, _location, this.dialect, this.identifier), e)); 965string.Format(SRServiceModel.SFxMetadataExchangeClientCouldNotCreateChannelFactory, _address, this.dialect, this.identifier), e)); 1018string.Format(SRServiceModel.SFxMetadataExchangeClientCouldNotCreateChannelFactory, _address, this.dialect, this.identifier), e));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (4)
903throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(string.Format(SRServiceModel.SFxCannotImportAsParameters_DifferentWrapperNs, parent._request.MessageName, parent._request.Body.WrapperNamespace, parent._contractNS))); 907throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(string.Format(SRServiceModel.SFxCannotImportAsParameters_DifferentWrapperName, parent._request.MessageName, parent._request.Body.WrapperName, defaultName.EncodedName))); 912throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(string.Format(SRServiceModel.SFxCannotImportAsParameters_DifferentWrapperNs, parent._response.MessageName, parent._response.Body.WrapperNamespace, parent._contractNS))); 915throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(string.Format(SRServiceModel.SFxCannotImportAsParameters_DifferentWrapperName, parent._response.MessageName, parent._response.Body.WrapperName, defaultName.EncodedName)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceReflector.cs (5)
395throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.ServicesWithoutAServiceContractAttributeCan2, operationContractProviderType.Name, method.Name, service.FullName))); 493string.Format(SRServiceModel.SFxErrorReflectingOnMethod3, 570throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxDisallowedAttributeCombination, attrProvider, attrType.FullName, otherType.FullName))); 793throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.NoEndMethodFoundForAsyncBeginMethod3, beginMethod.Name, beginMethod.DeclaringType.FullName, endMethodName))); 797throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.MoreThanOneEndMethodFoundForAsyncBeginMethod3, beginMethod.Name, beginMethod.DeclaringType.FullName, endMethodName)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (9)
148throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format( 372throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxKnownTypeAttributeUnknownMethod3, provider, knownTypeAttribute.MethodName, type.FullName))); 375throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxKnownTypeAttributeReturnType3, provider, knownTypeAttribute.MethodName, type.FullName))); 725string.Format(SRServiceModel.InAContractInheritanceHierarchyIfParentHasCallbackChildMustToo, 783string.Format(SRServiceModel.CannotInheritTwoOperationsWithTheSameName3, 882throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.CannotHaveTwoOperationsWithTheSameName3, method1Name, method2Name, reflectionInfo.iface))); 888throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.CannotHaveTwoOperationsWithTheSameName3, method1Name, method2Name, reflectionInfo.iface))); 894throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.CannotHaveTwoOperationsWithTheSameName3, method1Name, method2Name, reflectionInfo.iface))); 1091string.Format(SRServiceModel.SFxFaultContractDuplicateElement, operationName, fault.ElementName, fault.Namespace)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (2)
56string warningMsg = isWildcardAction ? string.Format(SRServiceModel.WarnSkippingOpertationWithWildcardAction, contract.Name, contract.Namespace, operation.Name) 229Errors.Add(new MetadataConversionError(string.Format(SRServiceModel.WarnDuplicateBindingQNameNameOnExport, endpoint.Binding.Name, endpoint.Binding.Namespace, endpoint.Contract.Name), true /*isWarning*/));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (4)
781string errorMsg = string.Format(SRServiceModel.OptionalWSDLExtensionIgnored, qName.Name, qName.Namespace, xPath); 1882string dependencyMessage = string.Format(SRServiceModel.WsdlImportErrorDependencyDetail, GetElementName(wieInner.SourceItem), GetElementName(item), CreateXPathString(wieInner.SourceItem)); 1883errormessage = string.Format(SRServiceModel.WsdlImportErrorMessageDetail, GetElementName(item), CreateXPathString(wie.SourceItem), dependencyMessage); 1887errormessage = string.Format(SRServiceModel.WsdlImportErrorMessageDetail, GetElementName(item), CreateXPathString(wie.SourceItem), wie.Message);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (3)
240string.Format(SRServiceModel.SFxInvalidMessageBodyErrorSerializingParameter, part.Description.Namespace, part.Description.Name, sx.Message), sx)); 435string.Format(SRServiceModel.SFxInvalidMessageBodyErrorDeserializingParameterMore, 443string.Format(SRServiceModel.SFxInvalidMessageBodyErrorDeserializingParameterMore,
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (1)
316throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxInvalidReplyAction, this.Name, reply.Headers.Action ?? "{NULL}", this.ReplyAction)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (1)
876throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxActionDemuxerDuplicate, existingOperation.Name, operation.Name, action)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ProxyOperationRuntime.cs (1)
260throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxInvalidRequestAction, this.Name, rpc.Request.Headers.Action ?? "{NULL}", this.Action)));
FrameworkFork\System.ServiceModel\System\ServiceModel\EndpointAddress.cs (2)
898throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(string.Format(SRServiceModel.InvalidUriValue, address, XD.AddressingDictionary.Address.Value, AddressingVersion.WSAddressingAugust2004.Namespace))); 966throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(string.Format(SRServiceModel.InvalidUriValue, address, XD.AddressingDictionary.Address.Value, XD.Addressing10Dictionary.Namespace.Value)));
FrameworkFork\System.ServiceModel\System\ServiceModel\FaultException.cs (1)
384return string.Format(SRServiceModel.SFxFaultExceptionToString3, this.GetType(), this.Message, _detail != null ? _detail.ToString() : String.Empty);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityAlgorithmSuite.cs (1)
353throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MessageSecurityException(string.Format(SRServiceModel.SuiteDoesNotAcceptAlgorithm,
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityTimestamp.cs (2)
177throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MessageSecurityException(string.Format(SRServiceModel.TimeStampHasExpiryTimeInPast, this.ExpiryTimeUtc.ToString(DefaultFormat, CultureInfo.CurrentCulture), now.ToString(DefaultFormat, CultureInfo.CurrentCulture), allowedClockSkew))); 183throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MessageSecurityException(string.Format(SRServiceModel.TimeStampHasCreationTimeInFuture, this.CreationTimeUtc.ToString(DefaultFormat, CultureInfo.CurrentCulture), now.ToString(DefaultFormat, CultureInfo.CurrentCulture), allowedClockSkew)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\DerivedKeySecurityToken.cs (1)
150throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new MessageSecurityException(string.Format(SRServiceModel.DerivedKeyTokenGenerationAndLengthTooHigh, generation, length, maxOffset)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityTokenSerializer.cs (2)
244throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(string.Format(SRServiceModel.CannotReadToken, reader.LocalName, reader.NamespaceURI, localReader.GetAttribute(XD.SecurityJan2004Dictionary.ValueType, null)))); 440throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(string.Format(SRServiceModel.CannotReadToken, element.LocalName, element.NamespaceURI, element.GetAttribute(SecurityJan2004Strings.ValueType, null))));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSTrust.cs (1)
599throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(string.Format(SRServiceModel.ExpectedOneOfTwoElementsFromNamespace,
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\XmlHelper.cs (2)
210throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(string.Format(SRServiceModel.UnexpectedXmlChildNode, r.Name, r.NodeType, parentName))); 215throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(string.Format(SRServiceModel.UnexpectedXmlChildNode, n.Name, n.NodeType, parent.Name)));
FrameworkFork\System.Web.Services\Services\Description\ServiceDescription.cs (2)
62s_warnings.Add(string.Format(ResWebServices.WsdlInstanceValidationDetails, args.Message, args.Exception.LineNumber.ToString(CultureInfo.InvariantCulture), args.Exception.LinePosition.ToString(CultureInfo.InvariantCulture))); 1451throw new ArgumentException(string.Format(ResWebServices.MissingMessagePartForMessageFromNamespace3, partName, Name, ServiceDescription.TargetNamespace), "partName");
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptions.cs (1)
109return new Exception(string.Format(ResWebServices.WebDescriptionMissingItem, type, name.Name, name.Namespace));
FrameworkFork\System.Web.Services\Services\Description\WebReferenceOptions.cs (1)
179throw new InvalidOperationException(string.Format(ResWebServices.WsdlInstanceValidationDetails, args.Message, args.Exception.LineNumber.ToString(CultureInfo.InvariantCulture), args.Exception.LinePosition.ToString(CultureInfo.InvariantCulture)));
HelpGenerator.cs (1)
60ArgumentInfo.CreateFlagHelpInfo( CommandProcessorOptions.Switches.NoTypeReuse.Name, string.Format(SR.HelpNoTypeReuseFormat, CommandProcessorOptions.Switches.NoTypeReuse.Abbreviation, CommandProcessorOptions.Switches.Reference.Name, CommandProcessorOptions.Switches.CollectionType.Name)),
OutputPathHelper.cs (1)
94throw new ToolArgumentException(string.Format(SR.ErrPathTooLongFormat, path, CommandProcessorOptions.Switches.OutputDirectory.Name, option), ptle);
ToolConsole.cs (1)
219ToolConsole.WriteLine(string.Format(SR.LogoFormat, Tool.ToolName, Tool.PackageVersion, SR.Microsoft_Copyright_CommandLine_Logo), LogTag.Important);
Infrastructure.Common (3)
xunit\ConditionAttribute.cs (1)
89falseConditions.Add(String.Format("Condition \"{0}\" threw exception {1}: \"{2}\".",
xunit\IssueAttribute.cs (2)
64return String.Format("{0} on framework \"{1}\" (filter is \"{2}\")", 72return String.Format("{0} on OS \"{1}\" (filter is \"{2}\")",
Infrastructure.IntegrationTests (1)
OSAndFrameworkTests.4.1.1.cs (1)
66Assert.Fail(string.Format("Detected the current Runtime Identifier as: '{0}'\n" +
Microsoft.Build (4)
CommunicationsUtilities.cs (1)
777TraceCore(nodeId, string.Format(format, arg0, arg1, arg2));
Construction\ProjectRootElement.cs (1)
210var emptyProjectFile = string.Format(EmptyProjectFileContent,
Instance\HostObjectException.cs (2)
42+ string.Format(ErrorMessageProjectTargetTask, projectFile, targetName, taskName) 57+ string.Format(ErrorMessageProjectTargetTask, projectFile, targetName, taskName) + message)
Microsoft.Build.Engine.OM.UnitTests (5)
Definition\ProjectItem_Tests.cs (1)
3631var formattedProjectContents = string.Format(projectContents, include, update, remove);
Instance\ProjectItemInstance_Tests.cs (4)
992string.Format(content, property, propertyValue, include); 1030string.Format(content, property, propertyValue, include); 1061string.Format(content, property, propertyValue, include); 1105string.Format(content, property, propertyValue, include);
Microsoft.Build.Engine.UnitTests (8)
BackEnd\OnError_Tests.cs (1)
772return String.Format(ObjectModelHelpers.CleanupFileContents(@"
BackEnd\TargetBuilder_Tests.cs (1)
1657string projectFileContents = String.Format("<Project ToolsVersion='msbuilddefaulttoolsversion' InitialTargets='{0}' DefaultTargets='{1}'>{2}</Project>", initialTargets, defaultTargets, projectBodyContents);
BinaryLogger_Tests.cs (1)
516var testProject = string.Format(testProjectFmt, symlinkPath, symlinkLvl2Path, emptyFile);
Evaluation\ImportFromMSBuildExtensionsPath_Tests.cs (4)
487String.Format(extnTargetsFileContentTemplate, String.Empty, "FromExtn2", "<Import Project='$(MSBuildExtensionsPath32)\\bar\\extn2.proj' />")); 489String.Format(extnTargetsFileContentTemplate, 2, "FromExtn3", "<Import Project='$(MSBuildExtensionsPath64)\\xyz\\extn3.proj' />")); 491String.Format(extnTargetsFileContentTemplate, 3, String.Empty, String.Empty)); 495ToolsetConfigurationReaderTestHelper.WriteConfigFile(String.Format(configFileContents, extnDir1, extnDir2, extnDir3));
Evaluation\ProjectSdkImplicitImport_Tests.cs (1)
197string content = string.Format(projectFormatString, sdkNames[0], sdkNames[1], sdkNames[2]);
Microsoft.Build.Tasks.Core (1)
NativeMethods.cs (1)
1467string.Format(
Microsoft.Build.Tasks.UnitTests (2)
CombinePath_Tests.cs (2)
50string pathsToMatch = string.Format(NativeMethodsShared.IsWindows ? @" 100string pathsToMatch = string.Format(NativeMethodsShared.IsWindows ? @"
Microsoft.Build.UnitTests.Shared (1)
ObjectModelHelpers.cs (1)
424string.Format("Item '{0}' has unexpected metadata {1}={2}.", actualItem.ItemSpec, metadataName, actualMetadataValue));
Microsoft.CodeAnalysis (8)
ConstantValue.cs (1)
812return String.Format("{0}({1}: {2})", this.GetType().Name, valueToDisplay, this.Discriminator);
DiagnosticAnalyzer\DiagnosticAnalysisContextHelpers.cs (1)
105throw new ArgumentException(string.Format(CodeAnalysisResources.InvalidDiagnosticSpanReported, id, location.SourceSpan, location.SourceTree.FilePath), "diagnostic");
DiaSymReader\Writer\SymUnmanagedWriterImpl.cs (1)
554throw new SymUnmanagedWriterException(string.Format(
Emit\EditAndContinue\EncHoistedLocalInfo.cs (1)
50return string.Format("[Id={0}, SynthesizedKind={1}, Type={2}]",
RuleSet\RuleSetProcessor.cs (1)
121throw new InvalidRuleSetException(string.Format(CodeAnalysisResources.RuleSetHasDuplicateRules, ruleId, existingAction, action));
SourceGeneration\AdditionalSourcesCollection.cs (2)
64throw new ArgumentException(string.Format(CodeAnalysisResources.HintNameInvalidChar, hintName, c, i), nameof(hintName)); 72throw new ArgumentException(string.Format(CodeAnalysisResources.HintNameInvalidSegment, hintName, match.Value, match.Index), nameof(hintName));
Text\TextChange.cs (1)
54return string.Format("{0}: {{ {1}, \"{2}\" }}", this.GetType().Name, Span, NewText);
Microsoft.CodeAnalysis.Analyzers.UnitTests (4)
MetaAnalyzers\DiagnosticDescriptorCreationAnalyzerTests.cs (4)
2300source: string.Format(csharpSourceFormat, "{|#0:Title|}", "{|#1:Title|}", csharpTitleExpression), 2301fixedSource: string.Format(csharpSourceFormat, "Title", "Title", csharpTitleExpression), 2337source: string.Format(basicSourceFormat, "{|#0:Title|}", "{|#1:Title|}", basicTitleExpression), 2338fixedSource: string.Format(basicSourceFormat, "Title", "Title", basicTitleExpression),
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (1)
503return string.Format("({0}) ({1} - {2})",
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (1)
184string.Format(WorkspaceExtensionsResources.Destination_type_must_be_a_0_or_a_1_but_given_one_is_2,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Helpers\MefHostServicesHelpers.cs (1)
44var assemblyName = new AssemblyName(string.Format("{0}, Version={1}, Culture=neutral, PublicKeyToken={2}", assemblySimpleName, assemblyVersion, publicKeyToken));
Microsoft.CodeAnalysis.CSharp (1)
Compiler\DocumentationCommentCompiler.cs (1)
1390string locationString = string.Format(locationTemplate, "", e.LineNumber, e.LinePosition); // first arg is where the problem description goes
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (5)
CodeActions\GenerateType\GenerateTypeTests.cs (1)
5459string.Format(FeaturesResources.Generate_nested_0_1, "class", "Goo", "Program"),
Completion\CompletionProviders\OverrideCompletionProviderTests.cs (2)
3475var xmlString = string.Format(""" 3534var xmlString = string.Format("""
Interactive\NavigateTo\InteractiveNavigateToTests.cs (1)
451VerifyNavigateToResultItem(item, "Bar", "[|Bar|]()", PatternMatchKind.Exact, NavigateToItemKind.Method, Glyph.MethodPrivate, string.Format(FeaturesResources.in_0_1_2, "Goo", "test1.cs", "Test"));
QuickInfo\SemanticQuickInfoSourceTests.cs (1)
280var xmlString = string.Format("""
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenIncrementTests.cs (1)
133string source = string.Format(NUMERIC_INCREMENT_TEMPLATE, typeof(char).FullName, "'a'", "'b'");
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (3)
PDB\PDBTests.cs (2)
392Diagnostic(ErrorCode.FTL_DebugEmitFailure).WithArguments(string.Format(CodeAnalysisResources.SymWriterMetadataOverLimit, "C.M()", length, 65504)).WithLocation(1, 1)); 449Diagnostic(ErrorCode.FTL_DebugEmitFailure).WithArguments(string.Format(CodeAnalysisResources.SymWriterMetadataOverLimit, "N.C.M1()", 69096, 65504)).WithLocation(1, 1));
PDB\PDBTupleTests.cs (1)
195string.Format(@"<symbols>
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (11)
Attributes\InternalsVisibleToAndStrongNameTests.cs (8)
107string s = String.Format("{0}{1}{2}", @"[assembly: System.Reflection.AssemblyKeyFile(@""", x, @""")] public class C {}"); 137string s = string.Format("{0}{1}{2}", @"[assembly: System.Reflection.AssemblyKeyFile(@""", keyFileName, @""")] public class C {}"); 166string s = String.Format("{0}{1}{2}", @"[assembly: System.Reflection.AssemblyKeyFile(@""..\", keyFileName, @""")] public class C {}"); 191string code = String.Format("{0}{1}{2}", @"[assembly: System.Reflection.AssemblyKeyFile(@""", s_keyPairFile, @""")] public class C {}"); 206string code = String.Format("{0}{1}{2}", @"[assembly: System.Reflection.AssemblyKeyFile(@""", s_keyPairFile, @""")] public class C {}"); 226string s = String.Format("{0}{1}{2}", @"[assembly: System.Reflection.AssemblyKeyFile(@""..\", keyFileName, @""")] public class C {}"); 1574string s = String.Format("{0}{1}{2}", @"[assembly: System.Reflection.AssemblyKeyFile(@""", x, @""")] public class C {}"); 1776string s = String.Format("{0}{1}{2}", @"[assembly: System.Reflection.AssemblyKeyFile(@""", x, @""")] public class C {}");
Diagnostics\DiagnosticAnalyzerTests.cs (1)
1108string.Format(CodeAnalysisResources.InvalidDiagnosticSpanReported, AnalyzerWithInvalidDiagnosticSpan.Descriptor.Id, badSpan, treeInAnotherCompilation.FilePath), "diagnostic").Message;
Semantics\PatternMatchingTests2.cs (2)
264var source = string.Format(sourceTemplate, s1, s2, s3); 274var source = string.Format(sourceTemplate, s1, s2, string.Empty);
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (2)
ConvertAutoPropertyToFullProperty\ConvertAutoPropertyToFullPropertyTests.cs (2)
1237var xmlString = string.Format(""" 1284var xmlString = string.Format("""
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (11)
Semantics\ConstantTests.cs (9)
3026i == 0 ? string.Format(template, i, i + 1, i + 1) : 3027i == (numConstants - 1) ? string.Format(template, i, i - 1, i - 1) : 3028string.Format(template, i, i - 1, i + 1))); 3113i == 0 ? string.Format(template, i, i + 1, i + 1) : 3114i == (numConstants - 1) ? string.Format(template, i, i - 1, i - 1) : 3115string.Format(template, i, i - 1, i + 1))); 3206i == 0 ? string.Format(template, i, i + 1, i + 1) : 3207i == (numEnums - 1) ? string.Format(template, i, i - 1, i - 1) : 3208string.Format(template, i, i - 1, i + 1)));
Semantics\NameLengthTests.cs (1)
220var source = string.Format(sourceTemplate, substring0, substring1, substring2);
Semantics\OperatorTests.cs (1)
7644Assert.Equal(String.Format("{2} {0}.{1}({0} value)",
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (5)
Compilation\GetSemanticInfoTests.cs (1)
290var source = string.Format(template, from, to, isExplicitConversion ? "(" + to + ")" : "");
Symbols\AnonymousTypesSymbolTests.cs (1)
1052String.Format("{0}.<>f__AnonymousType{1}({2})", typeViewName, typeIndex.ToString(), genericParametersList),
Symbols\DefaultInterfaceImplementationTests.cs (2)
68480_ = " + string.Format(accessTemplate, "a", op, 1) + @"; 68481_ = " + string.Format(accessTemplate, "b", op, 1) + @";
Symbols\Metadata\PE\LoadingMethods.cs (1)
958CompileWithCustomILSource("", string.Format(ilTemplate, modifiers, explicitOverride, body), compilation =>
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (6)
LexicalAndXml\PreprocessorTests.cs (6)
4128var text = string.Format(@"#pragma checksum ""{0}"" ""{1}"" ""{2}""", file, guid, bytes); 4196var text = string.Format(@"#pragma checksum ""{0}"" ""{1}"" ""{2}""", file, guid, bytes); 4214var text = string.Format(@"#pragma checksum ""{0}"" ""{1}"" ""{2}""", file, guid, bytes); 4234var text = string.Format(@"#pragma checksum ""{0}"" ""{1}"" ""{2}"" /* Test Comment */", file, guid, bytes); 4254var text = string.Format(@"#pragma checksum ""{0}"", ""{1}"" ""{2}"" ", file, guid, bytes); 4274var text = string.Format(@"class Test {{
Microsoft.CodeAnalysis.EditorFeatures (1)
Peek\PeekHelpers.cs (1)
20var label = string.Format("{0} - ({1}, {2})", fileName, identifierLocation.Start.Line + 1, identifierLocation.Start.Character + 1);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (3)
NavigateTo\AbstractNavigateToTests.cs (2)
175Assert.True(expectedItem.PatternMatch.Kind == actualItem.PatternMatch.Kind, string.Format("pattern: {0} expected: {1} actual: {2}", expectedItem.Name, expectedItem.PatternMatch.Kind, actualItem.PatternMatch.Kind)); 176Assert.True(expectedItem.PatternMatch.IsCaseSensitive == actualItem.PatternMatch.IsCaseSensitive, string.Format("pattern: {0} expected: {1} actual: {2}", expectedItem.Name, expectedItem.PatternMatch.IsCaseSensitive, actualItem.PatternMatch.IsCaseSensitive));
SignatureHelp\AbstractSignatureHelpProviderTests.cs (1)
328var xmlString = string.Format(@"
Microsoft.CodeAnalysis.Features (3)
AddPackage\InstallPackageDirectlyCodeActionOperation.cs (1)
62? string.Format(FeaturesResources.Use_locally_installed_0_version_1_This_version_used_in_colon_2, _packageName, _versionOpt, string.Join(", ", _projectsWithMatchingVersion))
Diagnostics\Service\DocumentAnalysisExecutor_Helpers.cs (2)
162throw new ArgumentException(string.Format(FeaturesResources.Reported_diagnostic_0_has_a_source_location_1_in_file_2_which_is_outside_of_the_given_file, id, location.SourceSpan, location.SourceTree.FilePath), "diagnostic"); 185throw new ArgumentException(string.Format(FeaturesResources.Reported_diagnostic_0_has_a_source_location_1_in_file_2_which_is_outside_of_the_given_file, id, location.SourceSpan, filePath), "diagnostic");
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
EditAndContinue\EditAndContinueWorkspaceTestBase.cs (1)
443return string.Format(
Microsoft.CodeAnalysis.Test.Utilities (2)
Assert\AssertEx.cs (1)
865File.WriteAllText(compareCmd, string.Format("\"{0}\" \"{1}\" \"{2}\"", s_diffToolPath, actualFilePath, expectedFilePath));
TempFiles\DisposableFile.cs (1)
44throw new InvalidOperationException(string.Format(@"
Microsoft.CodeAnalysis.UnitTests (5)
CommonCommandLineParserTests.cs (2)
128VerifyRuleSetError(source, () => string.Format(CodeAnalysisResources.RuleSetHasDuplicateRules, "CA1012", "Error", "Warn")); 147VerifyRuleSetError(source, () => string.Format(CodeAnalysisResources.RuleSetHasDuplicateRules, "CA1012", "Error", "Warn"), locSpecific: false);
Diagnostics\SuppressMessageTargetSymbolResolverTests.cs (3)
1374string.Format("Expected to resolve FxCop fully-qualified name '{0}' to '{1}': got multiple symbols:\r\n{2}", 1380string.Format("Failed to resolve FxCop fully-qualified name '{0}' to symbol '{1}': got '{2}'", 1388string.Format("Failed to resolve FxCop fully-qualified name '{0}' to symbols:\r\n{1}\r\nResolved to unexpected symbol '{2}'",
Microsoft.CodeAnalysis.VisualBasic (4)
Compilation\DocumentationComments\DocumentationCommentCompiler.TextUtils.vb (1)
140String.Format(locationTemplate, "", e.LineNumber, e.LinePosition) ' first arg is where the problem description goes
Compilation\SemanticModel.vb (1)
3593Return String.Format("{0}: {1} ({2})", Me.SyntaxTree.FilePath, node.Kind.ToString(), node.Position)
Symbols\SynthesizedSymbols\GeneratedNames.vb (2)
209String.Format("{0}{1}{2}", prefix, index, moduleId)) 257Return String.Format(GeneratedNameConstants.StaticLocalFieldNamePrefix & "{0}${1}${2}", methodName, methodSignature, localName)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (4)
ExpressionTrees\CodeGenExprLambda.vb (4)
485String.Format(ExpTreeTestResources.UserDefinedBinaryOperators, 598list.Add(New ExpressionTreeTest With {.Description = String.Format(descr1, type1, type2, type3), 600String.Format("Func(Of {0}, {1}, {2})", type1, type2, type3), 1948testbuilder.AppendLine(String.Format("Dim exprtree{0} As Expression(Of {1}) = {2}", count, tst.ExpressionTypeArgument, tst.Lambda))
Microsoft.CodeAnalysis.Workspaces (9)
FindSymbols\ReferencedSymbol.cs (1)
50return string.Format("{0}, {1} {2}", this.Definition.Name, count, count == 1 ? "ref" : "refs");
Log\TraceLogger.cs (1)
22=> Trace.WriteLine(string.Format("[{0}] {1} - {2}", Environment.CurrentManagedThreadId, functionId.ToString(), logMessage.GetMessage()));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (1)
503return string.Format("({0}) ({1} - {2})",
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (1)
184string.Format(WorkspaceExtensionsResources.Destination_type_must_be_a_0_or_a_1_but_given_one_is_2,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Helpers\MefHostServicesHelpers.cs (1)
44var assemblyName = new AssemblyName(string.Format("{0}, Version={1}, Culture=neutral, PublicKeyToken={2}", assemblySimpleName, assemblyVersion, publicKeyToken));
Workspace\Solution\DocumentId.cs (1)
63=> string.Format("({0}, #{1} - {2})", this.GetType().Name, this.Id, _debugName);
Workspace\Solution\FileTextLoader.cs (1)
252var message = string.Format(WorkspacesResources.File_0_size_of_1_exceeds_maximum_allowed_size_of_2, path, fileLength, MaxFileLength);
Workspace\Solution\ProjectId.cs (1)
72=> string.Format("({0}, #{1} - {2})", this.GetType().Name, this.Id, _debugName);
Workspace\Solution\SolutionId.cs (1)
59=> string.Format("({0}, #{1} - {2})", GetType().Name, this.Id, _debugName);
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
FindAllDeclarationsTests.TestSolutionsAndProject.cs (1)
50string.Format("Expected '{0}' results, found '{1}. Workspace {2} was used",
Microsoft.CSharp (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Data.Analysis (5)
DataFrame.cs (1)
390throw new InvalidCastException(String.Format(Strings.BadColumnCastDuringGrouping, columnName, column.DataType, typeof(TKey)));
DataFrameColumns\ArrowStringDataFrameColumn.cs (1)
400throw new ArgumentException(String.Format(Strings.MultipleMismatchedValueType, typeof(long), typeof(int), typeof(bool)), nameof(mapIndices));
DataFrameColumns\StringDataFrameColumn.cs (1)
307throw new ArgumentException(String.Format(Strings.MultipleMismatchedValueType, typeof(long), typeof(int), typeof(bool)), nameof(mapIndices));
DataFrameColumns\VBufferDataFrameColumn.cs (1)
287throw new ArgumentException(String.Format(Strings.MultipleMismatchedValueType, typeof(long), typeof(int), typeof(bool)), nameof(mapIndices));
PrimitiveDataFrameColumn.cs (1)
430throw new ArgumentException(String.Format(Strings.MultipleMismatchedValueType, typeof(long), typeof(int), typeof(bool)), nameof(mapIndices));
Microsoft.DotNet.AsmDiff (1)
DiffCSharpWriter.cs (1)
479_syntaxWriter.Write(string.Format("{0}{1}{2}", p.Name, p.Delimiter, p.Value));
Microsoft.DotNet.RemoteExecutor (1)
Program.cs (1)
86output.AppendLine(string.Format(" {0} {1} {2}", a, t, mi));
Microsoft.DotNet.SignCheckLibrary (2)
Verification\Exclusion.cs (1)
104return String.Format("FilePattern: {0} | Parent: {1} | Comment: {2}", FilePatterns, ParentFiles, Comment);
Verification\Jar\JarManifestFile.cs (1)
58JarError.AddError(String.Format(JarResources.ManifestEntryDigestMismatch, entry.Name, entry.DigestValue, hashDigest));
Microsoft.Extensions.Caching.Memory (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Extensions.Configuration (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Extensions.Configuration.Abstractions (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Extensions.Configuration.Binder (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Extensions.Configuration.CommandLine (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Extensions.Configuration.FileExtensions (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Extensions.Configuration.Ini (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Extensions.Configuration.Json (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Extensions.Configuration.UserSecrets (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Extensions.Configuration.Xml (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Extensions.DependencyInjection (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Extensions.DependencyInjection.Abstractions (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Extensions.DependencyModel (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Extensions.Diagnostics (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Extensions.Diagnostics.Abstractions (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Extensions.FileProviders.Abstractions (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Extensions.FileProviders.Physical (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Extensions.FileSystemGlobbing (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Extensions.Hosting (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Extensions.Hosting.Abstractions (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Extensions.Http (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Extensions.Logging (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Extensions.Logging.Abstractions (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Extensions.Logging.Configuration (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Extensions.Logging.Console (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Extensions.Logging.Generators (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Extensions.Options (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Extensions.Options.SourceGeneration (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Extensions.Primitives (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Interop.ComInterfaceGenerator (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Interop.JavaScript.JSImportGenerator (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Interop.LibraryImportGenerator (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Interop.SourceGeneration (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Maui (1)
Primitives\Semantics.cs (1)
25 return string.Format("Description: {0}, Hint: {1}, HeadingLevel: {2}", Description, Hint, HeadingLevel);
Microsoft.Maui.Controls (1)
XamlParseException.cs (1)
60 return string.Format("Position {0}:{1}. {2}", xmlinfo.LineNumber, xmlinfo.LinePosition, message);
Microsoft.Maui.Controls.Build.Tasks (1)
PerformanceProvider.cs (1)
83 return string.Format("{0}:{1}{2}", path, member, (tag != null ? "-" + tag : string.Empty));
Microsoft.Maui.Controls.SourceGen (1)
src\Controls\src\Core\XamlParseException.cs (1)
60 return string.Format("Position {0}:{1}. {2}", xmlinfo.LineNumber, xmlinfo.LinePosition, message);
Microsoft.ML.Core (1)
Utilities\SummaryStatistics.cs (1)
88return string.Format(@"Stats[Count={0}, Mean={1}, StdDev={2}]",
Microsoft.ML.Core.Tests (1)
UnitTests\TestEntryPoints.cs (1)
1381string inputGraph = string.Format(@"
Microsoft.ML.Data (2)
Commands\CrossValidationCommand.cs (1)
582string.Format("{0}.fold{1:000}{2}", fileName, fold, Path.GetExtension(outputModelFile)));
Utilities\ColumnCursor.cs (1)
74throw Contracts.ExceptParam(nameof(column), string.Format("Cannot load vector type, {0}, specified in {1} to the user-defined type, {2}.", column.Type, nameof(column), typeof(T)));
Microsoft.ML.DataView (1)
KeyDataViewType.cs (1)
175return string.Format("Key<{0}, {1}-{2}>", rawTypeName, 0, Count - 1);
Microsoft.ML.EntryPoints (1)
JsonUtils\ExecuteGraphCommand.cs (1)
152string msg = string.Format("Ignoring empty graph output (output name: {0}, type: {1}, expected output's file: {2})",
Microsoft.ML.Predictor.Tests (2)
CmdLine\CmdIndenterTest.cs (1)
79string scriptName = string.Format("Script {0}, lines {1} to {2}", count, lineMin, lineLim);
CmdLine\CmdLine.cs (1)
381string scriptName = string.Format("Script {0}, lines {1} to {2}", count, lineMin, lineLim);
Microsoft.ML.Tests (2)
ExpressionLanguageTests\ExpressionLanguageTests.cs (1)
152string scriptName = string.Format("Script {0}, lines {1} to {2}", count, lineMin, lineLim);
OnnxConversionTest.cs (1)
711inputGraph = string.Format(@"
Microsoft.ML.Transforms (5)
Expression\LambdaBinder.cs (2)
1187printError(string.Format( 1208printError(string.Format(
Expression\Tokens.cs (1)
139return string.Format(fmt, Value, suff1, suff2);
Text\NgramHashingTransformer.cs (1)
964throw Contracts.ExceptUserArg(nameof(skipLength), string.Format(
Text\NgramTransform.cs (1)
1041throw Contracts.ExceptUserArg(nameof(skipLength), string.Format(
Microsoft.VisualBasic.Core (1)
src\libraries\Common\src\System\SR.vb (1)
86Return String.Format(resourceFormat, p1, p2, p3)
Microsoft.VisualStudio.LanguageServices (1)
CommonControls\NewTypeDestinationSelectionViewModel.cs (1)
81return string.Format(
Microsoft.Win32.Registry (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Win32.Registry.AccessControl (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
Microsoft.Win32.SystemEvents (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
MSBuild (1)
CommunicationsUtilities.cs (1)
777TraceCore(nodeId, string.Format(format, arg0, arg1, arg2));
MSBuildTaskHost (1)
CommunicationsUtilities.cs (1)
777TraceCore(nodeId, string.Format(format, arg0, arg1, arg2));
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\Common\src\System\SR.cs (1)
105return string.Format(resourceFormat, p1, p2, p3);
PresentationCore (1)
src\Microsoft.DotNet.Wpf\src\Common\src\System\SR.cs (1)
105return string.Format(resourceFormat, p1, p2, p3);
PresentationFramework (1)
src\Microsoft.DotNet.Wpf\src\Common\src\System\SR.cs (1)
105return string.Format(resourceFormat, p1, p2, p3);
PresentationUI (1)
src\Microsoft.DotNet.Wpf\src\Common\src\System\SR.cs (1)
105return string.Format(resourceFormat, p1, p2, p3);
ReachFramework (1)
src\Microsoft.DotNet.Wpf\src\Common\src\System\SR.cs (1)
105return string.Format(resourceFormat, p1, p2, p3);
Roslyn.Test.PdbUtilities (1)
EditAndContinue\EditAndContinueTestUtilities.cs (1)
43return string.Format(
Roslyn.Test.Performance.Utilities (1)
TestUtilities.cs (1)
217RuntimeSettings.Logger.Log(String.Format("The process \"{0}\" {1} with code {2}",
Roslyn.VisualStudio.DiagnosticsWindow (1)
Loggers\OutputWindowLogger.cs (1)
35OutputPane.WriteLine(string.Format("[{0}] {1} - {2}", Environment.CurrentManagedThreadId, functionId.ToString(), logMessage.GetMessage()));
System.CodeDom (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Collections (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Collections.Concurrent (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Collections.Immutable (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Collections.NonGeneric (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Collections.Specialized (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.ComponentModel.Annotations (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.ComponentModel.Composition (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.ComponentModel.Composition.Registration (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.ComponentModel.EventBasedAsync (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.ComponentModel.Primitives (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.ComponentModel.TypeConverter (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Composition.Convention (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Composition.Hosting (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Composition.Runtime (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Composition.TypedParts (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Configuration.ConfigurationManager (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Console (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Data.Common (3)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System\Data\Common\DataCommonEventSource.cs (2)
45Trace(string.Format(format, arg0, arg1, arg2)); 91internal long EnterScope<T1, T2, T3>(string format, T1 arg1, T2 arg2, T3 arg3) => Log.IsEnabled() ? EnterScope(string.Format(format, arg1, arg2, arg3)) : 0;
System.Data.Odbc (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Data.OleDb (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Diagnostics.DiagnosticSource (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Diagnostics.EventLog (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Diagnostics.FileVersionInfo (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Diagnostics.PerformanceCounter (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Diagnostics.Process (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Diagnostics.TextWriterTraceListener (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Diagnostics.TraceSource (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.DirectoryServices (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.DirectoryServices.AccountManagement (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.DirectoryServices.Protocols (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Drawing.Common (1)
Special\SR.cs (1)
61: string.Format(resourceFormat, p1, p2, p3);
System.Drawing.Primitives (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Formats.Asn1 (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Formats.Cbor (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Formats.Nrbf (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Formats.Tar (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.IO.Compression (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.IO.Compression.Brotli (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.IO.Compression.ZipFile (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.IO.FileSystem.AccessControl (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.IO.FileSystem.DriveInfo (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.IO.FileSystem.Watcher (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.IO.Hashing (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.IO.IsolatedStorage (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.IO.MemoryMappedFiles (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.IO.Packaging (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.IO.Pipelines (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.IO.Pipes (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.IO.Pipes.AccessControl (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.IO.Ports (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Linq (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Linq.AsyncEnumerable (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Linq.Expressions (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Linq.Parallel (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Linq.Queryable (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Management (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Memory (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Memory.Data (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Net.Http (2)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
178case 3: return string.Format(s.Format, Format(s.GetArgument(0)), Format(s.GetArgument(1)), Format(s.GetArgument(2)));
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Net.Http.Json (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Net.Http.WinHttpHandler (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Net.HttpListener (2)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
178case 3: return string.Format(s.Format, Format(s.GetArgument(0)), Format(s.GetArgument(1)), Format(s.GetArgument(2)));
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Net.Mail (2)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
178case 3: return string.Format(s.Format, Format(s.GetArgument(0)), Format(s.GetArgument(1)), Format(s.GetArgument(2)));
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Net.NameResolution (2)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
178case 3: return string.Format(s.Format, Format(s.GetArgument(0)), Format(s.GetArgument(1)), Format(s.GetArgument(2)));
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Net.NetworkInformation (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Net.Ping (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Net.Primitives (2)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
178case 3: return string.Format(s.Format, Format(s.GetArgument(0)), Format(s.GetArgument(1)), Format(s.GetArgument(2)));
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Net.Quic (2)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
178case 3: return string.Format(s.Format, Format(s.GetArgument(0)), Format(s.GetArgument(1)), Format(s.GetArgument(2)));
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Net.Requests (2)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
178case 3: return string.Format(s.Format, Format(s.GetArgument(0)), Format(s.GetArgument(1)), Format(s.GetArgument(2)));
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Net.Security (2)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
178case 3: return string.Format(s.Format, Format(s.GetArgument(0)), Format(s.GetArgument(1)), Format(s.GetArgument(2)));
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Net.ServerSentEvents (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Net.Sockets (2)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
178case 3: return string.Format(s.Format, Format(s.GetArgument(0)), Format(s.GetArgument(1)), Format(s.GetArgument(2)));
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Net.WebClient (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Net.WebHeaderCollection (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Net.WebSockets (2)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
178case 3: return string.Format(s.Format, Format(s.GetArgument(0)), Format(s.GetArgument(1)), Format(s.GetArgument(2)));
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Net.WebSockets.Client (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Numerics.Tensors (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.ObjectModel (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Private.CoreLib (2)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
src\System\TypeLoadException.CoreCLR.cs (1)
44_message = string.Format(format!, _className, _assemblyName, _messageArg);
System.Private.DataContractSerialization (2)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System\Xml\ValueHandle.cs (1)
690Debug.Assert(offset + count <= chars.Length, string.Format("offset '{0}' + count '{1}' MUST BE <= chars.Length '{2}'", offset, count, chars.Length));
System.Private.Uri (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Private.Xml (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Private.Xml.Linq (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Reflection.Context (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Reflection.DispatchProxy (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Reflection.Emit (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Reflection.Metadata (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Reflection.MetadataLoadContext (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Reflection.TypeExtensions (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Resources.Extensions (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Resources.Writer (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Runtime.Caching (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Runtime.InteropServices (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Runtime.InteropServices.JavaScript (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Runtime.Numerics (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Runtime.Serialization.Formatters (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Runtime.Serialization.Primitives (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Runtime.Serialization.Schema (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Security.AccessControl (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Security.Claims (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Security.Cryptography (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Security.Cryptography.Cose (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Security.Cryptography.Pkcs (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Security.Cryptography.ProtectedData (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Security.Cryptography.Xml (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Security.Permissions (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Security.Principal.Windows (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.ServiceModel.Federation (1)
src\Common\src\System\SR.cs (1)
60return String.Format(resourceFormat, p1, p2, p3);
System.ServiceModel.NetFramingBase (1)
src\Common\src\System\SR.cs (1)
60return String.Format(resourceFormat, p1, p2, p3);
System.ServiceModel.NetNamedPipe (1)
src\Common\src\System\SR.cs (1)
60return String.Format(resourceFormat, p1, p2, p3);
System.ServiceModel.Primitives.Tests (6)
ServiceModel\MessageContractTest.4.4.0.cs (3)
216String.Format("Message property value for '{0}' expected = '{1}', actual = '{2}'", 315String.Format("Expected header '{0}' to have {1} values, actual = {2}", name, values.Length, headerValues.Count)); 331String.Format("The {0} element was expected to return {1} items, actual = {2}",
ServiceModel\SynchronizedCollection.cs (3)
25Assert.True(coll[i] == i, string.Format("coll element {0} was wrong! Expected: {1} got: {2} ", i, i, coll[i])); 39Assert.True(coll3[i] == i + 1, string.Format("coll3 element {0} was wrong! expected: {1} got: {2}", i, i+1, coll3[i])); 58Assert.True(array[i + 1] == i, string.Format("After CopyTo, Element {0} was wrong! Expected: {1} got: {2}", i, i+1, array[i + 1]));
System.ServiceModel.Syndication (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.ServiceModel.UnixDomainSocket (1)
src\Common\src\System\SR.cs (1)
60return String.Format(resourceFormat, p1, p2, p3);
System.ServiceProcess.ServiceController (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Speech (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Text.Encoding.CodePages (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Text.Encodings.Web (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Text.Json (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Text.Json.SourceGeneration (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Text.RegularExpressions (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Text.RegularExpressions.Generator (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Threading (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Threading.AccessControl (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Threading.Channels (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Threading.RateLimiting (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Threading.Tasks.Dataflow (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Threading.Tasks.Parallel (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Transactions.Local (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Web.Services.Description (1)
src\Common\src\System\SR.cs (1)
60return String.Format(resourceFormat, p1, p2, p3);
System.Windows.Controls.Ribbon (1)
src\Microsoft.DotNet.Wpf\src\Common\src\System\SR.cs (1)
105return string.Format(resourceFormat, p1, p2, p3);
System.Windows.Extensions (1)
src\libraries\Common\src\System\SR.cs (1)
92return string.Format(resourceFormat, p1, p2, p3);
System.Windows.Forms (1)
System\Resources\ResXDataNode.cs (1)
384string newMessage = string.Format(
System.Windows.Forms.Analyzers.CSharp (1)
System\Windows\Forms\CSharp\Generators\ApplicationConfiguration\ApplicationConfigurationInitializeBuilder.cs (1)
16return string.Format(topLevelApp ? TopLevelStatements : BoilerPlate,
System.Windows.Forms.Design (3)
System\ComponentModel\Design\CollectionEditor.cs (1)
122string.Format(
System\ComponentModel\Design\DesignerActionPanel.PropertyLine.cs (1)
85ActionPanel.ShowError(string.Format(SR.DesignerActionPanel_ErrorSettingValue, newValue, PropertyDescriptor.Name, e.Message));
System\Windows\Forms\Design\ControlDesigner.cs (1)
2505string.Format(SR.ControlDesigner_WndProcException, typeName, exception.Message, stack),
System.Windows.Input.Manipulations (1)
src\Microsoft.DotNet.Wpf\src\Common\src\System\SR.cs (1)
105return string.Format(resourceFormat, p1, p2, p3);
System.Xaml (1)
src\Microsoft.DotNet.Wpf\src\Common\src\System\SR.cs (1)
105return string.Format(resourceFormat, p1, p2, p3);
UIAutomationClient (1)
src\Microsoft.DotNet.Wpf\src\Common\src\System\SR.cs (1)
105return string.Format(resourceFormat, p1, p2, p3);
UIAutomationClientSideProviders (1)
src\Microsoft.DotNet.Wpf\src\Common\src\System\SR.cs (1)
105return string.Format(resourceFormat, p1, p2, p3);
UIAutomationProvider (1)
src\Microsoft.DotNet.Wpf\src\Common\src\System\SR.cs (1)
105return string.Format(resourceFormat, p1, p2, p3);
UIAutomationTypes (1)
src\Microsoft.DotNet.Wpf\src\Common\src\System\SR.cs (1)
105return string.Format(resourceFormat, p1, p2, p3);
UnitTests.Common (5)
TestHelpers.cs (5)
128errorBuilder.AppendLine(String.Format("{0} expected Type = {0}, actual = {1}", prefix, expectedType, contractType)); 135errorBuilder.AppendLine(String.Format("{0} operations.Count: expected={1}, actual = {2}", prefix, expectedOperations.Length, ops.Count)); 151errorBuilder.AppendLine(String.Format("{0} expected operation Name = {1}, actual = {2}", 178errorBuilder.AppendLine(String.Format("{0} could not find expected message action {1} in operation {2}", 243errorBuilder.AppendLine(String.Format("action {0}, section {1}, expected part Name = {2} but did not find it.",
WindowsFormsIntegration (1)
src\Microsoft.DotNet.Wpf\src\Common\src\System\SR.cs (1)
105return string.Format(resourceFormat, p1, p2, p3);