804 references to Format
Client.TypedClient.IntegrationTests (1)
TypedProxyTests.4.0.0.cs (1)
201Assert.True(success, String.Format("Test didn't complete within the expected time"));
Contract.Message.IntegrationTests (1)
MessageContractTests.4.4.0.cs (1)
81String.Format("Array item {0} of element {1} was expected to be {2}, actual was {3}",
Crossgen2Tasks (2)
CommonFilePulledFromSdkRepo\Logger.cs (2)
69=> Log(new Message(MessageLevel.Error, string.Format(format, args), code)); 109text: string.Format(format, args),
csc (1)
src\Compilers\Core\CommandLine\CompilerServerLogger.cs (1)
34logger.Log(string.Format(format, arguments));
dotnet-svcutil.xmlserializer (1)
src\Common\src\System\SR.cs (1)
28return String.Format(resourceFormat, args);
dotnet-svcutil-lib (351)
CodeDomFixup\EndpointSelector.cs (4)
45s_bindingValidationErrors.Add(string.Format(SR.BindingTypeNotSupportedFormat, binding.GetType().FullName, 129s_bindingValidationErrors.Add(string.Format(SR.BindingTransportTypeNotSupportedFormat, bindingElement.GetType().FullName, 161s_bindingValidationErrors.Add(string.Format(SR.BindingTextMessageEncodingVersionNotSupportedFormat, 178s_bindingValidationErrors.Add(string.Format(SR.BindingMtomMessageEncodingVersionNotSupportedFormat,
FrameworkFork\Microsoft.Xml\Xml\Core\XmlCharCheckingWriter.cs (3)
254throw new ArgumentException(string.Format(ResXml.Xml_InvalidWhitespaceCharacter, XmlException.BuildCharExceptionArgs(ws, i))); 374throw new ArgumentException(string.Format(len == 0 ? ResXml.Xml_BadStartNameChar : ResXml.Xml_BadNameChar, XmlException.BuildCharExceptionArgs(ncname, len))); 389throw new ArgumentException(string.Format(res, XmlException.BuildCharExceptionArgs(name, len)));
FrameworkFork\Microsoft.Xml\Xml\Core\XmlEncodedRawTextWriter.cs (2)
1752error = string.Format(ResXml.Xml_InvalidCharacter, XmlException.BuildCharExceptionArgs(chars, i)); 1780throw new ArgumentException(string.Format(ResXml.Xml_InvalidCharsInIndent, new string[] { propertyName, error }));
FrameworkFork\Microsoft.Xml\Xml\Core\XmlReader.cs (3)
1583return new InvalidOperationException(AddLineInfo(string.Format(ResXml.Xml_InvalidReadContentAs, new string[] { methodName, nodeType.ToString() }), lineInfo)); 1588return new InvalidOperationException(AddLineInfo(string.Format(ResXml.Xml_InvalidReadElementContentAs, new string[] { methodName, nodeType.ToString() }), lineInfo)); 1598message += " " + string.Format(ResXml.Xml_ErrorPosition, lineArgs);
FrameworkFork\Microsoft.Xml\Xml\Core\XmlUtf8RawTextWriter.cs (2)
1632error = string.Format(ResXml.Xml_InvalidCharacter, XmlException.BuildCharExceptionArgs(chars, i)); 1660throw new ArgumentException(string.Format(ResXml.Xml_InvalidCharsInIndent, new string[] { propertyName, error }));
FrameworkFork\Microsoft.Xml\Xml\Core\XmlWellformedWriter.cs (4)
412throw new ArgumentException(string.Format(ResXml.Xml_InvalidCharacter, XmlException.BuildCharExceptionArgs(pubid, i)), "pubid"); 419throw new ArgumentException(string.Format(ResXml.Xml_InvalidCharacter, XmlException.BuildCharExceptionArgs(sysid, i)), "sysid"); 426throw new ArgumentException(string.Format(ResXml.Xml_InvalidCharacter, XmlException.BuildCharExceptionArgs(subset, i)), "subset"); 2190return new ArgumentException(string.Format(ResXml.Xml_InvalidNameCharsDetail, args));
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentSchemaValidator.cs (4)
160throw new InvalidOperationException(string.Format(ResXml.XmlDocument_ValidateInvalidNodeType, null)); 289throw new InvalidOperationException(string.Format(ResXml.Xml_InvalidXmlDocument, string.Format(ResXml.Xdom_NoRootEle))); 333throw new InvalidOperationException(string.Format(ResXml.Xml_UnexpectedNodeType, new string[] { _currentNode.NodeType.ToString() })); 780throw new InvalidOperationException(string.Format(ResXml.Xml_UnexpectedNodeType, new string[] { _currentNode.NodeType.ToString() }));
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentXPathNavigator.cs (1)
1275throw new ArgumentException(string.Format(ResXml.XPathDocument_SchemaSetNotAllowed, null));
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (6)
1567_restrictionErrorMsg = string.Format(ResXml.Sch_SeqFromAll, derivedParticle.LineNumber.ToString(NumberFormatInfo.InvariantInfo), derivedParticle.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseParticle.LineNumber.ToString(NumberFormatInfo.InvariantInfo), baseParticle.LinePosition.ToString(NumberFormatInfo.InvariantInfo)); 1601_restrictionErrorMsg = string.Format(ResXml.Sch_SeqFromChoice, derivedParticle.LineNumber.ToString(NumberFormatInfo.InvariantInfo), derivedParticle.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseParticle.LineNumber.ToString(NumberFormatInfo.InvariantInfo), baseParticle.LinePosition.ToString(NumberFormatInfo.InvariantInfo)); 1706_restrictionErrorMsg = string.Format(ResXml.Sch_GroupBaseFromAny2, derivedGroupBase.LineNumber.ToString(NumberFormatInfo.InvariantInfo), derivedGroupBase.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseAny.LineNumber.ToString(NumberFormatInfo.InvariantInfo), baseAny.LinePosition.ToString(NumberFormatInfo.InvariantInfo)); 1781_restrictionErrorMsg = string.Format(ResXml.Sch_ElementFromGroupBase1, derivedElement.QualifiedName.ToString(), derivedElement.LineNumber.ToString(NumberFormatInfo.InvariantInfo), derivedElement.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LineNumber.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LinePosition.ToString(NumberFormatInfo.InvariantInfo)); 1793_restrictionErrorMsg = string.Format(ResXml.Sch_ElementFromGroupBase2, derivedElement.QualifiedName.ToString(), derivedElement.LineNumber.ToString(NumberFormatInfo.InvariantInfo), derivedElement.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LineNumber.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LinePosition.ToString(NumberFormatInfo.InvariantInfo)); 1805_restrictionErrorMsg = string.Format(ResXml.Sch_ElementFromGroupBase3, derivedElement.QualifiedName.ToString(), derivedElement.LineNumber.ToString(NumberFormatInfo.InvariantInfo), derivedElement.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LineNumber.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LinePosition.ToString(NumberFormatInfo.InvariantInfo));
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaException.cs (1)
104return string.Format(res, args);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (5)
383throw new InvalidOperationException(string.Format(ResXml.Sch_InvalidStateTransition, new string[] { s_methodNames[(int)_currentState], s_methodNames[(int)ValidatorState.Start] })); 393throw new InvalidOperationException(string.Format(ResXml.Sch_InvalidStateTransition, new string[] { s_methodNames[(int)_currentState], s_methodNames[(int)ValidatorState.Start] })); 2111throw new InvalidOperationException(string.Format(ResXml.Sch_InvalidStartTransition, new string[] { methodName, s_methodNames[(int)ValidatorState.Start] })); 2113throw new InvalidOperationException(string.Format(ResXml.Sch_InvalidStateTransition, new string[] { s_methodNames[(int)_currentState], methodName })); 2624string ContinuationString = string.Format(ResXml.Sch_ContinuationString, new string[] { " " });
FrameworkFork\Microsoft.Xml\Xml\schema\XmlValueConverter.cs (9)
888throw new OverflowException(string.Format(ResXml.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "Int32" })); 896throw new OverflowException(string.Format(ResXml.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "Int64" })); 904throw new OverflowException(string.Format(ResXml.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "UInt64" })); 912throw new OverflowException(string.Format(ResXml.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "Byte" })); 920throw new OverflowException(string.Format(ResXml.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "Int16" })); 928throw new OverflowException(string.Format(ResXml.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "SByte" })); 936throw new OverflowException(string.Format(ResXml.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "UInt16" })); 944throw new OverflowException(string.Format(ResXml.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "Int32" })); 952throw new OverflowException(string.Format(ResXml.XmlConvert_Overflow, new string[] { XmlConvert.ToString(value), "UInt32" }));
FrameworkFork\Microsoft.Xml\Xml\Serialization\Mappings.cs (4)
610throw new InvalidOperationException(string.Format(ResXml.XmlHiddenMember, parent, member.Name, member.TypeDesc.FullName, this.TypeName, _members[i].Name, _members[i].TypeDesc.FullName)); 613throw new InvalidOperationException(string.Format(ResXml.XmlInvalidXmlOverride, parent, member.Name, this.TypeName, _members[i].Name)); 1368throw new InvalidOperationException(string.Format(ResXml.XmlGetSchemaMethodReturnType, _type.Name, _getSchemaMethod.Name, typeof(XmlSchemaProviderAttribute).Name, typeof(XmlQualifiedName).FullName)); 1405throw new InvalidOperationException(string.Format(ResXml.XmlGetSchemaTypeMissing, _getSchemaMethod.DeclaringType.FullName, _getSchemaMethod.Name, _xsiType.Name, _xsiType.Namespace));
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (3)
284throw new InvalidOperationException(string.Format(ResXml.XmlTypesDuplicate, typeDesc.FullName, mapping.TypeDesc.FullName, typeName, ns)); 306throw new InvalidOperationException(string.Format(ResXml.XmlTypesDuplicate, typeDesc.FullName, existingMapping.TypeDesc.FullName, typeDesc.Name, existingMapping.Namespace)); 311throw new InvalidOperationException(string.Format(ResXml.XmlTypesDuplicate, typeDesc.FullName, existingMapping.TypeDesc.FullName, typeDesc.Name, existingMapping.Namespace));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (1)
462AddWarningComment(comments, string.Format(ResXml.XmlNotKnownDefaultValue, extension.GetType().FullName, attributeName, (string)defaultValue, mapping.TypeName, mapping.Namespace));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (10)
335throw new InvalidOperationException(string.Format(ResXml.XmlCannotReconcileAccessorDefault, accessor.Name, accessor.Namespace, value1, value2)); 346throw new InvalidOperationException(string.Format(ResXml.XmlCannotReconcileAccessor, accessor.Name, accessor.Namespace, GetMappingName(existing.Mapping), GetMappingName(accessor.Mapping))); 363throw new InvalidOperationException(string.Format(ResXml.XmlCannotReconcileAttributeAccessor, accessor.Name, accessor.Namespace, GetMappingName(existing.Mapping), GetMappingName(accessor.Mapping))); 365throw new InvalidOperationException(string.Format(ResXml.XmlCannotReconcileAccessor, accessor.Name, accessor.Namespace, GetMappingName(existing.Mapping), GetMappingName(accessor.Mapping))); 496throw new InvalidOperationException(string.Format(ResXml.XmlGetSchemaMethodReturnType, type.Name, provider.MethodName, typeof(XmlSchemaProviderAttribute).Name, typeof(XmlQualifiedName).FullName, typeof(XmlSchemaType).FullName)); 675throw new InvalidOperationException(string.Format(ResXml.XmlTypesDuplicate, typeDesc.FullName, existingMapping.TypeDesc.FullName, typeDesc.Name, existingMapping.Namespace)); 680throw new InvalidOperationException(string.Format(ResXml.XmlTypesDuplicate, typeDesc.FullName, existingMapping.TypeDesc.FullName, typeDesc.Name, existingMapping.Namespace)); 722throw new InvalidOperationException(string.Format(ResXml.XmlTypesDuplicate, typeDesc.FullName, mapping.TypeDesc.FullName, typeName, ns)); 2022throw new InvalidOperationException(string.Format(ResXml.XmlChoiceMissingValue, accessor.ChoiceIdentifier.Mapping.TypeDesc.FullName, id, element.Name, element.Namespace)); 2104throw new InvalidOperationException(string.Format(ResXml.XmlArrayItemAmbiguousTypes, accessorName, item.ElementName, items[i].ElementName, typeof(XmlElementAttribute).Name, typeof(XmlChoiceIdentifierAttribute).Name, accessorName));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (2)
1033throw new InvalidOperationException(string.Format(ResXml.XmlAnonymousBaseType, mapping.TypeDesc.Name, mapping.BaseMapping.TypeDesc.Name, "AnonymousType", "false")); 1139throw new InvalidOperationException(string.Format(ResXml.XmlAnonymousBaseType, textMapping.TypeDesc.Name, pm.TypeDesc.Name, "AnonymousType", "false"));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (3)
410throw new InvalidOperationException(string.Format(ResXml.XmlElementImportedTwice, element.Name, ns, mapping.GetType().Name, desiredMappingType.Name)); 457throw new InvalidOperationException(string.Format(ResXml.XmlImporterExtensionBadTypeName, typeOwner.GetType().FullName, qname.Name, qname.Namespace, typeName)); 696throw new InvalidOperationException(string.Format(ResXml.XmlIllegalOverride, type.Name, baseMember.Name, baseMember.TypeDesc.FullName, structMapping.Members[i].TypeDesc.FullName, declaringMapping.TypeDesc.FullName));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemas.cs (8)
617item = string.Format(ResXml.XmlSchemaNamedItem, ns, "notation", ((XmlSchemaNotation)o).Name, details); 621item = string.Format(ResXml.XmlSchemaNamedItem, ns, "group", ((XmlSchemaGroup)o).Name, details); 634item = string.Format(ResXml.XmlSchemaNamedItem, ns, "element", e.Name, details); 639item = string.Format(ResXml.XmlSchemaNamedItem, ns, o.GetType() == typeof(XmlSchemaSimpleType) ? "simpleType" : "complexType", ((XmlSchemaType)o).Name, null); 643item = string.Format(ResXml.XmlSchemaNamedItem, ns, "attributeGroup", ((XmlSchemaAttributeGroup)o).Name, details); 656item = string.Format(ResXml.XmlSchemaNamedItem, ns, "attribute", a.Name, details); 676item = string.Format(ResXml.XmlSchemaNamedItem, ns, o.GetType().Name, null, details); 818throw new InvalidOperationException(string.Format(ResXml.XmlSchemaSyntaxErrorDetails, ns, message, exception.LineNumber, exception.LinePosition), exception);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationReader.cs (2)
1424return new InvalidOperationException(string.Format(ResXml.XmlSerializableBadDerivation, xsdDerived, nsDerived, xsdBase, nsBase, clrDerived, clrBase)); 1430return new InvalidOperationException(string.Format(ResXml.XmlSerializableMissingClrType, name, ns, typeof(XmlIncludeAttribute).Name, clrType));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (3)
795throw new InvalidOperationException(string.Format(ResXml.XmlElementNameMismatch, node.LocalName, node.NamespaceURI, name, ns)); 845return new InvalidOperationException(string.Format(ResXml.XmlChoiceIdentifierMismatch, value, identifier, name, ns)); 3703throw new InvalidOperationException(string.Format(ResXml.XmlChoiceMissingValue, choiceMapping.TypeDesc.FullName, element.Namespace + ":" + element.Name, element.Name, element.Namespace));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriterILGen.cs (1)
2415throw new InvalidOperationException(string.Format(ResXml.XmlChoiceMissingValue, choiceMapping.TypeDesc.FullName, element.Namespace + ":" + element.Name, element.Name, element.Namespace));
FrameworkFork\Microsoft.Xml\Xml\ValidateNames.cs (1)
648throw new ArgumentException(string.Format(ResXml.Xml_BadNameChar, XmlException.BuildCharExceptionArgs(':', '\0')), "name");
FrameworkFork\Microsoft.Xml\Xml\XmlConvert.cs (1)
1802return new ArgumentException(string.Format(res, args));
FrameworkFork\Microsoft.Xml\Xml\XmlEncoding.cs (5)
35throw new ArgumentException(string.Format(ResXml.Enc_InvalidByteInEncoding, new object[1] { -1 }), (string)null); 551throw new ArgumentException(string.Format(ResXml.Enc_InvalidByteInEncoding, new object[1] { i }), (string)null); 590throw new ArgumentException(string.Format(ResXml.Enc_InvalidByteInEncoding, new object[1] { i }), (string)null); 630throw new ArgumentException(string.Format(ResXml.Enc_InvalidByteInEncoding, new object[1] { i }), (string)null); 670throw new ArgumentException(string.Format(ResXml.Enc_InvalidByteInEncoding, new object[1] { i }), (string)null);
FrameworkFork\Microsoft.Xml\Xml\XmlException.cs (3)
169message = string.Format(res, args); 177message = string.Format(res, args); 178message = string.Format(ResXml.Xml_MessageWithErrorPosition, new string[] { message, lineNumberStr, linePositionStr });
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathException.cs (1)
72string message = string.Format(res, args);
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNavigator.cs (3)
1074throw new InvalidOperationException(string.Format(ResXml.XPathDocument_NotEnoughSchemaInfo, null)); 1091throw new InvalidOperationException(string.Format(ResXml.XPathDocument_NotEnoughSchemaInfo, null)); 1095throw new InvalidOperationException(string.Format(ResXml.XPathDocument_ValidateInvalidNodeType, null));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ClassDataContract.cs (5)
372string.Format((declaringType.GetTypeInfo().IsEnum ? SRSerialization.DupEnumMemberValue : SRSerialization.DupMemberName), 888string.Format(SRSerialization.InconsistentIsReference, 1230DataContract.ThrowInvalidDataContractException(string.Format(SRSerialization.DuplicateCallback, method, currentCallback, DataContract.GetClrTypeFullName(method.DeclaringType), attributeType), method.DeclaringType); 1232DataContract.ThrowInvalidDataContractException(string.Format(SRSerialization.DuplicateAttribute, prevAttributeType, attributeType, DataContract.GetClrTypeFullName(method.DeclaringType), method), method.DeclaringType); 1256ThrowInvalidDataContractException(string.Format(SRSerialization.ValueTypeCannotHaveBaseType, StableName.Name, StableName.Namespace, _baseContract.StableName.Name, _baseContract.StableName.Namespace));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (3)
560throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.TypeMustBeIXmlSerializable, DataContract.GetClrTypeFullName(type), DataContract.GetClrTypeFullName(Globals.TypeOfIXmlSerializable), dataContract.StableName.Name, dataContract.StableName.Namespace))); 576throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.GenericTypeNameMismatch, dataContract.StableName.Name, dataContract.StableName.Namespace, genericStableName.Name, genericStableName.Namespace))); 1155throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.ReferencedBaseTypeDoesNotExist,
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeGenerator.cs (1)
992throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(string.Format(SRSerialization.CharIsInvalidPrimitive)));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CollectionDataContract.cs (1)
682throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(string.Format(SRSerialization.SupportForMultidimensionalArraysNotPresent)));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (4)
610throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SerializationException(string.Format(SRSerialization.DataContractCacheOverflow))); 630throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SerializationException(string.Format(SRSerialization.DataContractCacheOverflow))); 654throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SerializationException(string.Format(SRSerialization.DataContractCacheOverflow))); 2182throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.DupContractInKnownTypes, type, alreadyExistingContract.UnderlyingType, dataContract.StableName.Namespace, dataContract.StableName.Name)));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContractSerializer.cs (1)
120throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("maxItemsInObjectGraph", string.Format(SRSerialization.ValueMustBeNonNegative)));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContractSet.cs (3)
134throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.DupTypeContractInDataContractSet, (typeNamesEqual ? dataContract.UnderlyingType.AssemblyQualifiedName : DataContract.GetClrTypeFullName(dataContract.UnderlyingType)), (typeNamesEqual ? dataContractInSet.UnderlyingType.AssemblyQualifiedName : DataContract.GetClrTypeFullName(dataContractInSet.UnderlyingType)), dataContract.StableName.Name, dataContract.StableName.Namespace))); 361throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.ReferencedTypesCannotContainNull))); 380throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.ReferencedCollectionTypesCannotContainNull)));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataMemberAttribute.cs (1)
37throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.OrderCannotBeNegative)));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\EnumDataContract.cs (1)
231ThrowInvalidDataContractException(string.Format(SRSerialization.InvalidEnumBaseType, value.Name, value.Namespace, StableName.Name, StableName.Namespace));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ExceptionDataContract.cs (1)
455string.Format(SRSerialization.DupMemberName,
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ObjectToIdCache.cs (2)
88throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.ObjectTableOverflow))); 108throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.ObjectTableOverflow)));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaExporter.cs (1)
63throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.InvalidReturnTypeOnGetSchemaMethod, DataContract.GetClrTypeFullName(clrType), methodName, DataContract.GetClrTypeFullName(getMethod.ReturnType), DataContract.GetClrTypeFullName(Globals.TypeOfXmlQualifiedName))));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (33)
70throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.CannotImportInvalidSchemas), ex)); 79throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.CannotImportNullSchema))); 102throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.CannotImportNullDataContractName))); 422ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.RedefineNotSupported)); 430ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.SimpleTypeUnionNotSupported)); 462ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.SimpleContentNotSupported)); 467ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.MixedContentNotSupported)); 481ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.ComplexTypeRestrictionNotSupported)); 639ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.RootParticleMustBeSequence)); 644ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.RootSequenceMustBeRequired)); 646ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.RootSequenceMaxOccursMustBe)); 693ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.MustContainOnlyLocalElements)); 852ThrowISerializableTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.ISerializableDerivedContainsOneOrMoreItems)); 861ThrowISerializableTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.ISerializableDoesNotContainAny)); 864ThrowISerializableTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.ISerializableDoesNotContainAny)); 866ThrowISerializableTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.ISerializableContainsMoreThanOneItems)); 870ThrowISerializableTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.ISerializableDoesNotContainAny)); 1036throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.AnnotationAttributeNotFound, SchemaExporter.DefaultValueAnnotation.Name, typeName.Name, typeName.Namespace, Globals.EmitDefaultValueAttribute))); 1049throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.AnnotationAttributeNotFound, SchemaExporter.ActualTypeAnnotationName.Name, typeName.Name, typeName.Namespace, Globals.ActualTypeNameAttribute))); 1053throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.AnnotationAttributeNotFound, SchemaExporter.ActualTypeAnnotationName.Name, typeName.Name, typeName.Namespace, Globals.ActualTypeNamespaceAttribute))); 1173ThrowEnumTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.EnumListMustContainAnonymousType)); 1177ThrowEnumTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.EnumUnionInAnonymousTypeNotSupported)); 1179ThrowEnumTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.EnumListInAnonymousTypeNotSupported)); 1186ThrowEnumTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.EnumRestrictionInvalid)); 1209ThrowEnumTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.EnumOnlyEnumerationFacetsSupported)); 1211ThrowEnumTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.EnumEnumerationFacetsMustHaveValue)); 1233ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.SimpleTypeRestrictionDoesNotSpecifyBase)); 1318throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.GenericAnnotationHasInvalidAttributeValue, argumentElement.LocalName, argumentElement.NamespaceURI, type.Name, nestedLevelAttribute.Value, nestedLevelAttribute.LocalName, Globals.TypeOfInt.Name))); 1332throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.GenericAnnotationHasInvalidAttributeValue, typeElement.LocalName, typeElement.NamespaceURI, type.Name, typeNestedLevelsAttribute.Value, typeNestedLevelsAttribute.LocalName, Globals.TypeOfInt.Name))); 1356ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.AbstractTypeNotSupported)); 1358ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.MixedContentNotSupported)); 1376ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.AnyAttributeNotSupported)); 1425ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.InvalidAnnotationExpectingText, xmlElement.LocalName, xmlElement.NamespaceURI, child.LocalName, child.NamespaceURI));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializer.cs (1)
368return XmlObjectSerializer.CreateSerializationException(TryAddLineInfo(reader, string.Format(SRSerialization.EncounteredWithNameNamespace, errorMessage, reader.NodeType, reader.LocalName, reader.NamespaceURI)));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (4)
171throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(XmlObjectSerializer.TryAddLineInfo(reader, string.Format(SRSerialization.DcTypeNotFoundOnDeserialize, attributes.XsiTypeNamespace, attributes.XsiTypeName, reader.NamespaceURI, reader.LocalName)))); 173throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(XmlObjectSerializer.TryAddLineInfo(reader, string.Format(SRSerialization.DcTypeNotResolvedOnDeserialize, attributes.XsiTypeNamespace, attributes.XsiTypeName, reader.NamespaceURI, reader.LocalName)))); 263throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(XmlObjectSerializer.TryAddLineInfo(xmlReader, string.Format(SRSerialization.UnexpectedElementExpectingElements, xmlReader.NodeType, xmlReader.LocalName, xmlReader.NamespaceURI, stringBuilder.ToString())))); 449throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.UnexpectedEndOfFile)));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerReadContextComplex.cs (3)
110throw XmlObjectSerializer.CreateSerializationException(XmlObjectSerializer.TryAddLineInfo(xmlReader, string.Format(SRSerialization.AttributeNotFound, Globals.SerializationNamespace, Globals.ClrTypeLocalName, xmlReader.NodeType, xmlReader.NamespaceURI, xmlReader.LocalName))); 112throw XmlObjectSerializer.CreateSerializationException(XmlObjectSerializer.TryAddLineInfo(xmlReader, string.Format(SRSerialization.AttributeNotFound, Globals.SerializationNamespace, Globals.ClrAssemblyLocalName, xmlReader.NodeType, xmlReader.NamespaceURI, xmlReader.LocalName))); 114throw XmlObjectSerializer.CreateSerializationException(XmlObjectSerializer.TryAddLineInfo(xmlReader, string.Format(SRSerialization.AttributeNotFound, Globals.SerializationNamespace, Globals.ClrTypeLocalName, xmlReader.NodeType, xmlReader.NamespaceURI, xmlReader.LocalName)));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlReaderDelegator.cs (2)
52throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("i", string.Format(SRSerialization.XmlElementAttributes))); 152throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("i", string.Format(SRSerialization.XmlElementAttributes)));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlSerializableReader.cs (1)
68throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.IXmlSerializableIllegalOperation)));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlSerializableWriter.cs (1)
71throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(string.Format(SRSerialization.IXmlSerializableIllegalOperation)));
FrameworkFork\System.Runtime.Serialization\System\Text\Base64Encoding.cs (19)
40throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("charCount", string.Format(SRSerialization.ValueMustBeNonNegative))); 68throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("index", string.Format(SRSerialization.ValueMustBeNonNegative))); 72throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("count", string.Format(SRSerialization.ValueMustBeNonNegative))); 128throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("charIndex", string.Format(SRSerialization.ValueMustBeNonNegative))); 133throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("charCount", string.Format(SRSerialization.ValueMustBeNonNegative))); 140throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("byteIndex", string.Format(SRSerialization.ValueMustBeNonNegative))); 181throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.XmlArrayTooSmall), "bytes")); 211throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("charIndex", string.Format(SRSerialization.ValueMustBeNonNegative))); 216throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("charCount", string.Format(SRSerialization.ValueMustBeNonNegative))); 223throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("byteIndex", string.Format(SRSerialization.ValueMustBeNonNegative))); 263throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.XmlArrayTooSmall), "bytes")); 304throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("byteIndex", string.Format(SRSerialization.ValueMustBeNonNegative))); 308throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("byteCount", string.Format(SRSerialization.ValueMustBeNonNegative))); 316throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("charIndex", string.Format(SRSerialization.ValueMustBeNonNegative))); 320throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.XmlArrayTooSmall), "chars")); 398throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("byteIndex", string.Format(SRSerialization.ValueMustBeNonNegative))); 402throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("byteCount", string.Format(SRSerialization.ValueMustBeNonNegative))); 410throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("charIndex", string.Format(SRSerialization.ValueMustBeNonNegative))); 415throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.XmlArrayTooSmall), "chars"));
FrameworkFork\System.Runtime.Serialization\System\Xml\UniqueId.cs (7)
89throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("offset", string.Format(SRSerialization.ValueMustBeNonNegative))); 111throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new FormatException(string.Format(SRSerialization.XmlInvalidUniqueId))); 129throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("offset", string.Format(SRSerialization.ValueMustBeNonNegative))); 133throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("count", string.Format(SRSerialization.ValueMustBeNonNegative))); 137throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new FormatException(string.Format(SRSerialization.XmlInvalidUniqueId))); 273throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("offset", string.Format(SRSerialization.ValueMustBeNonNegative))); 360throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("offset", string.Format(SRSerialization.ValueMustBeNonNegative)));
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBaseReader.cs (19)
142XmlExceptionHelper.ThrowXmlException(this, new XmlException(string.Format(SRSerialization.XmlDeclMissingVersion))); 145XmlExceptionHelper.ThrowXmlException(this, new XmlException(string.Format(SRSerialization.XmlMalformedDecl))); 149XmlExceptionHelper.ThrowXmlException(this, new XmlException(string.Format(SRSerialization.XmlDeclMissingVersion))); 158XmlExceptionHelper.ThrowXmlException(this, new XmlException(string.Format(SRSerialization.XmlMalformedDecl))); 162XmlExceptionHelper.ThrowXmlException(this, new XmlException(string.Format(SRSerialization.XmlMalformedDecl))); 178XmlExceptionHelper.ThrowXmlException(this, new XmlException(string.Format(SRSerialization.XmlMalformedDecl))); 184XmlExceptionHelper.ThrowXmlException(this, new XmlException(string.Format(SRSerialization.XmlInvalidStandalone))); 193XmlExceptionHelper.ThrowXmlException(this, new XmlException(string.Format(SRSerialization.XmlMalformedDecl))); 199XmlExceptionHelper.ThrowXmlException(this, new XmlException(string.Format(valueSR))); 524throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("index", string.Format(SRSerialization.XmlElementAttributes))); 526throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("index", string.Format(SRSerialization.ValueMustBeNonNegative))); 1148throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("offset", string.Format(SRSerialization.ValueMustBeNonNegative))); 1152throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("count", string.Format(SRSerialization.ValueMustBeNonNegative))); 1178throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("offset", string.Format(SRSerialization.ValueMustBeNonNegative))); 1182throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("count", string.Format(SRSerialization.ValueMustBeNonNegative))); 1245throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.XmlEndElementNoOpenNodes))); 1338throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("offset", string.Format(SRSerialization.ValueMustBeNonNegative))); 1342throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("count", string.Format(SRSerialization.ValueMustBeNonNegative))); 1674throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.XmlInvalidOperation)));
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBaseWriter.cs (30)
102throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.XmlWriterClosed))); 249throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.XmlEmptyNamespaceRequiresNullPrefix), "prefix")); 419throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.XmlInvalidCommentChars), "text")); 474throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.XmlOnlyOneRoot))); 478throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.InvalidLocalNameEmpty), "localName")); 519throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.XmlOnlyOneRoot))); 523throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.InvalidLocalNameEmpty), "localName")); 666throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.XmlIllegalOutsideRoot))); 673throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.XmlIllegalOutsideRoot))); 700throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.XmlIllegalOutsideRoot))); 707throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.XmlIllegalOutsideRoot))); 714throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.XmlIllegalOutsideRoot))); 794throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.InvalidLocalNameEmpty), "localName")); 813throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.InvalidLocalNameEmpty), "localName")); 858throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.XmlProcessingInstructionNotSupported), "name")); 861throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.XmlInvalidDeclaration))); 888throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.XmlNoRootElement))); 940throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.XmlOnlyWhitespace), "whitespace")); 1004throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("offset", string.Format(SRSerialization.ValueMustBeNonNegative))); 1007throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("count", string.Format(SRSerialization.ValueMustBeNonNegative))); 1061throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("offset", string.Format(SRSerialization.ValueMustBeNonNegative))); 1064throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("count", string.Format(SRSerialization.ValueMustBeNonNegative))); 1090throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.XmlMissingLowSurrogate), "ch")); 1210throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.XmlNestedArraysNotSupported), "value")); 1431throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("offset", string.Format(SRSerialization.ValueMustBeNonNegative))); 1434throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("count", string.Format(SRSerialization.ValueMustBeNonNegative))); 1590throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.XmlOnlyOneRoot))); 1592throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.XmlOnlyOneRoot))); 1923throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.XmlReservedPrefix), "prefix")); 1940throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.XmlEmptyNamespaceRequiresNullPrefix), "prefix"));
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBinaryReader.cs (4)
40throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("offset", string.Format(SRSerialization.ValueMustBeNonNegative))); 44throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("count", string.Format(SRSerialization.ValueMustBeNonNegative))); 1210throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("offset", string.Format(SRSerialization.ValueMustBeNonNegative))); 1214throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("count", string.Format(SRSerialization.ValueMustBeNonNegative)));
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBinaryReaderSession.cs (2)
28throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException(string.Format(SRSerialization.XmlInvalidID))); 33throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.XmlIDDefined)));
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBinaryWriter.cs (3)
61throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.XmlOnlySingleValue))); 1272throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("offset", string.Format(SRSerialization.ValueMustBeNonNegative))); 1276throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("count", string.Format(SRSerialization.ValueMustBeNonNegative)));
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBinaryWriterSession.cs (1)
42throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.XmlKeyAlreadyExists)));
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlDictionaryReader.cs (2)
896throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("offset", string.Format(SRSerialization.ValueMustBeNonNegative))); 900throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("count", string.Format(SRSerialization.ValueMustBeNonNegative)));
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlDictionaryReaderQuotas.cs (6)
73throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.QuotaCopyReadOnly))); 100throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.QuotaMustBePositive), "value")); 118throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.QuotaMustBePositive), "value")); 136throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.QuotaMustBePositive), "value")); 155throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.QuotaMustBePositive), "value")); 174throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.QuotaMustBePositive), "value"));
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlDictionaryWriter.cs (2)
408throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("offset", string.Format(SRSerialization.ValueMustBeNonNegative))); 412throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("count", string.Format(SRSerialization.ValueMustBeNonNegative)));
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlExceptionHelper.cs (1)
63return string.Format(SRSerialization.XmlFoundEndOfFile);
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlUTF8TextReader.cs (8)
567throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("offset", string.Format(SRSerialization.ValueMustBeNonNegative))); 571throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("count", string.Format(SRSerialization.ValueMustBeNonNegative))); 887XmlExceptionHelper.ThrowXmlException(this, new XmlException(string.Format(SRSerialization.XmlSpaceBetweenAttributes))); 920XmlExceptionHelper.ThrowXmlException(this, new XmlException(string.Format(SRSerialization.XmlInvalidFFFE))); 1056XmlExceptionHelper.ThrowXmlException(this, new XmlException(string.Format(SRSerialization.XmlInvalidCommentChars))); 1189XmlExceptionHelper.ThrowXmlException(this, new XmlException(string.Format(SRSerialization.XmlInvalidFFFE))); 1349XmlExceptionHelper.ThrowXmlException(this, new XmlException(string.Format(SRSerialization.XmlCDATAInvalidAtTopLevel))); 1392XmlExceptionHelper.ThrowXmlException(this, new XmlException(string.Format(SRSerialization.XmlCloseCData)));
FrameworkFork\System.ServiceModel\System\IdentityModel\Claims\X509CertificateClaimSet.cs (1)
421throw new FormatException(string.Format(
FrameworkFork\System.ServiceModel\System\IdentityModel\Selectors\X509SecurityTokenProvider.cs (2)
42throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityTokenException(string.Format(SRServiceModel.CannotFindCert, storeName, storeLocation, findType, findValue))); 46throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityTokenException(string.Format(SRServiceModel.FoundMultipleCerts, storeName, storeLocation, findType, findValue)));
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\KeyInfoSerializer.cs (4)
178throw /*System.ServiceModel.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(string.Format(SR_IdentityModel.ErrorDeserializingKeyIdentifierClause))); 220throw /*System.ServiceModel.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(string.Format(SR_IdentityModel.ErrorSerializingKeyIdentifier), e)); 268throw /*System.ServiceModel.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(string.Format(SR_IdentityModel.ErrorDeserializingKeyIdentifierClause), e)); 310throw /*System.ServiceModel.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(string.Format(SR_IdentityModel.ErrorSerializingKeyIdentifierClause), e));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (1)
89throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.CannotImportSupportingTokensForOperationWithoutRequestAction)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (2)
443throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format( 455throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpResponseMessageHelper.cs (1)
155string.Format(
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpTransportBindingElement.cs (1)
552throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(string.Format(
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ReliableSessionBindingElementImporter.cs (2)
345? string.Format(SRServiceModel.ElementRequired, wsrmPrefix, 348: string.Format(SRServiceModel.ElementFound, wsrmPrefix,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannel.cs (1)
1095string.Format(SRServiceModel.SFxServiceChannelCannotBeCalledBecauseIsSessionOpenNotificationEnabled, operation.Name, "Action", OperationDescription.SessionOpenedAction, "Open")));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SocketConnection.cs (3)
456return new EndpointNotFoundException(string.Format(SRServiceModel.TcpConnectErrorWithTimeSpan, remoteUri.AbsoluteUri, (int)socketException.SocketErrorCode, socketException.Message, timeSpent), innerException); 477return new CommunicationException(string.Format(SRServiceModel.TcpConnectErrorWithTimeSpan, remoteUri.AbsoluteUri, (int)socketException.SocketErrorCode, socketException.Message, timeSpent), innerException); 531string.Format(SRServiceModel.TcpConnectingToViaTimedOut, uri.AbsoluteUri, timeout.ToString(),
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransactionFlowBindingElement.cs (2)
171throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRServiceModel.TransactionFlowBadOption))); 217throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.TrustDriverVersionDoesNotSupportIssuedTokens)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (1)
360AddError(string.Format(SRServiceModel.SFxInconsistentWsdlOperationUseAndStyleInBinding,
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataSection.cs (1)
96string.Format(SRServiceModel.SFxBadMetadataMustBePolicy, MetadataStrings.WSPolicy.NamespaceUri, MetadataStrings.WSPolicy.Elements.Policy, policy.NamespaceURI, policy.LocalName));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\SchemaHelper.cs (2)
29throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxConflictingGlobalElement, element.Name, schema.TargetNamespace, GetTypeName(element), GetTypeName(existingElement)))); 148warning = new MetadataConversionError(string.Format(SRServiceModel.SchemaValidationError, ex.SourceUri, ex.LineNumber, ex.LinePosition, ex.Message));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceReflector.cs (1)
502string.Format(SRServiceModel.SFxErrorReflectingOnParameter4,
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (25)
466new InvalidOperationException(string.Format(SRServiceModel.SyncAsyncMatchConsistency_Attributes6, 477new InvalidOperationException(string.Format(SRServiceModel.SyncTaskMatchConsistency_Attributes6, 487new InvalidOperationException(string.Format(SRServiceModel.TaskAsyncMatchConsistency_Attributes6, 1594new InvalidOperationException(string.Format(SRServiceModel.SyncAsyncMatchConsistency_Parameters5, 1610new InvalidOperationException(string.Format(SRServiceModel.SyncAsyncMatchConsistency_Parameters5, 1627new InvalidOperationException(string.Format(SRServiceModel.SyncAsyncMatchConsistency_Parameters5, 1642new InvalidOperationException(string.Format(SRServiceModel.SyncAsyncMatchConsistency_ReturnType5, 1656new InvalidOperationException(string.Format(SRServiceModel.SyncAsyncMatchConsistency_Attributes6, 1671new InvalidOperationException(string.Format(SRServiceModel.SyncAsyncMatchConsistency_Attributes6, 1686new InvalidOperationException(string.Format(SRServiceModel.SyncAsyncMatchConsistency_Property6, 1703new InvalidOperationException(string.Format(SRServiceModel.SyncAsyncMatchConsistency_Property6, 1735new InvalidOperationException(string.Format(SRServiceModel.SyncTaskMatchConsistency_Parameters5, 1750new InvalidOperationException(string.Format(SRServiceModel.SyncTaskMatchConsistency_Parameters5, 1764new InvalidOperationException(string.Format(SRServiceModel.SyncTaskMatchConsistency_ReturnType5, 1777new InvalidOperationException(string.Format(SRServiceModel.SyncTaskMatchConsistency_Attributes6, 1791new InvalidOperationException(string.Format(SRServiceModel.SyncTaskMatchConsistency_Attributes6, 1805new InvalidOperationException(string.Format(SRServiceModel.SyncTaskMatchConsistency_Property6, 1821new InvalidOperationException(string.Format(SRServiceModel.SyncTaskMatchConsistency_Property6, 1852new InvalidOperationException(string.Format(SRServiceModel.TaskAsyncMatchConsistency_Parameters5, 1868new InvalidOperationException(string.Format(SRServiceModel.TaskAsyncMatchConsistency_Parameters5, 1883new InvalidOperationException(string.Format(SRServiceModel.TaskAsyncMatchConsistency_ReturnType5, 1897new InvalidOperationException(string.Format(SRServiceModel.TaskAsyncMatchConsistency_Attributes6, 1912new InvalidOperationException(string.Format(SRServiceModel.TaskAsyncMatchConsistency_Attributes6, 1927new InvalidOperationException(string.Format(SRServiceModel.TaskAsyncMatchConsistency_Property6, 1944new InvalidOperationException(string.Format(SRServiceModel.TaskAsyncMatchConsistency_Property6,
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (1)
57: string.Format(SRServiceModel.WarnSkippingOpertationWithSessionOpenNotificationEnabled, "Action", OperationDescription.SessionOpenedAction, contract.Name, contract.Namespace, operation.Name);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (2)
638string.Format(SRServiceModel.SFxBadMetadataDialect, doc.Identifier, doc.Dialect, typeof(T).FullName, doc.GetType().FullName))); 1144string message = string.Format(SRServiceModel.ElementRequired, MetadataStrings.Addressing10.MetadataPolicy.Prefix,
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (6)
355throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxRpcMessageBodyPartNameInvalid, Operation.Name, this.Operation.Messages[0].MessageName, _request.BodyMapping.XsdElementName, this.Operation.Name))); 361throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxRpcMessageBodyPartNameInvalid, Operation.Name, this.Operation.Messages[1].MessageName, _reply.BodyMapping.XsdElementName, responseName.EncodedName))); 421throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxHeaderNameMismatchInMessageContract, message.MessageType, header.MemberInfo.Name, header.Name, headerName))); 423throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxHeaderNameMismatchInOperation, this.Operation.Name, this.Operation.DeclaringContract.Name, this.Operation.DeclaringContract.Namespace, header.Name, headerName))); 428throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxHeaderNamespaceMismatchInMessageContract, message.MessageType, header.MemberInfo.Name, header.Namespace, headerNs))); 430throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxHeaderNamespaceMismatchInOperation, this.Operation.Name, this.Operation.DeclaringContract.Name, this.Operation.DeclaringContract.Namespace, header.Namespace, headerNs)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (1)
351throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SerializationException(string.Format(SRServiceModel.SFxInvalidMessageBody, messageInfo.WrapperName, messageInfo.WrapperNamespace, reader.NodeType, reader.Name, reader.NamespaceURI)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (4)
458throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SerializationException(string.Format(SRServiceModel.SFxInvalidMessageBody, _requestWrapperName, _requestWrapperNamespace, reader.NodeType, reader.Name, reader.NamespaceURI))); 480throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SerializationException(string.Format(SRServiceModel.SFxInvalidMessageBody, _responseWrapperName, _responseWrapperNamespace, reader.NodeType, reader.Name, reader.NamespaceURI))); 521new ArgumentException(string.Format(SRServiceModel.SFxParameterCountMismatch, "parts", parts.Length, "parameters", parameters.Length), "parameters")); 586new ArgumentException(string.Format(SRServiceModel.SFxParameterCountMismatch, "parts", parts.Length, "parameters", parameters.Length), "parameters"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\StreamFormatter.cs (1)
295throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ObjectDisposedException(string.Format(
FrameworkFork\System.ServiceModel\System\ServiceModel\EndpointAddress.cs (4)
600"reader", string.Format(SRServiceModel.CannotDetectAddressingVersion)); 759throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateXmlException(reader, string.Format(SRServiceModel.UnexpectedElementExpectingElement, reader.LocalName, reader.NamespaceURI, XD.AddressingDictionary.Address.Value, XD.Addressing200408Dictionary.Namespace.Value))); 911throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateXmlException(reader, string.Format(SRServiceModel.UnexpectedElementExpectingElement, reader.LocalName, reader.NamespaceURI, XD.AddressingDictionary.Address.Value, XD.Addressing10Dictionary.Namespace.Value))); 1050throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("addressingVersion", string.Format(SRServiceModel.SFxNone2004));
FrameworkFork\System.ServiceModel\System\ServiceModel\NetTcpSecurity.cs (1)
28string.Format("Invalid SecurityMode value: {0} = {1} (default is {2} = {3}).",
FrameworkFork\System.ServiceModel\System\ServiceModel\OperationContractAttribute.cs (1)
129string.Format(SRServiceModel.ContractIsNotSelfConsistentWhenIsSessionOpenNotificationEnabled, operationName, "Action", OperationDescription.SessionOpenedAction, "IsOneWay", "IsInitiating")));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityTimestamp.cs (1)
189throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MessageSecurityException(string.Format(SRServiceModel.TimeStampWasCreatedTooLongAgo, this.CreationTimeUtc.ToString(DefaultFormat, CultureInfo.CurrentCulture), now.ToString(DefaultFormat, CultureInfo.CurrentCulture), timeToLive, allowedClockSkew)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityUtils.cs (5)
887throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.CannotFindCert, storeName, storeLocation, findType, findValue))); 941return new InvalidOperationException(string.Format(SRServiceModel.CannotFindCert, storeName, storeLocation, findType, findValue)); 943return new InvalidOperationException(string.Format(SRServiceModel.CannotFindCertForTarget, storeName, storeLocation, findType, findValue, target)); 947return new InvalidOperationException(string.Format(SRServiceModel.FoundMultipleCerts, storeName, storeLocation, findType, findValue)); 949return new InvalidOperationException(string.Format(SRServiceModel.FoundMultipleCertsForTarget, storeName, storeLocation, findType, findValue, target));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityJan2004.cs (1)
488throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MessageSecurityException(string.Format(SRServiceModel.InvalidX509RawData)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityTokenSerializer.cs (1)
433throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(string.Format(SRServiceModel.ErrorDeserializingKeyIdentifierClauseFromTokenXml), e));
FrameworkFork\System.Web.Services\Services\Description\ServiceDescription.cs (4)
1772throw new ArgumentException(string.Format(ResWebServices.OnlyXmlElementsOrTypesDerivingFromServiceDescriptionFormatExtension0), "value"); 2022throw new InvalidOperationException(string.Format(ResWebServices.WebDescriptionTooManyMessages)); 2033if (oldValue.GetType() != newValue.GetType()) throw new InvalidOperationException(string.Format(ResWebServices.WebDescriptionTooManyMessages)); 2044throw new ArgumentException(string.Format(ResWebServices.OnlyOperationInputOrOperationOutputTypes), "value");
illink (3)
ILLink.RoslynAnalyzer (3)
src\tools\illink\src\ILLink.Shared\DiagnosticString.cs (2)
31 string.Format (_messageFormat, args); 36 string.Format (_titleFormat, args);
src\tools\illink\src\ILLink.Shared\MessageFormat.cs (1)
36 return string.Format (format, args);
Infrastructure.Common (3)
ServiceUtilHelper.cs (1)
534return string.Format(@"{0}://{1}/{2}/{3}", protocol, host, TestHostUtilitiesService, resource);
xunit\WcfTestCase.cs (2)
78etwOutput.AppendLine(string.Format(DisplayName + ": " + item.Message, item.Payload.ToArray())); 85etwOutput.AppendLine(String.Format("ETW message encountered FormatException '{0}' using DisplayName '{1}', format '{2}', and '{3}' payload items",
Infrastructure.IntegrationTests (1)
OSAndFrameworkTests.4.1.1.cs (1)
26String.Format("OSID was not properly detected:{0} The RuntimeInformation.OSDescription is = \'{1}\" {2} The RuntimeIdentifier is = {3}",
Microsoft.Arcade.Test.Common (1)
AssertEx.cs (1)
314Assert.Fail(string.Format(format, args));
Microsoft.Build (4)
BackEnd\Components\SdkResolution\SdkResolverException.cs (1)
23: base(string.Format(ResourceUtilities.GetResourceString(resourceName), args), innerException)
BuildCheck\API\BuildCheckResult.cs (2)
57? $"https://aka.ms/buildcheck/codes#{CheckRule.Id} - {string.Format(CheckRule.MessageFormat, MessageArgs)}" 60string.Format(CheckRule.MessageFormat, MessageArgs);
Definition\ToolsetReader.cs (1)
676public readonly string MSBuildPropertyName => String.Format($"$({StringRepresentation})");
Microsoft.Build.Engine.UnitTests (5)
BackEnd\MockLoggingService.cs (1)
343message = string.Format(message, messageArgs);
Evaluation\ProjectSdkImplicitImport_Tests.cs (3)
441string content = string.Format(projectFormatString, SdkName, projectInnerContents, sdkVersion, minimumSdkVersion); 517string projectContents = string.Format(projectTemplate, SdkName, _projectInnerContents, version, minimumVersion); 642var projectContents = string.Format(
Graph\IsolateProjects_Tests.cs (1)
519var projectContents = string.Format(
Microsoft.Build.Framework (2)
ErrorUtilities.cs (1)
58string.Format(message, args),
LazyFormattedBuildEventArgs.cs (1)
206formatted = string.Format(unformatted, args);
Microsoft.Build.Tasks.CodeAnalysis (1)
src\Compilers\Core\CommandLine\CompilerServerLogger.cs (1)
34logger.Log(string.Format(format, arguments));
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (13)
IntegrationTests.cs (2)
407string arguments = string.Format(@"/m /nr:false /t:Rebuild /p:UseSharedCompilation=false /p:UseRoslyn=1 HelloSolution.sln"); 606string arguments = string.Format(@"/m /nr:false /t:Rebuild /p:UseSharedCompilation=false /p:UseRoslyn=1 HelloSolution.sln");
MapSourceRootTests.cs (11)
268"ERROR : " + string.Format(task.Log.FormatResourceString( 270"ERROR : " + string.Format(task.Log.FormatResourceString( 329"WARNING : " + string.Format(task.Log.FormatResourceString( 331"WARNING : " + string.Format(task.Log.FormatResourceString( 333"WARNING : " + string.Format(task.Log.FormatResourceString( 335"WARNING : " + string.Format(task.Log.FormatResourceString( 337"WARNING : " + string.Format(task.Log.FormatResourceString( 339"WARNING : " + string.Format(task.Log.FormatResourceString( 377AssertEx.AssertEqualToleratingWhitespaceDifferences("ERROR : " + string.Format(task.Log.FormatResourceString( 406AssertEx.AssertEqualToleratingWhitespaceDifferences("ERROR : " + string.Format(task.Log.FormatResourceString( 440AssertEx.AssertEqualToleratingWhitespaceDifferences("ERROR : " + string.Format(task.Log.FormatResourceString(
Microsoft.Build.Tasks.UnitTests (5)
AssemblyDependency\SuggestedRedirects.cs (1)
112String.Format(
ResolveNonMSBuildProjectOutput_Tests.cs (2)
59string message = string.Format("Reference \"{0}\" [project \"{1}\", package \"{2}\", name \"{3}\"], " + 112string message = string.Format("Reference \"{0}\" [project \"{1}\", package \"{2}\", name \"{3}\"] Pregen Xml string : \"{4}\"" +
ResourceHandling\GenerateResource_Tests.cs (2)
3756String.Format(AssemblyResources.GetString(messageID), replacements), 3807Assert.DoesNotContain(String.Format(AssemblyResources.GetString(messageID), replacements), ((MockEngine)t.BuildEngine).Log);
Microsoft.Build.UnitTests.Shared (4)
MockEngine.cs (2)
379string stringToSearchFor = String.Format(resource, parameters); 389string stringToSearchFor = String.Format(resource, parameters);
ObjectModelHelpers.cs (2)
645return CreateTempFileOnDiskNoFormat(string.Format(fileContents, args)); 1133return string.Format(s, formatItems);
Microsoft.Cci.Extensions (4)
Differs\IDifferences.cs (2)
34differences.Add(new IncompatibleDifference(id, string.Format(format, args))); 46differences.Add(new TypeMismatchInCompatibleDifference(id, string.Format(format, args), type1, type2));
Writers\Syntax\IndentionSyntaxWriter.cs (1)
30WriteCore(string.Format(format, args));
Writers\Syntax\ISyntaxWriter.cs (1)
24writer.Write(string.Format(str, args));
Microsoft.CodeAnalysis (9)
Compilation\Compilation.cs (1)
3685return string.Format("{0}: {1} {2} -> {3} {4}", this.AssemblyName, source.TypeKind.ToString(), source.Name, destination.TypeKind.ToString(), destination.Name);
Diagnostic\DiagnosticDescriptor.cs (3)
44/// A localizable format message string, which can be passed as the first argument to <see cref="String.Format(string, object[])"/> when creating the diagnostic message with this descriptor. 85/// <param name="messageFormat">A format message string, which can be passed as the first argument to <see cref="String.Format(string, object[])"/> when creating the diagnostic message with this descriptor. 115/// <param name="messageFormat">A localizable format message string, which can be passed as the first argument to <see cref="String.Format(string, object[])"/> when creating the diagnostic message with this descriptor.
Diagnostic\LocalizableResourceString.cs (1)
75(_formatArguments.Length > 0 ? string.Format(resourceString, _formatArguments) : resourceString) :
DiagnosticAnalyzer\AnalyzerExecutor.cs (1)
1328return string.Format(CodeAnalysisResources.CompilerAnalyzerThrows, analyzerName, ex.GetType().ToString(), ex.Message, ex.CreateDiagnosticDescription());
Emit\EditAndContinue\EncLocalInfo.cs (1)
77return string.Format("[Id={0}, SynthesizedKind={1}, Type={2}, Constraints={3}, Sig={4}]",
Emit\EditAndContinueMethodDebugInformation.cs (1)
83throw new InvalidDataException(string.Format(CodeAnalysisResources.InvalidDataAtOffset,
MetadataReader\MetadataTypeName.cs (1)
373return String.Format("{{{0},{1},{2},{3}}}", NamespaceName, TypeName, UseCLSCompliantNameArityEncoding.ToString(), _forcedArity.ToString());
Microsoft.CodeAnalysis.CodeStyle (1)
src\Analyzers\Core\Analyzers\ValidateFormatString\AbstractValidateFormatStringDiagnosticAnalyzer.cs (1)
321string.Format(formatString, testArray);
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (2)
205string.Format(WorkspaceExtensionsResources.Destination_type_must_be_a_0_1_or_2_but_given_one_is_3, 223string.Format(WorkspaceExtensionsResources.Destination_type_must_be_a_0_1_2_or_3_but_given_one_is_4,
Microsoft.CodeAnalysis.CSharp (1)
Compiler\DocumentationCommentCompiler.cs (1)
1342WriteLine(string.Format(format, args));
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
CommandLineTests.cs (1)
13073var suppressionMessage = string.Format(CodeAnalysisResources.SuppressionDiagnosticDescriptorMessage,
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (3)
Completion\CompletionProviders\OverrideCompletionProviderTests.cs (1)
2986var xmlString = string.Format("""
QuickInfo\SemanticQuickInfoSourceTests.cs (2)
227var xmlString = string.Format(""" 253var xmlString = string.Format("""
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
CodeGen\UnsafeTests.cs (2)
8670return string.Format(mainClassTemplate, 8673string.Format(CheckedNumericHelperTemplate, operationName, pointedAtType, @operator, checkedness),
Emit\DynamicAnalysis\DynamicAnalysisResourceTests.cs (1)
1058expectedSpanSpellings.Add(string.Format("({0},{1})-({2},{3})", expectedSpanResult.StartLine, expectedSpanResult.StartColumn, expectedSpanResult.EndLine, expectedSpanResult.EndColumn));
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
PDB\PDBTupleTests.cs (1)
246string.Format(@"<symbols>
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (14)
Semantics\ParamsCollectionTests.cs (14)
8667string.Format( 8689string.Format( 8713string.Format( 8738string.Format( 8768string.Format( 8788string.Format( 8812string.Format( 8837string.Format( 8867string.Format( 8890string.Format( 8910string.Format( 8931string.Format( 8951string.Format( 8973string.Format(
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
EditAndContinue\Helpers\EditingTestBase.cs (1)
101"class with explicit or sequential layout" => string.Format(FeaturesResources.class_with_explicit_or_sequential_layout),
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
CommandLineRunnerTests.cs (1)
850{string.Format(ScriptingResources.AssemblyAlreadyLoaded, libBaseName, "0.0.0.0", fileBase1.Path, fileBase2.Path)}
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\LookupPositionTests.cs (1)
3131message: string.Format("Lookup({0}) - '{1}' in '{2}' after {3}th '{4}' - \"-->\" found but not expected, \"++>\" expected but not found",
Semantics\OperatorTests.cs (1)
8412string expectedSymbol = String.Format("{4} {0}.{2}({1} left, {3} right)",
Semantics\SemanticErrorTests.cs (1)
11259string source = string.Format(
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (15)
DocumentationComments\DocumentationCommentCompilerTests.cs (1)
5727var comp = CreateCompilationUtil(string.Format(sourceTemplate, includeElements));
Symbols\DefaultInterfaceImplementationTests.cs (13)
68385static abstract " + string.Format(signatureTemplate, "T2", "", checkedKeyword, op) + @"; 68390static abstract " + string.Format(signatureTemplate, "T4", "", checkedKeyword, op) + @"; 68399static " + string.Format(signatureTemplate, "T1", "I2<T1>.", checkedKeyword, op) + @" 68404static " + string.Format(signatureTemplate, "T1", "I4<T1>.", checkedKeyword, op) + @" 68421static virtual " + string.Format(signatureTemplate, "T2", "", "", matchingOp) + @" => throw null; 68426static virtual " + string.Format(signatureTemplate, "T4", "", "", matchingOp) + @" => throw null; 68651static abstract " + string.Format(signatureTemplate, "T1", "", checkedKeyword, op) + @"; 68656static " + string.Format(signatureTemplate, "T2", "I1<T2>.", checkedKeyword, op) + @" 68664static " + string.Format(signatureTemplate, "T3", "I1<T3>.", checkedKeyword, op) + @" 68676static virtual " + string.Format(signatureTemplate, "T1", "", "", matchingOp) + @" => throw null; 68741static virtual " + string.Format(signatureTemplate, "T1", "", checkedKeyword, op) + @" => throw null; 68746static abstract " + string.Format(signatureTemplate, "T2", "I1<T2>.", checkedKeyword, op) + @"; 68755static virtual " + string.Format(signatureTemplate, "T1", "", "", matchingOp) + @" => throw null;
Symbols\SymbolDistinguisherTests.cs (1)
108Assert.Equal(string.Format("C [Metadata.dll]"), distinguisher.Second.ToString());
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
DiagnosticTestUtilities.cs (2)
28return string.Format("Line={0}, Column={1}, Code={2}, IsWarning={3}", this.Line, this.Column, this.Code, this.IsWarning); 106String.Format(
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (8)
Completion\AbstractCompletionProviderTests.cs (6)
807return string.Format(@" 834return string.Format(@" 854return string.Format(@" 869return string.Format(@" 921return string.Format(@" 949return string.Format(@"
SignatureHelp\AbstractSignatureHelpProviderTests.cs (2)
284var xmlString = string.Format(@" 305var xmlString = string.Format(@"
Microsoft.CodeAnalysis.Features (3)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (1)
298? string.Format(
src\Analyzers\Core\Analyzers\ValidateFormatString\AbstractValidateFormatStringDiagnosticAnalyzer.cs (1)
321string.Format(formatString, testArray);
SymbolSearch\Windows\SymbolSearchUpdateEngine.Update.cs (1)
102localSettingsDirectory, "PackageCache", string.Format(Invariant($"Format{AddReferenceDatabaseTextFileFormatVersion}"))));
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
EditAndContinue\RudeEditDiagnosticDescription.cs (1)
72string.Format(format, _arguments);
Microsoft.CodeAnalysis.Features.UnitTests (4)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (4)
1054AssertEx.Equal(["ENC0001: " + string.Format(FeaturesResources.Updating_an_active_statement_requires_restarting_the_application)], 1068AssertEx.Equal(["ENC0001: " + string.Format(FeaturesResources.Updating_an_active_statement_requires_restarting_the_application)], 2171AssertEx.Equal([$"{document2.FilePath}: (0,0)-(0,54): Error CS8055: {string.Format(CSharpResources.ERR_EncodinglessSyntaxTree)}"], InspectDiagnostics(emitDiagnostics)); 2188AssertEx.Equal([$"{document2.FilePath}: (0,0)-(0,54): Error CS8055: {string.Format(CSharpResources.ERR_EncodinglessSyntaxTree)}"], InspectDiagnostics(emitDiagnostics));
Microsoft.CodeAnalysis.Scripting (1)
Hosting\ObjectFormatter\CommonObjectFormatter.Builder.cs (1)
110Append(string.Format(format, args));
Microsoft.CodeAnalysis.Test.Utilities (2)
Assert\AssertEx.cs (1)
556throw new Xunit.Sdk.XunitException(string.Format(format, args));
Diagnostics\DiagnosticExtensions.cs (1)
431return string.Format(@"{{
Microsoft.CodeAnalysis.UnitTests (1)
Diagnostics\SuppressMessageAttributeCompilerTests.cs (1)
168string.Format(CodeAnalysisResources.CompilerAnalyzerThrows, AnalyzerName, exception.GetType().ToString(), exception.Message, exception.ToString() + Environment.NewLine + "-----"))}")
Microsoft.CodeAnalysis.VisualBasic (4)
Compilation\SemanticModel.vb (3)
3598Return String.Format("{0}: {1} ({2}) at {3}", Me.SyntaxTree.FilePath, node.Kind.ToString(), node.Position, position) 3622Return String.Format("{0}: {1} at {2} ({3})", Me.SyntaxTree.FilePath, name, position, [option].ToString()) 3627Return String.Format("{0}: {1} {2} at {3}", Me.SyntaxTree.FilePath, symbol.Kind.ToString(), symbol.Name, position)
Symbols\SynthesizedSymbols\GeneratedNames.vb (1)
208String.Format("{0}{1}_{2}{3}", prefix, submissionSlotIndex, index, moduleId),
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (5)
Emit\DynamicAnalysis\DynamicAnalysisResourceTests.vb (1)
835expectedSpanSpellings.Add(String.Format("({0},{1})-({2},{3})", expectedSpanResult.StartLine, expectedSpanResult.StartColumn, expectedSpanResult.EndLine, expectedSpanResult.EndColumn))
ExpressionTrees\CodeGenExprLambda.vb (4)
1324Return String.Format("{1}{3} -> {2}{4}", Keyword, Me.TypeFrom, Me.TypeTo, 1463String.Format("-=-=-=-=-=-=-=-=- CType({0}, {1}) for {2} and {3} -=-=-=-=-=-=-=-=-", 1465String.Format("-=-=-=-=-=-=-=-=- implicit {0} -> {1} for {2} and {3} -=-=-=-=-=-=-=-=-", 1974source...<file>.Value = String.Format(source...<file>.Value,
Microsoft.CodeAnalysis.Workspaces (4)
Log\TraceLogger.cs (2)
25=> Trace.WriteLine(string.Format("[{0}] Start({1}) : {2} - {3}", Environment.CurrentManagedThreadId, uniquePairId, functionId.ToString(), logMessage.GetMessage())); 30Trace.WriteLine(string.Format("[{0}] End({1}) : [{2}ms] {3}", Environment.CurrentManagedThreadId, uniquePairId, delta, functionString));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\AbstractCodeGenerationService.cs (2)
205string.Format(WorkspaceExtensionsResources.Destination_type_must_be_a_0_1_or_2_but_given_one_is_3, 223string.Format(WorkspaceExtensionsResources.Destination_type_must_be_a_0_1_2_or_3_but_given_one_is_4,
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
SolutionGeneration.cs (1)
194string.Format(
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
FindAllDeclarationsTests.TestSolutionsAndProject.cs (1)
33string.Format("Search term '{0}' expected '{1}' results, found '{2}. Ignore case was set to '{3}', Workspace {4} was used",
Microsoft.CSharp (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Data.Analysis (1)
DataFrame.cs (1)
718sb.Append(string.Format(Columns[i].Name.PadRight(padding)));
Microsoft.DotNet.Build.Tasks.Workloads (1)
WorkloadPackageBase.cs (1)
337throw new Exception(string.Format(Strings.NoInstallerVersion, taskName,
Microsoft.DotNet.GenFacades (1)
SourceGenerator.cs (1)
112return string.Format($"[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof({alias}{TransformGenericTypes(typeName)}))]");
Microsoft.DotNet.NuGetRepack.Tests (1)
TestHelpers\AssertEx.cs (1)
330Assert.Fail(string.Format(format, args));
Microsoft.DotNet.SignCheckLibrary (5)
Logging\ConsoleLogger.cs (2)
33WriteMessage(Verbosity, String.Format(message, values)); 58WriteError(Verbosity, String.Format(message, values));
Logging\FileLogger.cs (2)
125WriteMessage(String.Format(message, values)); 151WriteError(String.Format(message, values));
Verification\SignatureVerificationResult.cs (1)
244AddDetail(key, String.Format(format, values));
Microsoft.DotNet.SignCheckTask (1)
src\SignCheck.cs (1)
445Log.WriteMessage(LogVerbosity.Minimum, String.Format(SignCheckResources.scStats,
Microsoft.DotNet.VersionTools.Cli (2)
ConsoleLogger.cs (2)
12Console.WriteLine(String.Format(message, values)); 19Console.Error.WriteLine(String.Format(message, values));
Microsoft.Extensions.Caching.Memory (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Extensions.Configuration (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Extensions.Configuration.Abstractions (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Extensions.Configuration.Binder (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Extensions.Configuration.CommandLine (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Extensions.Configuration.FileExtensions (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Extensions.Configuration.Ini (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Extensions.Configuration.Json (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Extensions.Configuration.UserSecrets (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Extensions.Configuration.Xml (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Extensions.DependencyInjection (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Extensions.DependencyInjection.Abstractions (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Extensions.DependencyModel (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Extensions.Diagnostics (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Extensions.Diagnostics.Abstractions (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Extensions.FileProviders.Abstractions (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Extensions.FileProviders.Physical (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Extensions.FileSystemGlobbing (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Extensions.Hosting (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Extensions.Hosting.Abstractions (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Extensions.Http (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Extensions.Logging (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Extensions.Logging.Abstractions (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Extensions.Logging.Configuration (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Extensions.Logging.Console (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Extensions.Logging.Generators (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Extensions.Options (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Extensions.Options.SourceGeneration (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Extensions.Primitives (2)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
ThrowHelper.cs (1)
39string message = string.Format(GetResourceText(resource), args);
Microsoft.Interop.ComInterfaceGenerator (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Interop.JavaScript.JSImportGenerator (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Interop.LibraryImportGenerator (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Interop.SourceGeneration (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Maui.Controls (2)
BindingBase.cs (1)
166 value = string.Format(format, args);
Shapes\PointCollectionConverter.cs (1)
56 throw new InvalidOperationException(string.Format("Cannot convert string into PointCollection"));
Microsoft.Maui.Controls.Build.Tasks (2)
BuildException.cs (1)
36 message = string.Format(message, args);
PerformanceProvider.cs (1)
68 yield return string.Format("{0,-80} | {1,-10} | {2,-10}ms | {3,-8}ms", key, kvp.Value.CallCount, total, avg);
Microsoft.Maui.Graphics (2)
Rect.cs (1)
24 return string.Format("{{X={0} Y={1} Width={2} Height={3}}}", X.ToString(CultureInfo.InvariantCulture), Y.ToString(CultureInfo.InvariantCulture), Width.ToString(CultureInfo.InvariantCulture), Height.ToString(CultureInfo.InvariantCulture));
RectF.cs (1)
24 return string.Format("{{X={0} Y={1} Width={2} Height={3}}}", X.ToString(CultureInfo.InvariantCulture), Y.ToString(CultureInfo.InvariantCulture), Width.ToString(CultureInfo.InvariantCulture),
Microsoft.Maui.Resizetizer (8)
AsyncTask.cs (8)
100 public void LogMessage(string message, params object[] messageArgs) => LogMessage(string.Format(message, messageArgs)); 104 public void LogDebugMessage(string message, params object[] messageArgs) => LogMessage(string.Format(message, messageArgs), importance: MessageImportance.Low); 127 public void LogError(string message, params object[] messageArgs) => LogCodedError(code: null, message: string.Format(message, messageArgs)); 131 public void LogCodedError(string code, string message, params object[] messageArgs) => LogCodedError(code: code, message: string.Format(message, messageArgs), file: null, lineNumber: 0); 133 public void LogCodedError(string code, string file, int lineNumber, string message, params object[] messageArgs) => LogCodedError(code: code, message: string.Format(message, messageArgs), file: file, lineNumber: lineNumber); 172 public void LogWarning(string message, params object[] messageArgs) => LogCodedWarning(code: null, message: string.Format(message, messageArgs)); 176 public void LogCodedWarning(string code, string message, params object[] messageArgs) => LogCodedWarning(code: code, message: string.Format(message, messageArgs), file: null, lineNumber: 0); 178 public void LogCodedWarning(string code, string file, int lineNumber, string message, params object[] messageArgs) => LogCodedWarning(code: code, message: string.Format(message, messageArgs), file: file, lineNumber: lineNumber);
Microsoft.ML.Core (3)
CommandLine\CmdParser.cs (1)
402_reporter?.Invoke(string.Format(fmt, args));
Data\IHostEnvironment.cs (1)
220public string Message => _args != null ? string.Format(_message, _args) : _message;
Utilities\SummaryStatistics.cs (1)
308return string.Format(@"Stats[Count={0}, Mean={1}, StdDev={2}, Skew={3}, Kurt={4}, SkewZ={5}, KurtZ={6}, OmniK={7}]",
Microsoft.ML.Core.Tests (4)
UnitTests\ScoreSchemaTest.cs (1)
27bufferEditor.Values[i] = string.Format($"Key-{i}").AsMemory();
UnitTests\TestEntryPoints.cs (3)
3214{string.Format(xfTemplate, xfNames[i], i + 1, xfArgs[i], i + 2)} 3282{string.Format(xfTemplate, xfNames[i], i + 1, xfArgs[i], i + 2)} 3285string inputGraph = string.Format(@"
Microsoft.ML.Data (5)
DataLoadSave\Binary\BinaryLoader.cs (1)
2127return string.Format("{0}.{1}.{2}.{3}", ver >> 48,
DataLoadSave\Binary\Header.cs (1)
43return string.Format("{0}.{1}.{2}.{3}",
DataLoadSave\Transpose\TransposeLoader.cs (1)
71return string.Format("{0}.{1}.{2}.{3}",
Utilities\ColumnCursor.cs (2)
46throw Contracts.ExceptParam(nameof(column), string.Format("column with name {0}, type {1}, and index {2} cannot be found in {3}", 94throw Contracts.ExceptParam(nameof(column), string.Format("Cannot map column (name: {0}, type: {1}) in {2} to the user-defined type, {3}.",
Microsoft.ML.FastTree (2)
FastTree.cs (1)
432return string.Format("set contains {0} query-doc pairs in {1} queries with {2} features and uses {3} MB ({4} MB for features)",
TreeEnsemble\InternalTreeEnsemble.cs (1)
336output.Append(string.Format("C:{0}=FG:I{1}:{2}:{3}\n", startingCommentNumber++, outputInputId,
Microsoft.ML.Sweeper (1)
ConfigRunner.cs (1)
175return string.Format(@"{0}\{1}{2}.{3}.txt", OutputFolder, Prefix, i, kind);
Microsoft.ML.TestFramework (2)
Learners.cs (1)
640string settings = string.Format("qfeats={0} dfeats={1} negdocs={2} iter={3} gamma={4} accel=sse",
TestCommandBase.cs (1)
969string extraArgs = string.Format("{0} {1} {2} {3} k={4}", "prexf=Term{col=Label:Cat} prexf=CategoricalTransform{col=Cat01}",
Microsoft.ML.Tests (2)
TextLoaderTests.cs (2)
35string.Format("{0},{1},{2},{3}", sbyte.MinValue, short.MinValue, int.MinValue, long.MinValue), 36string.Format("{0},{1},{2},{3}", sbyte.MaxValue, short.MaxValue, int.MaxValue, long.MaxValue),
Microsoft.ML.Transforms (4)
Expression\Error.cs (1)
40msg = string.Format(msg, Args);
Expression\LambdaBinder.cs (2)
105Utils.Add(ref _errors, new Error(node.Token, string.Format(msg, args))); 1431_printError(string.Format(
Expression\TokKind.cs (1)
177string msg = string.Format(fmt, args);
Microsoft.VisualBasic.Core (1)
src\libraries\Common\src\System\SR.vb (1)
58Return String.Format(resourceFormat, args)
Microsoft.VisualStudio.LanguageServices (1)
Progression\GraphQueries\IsUsedByGraphQuery.cs (1)
62var label = string.Format("{0} ({1}, {2}): {3}",
Microsoft.VisualStudio.LanguageServices.CSharp (1)
SemanticSearch\SemanticSearchQueryExecutor.cs (1)
120errorMessage = string.Format(errorMessage, result.ErrorMessageArgs);
Microsoft.VisualStudio.LanguageServices.UnitTests (4)
ExtractInterface\ExtractInterfaceViewModelTests.vb (4)
49Assert.True(submitSucceeded, String.Format("Submit failed unexpectedly.")) 63Assert.True(submitSucceeded, String.Format("Submit failed unexpectedly.")) 78Assert.True(submitSucceeded, String.Format("Submit failed unexpectedly.")) 98Assert.True(submitSucceeded, String.Format("Submit failed unexpectedly."))
Microsoft.Win32.Registry (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Win32.Registry.AccessControl (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
Microsoft.Win32.SystemEvents (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
MSBuildTaskHost (1)
D\a\_work\1\s\bin\repo\msbuild\src\Framework\ErrorUtilities.cs\ErrorUtilities.cs (1)
58string.Format(message, args),
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\Common\src\System\SR.cs (1)
72return string.Format(resourceFormat, args);
PresentationCore (1)
src\Microsoft.DotNet.Wpf\src\Common\src\System\SR.cs (1)
72return string.Format(resourceFormat, args);
PresentationFramework (2)
MS\Internal\WindowsRuntime\Generated\WinRT\ExceptionHelpers.cs (1)
377internal static string Format(string format, params object[] args) => String.Format(format, args);
src\Microsoft.DotNet.Wpf\src\Common\src\System\SR.cs (1)
72return string.Format(resourceFormat, args);
PresentationUI (1)
src\Microsoft.DotNet.Wpf\src\Common\src\System\SR.cs (1)
72return string.Format(resourceFormat, args);
ReachFramework (1)
src\Microsoft.DotNet.Wpf\src\Common\src\System\SR.cs (1)
72return string.Format(resourceFormat, args);
Replay (1)
src\Compilers\Core\CommandLine\CompilerServerLogger.cs (1)
34logger.Log(string.Format(format, arguments));
Roslyn.Test.PdbUtilities (1)
EditAndContinue\EditAndContinueTestUtilities.cs (1)
67return string.Format(
Roslyn.VisualStudio.DiagnosticsWindow (2)
Loggers\OutputWindowLogger.cs (2)
40OutputPane.WriteLine(string.Format("[{0}] Start({1}) : {2} - {3}", Environment.CurrentManagedThreadId, uniquePairId, functionId.ToString(), logMessage.GetMessage())); 46OutputPane.WriteLine(string.Format("[{0}] End({1}) : [{2}ms] {3}", Environment.CurrentManagedThreadId, uniquePairId, delta, functionString));
ScenarioTests.Common.Tests (3)
ScenarioTestHelpers.cs (3)
268LogInformation(String.Format(message, args)); 273LogWarning(String.Format(message, args)); 283LogError(String.Format(message, args));
Security.TransportSecurity.IntegrationTests (1)
Https\ClientCredentialTypeTests.4.1.0.cs (1)
79String.Format("Basic echo test.\nTest variation:...\n{0}\nUsing address: '{1}'\nError: expected response from service: '{2}' Actual was: '{3}'",
System.CodeDom (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Collections (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Collections.Concurrent (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Collections.Immutable (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Collections.NonGeneric (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Collections.Specialized (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.ComponentModel.Annotations (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.ComponentModel.Composition (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.ComponentModel.Composition.Registration (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.ComponentModel.EventBasedAsync (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.ComponentModel.Primitives (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.ComponentModel.TypeConverter (2)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System\Timers\TimersDescriptionAttribute.cs (1)
54DescriptionValue = string.Format(base.Description);
System.Composition.Convention (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Composition.Hosting (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Composition.Runtime (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Composition.TypedParts (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Configuration.ConfigurationManager (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Console (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Data.Common (5)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System\Data\Common\DataCommonEventSource.cs (4)
52Trace(string.Format(format, arg0, arg1, arg2, arg3)); 59Trace(string.Format(format, arg0, arg1, arg2, arg3, arg4)); 66Trace(string.Format(format, arg0, arg1, arg2, arg3, arg4, arg5, arg6)); 94internal long EnterScope<T1, T2, T3, T4>(string format, T1 arg1, T2 arg2, T3 arg3, T4 arg4) => Log.IsEnabled() ? EnterScope(string.Format(format, arg1, arg2, arg3, arg4)) : 0;
System.Data.Odbc (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Data.OleDb (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Diagnostics.DiagnosticSource (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Diagnostics.EventLog (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Diagnostics.FileVersionInfo (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Diagnostics.PerformanceCounter (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Diagnostics.Process (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Diagnostics.TextWriterTraceListener (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Diagnostics.TraceSource (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.DirectoryServices (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.DirectoryServices.AccountManagement (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.DirectoryServices.Protocols (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Drawing.Common (1)
Special\SR.cs (1)
65? UsingResourceKeys() ? $"{resourceFormat}, {string.Join(", ", args)}" : string.Format(resourceFormat, args)
System.Drawing.Primitives (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Formats.Asn1 (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Formats.Cbor (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Formats.Nrbf (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Formats.Tar (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.IO.Compression (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.IO.Compression.Brotli (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.IO.Compression.ZipFile (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.IO.FileSystem.AccessControl (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.IO.FileSystem.DriveInfo (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.IO.FileSystem.Watcher (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.IO.Hashing (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.IO.IsolatedStorage (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.IO.MemoryMappedFiles (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.IO.Packaging (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.IO.Pipelines (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.IO.Pipes (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.IO.Pipes.AccessControl (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.IO.Ports (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Linq (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Linq.AsyncEnumerable (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Linq.Expressions (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Linq.Parallel (2)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System\Linq\Parallel\Utils\TraceHelpers.cs (1)
22Debug.WriteLine(string.Format(msg, args));
System.Linq.Queryable (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Management (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Memory (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Memory.Data (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Net.Http (2)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
185return string.Format(s.Format, formattedArgs);
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Net.Http.Json (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Net.Http.WinHttpHandler (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Net.HttpListener (2)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
185return string.Format(s.Format, formattedArgs);
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Net.Mail (2)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
185return string.Format(s.Format, formattedArgs);
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Net.NameResolution (2)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
185return string.Format(s.Format, formattedArgs);
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Net.NetworkInformation (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Net.Ping (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Net.Primitives (2)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
185return string.Format(s.Format, formattedArgs);
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Net.Quic (2)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
185return string.Format(s.Format, formattedArgs);
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Net.Requests (2)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
185return string.Format(s.Format, formattedArgs);
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Net.Security (2)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
185return string.Format(s.Format, formattedArgs);
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Net.ServerSentEvents (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Net.Sockets (2)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
185return string.Format(s.Format, formattedArgs);
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Net.WebClient (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Net.WebHeaderCollection (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Net.WebSockets (2)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
185return string.Format(s.Format, formattedArgs);
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Net.WebSockets.Client (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Numerics.Tensors (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.ObjectModel (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Private.CoreLib (2)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Debug.cs (1)
108Assert(condition, message, string.Format(detailMessageFormat, args));
System.Private.DataContractSerialization (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Private.Uri (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Private.Xml (7)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System\Xml\Core\XmlCharCheckingWriter.cs (1)
360throw new ArgumentException(string.Format(res, XmlException.BuildCharExceptionArgs(name, len)));
System\Xml\Schema\XmlSchemaException.cs (1)
149return string.Format(res ?? string.Empty, args);
System\Xml\XmlConvert.cs (1)
1568return new ArgumentException(string.Format(res, args));
System\Xml\XmlException.cs (1)
202string message = (args == null) ? res : string.Format(res, args);
System\Xml\XPath\XPathException.cs (1)
111string message = args == null ? res : string.Format(res, args);
System\Xml\Xsl\XslException.cs (1)
47message = string.Format(res, args);
System.Private.Xml.Linq (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Reflection.Context (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Reflection.DispatchProxy (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Reflection.Emit (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Reflection.Metadata (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Reflection.MetadataLoadContext (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Reflection.TypeExtensions (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Resources.Extensions (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Resources.Writer (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Runtime.Caching (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Runtime.InteropServices (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Runtime.InteropServices.JavaScript (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Runtime.Numerics (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Runtime.Serialization.Formatters (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Runtime.Serialization.Primitives (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Runtime.Serialization.Schema (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Security.AccessControl (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Security.Claims (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Security.Cryptography (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Security.Cryptography.Cose (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Security.Cryptography.Pkcs (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Security.Cryptography.ProtectedData (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Security.Cryptography.Xml (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Security.Permissions (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Security.Principal.Windows (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.ServiceModel.Federation (1)
src\Common\src\System\SR.cs (1)
28return String.Format(resourceFormat, args);
System.ServiceModel.NetFramingBase (1)
src\Common\src\System\SR.cs (1)
28return String.Format(resourceFormat, args);
System.ServiceModel.NetNamedPipe (1)
src\Common\src\System\SR.cs (1)
28return String.Format(resourceFormat, args);
System.ServiceModel.Primitives.Tests (3)
ServiceModel\DuplexChannelFactoryTest.cs (1)
110string.Format("InvalidOperationException exception string should contain 'BasicHttpBinding'. Actual message:\r\n" + exception.ToString()));
ServiceModel\MessageContractTest.4.4.0.cs (2)
320String.Format("Expected header '{0}' to contain value:{1}{2}{1} but it contained these:{1}{3}", 337String.Format("Array item {0} of element {1} was expected to be {2}, actual was {3}",
System.ServiceModel.Syndication (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.ServiceModel.UnixDomainSocket (2)
src\Common\src\System\SR.cs (1)
28return String.Format(resourceFormat, args);
System\ServiceModel\UnixDomainSocketSecurity.cs (1)
29string.Format("Invalid SecurityMode value: {0} = {1} (default is {2} = {3}).",
System.ServiceProcess.ServiceController (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Speech (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Text.Encoding.CodePages (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Text.Encodings.Web (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Text.Json (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Text.Json.SourceGeneration (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Text.RegularExpressions (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Text.RegularExpressions.Generator (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Threading (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Threading.AccessControl (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Threading.Channels (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Threading.RateLimiting (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Threading.Tasks.Dataflow (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Threading.Tasks.Parallel (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Transactions.Local (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Web.Services.Description (1)
src\Common\src\System\SR.cs (1)
28return String.Format(resourceFormat, args);
System.Windows.Controls.Ribbon (1)
src\Microsoft.DotNet.Wpf\src\Common\src\System\SR.cs (1)
72return string.Format(resourceFormat, args);
System.Windows.Extensions (1)
src\libraries\Common\src\System\SR.cs (1)
104return string.Format(resourceFormat, args);
System.Windows.Forms (14)
System\Resources\ResXDataNode.cs (1)
375string newMessage = string.Format(SR.NotSupported, typeName, dataNodeInfo.ReaderPosition.Y, dataNodeInfo.ReaderPosition.X, nse.Message);
System\Resources\ResXResourceReader.cs (2)
379string newMessage = string.Format(SR.SerializationException, reader[ResXResourceWriter.TypeStr], pt.Y, pt.X, se.Message); 386string newMessage = string.Format(SR.InvocationException, reader[ResXResourceWriter.TypeStr], pt.Y, pt.X, tie.InnerException?.Message);
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
879string.Format(
System\Windows\Forms\Controls\ImageList\ImageList.cs (2)
159throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidBoundArgument, "ImageSize.Width", value.Width, 1, s_maxImageWidth)); 164throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidBoundArgument, "ImageSize.Height", value.Height, 1, s_maxImageHeight));
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (1)
478throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidBoundArgument, nameof(Value), value, nameof(Minimum), nameof(Maximum)));
System\Windows\Forms\Controls\ToolStrips\OpacityConverter.cs (2)
68string.Format(SR.InvalidBoundArgument, 79string.Format(SR.InvalidBoundArgument,
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
620throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidBoundArgument, nameof(Value), value, $"'{nameof(Minimum)}'", $"'${nameof(Maximum)}'"));
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (1)
50throw new ArgumentException(string.Format(SR.TreeNodeBoundToAnotherTreeView), nameof(value));
System\Windows\Forms\Controls\UpDown\NumericUpDown.cs (1)
316throw new ArgumentOutOfRangeException(nameof(value), value, string.Format(SR.InvalidBoundArgument, nameof(Value), value, $"'{nameof(Minimum)}'", $"'{nameof(Maximum)}'"));
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
363throw new ArgumentOutOfRangeException(nameof(value), string.Format(SR.InvalidBoundArgument, nameof(Value), value, $"'{nameof(Minimum)}'", $"'{nameof(Maximum)}'"));
System\Windows\Forms\Scrolling\ScrollProperties.cs (1)
223throw new ArgumentOutOfRangeException(nameof(value), string.Format(SR.InvalidBoundArgument, nameof(Value), value, $"'{nameof(Minimum)}'", $"'{nameof(Maximum)}'"));
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
887_propertyGridLabel.Text = string.Format(SR.DataGridViewProperties);
System\Windows\Forms\Design\FormDocumentDesigner.cs (1)
167string.Format(
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
132if (verb.Text.Equals(string.Format(SR.TableLayoutPanelDesignerEditRowAndCol)))
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (1)
494_label2.Text = string.Format(SR.CollectionEditorPropertiesNone);
System.Windows.Input.Manipulations (1)
src\Microsoft.DotNet.Wpf\src\Common\src\System\SR.cs (1)
72return string.Format(resourceFormat, args);
System.Xaml (1)
src\Microsoft.DotNet.Wpf\src\Common\src\System\SR.cs (1)
72return string.Format(resourceFormat, args);
UIAutomationClient (1)
src\Microsoft.DotNet.Wpf\src\Common\src\System\SR.cs (1)
72return string.Format(resourceFormat, args);
UIAutomationClientSideProviders (1)
src\Microsoft.DotNet.Wpf\src\Common\src\System\SR.cs (1)
72return string.Format(resourceFormat, args);
UIAutomationProvider (1)
src\Microsoft.DotNet.Wpf\src\Common\src\System\SR.cs (1)
72return string.Format(resourceFormat, args);
UIAutomationTypes (1)
src\Microsoft.DotNet.Wpf\src\Common\src\System\SR.cs (1)
72return string.Format(resourceFormat, args);
UnitTests.Common (8)
TestHelpers.cs (8)
158errorBuilder.AppendLine(String.Format("{0} expected operation {1}.IsOneWay = {2}, actual = {3}", 166errorBuilder.AppendLine(String.Format("{0} expected operation {1}.HasTask = {2}, actual = {3}", 186errorBuilder.AppendLine(String.Format("{0} message action {1} expected Direction = {2}, actual = {3}", 194errorBuilder.AppendLine(String.Format("{0} message action {1} expected MessageType = {2}, actual = {3}", 226errorBuilder.AppendLine(String.Format("action {0}, section {1}, expected part count = {2}, actual = {3}", 250errorBuilder.AppendLine(String.Format("action {0}, section {1}, expected part Name = {2}, actual = {3}", 256errorBuilder.AppendLine(String.Format("action {0}, section {1}, name {2}, expected Type = {3}, actual = {4}", 262errorBuilder.AppendLine(String.Format("action {0}, section {1}, name {2}, expected Multiple = {3}, actual = {4}",
vbc (1)
src\Compilers\Core\CommandLine\CompilerServerLogger.cs (1)
34logger.Log(string.Format(format, arguments));
VBCSCompiler (1)
src\Compilers\Core\CommandLine\CompilerServerLogger.cs (1)
34logger.Log(string.Format(format, arguments));
VisualBasicSyntaxGenerator (3)
Util\WriteUtils.vb (2)
219Return String.Format("SyntaxToken") 325Return String.Format("SyntaxTokenList")
XML\ParseTreeDescription.vb (1)
70fullMessage += String.Format(": " + message, args)
WindowsFormsIntegration (1)
src\Microsoft.DotNet.Wpf\src\Common\src\System\SR.cs (1)
72return string.Format(resourceFormat, args);