4286 references to Format
Aspire.Hosting.Tests (2)
BoundTreeGenerator (6)
Client.ChannelLayer.IntegrationTests (1)
Client.ClientBase.IntegrationTests (38)
ClientBaseTests.4.0.0.cs (33)
220String.Format("Expected client state to be Created but actual was '{0}'", client.State));
223String.Format("Expected channel factory state to be Created but actual was '{0}'", factory.State));
242String.Format("Expected client state to be Opened but actual was '{0}'", client.State));
245String.Format("Expected channel factory state to be Opened but actual was '{0}'", factory.State));
248String.Format("Expected proxy state to be Opened but actual was '{0}'", ((ICommunicationObject)serviceProxy).State));
257String.Format("Expected client state to be Closed but actual was '{0}'", client.State));
261String.Format("Expected proxy state to be Closed but actual was '{0}'", ((ICommunicationObject)serviceProxy).State));
265String.Format("Expected channel factory state to be Closed but actual was '{0}'", factory.State));
295String.Format("Expected client state to be Created but actual was '{0}'", client.State));
298String.Format("Expected channel factory state to be Created but actual was '{0}'", factory.State));
318String.Format("Expected client state to be Opened but actual was '{0}'", client.State));
321String.Format("Expected channel factory state to be Opened but actual was '{0}'", factory.State));
324String.Format("Expected proxy state to be Opened but actual was '{0}'", ((ICommunicationObject)serviceProxy).State));
334String.Format("Expected client state to be Closed but actual was '{0}'", client.State));
338String.Format("Expected proxy state to be Closed but actual was '{0}'", ((ICommunicationObject)serviceProxy).State));
342String.Format("Expected channel factory state to be Closed but actual was '{0}'", factory.State));
374String.Format("Expected client state to be Created but actual was '{0}'", client.State));
377String.Format("Expected channel factory state to be Created but actual was '{0}'", factory.State));
397String.Format("Expected client state to be Opened but actual was '{0}'", client.State));
400String.Format("Expected channel factory state to be Opened but actual was '{0}'", factory.State));
403String.Format("Expected proxy state to be Opened but actual was '{0}'", ((ICommunicationObject)serviceProxy).State));
413String.Format("Expected client state to be Closed but actual was '{0}'", client.State));
417String.Format("Expected proxy state to be Closed but actual was '{0}'", ((ICommunicationObject)serviceProxy).State));
421String.Format("Expected channel factory state to be Closed but actual was '{0}'", factory.State));
463String.Format("Expected client state to be Closed but actual was '{0}'", client.State));
467String.Format("Expected proxy state to be Closed but actual was '{0}'", ((ICommunicationObject)serviceProxy).State));
471String.Format("Expected channel factory state to be Closed but actual was '{0}'", factory.State));
514String.Format("Expected client state to be Closed but actual was '{0}'", client.State));
518String.Format("Expected proxy state to be Closed but actual was '{0}'", ((ICommunicationObject)serviceProxy).State));
522String.Format("Expected channel factory state to be Closed but actual was '{0}'", factory.State));
669String.Format("Expected client NOT to receive events but actual was '{0}'", actual));
673String.Format("Expected proxy NOT to receive events but actual was '{0}'", actual));
799Assert.True(string.Empty == outofScopeResult, string.Format("Expect call out of the OperationContextScope does not have the custom header {0}", customHeaderName));
Client.ExpectedExceptions.IntegrationTests (10)
ExpectedExceptionTests.4.1.0.cs (8)
259throw new TimeoutException(String.Format("The call to the Service did not complete within the alloted time of: {0}", ScenarioTestHelpers.TestTimeout));
311throw new TimeoutException(String.Format("The call to the Service did not complete within the alloted time of: {0}", ScenarioTestHelpers.TestTimeout));
363Assert.Fail(string.Format("Expected type SecurityNegotiationException, Actual: {0}", exceptionType));
405Assert.Fail(string.Format("Expected type SecurityNegotiationException, Actual: {0}", exceptionType));
452Assert.Fail(string.Format("Expected type SecurityNegotiationException, Actual: {0}", exceptionType));
613Assert.True(toe == null, String.Format("Task [{0}] should not have failed with TimeoutException", i));
618String.Format("Expected at least one operation to throw an exception, but none did. Elapsed time = {0} ms.",
622String.Format("Expected at least one operation to succeed but none did. Elapsed time = {0} ms.",
Client.TypedClient.IntegrationTests (3)
ConfigurationSchemaGenerator (2)
Contract.Fault.IntegrationTests (3)
Contract.Message.IntegrationTests (1)
Contract.Service.IntegrationTests (13)
ServiceContractTests.4.1.0.cs (9)
703String.Format("Expected factory state 'Closed', actual was '{0}'", factory.State));
743String.Format("Expected channel 1 state 'Closed', actual was '{0}'", ((ICommunicationObject)serviceProxy1).State));
745String.Format("Expected channel 2 state 'Closed', actual was '{0}'", ((ICommunicationObject)serviceProxy2).State));
793String.Format("Expected factory state 'Closed', actual was '{0}'", factory.State));
833String.Format("Expected channel 1 state 'Closed', actual was '{0}'", ((ICommunicationObject)serviceProxy1).State));
835String.Format("Expected channel 2 state 'Closed', actual was '{0}'", ((ICommunicationObject)serviceProxy2).State));
884String.Format("Expected factory state 'Closed', actual was '{0}'", factory.State));
924String.Format("Expected channel 1 state 'Closed', actual was '{0}'", ((ICommunicationObject)serviceProxy1).State));
926String.Format("Expected channel 2 state 'Closed', actual was '{0}'", ((ICommunicationObject)serviceProxy2).State));
Crossgen2Tasks (1)
dotnet-svcutil.xmlserializer (1)
dotnet-svcutil-lib (937)
CommandProcessorOptions.cs (4)
167fileOptions.AddWarning(string.Format(SR.WrnExtraParamsOnInputFileParamIgnoredFormat, disallowedSwitchesOnParamsFilesProvided.Select(s => $"'{s.Name}'").Aggregate((msg, n) => $"{msg}, '{n}'")), 0);
296this.AddWarning(string.Format(SR.WrnUnexpectedArgumentFormat, cmdSwitch.Name), 0);
307this.AddWarning(string.Format(SR.WrnUnexpectedInputsFormat, this.Inputs.Select(i => $"{i}''").Aggregate((msg, i) => $"{msg}, {i}")));
314this.AddWarning(string.Format(SR.WrnUnexpectedArgumentFormat, option.Name));
FrameworkFork\Microsoft.CodeDom\Compiler\CodeValidator.cs (7)
62throw new ArgumentException(string.Format(SRCodeDom.InvalidElementType, e.GetType().FullName), "e");
99throw new ArgumentException(string.Format(SRCodeDom.InvalidElementType, e.GetType().FullName), "e");
500throw new ArgumentException(string.Format(SRCodeDom.InvalidElementType, e.GetType().FullName), "e");
833throw new ArgumentException(string.Format(SRCodeDom.InvalidElementType, e.GetType().FullName), "e");
1019throw new ArgumentException(string.Format(SRCodeDom.InvalidElementType, e.GetType().FullName), "e");
1025throw new ArgumentException(string.Format(SRCodeDom.InvalidPathCharsInChecksum, e.FileName));
1031throw new ArgumentException(string.Format(SRCodeDom.InvalidRegion, e.RegionText));
FrameworkFork\Microsoft.Xml\Xml\schema\DatatypeImplementation.cs (6)
3773throw new XmlSchemaException(string.Format(ResXml.Sch_InvalidValue, s), e);
3794throw new XmlSchemaException(string.Format(ResXml.Sch_InvalidValue, s), e);
3832throw new XmlSchemaException(string.Format(ResXml.Sch_InvalidValue, s), e);
3875throw new XmlSchemaException(string.Format(ResXml.Sch_InvalidValue, s), e);
3919throw new XmlSchemaException(string.Format(ResXml.Sch_InvalidValue, s), e);
3976throw new XmlSchemaException(string.Format(ResXml.Sch_InvalidValue, s), e);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (11)
174return new InvalidOperationException(string.Format(ResXml.XmlReflectionError, context), e);
218throw new InvalidOperationException(string.Format(ResXml.XmlInvalidTypeAttributes, model.Type.FullName));
252throw new NotSupportedException(string.Format(ResXml.XmlUnsupportedSoapTypeKind, model.TypeDesc.FullName));
369throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorDetails, "DeferredWorkItems.Count have changed"));
371throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorDetails, "DeferredWorkItems.Top have changed"));
430throw new NotSupportedException(string.Format(ResXml.XmlRpcRefsInValueType, model.TypeDesc.FullName));
432throw new NotSupportedException(string.Format(ResXml.XmlRpcNestedValueType, member.TypeDesc.FullName));
455throw new NotSupportedException(string.Format(ResXml.XmlRpcArrayOfValueTypes, model.TypeDesc.FullName));
531throw new InvalidOperationException(string.Format(ResXml.XmlInvalidSoapArray, mapping.TypeDesc.FullName));
571throw new InvalidOperationException(string.Format(ResXml.XmlUdeclaredXsdType, dataType));
612throw new InvalidOperationException(string.Format(ResXml.XmlNoSerializableMembers, model.TypeDesc.FullName));
FrameworkFork\Microsoft.Xml\Xml\Serialization\Types.cs (13)
388throw new NotSupportedException(string.Format(ResXml.XmlSerializerUnsupportedType, FullName));
402_exception = new InvalidOperationException(string.Format(ResXml.XmlConstructorInaccessible, FullName));
729throw new InvalidOperationException(string.Format(ResXml.XmlUnsupportedOpenGenericType, type.ToString()));
797exception = new InvalidOperationException(string.Format(ResXml.XmlTypeInaccessible, type.FullName));
802exception = new InvalidOperationException(string.Format(ResXml.XmlTypeStatic, type.FullName));
823exception = new NotSupportedException(string.Format(ResXml.XmlSerializerUnsupportedType, type.FullName));
845exception = new NotSupportedException(string.Format(ResXml.XmlUnsupportedRank, type.FullName));
867exception = new NotSupportedException(string.Format(ResXml.XmlSerializerUnsupportedType, type.FullName));
923exception = new NotSupportedException(string.Format(ResXml.XmlUnsupportedInterface, type.FullName));
937exception = new NotSupportedException(string.Format(ResXml.XmlSerializerUnsupportedType, type.FullName));
1346throw new NotSupportedException(string.Format(ResXml.XmlUnsupportedIDictionary, type.FullName));
1381throw new InvalidOperationException(string.Format(ResXml.XmlNoDefaultAccessors, type.FullName));
1414throw new InvalidOperationException(string.Format(ResXml.XmlInvalidArrayTypeSyntax, type));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (38)
130throw new InvalidOperationException(string.Format(ResXml.XmlAnonymousInclude, type.FullName));
370return new InvalidOperationException(string.Format(ResXml.XmlReflectionError, context), e);
375return new InvalidOperationException(string.Format(ResXml.XmlTypeReflectionError, context), e);
380return new InvalidOperationException(string.Format(model.IsProperty ? ResXml.XmlPropertyReflectionError : ResXml.XmlFieldReflectionError, model.Name), e);
414throw new InvalidOperationException(string.Format(ResXml.XmlInvalidTypeAttributes, model.Type.FullName));
489throw new ArgumentException(string.Format(ResXml.XmlGetSchemaMethodName, provider.MethodName), "MethodName");
594throw new InvalidOperationException(string.Format(ResXml.XmlMissingSchema, baseQname.Namespace));
628return new InvalidOperationException(string.Format(ResXml.XmlInvalidAttributeUse, type.FullName));
778throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorDetails, "DeferredWorkItems.Count have changed"));
780throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorDetails, "DeferredWorkItems.Top have changed"));
802throw new NotSupportedException(string.Format(ResXml.XmlUnsupportedInheritance, model.Type.GetTypeInfo().BaseType.FullName));
874throw new InvalidOperationException(string.Format(ResXml.XmlIllegalMultipleText, model.Type.FullName));
881throw new InvalidOperationException(string.Format(ResXml.XmlMultipleXmlns, model.Type.FullName));
928throw new InvalidOperationException(string.Format(ResXml.XmlMultipleXmlns, model.Type.FullName));
1169throw new InvalidOperationException(string.Format(ResXml.XmlUdeclaredXsdType, dataType));
1203throw new InvalidOperationException(string.Format(ResXml.XmlIllegalAttributeFlagsArray, model.TypeDesc.FullName));
1218throw new InvalidOperationException(string.Format(ResXml.XmlNoSerializableMembers, model.TypeDesc.FullName));
1267throw new InvalidOperationException(string.Format(ResXml.XmlInvalidAttributeType, "XmlAttribute"));
1312throw new InvalidOperationException(string.Format(ResXml.XmlSequenceMembers, "Order"));
1438throw new InvalidOperationException(string.Format(ResXml.XmlChoiceIdentifierTypeEnum, identifierName));
1476throw new InvalidOperationException(string.Format(ResXml.XmlChoiceIdentiferAmbiguous, choice.MemberName));
1620throw new InvalidOperationException(string.Format(ResXml.XmlIllegalArrayTextAttribute, accessorName));
1661throw new InvalidOperationException(string.Format(ResXml.XmlSequenceMatch, "Order"));
1673throw new InvalidOperationException(string.Format(ResXml.XmlIllegalAnyElement, arrayElementType.FullName));
1711throw new InvalidOperationException(string.Format(ResXml.XmlSequenceMatch, "Order"));
1760if (a.XmlAnyElements.Count > 0) throw new InvalidOperationException(string.Format(ResXml.XmlIllegalAnyElement, accessor.TypeDesc.FullName));
1765if (a.XmlAttribute.Type != null) throw new InvalidOperationException(string.Format(ResXml.XmlIllegalType, "XmlAttribute"));
1792throw new InvalidOperationException(string.Format(ResXml.XmlIllegalType, "XmlText"));
1809throw new InvalidOperationException(string.Format(ResXml.XmlIllegalType, "XmlElement"));
1836throw new InvalidOperationException(string.Format(ResXml.XmlSequenceMatch, "Order"));
1904throw new InvalidOperationException(string.Format(ResXml.XmlSequenceMatch, "Order"));
1916throw new InvalidOperationException(string.Format(ResXml.XmlIllegalAnyElement, accessorType.FullName));
1953throw new InvalidOperationException(string.Format(ResXml.XmlSequenceMatch, "Order"));
1967throw new InvalidOperationException(string.Format(ResXml.XmlRpcLitArrayElement, accessor.Elements[0].Name));
1970throw new InvalidOperationException(string.Format(ResXml.XmlRpcLitXmlns, accessor.Name));
2016throw new InvalidOperationException(string.Format(ResXml.XmlChoiceMissingAnyValue, accessor.ChoiceIdentifier.Mapping.TypeDesc.FullName));
2187throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorDetails, "Bad accessor type " + accessor.GetType().FullName));
2222if (isNullable && !typeDesc.IsNullable) throw new InvalidOperationException(string.Format(ResXml.XmlInvalidIsNullable, typeDesc.FullName));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (15)
103throw new InvalidOperationException(string.Format(ResXml.XmlBareAttributeMember, member.Attribute.Name));
105throw new InvalidOperationException(string.Format(ResXml.XmlBareTextMember, member.Text.Name));
110throw new InvalidOperationException(string.Format(ResXml.XmlIllegalArrayElement, member.Elements[0].Name));
319throw new InvalidOperationException(string.Format(ResXml.XmlIllegalForm, e.Name));
326throw new InvalidOperationException(string.Format(ResXml.XmlIllegalForm, a.Name));
550throw new InvalidOperationException(string.Format(ResXml.XmlDuplicateNamespace, anyNs));
601throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorDetails, "Unsuported anonymous mapping type: " + mapping.ToString()));
658throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorDetails, "Type " + mapping.TypeName + " from namespace '" + ns + "' is an invalid array mapping"));
720throw new InvalidOperationException(string.Format(ResXml.XmlInvalidContent, type.ContentModel.Content.GetType().Name));
919if (value.GetType() != typeof(string)) throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorDetails, string.Format(ResXml.XmlInvalidDefaultValue, value.ToString(), value.GetType().FullName)));
959throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorDetails, "Mapping for " + pm.TypeDesc.Name + " missing type property"));
1018if (!mapping.IncludeInSchema) throw new InvalidOperationException(string.Format(ResXml.XmlCannotIncludeInSchema, mapping.TypeDesc.Name));
1094throw new InvalidOperationException(string.Format(ResXml.XmlIllegalMultipleText, name));
1117throw new InvalidOperationException(string.Format(ResXml.XmlInvalidContent, type.ContentModel.Content.GetType().Name));
1186if (!mapping.IncludeInSchema) throw new InvalidOperationException(string.Format(ResXml.XmlCannotIncludeInSchema, mapping.TypeDesc.Name));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationReader.cs (17)
988if (arrayInfo.dimensions != 1) throw new InvalidOperationException(string.Format(ResXml.XmlInvalidArrayDimentions, CurrentTag()));
1010throw new ArgumentNullException(string.Format(ResXml.XmlMissingArrayType, CurrentTag()));
1015throw new ArgumentException(string.Format(ResXml.XmlEmptyArrayType, CurrentTag()), "value");
1037throw new ArgumentException(string.Format(ResXml.XmlInvalidArrayDimentions, CurrentTag()), "value");
1059throw new ArgumentException(string.Format(ResXml.XmlInvalidArrayLength, lengthString), "value");
1076throw new ArgumentException(string.Format(ResXml.XmlInvalidArrayDimentions, CurrentTag()), "value");
1128throw new ArgumentException(string.Format(ResXml.XmlInvalidArrayLength, dimensions[i]), "value");
1220throw new InvalidOperationException(string.Format(ResXml.XmlUndefinedAlias, prefix));
1371return new InvalidOperationException(string.Format(ResXml.XmlReadOnlyCollection, name));
1383return new InvalidOperationException(string.Format(ResXml.XmlConstructorInaccessible, typeName));
1389return new InvalidOperationException(string.Format(ResXml.XmlConstructorHasSecurityAttributes, typeName));
1395return new InvalidOperationException(string.Format(ResXml.XmlUnknownNode, CurrentTag()));
1414return new InvalidCastException(string.Format(ResXml.XmlInvalidNullCast, type.FullName));
1520if (!href.StartsWith("#", StringComparison.Ordinal)) throw new InvalidOperationException(string.Format(ResXml.XmlMissingHref, href));
1578throw new InvalidOperationException(string.Format(ResXml.XmlInvalidHref, id));
1680if (arrayInfo.dimensions != 1) throw new InvalidOperationException(string.Format(ResXml.XmlInvalidArrayDimentions, CurrentTag()));
1766throw new NotSupportedException(string.Format(ResXml.XmlRpcArrayOfValueTypes, elementType.FullName));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (17)
468if (_objectsInUse.ContainsKey(o)) throw new InvalidOperationException(string.Format(ResXml.XmlCircularReference, o.GetType().FullName));
517throw new InvalidOperationException(string.Format(ResXml.XmlInvalidXmlns, alias));
642if (!_objectsInUse.ContainsKey(o)) throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorDetails, "missing stack object of type " + o.GetType().FullName));
816if (typeof(IXmlSerializable).IsAssignableFrom(type)) return new InvalidOperationException(string.Format(ResXml.XmlInvalidSerializable, type.FullName));
818if (!typeDesc.IsStructLike) return new InvalidOperationException(string.Format(ResXml.XmlInvalidUseOfType, type.FullName));
819return new InvalidOperationException(string.Format(ResXml.XmlUnxpectedType, type.FullName));
863return new InvalidOperationException(string.Format(ResXml.XmlIllegalAnyElement, type.FullName));
1319if (!typeof(IEnumerable).IsAssignableFrom(type)) throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorDetails, "not array like type " + type.FullName));
1680if (methodName == null) throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorMethod, mapping.TypeDesc.Name) + Environment.StackTrace);
1727if (defaultValue.GetType() != typeof(string)) throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorDetails, name + " has invalid default type " + defaultValue.GetType().Name));
2026if (enumSource == null) throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorDetails, "Can not find " + member.ChoiceIdentifier.MemberName + " in the members mapping."));
2254if (methodName == null) throw new InvalidOperationException("deriaved from " + mapping.TypeDesc.FullName + ", " + string.Format(ResXml.XmlInternalErrorMethod, derived.TypeDesc.Name) + Environment.StackTrace);
2292if (methodName == null) throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorMethod, mapping.TypeDesc.Name) + Environment.StackTrace);
3376if (methodName == null) throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorMethod, mapping.TypeDesc.Name) + Environment.StackTrace);
3590throw new InvalidOperationException(string.Format(ResXml.XmlUnsupportedDefaultType, type.FullName));
3700throw new InvalidOperationException(string.Format(ResXml.XmlChoiceMissingAnyValue, choiceMapping.TypeDesc.FullName));
4018throw new InvalidOperationException(string.Format(ResXml.XmlSerializerUnsupportedType, memberInfos[0].ToString()));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CollectionDataContract.cs (16)
548throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.GetOnlyCollectionMustHaveAddMethod, GetClrTypeFullName(UnderlyingType))));
631throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.InvalidCollectionContractItemName, DataContract.GetClrTypeFullName(UnderlyingType))));
638throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.InvalidCollectionContractKeyName, DataContract.GetClrTypeFullName(UnderlyingType))));
646throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.InvalidCollectionContractValueName, DataContract.GetClrTypeFullName(UnderlyingType))));
691throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.CollectionMustHaveGetEnumeratorMethod, DataContract.GetClrTypeFullName(type))));
693throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.CollectionMustHaveAddMethod, DataContract.GetClrTypeFullName(type))));
695throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.CollectionMustHaveItemType, DataContract.GetClrTypeFullName(type))));
1199throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(GetInvalidCollectionMessage(message, string.Format(SRSerialization.InvalidCollectionDataContract, DataContract.GetClrTypeFullName(type)), param)));
1206dataContract = new CollectionDataContract(type, GetInvalidCollectionMessage(message, string.Format(SRSerialization.InvalidCollectionType, DataContract.GetClrTypeFullName(type)), param));
1215return (param == null) ? string.Format(message, nestedMessage) : string.Format(message, nestedMessage, param);
1314throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.CollectionTypeDoesNotHaveDefaultCtor, DataContract.GetClrTypeFullName(this.UnderlyingType))));
1339new SecurityException(string.Format(
1351new SecurityException(string.Format(
1363new SecurityException(string.Format(
1399new SecurityException(string.Format(
1411new SecurityException(string.Format(
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (20)
148throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SerializationException(string.Format(SRSerialization.ErrorDeserializing, string.Format(SRSerialization.ErrorTypeInfo, DataContract.GetClrTypeFullName(dataContract.UnderlyingType)), string.Format(SRSerialization.NoSetMethodForProperty, string.Empty, string.Empty))));
717ThrowInvalidDataContractException(string.Format(SRSerialization.TypeNotSerializable, type), type);
774ThrowInvalidDataContractException(string.Format(SRSerialization.TypeNotSerializable, type), type);
1322throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.RecursiveCollectionType, GetClrTypeFullName(itemType))));
1452throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.InvalidDataContractName, DataContract.GetClrTypeFullName(type))));
1464throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.InvalidDataContractNamespace, DataContract.GetClrTypeFullName(type))));
1543throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.TooManyDataContracts, DataContract.GetClrTypeFullName(type))));
1585throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.TooManyCollectionContracts, DataContract.GetClrTypeFullName(type))));
1592throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.InvalidCollectionContractName, DataContract.GetClrTypeFullName(type))));
1604throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.InvalidCollectionContractNamespace, DataContract.GetClrTypeFullName(type))));
1798ThrowInvalidDataContractException(string.Format(SRSerialization.DataContractNamespaceIsNotValid, dataContractNs), type);
1805ThrowInvalidDataContractException(string.Format(SRSerialization.DataContractNamespaceReserved, Globals.SerializationNamespace), type);
1808ThrowInvalidDataContractException(string.Format(SRSerialization.DataContractNamespaceIsNotValid, dataContractNs), type);
1851throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.InvalidGlobalDataContractNamespace, clrNs)));
2088DataContract.ThrowInvalidDataContractException(string.Format(SRSerialization.KnownTypeAttributeOneScheme, DataContract.GetClrTypeFullName(type)), type);
2098DataContract.ThrowInvalidDataContractException(string.Format(SRSerialization.KnownTypeAttributeOneScheme, DataContract.GetClrTypeFullName(type)), type);
2104DataContract.ThrowInvalidDataContractException(string.Format(SRSerialization.KnownTypeAttributeNoData, DataContract.GetClrTypeFullName(type)), type);
2108DataContract.ThrowInvalidDataContractException(string.Format(SRSerialization.KnownTypeAttributeEmptyString, DataContract.GetClrTypeFullName(type)), type);
2120DataContract.ThrowInvalidDataContractException(string.Format(SRSerialization.KnownTypeAttributeMethodNull, DataContract.GetClrTypeFullName(type)), type);
2126DataContract.ThrowInvalidDataContractException(string.Format(SRSerialization.KnownTypeAttributeValidMethodTypes, DataContract.GetClrTypeFullName(type)), type);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (19)
55throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.CouldNotReadSerializationSchema, Globals.SerializationNamespace)));
380throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.CannotComputeUniqueName, element.Name)));
875ThrowISerializableTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.ISerializableWildcardMinOccursMustBe, iSerializableWildcardElement.MinOccurs));
877ThrowISerializableTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.ISerializableWildcardMaxOccursMustBe, iSerializableWildcardElement.MaxOccursString));
879ThrowISerializableTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.ISerializableWildcardNamespaceInvalid, iSerializableWildcardElement.Namespace));
881ThrowISerializableTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.ISerializableWildcardProcessContentsInvalid, iSerializableWildcardElement.ProcessContents));
965ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.ElementMinOccursMustBe, element.Name));
967ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.ElementMaxOccursMustBe, element.Name));
978ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.FormMustBeQualified, element.Name));
1016ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.CannotHaveDuplicateElementNames, memberName));
1076ThrowArrayTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.ArrayItemFormMustBe, element.Name));
1112ThrowArrayTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.InvalidKeyValueType, element.Name));
1364ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.AbstractElementNotSupported, element.Name));
1366ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.DefaultOnElementNotSupported, element.Name));
1368ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.FixedOnElementNotSupported, element.Name));
1370ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.SubstitutionGroupOnElementNotSupported, element.Name));
1395ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.TypeShouldNotContainAttributes, Globals.SerializationNamespace));
1407ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, string.Format(SRSerialization.CannotHaveDuplicateAttributeNames, refName.Name));
1474throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(string.Format(SRSerialization.TypeCannotBeImportedHowToFix, message)));
FrameworkFork\System.Runtime.Serialization\System\Text\Base64Encoding.cs (18)
42throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new FormatException(string.Format(SRSerialization.XmlInvalidBase64Length, charCount.ToString(NumberFormatInfo.CurrentInfo))));
70throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("index", string.Format(SRSerialization.OffsetExceedsBufferSize, chars.Length)));
74throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("count", string.Format(SRSerialization.SizeExceedsRemainingBufferSpace, chars.Length - index)));
79throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new FormatException(string.Format(SRSerialization.XmlInvalidBase64Length, count.ToString(NumberFormatInfo.CurrentInfo))));
130throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("charIndex", string.Format(SRSerialization.OffsetExceedsBufferSize, chars.Length)));
135throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("charCount", string.Format(SRSerialization.SizeExceedsRemainingBufferSpace, chars.Length - charIndex)));
142throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("byteIndex", string.Format(SRSerialization.OffsetExceedsBufferSize, bytes.Length)));
147throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new FormatException(string.Format(SRSerialization.XmlInvalidBase64Length, charCount.ToString(NumberFormatInfo.CurrentInfo))));
213throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("charIndex", string.Format(SRSerialization.OffsetExceedsBufferSize, chars.Length)));
218throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("charCount", string.Format(SRSerialization.SizeExceedsRemainingBufferSpace, chars.Length - charIndex)));
225throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("byteIndex", string.Format(SRSerialization.OffsetExceedsBufferSize, bytes.Length)));
230throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new FormatException(string.Format(SRSerialization.XmlInvalidBase64Length, charCount.ToString(NumberFormatInfo.CurrentInfo))));
306throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("byteIndex", string.Format(SRSerialization.OffsetExceedsBufferSize, bytes.Length)));
310throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("byteCount", string.Format(SRSerialization.SizeExceedsRemainingBufferSpace, bytes.Length - byteIndex)));
318throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("charIndex", string.Format(SRSerialization.OffsetExceedsBufferSize, chars.Length)));
400throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("byteIndex", string.Format(SRSerialization.OffsetExceedsBufferSize, bytes.Length)));
404throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("byteCount", string.Format(SRSerialization.SizeExceedsRemainingBufferSpace, bytes.Length - byteIndex)));
412throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("charIndex", string.Format(SRSerialization.OffsetExceedsBufferSize, chars.Length)));
FrameworkFork\System.Runtime.Serialization\System\Text\BinHexEncoding.cs (7)
40throw new FormatException(string.Format(SRSerialization.XmlInvalidBinHexLength, charCount.ToString(NumberFormatInfo.CurrentInfo)));
57throw new ArgumentOutOfRangeException("charIndex", string.Format(SRSerialization.OffsetExceedsBufferSize, chars.Length));
61throw new ArgumentOutOfRangeException("charCount", string.Format(SRSerialization.SizeExceedsRemainingBufferSpace, chars.Length - charIndex));
67throw new ArgumentOutOfRangeException("byteIndex", string.Format(SRSerialization.OffsetExceedsBufferSize, bytes.Length));
128throw new ArgumentOutOfRangeException("byteIndex", string.Format(SRSerialization.OffsetExceedsBufferSize, bytes.Length));
132throw new ArgumentOutOfRangeException("byteCount", string.Format(SRSerialization.SizeExceedsRemainingBufferSpace, bytes.Length - byteIndex));
139throw new ArgumentOutOfRangeException("charIndex", string.Format(SRSerialization.OffsetExceedsBufferSize, chars.Length));
FrameworkFork\System.Runtime.Serialization\System\Xml\UniqueId.cs (8)
91throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("offset", string.Format(SRSerialization.OffsetExceedsBufferSize, guid.Length)));
93throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.XmlArrayTooSmallInput, guidLength), "guid"));
131throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("offset", string.Format(SRSerialization.OffsetExceedsBufferSize, chars.Length)));
135throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("count", string.Format(SRSerialization.SizeExceedsRemainingBufferSpace, chars.Length - offset)));
275throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("offset", string.Format(SRSerialization.OffsetExceedsBufferSize, chars.Length)));
278throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("chars", string.Format(SRSerialization.XmlArrayTooSmallOutput, count)));
362throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("offset", string.Format(SRSerialization.OffsetExceedsBufferSize, buffer.Length)));
365throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("buffer", string.Format(SRSerialization.XmlArrayTooSmallOutput, guidLength)));
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBaseReader.cs (7)
528throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("index", string.Format(SRSerialization.OffsetExceedsBufferSize, _attributeCount)));
1150throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("offset", string.Format(SRSerialization.OffsetExceedsBufferSize, chars.Length)));
1154throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("count", string.Format(SRSerialization.SizeExceedsRemainingBufferSpace, chars.Length - offset)));
1180throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("offset", string.Format(SRSerialization.OffsetExceedsBufferSize, buffer.Length)));
1184throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("count", string.Format(SRSerialization.SizeExceedsRemainingBufferSpace, buffer.Length - offset)));
1340throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("offset", string.Format(SRSerialization.OffsetExceedsBufferSize, buffer.Length)));
1344throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("count", string.Format(SRSerialization.SizeExceedsRemainingBufferSpace, buffer.Length - offset)));
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBaseWriter.cs (13)
242throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.XmlUndefinedPrefix, prefix), "prefix"));
322throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.XmlInvalidXmlSpace, _attributeValue)));
375throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.XmlInvalidXmlSpace, _attributeValue)));
465throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(string.Format(SRSerialization.XmlMethodNotSupported, "WriteDocType")));
493throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.XmlUndefinedPrefix, prefix), "prefix"));
547throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.XmlUndefinedPrefix, prefix), "prefix"));
780throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRSerialization.XmlNamespaceNotFound, namespaceUri), "namespaceUri"));
909throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(string.Format(SRSerialization.XmlMethodNotSupported, "WriteEntityRef")));
922throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(string.Format(SRSerialization.XmlMethodNotSupported, "WriteNmToken")));
1009throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("count", string.Format(SRSerialization.SizeExceedsRemainingBufferSpace, chars.Length - offset)));
1066throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("count", string.Format(SRSerialization.SizeExceedsRemainingBufferSpace, chars.Length - offset)));
1436throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("count", string.Format(SRSerialization.SizeExceedsRemainingBufferSpace, buffer.Length - offset)));
1605throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.XmlInvalidPrefixState, WriteState.ToString())));
FrameworkFork\System.ServiceModel\System\IdentityModel\XD.cs (15)
189throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(string.Format(SRServiceModel.XDCannotFindValueInDictionaryString, value));
381throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(string.Format(SRServiceModel.XDCannotFindValueInDictionaryString, value));
431throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(string.Format(SRServiceModel.XDCannotFindValueInDictionaryString, value));
501throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(string.Format(SRServiceModel.XDCannotFindValueInDictionaryString, value));
569throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(string.Format(SRServiceModel.XDCannotFindValueInDictionaryString, value));
665throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(string.Format(SRServiceModel.XDCannotFindValueInDictionaryString, value));
689throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(string.Format(SRServiceModel.XDCannotFindValueInDictionaryString, value));
800throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(string.Format(SRServiceModel.XDCannotFindValueInDictionaryString, value));
857throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(string.Format(SRServiceModel.XDCannotFindValueInDictionaryString, value));
946throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(string.Format(SRServiceModel.XDCannotFindValueInDictionaryString, value));
1094throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(string.Format(SRServiceModel.XDCannotFindValueInDictionaryString, value));
1216throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(string.Format(SRServiceModel.XDCannotFindValueInDictionaryString, value));
1255throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(string.Format(SRServiceModel.XDCannotFindValueInDictionaryString, value));
1336throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(string.Format(SRServiceModel.XDCannotFindValueInDictionaryString, value));
1441throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(string.Format(SRServiceModel.XDCannotFindValueInDictionaryString, value));
FrameworkFork\System.ServiceModel\System\ServiceModel\ChannelFactory.cs (11)
158throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxChannelFactoryNoBindingFoundInConfig1, _configurationName)));
421ServiceModelActivity.Start(activity, string.Format(SRServiceModel.ActivityConstructChannelFactory, typeof(TChannel).FullName), ActivityType.Construct);
441ServiceModelActivity.Start(activity, string.Format(SRServiceModel.ActivityConstructChannelFactory, typeof(TChannel).FullName), ActivityType.Construct);
471ServiceModelActivity.Start(activity, string.Format(SRServiceModel.ActivityConstructChannelFactory, typeof(TChannel).FullName), ActivityType.Construct);
490ServiceModelActivity.Start(activity, string.Format(SRServiceModel.ActivityConstructChannelFactory, typeof(TChannel).FullName), ActivityType.Construct);
554throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxCreateNonDuplexChannel1, this.Endpoint.Contract.Name)));
588throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SfxCallbackTypeCannotBeNull, endpoint.Contract.ContractType.FullName)));
597throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SfxCallbackTypeCannotBeNull, endpoint.Contract.ContractType.FullName)));
625throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxInvalidStaticOverloadCalledForDuplexChannelFactory1, channelFactory._channelType.Name)));
639throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxInvalidStaticOverloadCalledForDuplexChannelFactory1, channelFactory._channelType.Name)));
653throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxInvalidStaticOverloadCalledForDuplexChannelFactory1, channelFactory._channelType.Name)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\FramingDecoders.cs (17)
216Exception result = new InvalidDataException(string.Format(SRServiceModel.FramingViaTooLong, size));
230throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataException(string.Format(SRServiceModel.FramingViaNotUri, value), exception));
256return new InvalidDataException(string.Format(SRServiceModel.FramingFaultTooLong, size));
263return new EndpointNotFoundException(string.Format(SRServiceModel.EndpointNotFound, via));
271return new ServiceActivationException(string.Format(SRServiceModel.Hosting_ServiceActivationFailed, via));
275return new CommunicationException(string.Format(SRServiceModel.Sharing_ConnectionDispatchFailed, via));
279return new EndpointNotFoundException(string.Format(SRServiceModel.Sharing_EndpointUnavailable, via));
288return new ProtocolException(string.Format(SRServiceModel.FramingModeNotSupportedFault, via));
292return new ProtocolException(string.Format(SRServiceModel.FramingVersionNotSupportedFault, via));
296Exception inner = new QuotaExceededException(string.Format(SRServiceModel.FramingContentTypeTooLongFault, contentType));
301Exception inner = new QuotaExceededException(string.Format(SRServiceModel.FramingViaTooLongFault, via));
306return new ServerTooBusyException(string.Format(SRServiceModel.ServerTooBusy, via));
310return new ProtocolException(string.Format(SRServiceModel.FramingUpgradeInvalid, via));
314return new ProtocolException(string.Format(SRServiceModel.FramingFaultUnrecognized, faultString));
328Exception result = new InvalidDataException(string.Format(SRServiceModel.FramingContentTypeTooLong, size));
393Exception exception = CreateException(new InvalidDataException(string.Format(
436Exception exception = CreateException(new InvalidDataException(string.Format(
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageHeaders.cs (10)
520throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.InvalidEnumValue, header.HeaderType)));
580throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.InvalidEnumValue, kind)));
723string.Format(SRServiceModel.MultipleRelatesToHeaders, relationshipType.AbsoluteUri),
947new InvalidOperationException(string.Format(SRServiceModel.HeadersCannotBeAddedToEnvelopeVersion, _version.Envelope)));
956new InvalidOperationException(string.Format(SRServiceModel.AddressingHeadersCannotBeAddedToAddressingVersion, _version.Addressing)));
983throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.InvalidEnumValue, _headers[headerIndex].HeaderType)));
1081throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.InvalidEnumValue, _headers[index].HeaderType)));
1303new InvalidOperationException(string.Format(SRServiceModel.AddressingHeadersCannotBeAddedToAddressingVersion, _version.Addressing)));
1595throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.InvalidEnumValue, _headers[headerIndex].HeaderType)));
1627throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.InvalidEnumValue, _headers[headerIndex].HeaderType)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ReliableSessionBindingElementImporter.cs (6)
72string.Format(SRServiceModel.MultipleVersionsFoundInPolicy,
266throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidChannelBindingException(string.Format(SRServiceModel.RequiredMillisecondsAttributeIncorrect, wsrmNode.LocalName), innerException));
278throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidChannelBindingException(string.Format(SRServiceModel.MillisecondsNotConvertibleToBindingRange, wsrmNode.LocalName), exception));
297throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidChannelBindingException(string.Format(SRServiceModel.MillisecondsNotConvertibleToBindingRange, localName), exception));
309throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidChannelBindingException(string.Format(SRServiceModel.MillisecondsNotConvertibleToBindingRange, localName), exception));
507string exceptionString = string.Format(SRServiceModel.DeliveryAssuranceRequiredNothingFound, wsrmNs);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannel.cs (7)
566throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxNonInitiatingOperation1, operation.Name)));
703ServiceModelActivity.Start(serviceModelActivity, string.Format(SRServiceModel.ActivityProcessAction, action), ActivityType.ProcessAction);
739ServiceModelActivity.Start(rpc.Activity, string.Format(SRServiceModel.ActivityProcessAction, action), ActivityType.ProcessAction);
886return new TimeoutException(string.Format(SRServiceModel.TimeoutServiceChannelConcurrentOpen1, timeout));
1084string text = string.Format(SRServiceModel.SFxServiceChannelIdleAborted, operation.Name);
1104string text = string.Format(SRServiceModel.SFxInitializationUINotCalled, example.GetType().ToString());
1123string text = string.Format(SRServiceModel.SFxInitializationUIDisallowed, example.GetType().ToString());
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SocketConnection.cs (9)
79thisPtr.Abort(string.Format(SRServiceModel.SocketAbortedReceiveTimedOut, thisPtr._receiveTimeout), TransferOperation.Read);
86string.Format(SRServiceModel.SocketAbortedSendTimedOut, thisPtr._sendTimeout), TransferOperation.Write);
222TimeoutException timeoutException = new TimeoutException(string.Format(SRServiceModel.TcpConnectionTimedOut, timeout), originalException);
236CommunicationException communicationException = new CommunicationException(string.Format(SRServiceModel.TcpConnectionResetError, timeout), originalException);
242TimeoutException timeoutException = new TimeoutException(string.Format(SRServiceModel.TcpConnectionTimedOut, timeout), originalException);
500new EndpointNotFoundException(string.Format(SRServiceModel.UnableToResolveHost, uri.Host), socketException));
506new EndpointNotFoundException(string.Format(SRServiceModel.UnableToResolveHost, uri.Host)));
574new EndpointNotFoundException(string.Format(SRServiceModel.NoIPEndpointsFoundForHost, uri.Host)));
626new EndpointNotFoundException(string.Format(SRServiceModel.NoIPEndpointsFoundForHost, uri.Host)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\UdpRetransmissionSettings.cs (10)
40string.Format(SRServiceModel.ArgumentOutOfMinRange, 0));
46string.Format(SRServiceModel.ArgumentOutOfMinRange, 0));
52throw FxTrace.Exception.ArgumentOutOfRange("delayLowerBound", delayLowerBound, string.Format(SRServiceModel.ArgumentOutOfMinRange, TimeSpan.Zero));
57throw FxTrace.Exception.ArgumentOutOfRange("delayUpperBound", delayUpperBound, string.Format(SRServiceModel.ArgumentOutOfMinRange, TimeSpan.Zero));
63string.Format(SRServiceModel.ArgumentOutOfMinRange, TimeSpan.Zero));
96throw FxTrace.Exception.ArgumentOutOfRange("value", value, string.Format(SRServiceModel.ArgumentOutOfMinRange, min));
114throw FxTrace.Exception.ArgumentOutOfRange("value", value, string.Format(SRServiceModel.ArgumentOutOfMinRange, min));
130throw FxTrace.Exception.ArgumentOutOfRange("value", value, string.Format(SRServiceModel.ArgumentOutOfMinRange, TimeSpan.Zero));
148throw FxTrace.Exception.ArgumentOutOfRange("value", value, string.Format(SRServiceModel.ArgumentOutOfMinRange, TimeSpan.Zero));
166throw FxTrace.Exception.ArgumentOutOfRange("value", value, string.Format(SRServiceModel.ArgumentOutOfMinRange, TimeSpan.Zero));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (12)
453AddError(string.Format(SRServiceModel.SFxInconsistentWsdlOperationStyleInMessageParts, operationName));
1175throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxSchemaNotFound, ns)));
1669throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxDataContractSerializerDoesNotSupportEncoded, part.Name)));
1700throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxDataContractSerializerDoesNotSupportBareArray, part.Name)));
1865throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxDataContractSerializerDoesNotSupportEncoded, operationName)));
1887throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxDataContractSerializerDoesNotSupportEncoded, operation.Name)));
2060throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxDocEncodedNotSupported, part.Name)));
2110throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxDocEncodedNotSupported, operationName)));
2184string reason = string.Format(SRServiceModel.XsdMissingRequiredAttribute1, "message");
2192string reason = string.Format(SRServiceModel.XsdMissingRequiredAttribute1, "part");
2204string reason = string.Format(SRServiceModel.XsdMissingRequiredAttribute1, "name");
2217string reason = string.Format(SRServiceModel.XsdMissingRequiredAttribute1, "name");
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeClient.cs (11)
141throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("value", string.Format(SRServiceModel.SFxMaximumResolvedReferencesOutOfRange, value)));
203throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("scheme", string.Format(SRServiceModel.SFxMetadataExchangeClientCouldNotCreateChannelFactoryBadScheme, scheme));
217throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("address", string.Format(SRServiceModel.SFxCannotGetMetadataFromRelativeAddress, address));
222throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("address", string.Format(SRServiceModel.SFxCannotHttpGetMetadataFromAddress, address));
637string.Format(SRServiceModel.SFxBadMetadataReference, this.SourceUrl), e));
728throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("location", string.Format(SRServiceModel.SFxCannotGetMetadataFromLocation, location.ToString()));
817string.Format(SRServiceModel.SFxBadMetadataReference, this.SourceUrl), e));
834string.Format(SRServiceModel.SFxBadMetadataReference, this.SourceUrl), e));
979string.Format(SRServiceModel.SFxBadMetadataReference, this.SourceUrl), e));
1068string.Format(SRServiceModel.SFxBadMetadataReference, this.SourceUrl), e));
1136throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxBadMetadataReference,
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (11)
183_method.Comments.Add(new CodeCommentStatement(string.Format(SRServiceModel.SFxCodeGenWarning, SRServiceModel.SFxCannotImportAsParameters_OutputParameterAndTask)));
221method.Comments.Add(new CodeCommentStatement(string.Format(SRServiceModel.SFxCodeGenWarning, ex.Message)));
243throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(string.Format(SRServiceModel.SFxCannotImportAsParameters_Message, _context.Operation.CodeName)));
744throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SfxNoTypeSpecifiedForParameter, setting.Name)));
889throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(string.Format(SRServiceModel.SFxCannotImportAsParameters_MessageHasProtectionLevel, parent._request.Action == null ? "" : parent._request.Action)));
893throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(string.Format(SRServiceModel.SFxCannotImportAsParameters_MessageHasProtectionLevel, parent._response.Action == null ? "" : parent._response.Action)));
900throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(string.Format(SRServiceModel.SFxCannotImportAsParameters_Bare, parent._context.Operation.CodeName)));
925parent._context.Contract.ServiceContractGenerator.Errors.Add(new MetadataConversionError(string.Format(SRServiceModel.SFxCannotImportAsParameters_HeadersAreIgnoredInEncoded, parent._request.MessageName), true/*isWarning*/));
928throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(string.Format(SRServiceModel.SFxCannotImportAsParameters_HeadersAreUnsupported, parent._request.MessageName)));
934parent._context.Contract.ServiceContractGenerator.Errors.Add(new MetadataConversionError(string.Format(SRServiceModel.SFxCannotImportAsParameters_HeadersAreIgnoredInEncoded, parent._response.MessageName), true/*isWarning*/));
936throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(string.Format(SRServiceModel.SFxCannotImportAsParameters_HeadersAreUnsupported, parent._response.MessageName)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (14)
826WsdlImportException wie = WsdlImportException.Create(item, new InvalidOperationException(string.Format(SRServiceModel.UnknownWSDLExtensionIgnored, extension.GetType().AssemblyQualifiedName)));
877throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxInvalidWsdlBindingOpNoName, wsdlOperationBinding.Binding.Name)));
1686stringBuilder.AppendLine(string.Format(SRServiceModel.UnImportedAssertionList, CreateXPathString(item)));
1903string warningMsg = string.Format(SRServiceModel.WsdlItemAlreadyFaulted, GetElementName(item));
2021warningMsg.AppendLine(string.Format(SRServiceModel.XPathPointer, xPath));
2028warningMsg.AppendLine(string.Format(SRServiceModel.XPathPointer, SRServiceModel.XPathUnavailable));
2089warningMsg.AppendLine(string.Format(SRServiceModel.UnableToFindPolicyWithId, policyRef));
2090warningMsg.AppendLine(string.Format(SRServiceModel.XPathPointer, xPath));
2127string warningMsg = string.Format(SRServiceModel.PolicyReferenceMissingURI, MetadataStrings.WSPolicy.Attributes.URI);
2326string warningMsg = string.Format(SRServiceModel.PolicyInWsdlMustHaveFragmentId, xPath);
2340string warningMsg = string.Format(SRServiceModel.DuplicatePolicyInWsdlSkipped, xPath);
2354string warningMsg = string.Format(SRServiceModel.UnrecognizedPolicyDocumentNamespace, policyDocument.Value.NamespaceURI);
2361string warningMsg = string.Format(SRServiceModel.UnsupportedPolicyDocumentRoot, policyDocument.Value.Name);
2369string warningMsg = string.Format(SRServiceModel.DuplicatePolicyDocumentSkipped, key);
FrameworkFork\System.ServiceModel\System\ServiceModel\DuplexChannelFactory.cs (6)
67ServiceModelActivity.Start(activity, string.Format(SRServiceModel.ActivityConstructChannelFactory, TraceUtility.CreateSourceString(this)), ActivityType.Construct);
93ServiceModelActivity.Start(activity, string.Format(SRServiceModel.ActivityConstructChannelFactory, TraceUtility.CreateSourceString(this)), ActivityType.Construct);
129ServiceModelActivity.Start(activity, string.Format(SRServiceModel.ActivityConstructChannelFactory, TraceUtility.CreateSourceString(this)), ActivityType.Construct);
154ServiceModelActivity.Start(activity, string.Format(SRServiceModel.ActivityConstructChannelFactory, TraceUtility.CreateSourceString(this)), ActivityType.Construct);
230throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxCreateDuplexChannel1, this.Endpoint.Contract.Name)));
237throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(
FrameworkFork\System.Web.Services\Services\Description\ServiceDescription.cs (13)
3215message = string.Format(ResWebServices.WebDuplicateFormatExtension, elemName);
3217message = string.Format(ResWebServices.WebDuplicateOperationMessage, elemName);
3219message = string.Format(ResWebServices.WebDuplicateImport, elemName);
3221message = string.Format(ResWebServices.WebDuplicateMessage, elemName);
3223message = string.Format(ResWebServices.WebDuplicatePort, elemName);
3225message = string.Format(ResWebServices.WebDuplicatePortType, elemName);
3227message = string.Format(ResWebServices.WebDuplicateBinding, elemName);
3229message = string.Format(ResWebServices.WebDuplicateService, elemName);
3231message = string.Format(ResWebServices.WebDuplicateMessagePart, elemName);
3233message = string.Format(ResWebServices.WebDuplicateOperationBinding, elemName);
3235message = string.Format(ResWebServices.WebDuplicateFaultBinding, elemName);
3237message = string.Format(ResWebServices.WebDuplicateOperation, elemName);
3239message = string.Format(ResWebServices.WebDuplicateOperationFault, elemName);
HelpGenerator.cs (22)
49ArgumentInfo.CreateParameterHelpInfo(CommandProcessorOptions.Switches.OutputDirectory.Name, SR.ParametersDirectory, string.Format(SR.HelpDirectoryFormat, CommandProcessorOptions.Switches.OutputDirectory.Abbreviation)),
50ArgumentInfo.CreateFlagHelpInfo( CommandProcessorOptions.Switches.NoLogo.Name, string.Format(SR.HelpNologoFormat, CommandProcessorOptions.Switches.NoLogo.Abbreviation)),
52ArgumentInfo.CreateFlagHelpInfo( CommandProcessorOptions.Switches.Help.Name, string.Format(SR.HelpHelpFormat, CommandProcessorOptions.Switches.Help.Abbreviation)),
53ArgumentInfo.CreateParameterHelpInfo(CommandProcessorOptions.Switches.ProjectFile.Name, SR.ParametersProjectFile, string.Format(SR.HelpProjectFileFormat, CommandProcessorOptions.Switches.ProjectFile.Abbreviation)),
54ArgumentInfo.CreateParameterHelpInfo(CommandProcessorOptions.Switches.OutputFile.Name, SR.ParametersOut, string.Format(SR.HelpOutFormat, CommandProcessorOptions.Switches.OutputFile.Abbreviation)),
55ArgumentInfo.CreateParameterHelpInfo(CommandProcessorOptions.Switches.Namespace.Name, SR.ParametersNamespace, string.Format(SR.HelpNamespaceFormat, CommandProcessorOptions.Switches.Namespace.Abbreviation), true),
56ArgumentInfo.CreateFlagHelpInfo( CommandProcessorOptions.Switches.MessageContract.Name, string.Format(SR.HelpMessageContractFormat, CommandProcessorOptions.Switches.MessageContract.Abbreviation), true),
57ArgumentInfo.CreateFlagHelpInfo( CommandProcessorOptions.Switches.EnableDataBinding.Name, string.Format(SR.HelpEnableDataBindingFormat, CommandProcessorOptions.Switches.EnableDataBinding.Abbreviation)),
58ArgumentInfo.CreateFlagHelpInfo( CommandProcessorOptions.Switches.Internal.Name, string.Format(SR.HelpInternalFormat, CommandProcessorOptions.Switches.Internal.Abbreviation)),
59ArgumentInfo.CreateParameterHelpInfo(CommandProcessorOptions.Switches.Reference.Name, SR.ParametersReference, string.Format(SR.HelpReferenceCodeGenerationFormat, CommandProcessorOptions.Switches.Reference.Abbreviation), true),
61ArgumentInfo.CreateParameterHelpInfo(CommandProcessorOptions.Switches.CollectionType.Name, SR.ParametersCollectionType, string.Format(SR.HelpCollectionTypeFormat, CommandProcessorOptions.Switches.CollectionType.Abbreviation)),
62ArgumentInfo.CreateParameterHelpInfo(CommandProcessorOptions.Switches.ExcludeType.Name, SR.ParametersExcludeType, string.Format(SR.HelpExcludeTypeCodeGenerationFormat, CommandProcessorOptions.Switches.ExcludeType.Abbreviation)),
63ArgumentInfo.CreateFlagHelpInfo( CommandProcessorOptions.Switches.NoStdlib.Name, string.Format(SR.HelpNostdlibFormat, CommandProcessorOptions.Switches.NoStdlib.Abbreviation)),
64ArgumentInfo.CreateParameterHelpInfo(CommandProcessorOptions.Switches.Serializer.Name, SerializerMode.Auto.ToString(), string.Format(SR.HelpAutoSerializerFormat, CommandProcessorOptions.Switches.Serializer.Abbreviation), true),
67ArgumentInfo.CreateFlagHelpInfo( CommandProcessorOptions.Switches.Sync.Name, string.Format(SR.HelpSyncFormat, CommandProcessorOptions.Switches.Sync.Abbreviation)),
68ArgumentInfo.CreateFlagHelpInfo( CommandProcessorOptions.Switches.SyncOnly.Name, string.Format(SR.HelpSyncOnlyFormat, CommandProcessorOptions.Switches.SyncOnly.Abbreviation)),
69ArgumentInfo.CreateFlagHelpInfo( CommandProcessorOptions.Switches.Wrapped.Name, string.Format(SR.HelpWrappedFormat, CommandProcessorOptions.Switches.Wrapped.Abbreviation)),
70ArgumentInfo.CreateParameterHelpInfo(CommandProcessorOptions.Switches.Update.Name, SR.ParametersWebServiceReferenceName, string.Format(SR.HelpUpdateWebServiceReferenceFormat, CommandProcessorOptions.Switches.Update.Abbreviation)),
71ArgumentInfo.CreateParameterHelpInfo(CommandProcessorOptions.Switches.RuntimeIdentifier.Name, SR.ParametersRuntimeIdentifier, string.Format(SR.HelpRuntimeIdentifierFormat, CommandProcessorOptions.Switches.RuntimeIdentifier.Abbreviation)),
72ArgumentInfo.CreateParameterHelpInfo(CommandProcessorOptions.Switches.TargetFramework.Name, SR.ParametersTargetFramework, string.Format(SR.HelpTargetFrameworkFormat, CommandProcessorOptions.Switches.TargetFramework.Abbreviation)),
73ArgumentInfo.CreateFlagHelpInfo( CommandProcessorOptions.Switches.AcceptCertificate.Name, string.Format(SR.HelpAcceptCertificateFormat, CommandProcessorOptions.Switches.AcceptCertificate.Abbreviation)),
74ArgumentInfo.CreateFlagHelpInfo( CommandProcessorOptions.Switches.ServiceContract.Name, string.Format(SR.HelpServiceContractFormat, CommandProcessorOptions.Switches.ServiceContract.Abbreviation))
dotnet-svcutil-lib.Tests (2)
Extensibility.WebSockets.IntegrationTests (16)
WebSocketTests.4.1.0.cs (16)
78String.Format("Test case timeout was reached while waiting for the stream response from the Service. Timeout was: {0}", ScenarioTestHelpers.TestTimeout));
90String.Format("Test case timeout was reached while waiting for the stream response from the Service to be completed. Timeout was: {0}", ScenarioTestHelpers.TestTimeout));
96String.Format("Test case timeout was reached while waiting for the Logging from the Service to be received. Timeout was: {0}", ScenarioTestHelpers.TestTimeout));
153String.Format("Test case timeout was reached while waiting for the buffered response from the Service. Timeout was: {0}", ScenarioTestHelpers.TestTimeout));
158String.Format("Test case timeout was reached while waiting for the buffered response from the Service to be completed. Timeout was: {0}", ScenarioTestHelpers.TestTimeout));
164String.Format("Test case timeout was reached while waiting for the Logging from the Service to be received. Timeout was: {0}", ScenarioTestHelpers.TestTimeout));
225String.Format("Test case timeout was reached while waiting for the buffered response from the Service. Timeout was: {0}", ScenarioTestHelpers.TestTimeout));
230String.Format("Test case timeout was reached while waiting for the buffered response from the Service to be completed. Timeout was: {0}", ScenarioTestHelpers.TestTimeout));
236String.Format("Test case timeout was reached while waiting for the Logging from the Service to be received. Timeout was: {0}", ScenarioTestHelpers.TestTimeout));
319String.Format("Test case timeout was reached while waiting for the stream response from the Service. Timeout was: {0}", ScenarioTestHelpers.TestTimeout));
331String.Format("Test case timeout was reached while waiting for the stream response from the Service to be completed. Timeout was: {0}", ScenarioTestHelpers.TestTimeout));
337String.Format("Test case timeout was reached while waiting for the Logging from the Service to be received. Timeout was: {0}", ScenarioTestHelpers.TestTimeout));
398String.Format("Test case timeout was reached while waiting for the buffered response from the Service. Timeout was: {0}", ScenarioTestHelpers.TestTimeout));
403String.Format("Test case timeout was reached while waiting for the buffered response from the Service to be completed. Timeout was: {0}", ScenarioTestHelpers.TestTimeout));
409String.Format("Test case timeout was reached while waiting for the Logging from the Service to be received. Timeout was: {0}", ScenarioTestHelpers.TestTimeout));
885Assert.True(responseFromService, String.Format("Response from the service was not expected. Expected: 'True' but got {0}", responseFromService));
GenerateDocumentationAndConfigFiles (20)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (6)
127failureReason = string.Format(CompilerExtensionsResources.Missing_prefix_colon_0, Prefix);
133failureReason = string.Format(CompilerExtensionsResources.Missing_suffix_colon_0, Suffix);
154? string.Format(CompilerExtensionsResources.Prefix_0_is_not_expected, prefix)
226reason = string.Format(resourceId, string.Join(", ", violations));
266reason = string.Format(firstResourceId, Substring(name, wordSpan));
282var restString = string.Format(restResourceId, string.Join(", ", violations));
illink (4)
Infrastructure.Common (18)
ServiceUtilHelper.cs (10)
125String.Format("Failed to find a root certificate matching thumbprint '{0}'", thumbprint);
214String.Format("Failed to find a client certificate matching thumbprint '{0}'", thumbprint);
327String.Format("Failed to find a server certificate matching thumbprint '{0}'", thumbprint);
389String.Format("The root certificate could not be installed: {0}", s_rootCertInstallErrorMessage));
398String.Format("The client certificate could not be installed: {0}", s_clientCertInstallErrorMessage));
407String.Format("The peer certificate could not be installed: {0}", s_peerCertInstallErrorMessage));
416String.Format("The OSX local Keychain certificate could not be installed: {0}", s_osXKeychainCertInstallErrorMessage));
540Console.WriteLine(String.Format("Invoking {0} ...", requestUri));
559Console.WriteLine(String.Format("Invoking {0} ...", requestUri));
578Console.WriteLine(String.Format("Invoking {0} ...", requestUri));
Infrastructure.IntegrationTests (3)
InteractiveHost.UnitTests (3)
Metrics (11)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (6)
127failureReason = string.Format(CompilerExtensionsResources.Missing_prefix_colon_0, Prefix);
133failureReason = string.Format(CompilerExtensionsResources.Missing_suffix_colon_0, Suffix);
154? string.Format(CompilerExtensionsResources.Prefix_0_is_not_expected, prefix)
226reason = string.Format(resourceId, string.Join(", ", violations));
266reason = string.Format(firstResourceId, Substring(name, wordSpan));
282var restString = string.Format(restResourceId, string.Join(", ", violations));
Metrics.Legacy (11)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (6)
127failureReason = string.Format(CompilerExtensionsResources.Missing_prefix_colon_0, Prefix);
133failureReason = string.Format(CompilerExtensionsResources.Missing_suffix_colon_0, Suffix);
154? string.Format(CompilerExtensionsResources.Prefix_0_is_not_expected, prefix)
226reason = string.Format(resourceId, string.Join(", ", violations));
266reason = string.Format(firstResourceId, Substring(name, wordSpan));
282var restString = string.Format(restResourceId, string.Join(", ", violations));
Microsoft.Analyzers.Extra (1)
Microsoft.Arcade.Test.Common (2)
Microsoft.AspNetCore.Components.Server (1)
Microsoft.Cci.Extensions (15)
Microsoft.CodeAnalysis (47)
CommandLine\ReportAnalyzerUtil.cs (5)
48string.Format("{0,5}", percentage < 1 ? "<1" : percentage.ToString(culture));
52var time = string.Format("{0,8}", CodeAnalysisResources.AnalyzerExecutionTimeColumnHeader);
53var percent = string.Format("{0,5}", "%");
74consoleOutput.WriteLine(string.Format(CodeAnalysisResources.AnalyzerTotalExecutionTime, totalAnalyzerExecutionTime.ToString("##0.000", culture)));
120consoleOutput.WriteLine(string.Format(CodeAnalysisResources.GeneratorTotalExecutionTime, totalTime.ToString("##0.000", culture)));
Microsoft.CodeAnalysis.Analyzers (20)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (6)
127failureReason = string.Format(CompilerExtensionsResources.Missing_prefix_colon_0, Prefix);
133failureReason = string.Format(CompilerExtensionsResources.Missing_suffix_colon_0, Suffix);
154? string.Format(CompilerExtensionsResources.Prefix_0_is_not_expected, prefix)
226reason = string.Format(resourceId, string.Join(", ", violations));
266reason = string.Format(firstResourceId, Substring(name, wordSpan));
282var restString = string.Format(restResourceId, string.Join(", ", violations));
Microsoft.CodeAnalysis.Analyzers.UnitTests (46)
MetaAnalyzers\DiagnosticDescriptorCreationAnalyzerTests.cs (44)
1929additionalFileText: string.Format(additionalFileTextFormat, "My Analyzer Title."),
1930fixedAdditionalFileText: string.Format(additionalFileTextFormat, "My Analyzer Title"),
1964additionalFileText: string.Format(additionalFileTextFormat, "My Analyzer Title."),
1965fixedAdditionalFileText: string.Format(additionalFileTextFormat, "My Analyzer Title"),
2165additionalFileText: string.Format(additionalFileTextFormat, title),
2166fixedAdditionalFileText: string.Format(additionalFileTextFormat, fixedTitle),
2200additionalFileText: string.Format(additionalFileTextFormat, title),
2201fixedAdditionalFileText: string.Format(additionalFileTextFormat, fixedTitle),
2381additionalFileText: string.Format(additionalFileTextFormat, "MyDiagnostic. Title."),
2382fixedAdditionalFileText: string.Format(additionalFileTextFormat, "MyDiagnostic"),
2420additionalFileText: string.Format(additionalFileTextFormat, "MyDiagnostic. Title."),
2421fixedAdditionalFileText: string.Format(additionalFileTextFormat, "MyDiagnostic"),
2619additionalFileText: string.Format(additionalFileTextFormat, title),
2620fixedAdditionalFileText: string.Format(additionalFileTextFormat, fixedTitle),
2654additionalFileText: string.Format(additionalFileTextFormat, title),
2655fixedAdditionalFileText: string.Format(additionalFileTextFormat, fixedTitle),
2788source: string.Format(csharpSourceFormat, $"{{|#0:{csharpTitleExpression}|}}"),
2789fixedSource: string.Format(csharpSourceFormat, csharpTitleExpression),
2791additionalFileText: string.Format(additionalFileTextFormat, title),
2792fixedAdditionalFileText: string.Format(additionalFileTextFormat, fixedTitle),
2823source: string.Format(basicSourceFormat, $"{{|#0:{basicTitleExpression}|}}"),
2824fixedSource: string.Format(basicSourceFormat, basicTitleExpression),
2826additionalFileText: string.Format(additionalFileTextFormat, title),
2827fixedAdditionalFileText: string.Format(additionalFileTextFormat, fixedTitle),
3032additionalFileText: string.Format(additionalFileTextFormat, message),
3033fixedAdditionalFileText: string.Format(additionalFileTextFormat, fixedMessage),
3067additionalFileText: string.Format(additionalFileTextFormat, message),
3068fixedAdditionalFileText: string.Format(additionalFileTextFormat, fixedMessage),
3371additionalFileText: string.Format(additionalFileTextFormat, message),
3372fixedAdditionalFileText: string.Format(additionalFileTextFormat, fixedMessage),
3406additionalFileText: string.Format(additionalFileTextFormat, message),
3407fixedAdditionalFileText: string.Format(additionalFileTextFormat, fixedMessage),
3563additionalFileText: string.Format(additionalFileTextFormat, message),
3564fixedAdditionalFileText: string.Format(additionalFileTextFormat, fixedMessage),
3598additionalFileText: string.Format(additionalFileTextFormat, message),
3599fixedAdditionalFileText: string.Format(additionalFileTextFormat, fixedMessage),
3800additionalFileText: string.Format(additionalFileTextFormat, description),
3801fixedAdditionalFileText: string.Format(additionalFileTextFormat, fixedDescription),
3835additionalFileText: string.Format(additionalFileTextFormat, description),
3836fixedAdditionalFileText: string.Format(additionalFileTextFormat, fixedDescription),
3992additionalFileText: string.Format(additionalFileTextFormat, description),
3993fixedAdditionalFileText: string.Format(additionalFileTextFormat, fixedDescription),
4027additionalFileText: string.Format(additionalFileTextFormat, description),
4028fixedAdditionalFileText: string.Format(additionalFileTextFormat, fixedDescription),
Microsoft.CodeAnalysis.AnalyzerUtilities (11)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (6)
127failureReason = string.Format(CompilerExtensionsResources.Missing_prefix_colon_0, Prefix);
133failureReason = string.Format(CompilerExtensionsResources.Missing_suffix_colon_0, Suffix);
154? string.Format(CompilerExtensionsResources.Prefix_0_is_not_expected, prefix)
226reason = string.Format(resourceId, string.Join(", ", violations));
266reason = string.Format(firstResourceId, Substring(name, wordSpan));
282var restString = string.Format(restResourceId, string.Join(", ", violations));
Microsoft.CodeAnalysis.BannedApiAnalyzers (20)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (6)
127failureReason = string.Format(CompilerExtensionsResources.Missing_prefix_colon_0, Prefix);
133failureReason = string.Format(CompilerExtensionsResources.Missing_suffix_colon_0, Suffix);
154? string.Format(CompilerExtensionsResources.Prefix_0_is_not_expected, prefix)
226reason = string.Format(resourceId, string.Join(", ", violations));
266reason = string.Format(firstResourceId, Substring(name, wordSpan));
282var restString = string.Format(restResourceId, string.Join(", ", violations));
Microsoft.CodeAnalysis.CodeStyle (11)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (6)
127failureReason = string.Format(CompilerExtensionsResources.Missing_prefix_colon_0, Prefix);
133failureReason = string.Format(CompilerExtensionsResources.Missing_suffix_colon_0, Suffix);
154? string.Format(CompilerExtensionsResources.Prefix_0_is_not_expected, prefix)
226reason = string.Format(resourceId, string.Join(", ", violations));
266reason = string.Format(firstResourceId, Substring(name, wordSpan));
282var restString = string.Format(restResourceId, string.Join(", ", violations));
Microsoft.CodeAnalysis.CodeStyle.Fixes (31)
src\Analyzers\Core\CodeFixes\GenerateEnumMember\AbstractGenerateEnumMemberService.CodeAction.cs (1)
55return string.Format(
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.CodeAction.cs (1)
187return string.Format(
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.GenerateLocalCodeAction.cs (1)
30return string.Format(
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.GenerateParameterCodeAction.cs (1)
36return string.Format(
Microsoft.CodeAnalysis.Collections.Package (3)
Microsoft.CodeAnalysis.CSharp (20)
Compilation\CSharpCompilation.cs (7)
4210throw new ArgumentException(string.Format(CSharpResources.CallingConventionTypeIsInvalid, type.ToDisplayString()));
4332throw new ArgumentException(string.Format(CodeAnalysisResources.BadBuiltInOps1, name), nameof(name));
4336throw new ArgumentException(string.Format(CodeAnalysisResources.BadBuiltInOps3, name), nameof(name));
4531throw new ArgumentException(string.Format(CodeAnalysisResources.BadBuiltInOps2, $"{csharpReturnType.ToDisplayString()} operator {name}({csharpLeftType.ToDisplayString()}, {csharpRightType.ToDisplayString()})"));
4558throw new ArgumentException(string.Format(CodeAnalysisResources.BadBuiltInOps1, name), nameof(name));
4562throw new ArgumentException(string.Format(CodeAnalysisResources.BadBuiltInOps3, name), nameof(name));
4613throw new ArgumentException(string.Format(CodeAnalysisResources.BadBuiltInOps2, $"{csharpReturnType.ToDisplayString()} operator {name}({csharpOperandType.ToDisplayString()})"));
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (8)
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (48)
src\Analyzers\CSharp\Tests\ImplementAbstractClass\ImplementAbstractClassTests_ThroughMember.cs (22)
117""", index: 1, new(title: string.Format(AnalyzersResources.Implement_through_0, "inner")));
148""", index: 1, new(title: string.Format(AnalyzersResources.Implement_through_0, "inner")));
176""", index: 1, new(title: string.Format(AnalyzersResources.Implement_through_0, "inner")));
209""", index: 1, new(title: string.Format(AnalyzersResources.Implement_through_0, "inner")));
269""", index: 1, new(title: string.Format(AnalyzersResources.Implement_through_0, "inner")));
300""", index: 1, new(title: string.Format(AnalyzersResources.Implement_through_0, "inner")));
325string.Format(AnalyzersResources.Implement_through_0, "Inner"),
326string.Format(AnalyzersResources.Implement_through_0, "IInterface.Inner"),
373""", index: 1, new(title: string.Format(AnalyzersResources.Implement_through_0, "inner")));
401""", index: 1, new(title: string.Format(AnalyzersResources.Implement_through_0, "inner")));
472""", index: 1, new(title: string.Format(AnalyzersResources.Implement_through_0, "inner")));
559""", index: 1, new(title: string.Format(AnalyzersResources.Implement_through_0, "inner")));
594""", index: 1, new(title: string.Format(AnalyzersResources.Implement_through_0, "inner")));
640""", index: 1, new(title: string.Format(AnalyzersResources.Implement_through_0, "inner")));
671""", index: 1, new(title: string.Format(AnalyzersResources.Implement_through_0, "inner")));
702""", index: 1, new(title: string.Format(AnalyzersResources.Implement_through_0, "inner")));
748""", index: 1, new(title: string.Format(AnalyzersResources.Implement_through_0, "inner")));
779""", index: 1, new(title: string.Format(AnalyzersResources.Implement_through_0, "inner")));
875""", [AnalyzersResources.Implement_abstract_class, string.Format(AnalyzersResources.Implement_through_0, "_base")]);
890""", [AnalyzersResources.Implement_abstract_class, string.Format(AnalyzersResources.Implement_through_0, "_base")]);
905""", [AnalyzersResources.Implement_abstract_class, string.Format(AnalyzersResources.Implement_through_0, "B")]);
920""", [AnalyzersResources.Implement_abstract_class, string.Format(AnalyzersResources.Implement_through_0, "B")]);
src\Analyzers\CSharp\Tests\UpgradeProject\UpgradeProjectTests.cs (11)
464string.Format(CSharpCodeFixesResources.Upgrade_this_project_to_csharp_language_version_0, "7.0"),
465string.Format(CSharpCodeFixesResources.Upgrade_all_csharp_projects_to_language_version_0, "7.0")
492string.Format(CSharpCodeFixesResources.Upgrade_this_project_to_csharp_language_version_0, "8.0"),
493string.Format(CSharpCodeFixesResources.Upgrade_all_csharp_projects_to_language_version_0, "8.0")
519string.Format(CSharpCodeFixesResources.Upgrade_this_project_to_csharp_language_version_0, "7.0")
546string.Format(CSharpCodeFixesResources.Upgrade_this_project_to_csharp_language_version_0, "7.0")
575string.Format(CSharpCodeFixesResources.Upgrade_this_project_to_csharp_language_version_0, defaultVersion),
576string.Format(CSharpCodeFixesResources.Upgrade_all_csharp_projects_to_language_version_0, defaultVersion)
599[string.Format(CSharpCodeFixesResources.Upgrade_this_project_to_csharp_language_version_0, "8.0")]);
626string.Format(CSharpCodeFixesResources.Upgrade_this_project_to_csharp_language_version_0, defaultEffectiveVersion),
627string.Format(CSharpCodeFixesResources.Upgrade_all_csharp_projects_to_language_version_0, defaultEffectiveVersion)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (14)
CommandLineTests.cs (10)
7806string.Format("/target:{0}", target),
7807string.Format("/out:{0}", outputFileName),
7816string.Format("/target:{0}", target),
7817string.Format("/out:{0}", outputFileName),
7818string.Format("/win32manifest:{0}", Path.GetFileName(manifestFile.Path)),
9156var expectedOutput = string.Format("error CS0016: Could not write to output file '{0}' -- 'I/O error occurred.'", xmlPath);
9292string aWrnString = String.Format(cs2002, "a.cs");
9304string AWrnString = String.Format(cs2002, "A.cs");
9316string tmpDiraString = String.Format(cs2002, @"tmpDir\a.cs");
11376var output = ProcessUtilities.RunAndGetOutput(s_CSharpCompilerExecutable, String.Format("/nologo /doc:doc.xml /out:out.exe /resource:doc.xml \"{0}\"", src.ToString()), startFolder: dir.ToString());
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (100)
CodeActions\InitializeParameter\AddParameterCheckTests.cs (24)
548throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(a)}").Replace("""
557throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(b)}").Replace("""
566throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(c)}").Replace("""
638throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(a)}").Replace("""
647throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(b)}").Replace("""
699throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(a)}").Replace("""
708throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(c)}").Replace("""
743throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(a)}").Replace("""
752throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(c)}").Replace("""
788throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(a)}").Replace("""
802throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(c)}").Replace("""
1872throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(s)}").Replace("""
1908throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_whitespace, "{nameof(s)}").Replace("""
1975throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(s)}").Replace("""
2029throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(bar)}").Replace("""
2594throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(s)}").Replace("""
2634throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(s)}").Replace("""
2675throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(s)}").Replace("""
2715if (string.IsNullOrEmpty(s)) throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(s)}").Replace("""
2754if (string.IsNullOrEmpty(s)) throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(s)}").Replace("""
2795throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(s)}").Replace("""
3491throw new ArgumentOutOfRangeException(nameof(num), num, $"{{string.Format(FeaturesResources._0_cannot_be_negative, "{nameof(num)}").Replace("\"", "\\\"")}}");
3512throw new ArgumentOutOfRangeException(nameof(num), num, $"{{string.Format(FeaturesResources._0_cannot_be_negative_or_zero, "{nameof(num)}").Replace("\"", "\\\"")}}");
3727throw new ArgumentOutOfRangeException(nameof(i), i, $"{{string.Format(FeaturesResources._0_cannot_be_negative, "{nameof(i)}").Replace("\"", "\\\"")}}");
Completion\CompletionProviders\OperatorCompletionProviderTests.cs (13)
631await VerifyItemExistsAsync(string.Format(template, $"public static S operator {operatorSign}(S _)"), operatorSign, inlineDescription: inlineDescription);
632await VerifyItemExistsAsync(string.Format(template, $"public static bool operator {operatorSign}(S _)"), operatorSign, inlineDescription: inlineDescription);
633await VerifyNoItemsExistAsync(string.Format(template, $"public static object operator {operatorSign}(S _)"));
634await VerifyNoItemsExistAsync(string.Format(template, $"public static S operator {operatorSign}(S a, S b, S c)"));
657await VerifyItemExistsAsync(string.Format(template, $"public static S operator {operatorSign}(S a, S b)"), operatorSign, inlineDescription: inlineDescription);
658await VerifyItemExistsAsync(string.Format(template, $"public static int operator {operatorSign}(S a, S b)"), operatorSign, inlineDescription: inlineDescription);
659await VerifyNoItemsExistAsync(string.Format(template, $"public static object operator {operatorSign}(S a, S b)"));
660await VerifyNoItemsExistAsync(string.Format(template, $"public static S operator {operatorSign}(S a, object b)"));
661await VerifyNoItemsExistAsync(string.Format(template, $"public static S operator {operatorSign}(S a, S b, S c)"));
683await VerifyItemExistsAsync(string.Format(template, $"public static bool operator {operatorSign}(S a, S b)"), operatorSign, inlineDescription: $"x {operatorSign} y");
684await VerifyNoItemsExistAsync(string.Format(template, $"public static int operator {operatorSign}(S a, S b)"));
685await VerifyNoItemsExistAsync(string.Format(template, $"public static bool operator {operatorSign}(S a, S b, S c)"));
686await VerifyNoItemsExistAsync(string.Format(template, $"public static bool operator {operatorSign}(S a, object b)"));
QuickInfo\SemanticQuickInfoSourceTests.cs (40)
96var xmlString = string.Format("""
113var xmlString = string.Format("""
1645""", MainDescription(string.Format(FeaturesResources.Awaited_task_returns_0, "struct System.Int32")));
1659""", MainDescription(string.Format(FeaturesResources.Awaited_task_returns_0, "struct System.Int32")));
1705""", MainDescription(string.Format(FeaturesResources.Awaited_task_returns_0, $"({CSharpFeaturesResources.awaitable}) class System.Threading.Tasks.Task<TResult>")),
1742""", MainDescription(string.Format(FeaturesResources.Awaited_task_returns_0, "struct System.Int32")));
5787""", MainDescription(string.Format(FeaturesResources.Awaited_task_returns_0, "int[]")));
5802""", MainDescription(string.Format(FeaturesResources.Awaited_task_returns_0, "dynamic")));
6998NullabilityAnalysis(string.Format(FeaturesResources._0_may_be_null_here, "s")));
7015NullabilityAnalysis(string.Format(FeaturesResources._0_may_be_null_here, "s")));
7032NullabilityAnalysis(string.Format(FeaturesResources._0_may_be_null_here, "s")));
7062NullabilityAnalysis(string.Format(FeaturesResources._0_is_not_null_here, "user")));
7095? string.Format(FeaturesResources._0_may_be_null_here, "user")
7096: string.Format(FeaturesResources._0_is_not_null_here, "user")));
7114NullabilityAnalysis(string.Format(FeaturesResources._0_is_not_null_here, "s")));
7130NullabilityAnalysis(string.Format(FeaturesResources._0_is_not_nullable_aware, "s")));
7147NullabilityAnalysis(string.Format(FeaturesResources._0_is_not_null_here, "s2")));
7166NullabilityAnalysis(string.Format(FeaturesResources._0_may_be_null_here, "s")));
7186NullabilityAnalysis(string.Format(FeaturesResources._0_is_not_null_here, "s")));
7205NullabilityAnalysis(string.Format(FeaturesResources._0_is_not_nullable_aware, "s")));
7222NullabilityAnalysis(string.Format(FeaturesResources._0_may_be_null_here, "P.field")));
7239NullabilityAnalysis(string.Format(FeaturesResources._0_is_not_null_here, "P.field")));
7255NullabilityAnalysis(string.Format(FeaturesResources._0_is_not_nullable_aware, "P.field")));
7274NullabilityAnalysis(string.Format(FeaturesResources._0_may_be_null_here, "S")));
7294NullabilityAnalysis(string.Format(FeaturesResources._0_is_not_null_here, "S")));
7316NullabilityAnalysis(string.Format(FeaturesResources._0_is_not_nullable_aware, "S")));
7340NullabilityAnalysis(string.Format(FeaturesResources._0_may_be_null_here, "s")));
7364NullabilityAnalysis(string.Format(FeaturesResources._0_is_not_null_here, "s")));
7385NullabilityAnalysis(string.Format(FeaturesResources._0_is_not_nullable_aware, "s")));
7405NullabilityAnalysis(string.Format(FeaturesResources._0_may_be_null_here, "s")));
7425NullabilityAnalysis(string.Format(FeaturesResources._0_is_not_null_here, "s")));
7442NullabilityAnalysis(string.Format(FeaturesResources._0_is_not_nullable_aware, "s")));
7512NullabilityAnalysis(string.Format(FeaturesResources._0_is_not_nullable_aware, "M")));
7604NullabilityAnalysis(string.Format(FeaturesResources._0_is_not_null_here, "s")));
10082NullabilityAnalysis(string.Format(FeaturesResources._0_may_be_null_here, "second")));
10104NullabilityAnalysis(string.Format(FeaturesResources._0_may_be_null_here, "second")));
10126NullabilityAnalysis(string.Format(FeaturesResources._0_is_not_null_here, "second")));
10148NullabilityAnalysis(string.Format(FeaturesResources._0_is_not_null_here, "second")));
10170NullabilityAnalysis(string.Format(FeaturesResources._0_may_be_null_here, "second")));
10192NullabilityAnalysis(string.Format(FeaturesResources._0_may_be_null_here, "second")));
Workspaces\WorkspaceTests_EditorFeatures.cs (16)
836string.Format("event for 'RegisterDocumentOpenedHandler' was not fired within {0} minutes.",
840string.Format("event for 'RegisterDocumentClosedHandler' was not fired within {0} minutes.",
855string.Format("event for 'RegisterDocumentOpenedHandler' was called within {0} seconds though it was removed from the list.",
859string.Format("event for 'RegisterDocumentClosedHandler' was called within {0} seconds though it was removed from the list.",
907string.Format("event for 'RegisterDocumentOpenedHandler' was not fired within {0} minutes.",
911string.Format("event for 'RegisterDocumentClosedHandler' was not fired within {0} minutes.",
926string.Format("event for 'RegisterDocumentOpenedHandler' was called within {0} seconds though it was removed from the list.",
930string.Format("event for 'RegisterDocumentClosedHandler' was called within {0} seconds though it was removed from the list.",
968string.Format("event for 'RegisterTextDocumentOpenedHandler' was not fired within {0} minutes.",
972string.Format("event for 'RegisterTextDocumentClosedHandler' was not fired within {0} minutes.",
987string.Format("event for 'RegisterTextDocumentOpenedHandler' was called within {0} seconds though it was removed from the list.",
991string.Format("event for 'RegisterTextDocumentClosedHandler' was called within {0} seconds though it was removed from the list.",
1029string.Format("event for 'RegisterTextDocumentOpenedHandler' was not fired within {0} minutes.",
1033string.Format("event for 'RegisterTextDocumentClosedHandler' was not fired within {0} minutes.",
1048string.Format("event for 'RegisterTextDocumentOpenedHandler' was called within {0} seconds though it was removed from the list.",
1052string.Format("event for 'RegisterTextDocumentClosedHandler' was called within {0} seconds though it was removed from the list.",
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (146)
EmbeddedLanguages\RegularExpressions\CSharpRegexParserTests_BasicTests.cs (89)
474<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[10..11)" Text="?" />
505<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[10..11)" Text="?" />
539<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[10..11)" Text="?" />
574<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[10..11)" Text="?" />
2309<Diagnostic Message="{{string.Format(FeaturesResources.Quantifier_0_following_nothing, '{')}}" Span="[10..11)" Text="{" />
2335<Diagnostic Message="{{string.Format(FeaturesResources.Quantifier_0_following_nothing, '{')}}" Span="[10..11)" Text="{" />
2416<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '*')}" Span="[9..10)" Text="*" />
2445<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '*')}" Span="[10..11)" Text="*" />
2475<Diagnostic Message="{string.Format(FeaturesResources.Nested_quantifier_0, "*")}" Span="[11..12)" Text="*" />
2498<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '+')}" Span="[9..10)" Text="+" />
2527<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '+')}" Span="[10..11)" Text="+" />
2557<Diagnostic Message="{string.Format(FeaturesResources.Nested_quantifier_0, "+")}" Span="[11..12)" Text="+" />
2580<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[9..10)" Text="?" />
2609<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[10..11)" Text="?" />
2641<Diagnostic Message="{string.Format(FeaturesResources.Nested_quantifier_0, "?")}" Span="[12..13)" Text="?" />
2667<Diagnostic Message="{{string.Format(FeaturesResources.Quantifier_0_following_nothing, '{')}}" Span="[9..10)" Text="{" />
2699<Diagnostic Message="{{string.Format(FeaturesResources.Quantifier_0_following_nothing, '{')}}" Span="[10..11)" Text="{" />
2732<Diagnostic Message="{{string.Format(FeaturesResources.Nested_quantifier_0, "{")}}" Span="[11..12)" Text="{" />
3441<Diagnostic Message="{string.Format(FeaturesResources.Unrecognized_escape_sequence_0, "m")}" Span="[11..12)" Text="m" />
3765<Diagnostic Message="{string.Format(FeaturesResources.Unrecognized_escape_sequence_0, "m")}" Span="[11..12)" Text="m" />
4203<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 7)}" Span="[11..12)" Text="7" />
4251<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 8)}" Span="[11..12)" Text="8" />
4467<Diagnostic Message="{string.Format(FeaturesResources.Unrecognized_escape_sequence_0, "k")}" Span="[11..12)" Text="k" />
4494<Diagnostic Message="{string.Format(FeaturesResources.Unrecognized_escape_sequence_0, "k")}" Span="[11..12)" Text="k" />
4521<Diagnostic Message="{string.Format(FeaturesResources.Unrecognized_escape_sequence_0, "k")}" Span="[11..12)" Text="k" />
4629<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_name_0, "a")}" Span="[13..14)" Text="a" />
4922<Diagnostic Message="{string.Format(FeaturesResources.Unrecognized_escape_sequence_0, "k")}" Span="[11..12)" Text="k" />
4949<Diagnostic Message="{string.Format(FeaturesResources.Unrecognized_escape_sequence_0, "k")}" Span="[11..12)" Text="k" />
4976<Diagnostic Message="{string.Format(FeaturesResources.Unrecognized_escape_sequence_0, "k")}" Span="[11..12)" Text="k" />
5084<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_name_0, "a")}" Span="[13..14)" Text="a" />
5149<Diagnostic Message="{string.Format(FeaturesResources.Unrecognized_escape_sequence_0, "k")}" Span="[11..12)" Text="k" />
5176<Diagnostic Message="{string.Format(FeaturesResources.Unrecognized_escape_sequence_0, "k")}" Span="[11..12)" Text="k" />
5418<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_name_0, "a")}" Span="[12..13)" Text="a" />
5839<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_name_0, "a")}" Span="[12..13)" Text="a" />
6071<Diagnostic Message="{{string.Format(FeaturesResources.Unknown_property_0, "xxx")}}" Span="[13..16)" Text="xxx" />
8199<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 1)}" Span="[13..14)" Text="1" />
8556<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 3)}" Span="[38..39)" Text="3" />
8636<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 3)}" Span="[42..43)" Text="3" />
8717<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 3)}" Span="[42..43)" Text="3" />
8802<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 3)}" Span="[46..47)" Text="3" />
8880<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 3)}" Span="[34..35)" Text="3" />
8960<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[27..28)" Text="2" />
8961<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 3)}" Span="[34..35)" Text="3" />
8963<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[40..41)" Text="?" />
9043<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 3)}" Span="[34..35)" Text="3" />
9124<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 3)}" Span="[34..35)" Text="3" />
9209<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[27..28)" Text="2" />
9210<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 3)}" Span="[34..35)" Text="3" />
9212<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[44..45)" Text="?" />
9297<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 3)}" Span="[34..35)" Text="3" />
9635<Diagnostic Message="{string.Format(FeaturesResources.Conditional_alternation_is_missing_a_closing_parenthesis_after_the_group_number_0, 0)}" Span="[12..13)" Text="0" />
9919<Diagnostic Message="{string.Format(FeaturesResources.Conditional_alternation_is_missing_a_closing_parenthesis_after_the_group_number_0, 0)}" Span="[12..13)" Text="0" />
9948<Diagnostic Message="{string.Format(FeaturesResources.Conditional_alternation_refers_to_an_undefined_group_number_0, 1)}" Span="[12..13)" Text="1" />
10471<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[12..13)" Text="?" />
10513<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[12..13)" Text="?" />
10555<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[12..13)" Text="?" />
10823<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 1)}" Span="[11..12)" Text="1" />
10850<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 1)}" Span="[11..12)" Text="1" />
11790<Diagnostic Message="{string.Format(FeaturesResources.Cannot_include_class_0_in_character_range, "w")}" Span="[13..15)" Text="\w" />
11829<Diagnostic Message="{{string.Format(FeaturesResources.Unknown_property_0, "llll")}}" Span="[14..18)" Text="llll" />
11907<Diagnostic Message="{{string.Format(FeaturesResources.Cannot_include_class_0_in_character_range, "p")}}" Span="[13..15)" Text="\p" />
15081<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[13..14)" Text="2" />
15144<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 1)}" Span="[13..14)" Text="1" />
15173<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[13..14)" Text="2" />
15207<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[15..16)" Text="2" />
15294<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[21..22)" Text="2" />
15339<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 1)}" Span="[19..20)" Text="1" />
15340<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[21..22)" Text="2" />
15384<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 1)}" Span="[19..20)" Text="1" />
15385<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[21..22)" Text="2" />
15429<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 1)}" Span="[19..20)" Text="1" />
15430<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[21..22)" Text="2" />
15474<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 1)}" Span="[19..20)" Text="1" />
15475<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[21..22)" Text="2" />
15648<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 1)}" Span="[20..21)" Text="1" />
15649<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[22..23)" Text="2" />
15693<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[22..23)" Text="2" />
15830<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 1)}" Span="[19..20)" Text="1" />
15831<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[21..22)" Text="2" />
15924<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 1)}" Span="[20..21)" Text="1" />
15925<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[22..23)" Text="2" />
16016<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 1)}" Span="[20..21)" Text="1" />
16017<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[22..23)" Text="2" />
16108<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 1)}" Span="[21..22)" Text="1" />
16109<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[23..24)" Text="2" />
16257<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 1)}" Span="[24..25)" Text="1" />
16258<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[26..27)" Text="2" />
16308<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 1)}" Span="[24..25)" Text="1" />
16309<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[26..27)" Text="2" />
EmbeddedLanguages\RegularExpressions\CSharpRegexParserTests_DotnetNegativeTests.cs (55)
59<Diagnostic Message="{string.Format(FeaturesResources.Cannot_include_class_0_in_character_range, "d")}" Span="[17..19)" Text="\d" />
87<Diagnostic Message="{string.Format(FeaturesResources.Unrecognized_escape_sequence_0, "k")}" Span="[11..12)" Text="k" />
162<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, "1")}" Span="[11..12)" Text="1" />
249<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[11..12)" Text="?" />
734<Diagnostic Message="{string.Format(FeaturesResources.Unrecognized_escape_sequence_0, "k")}" Span="[11..12)" Text="k" />
761<Diagnostic Message="{{string.Format(FeaturesResources.Unknown_property_0, "cat")}}" Span="[13..16)" Text="cat" />
815<Diagnostic Message="{{string.Format(FeaturesResources.Unknown_property_0, "cat")}}" Span="[13..16)" Text="cat" />
871<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[11..12)" Text="?" />
987<Diagnostic Message="{string.Format(FeaturesResources.Unrecognized_escape_sequence_0, "k")}" Span="[11..12)" Text="k" />
1093<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[10..11)" Text="?" />
1132<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[10..11)" Text="?" />
1176<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[10..11)" Text="?" />
1224<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[10..11)" Text="?" />
1276<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[10..11)" Text="?" />
1350<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[10..11)" Text="?" />
1724<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[10..11)" Text="?" />
1761<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[13..14)" Text="?" />
2073<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[11..12)" Text="?" />
2109<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[11..12)" Text="?" />
2241<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[13..14)" Text="?" />
2280<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[13..14)" Text="?" />
2314<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[11..12)" Text="?" />
2500<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[16..17)" Text="?" />
2639<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[16..17)" Text="?" />
2762<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_name_0, "catdog")}" Span="[31..37)" Text="catdog" />
2880<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, "16")}" Span="[31..33)" Text="16" />
3279<Diagnostic Message="{string.Format(FeaturesResources.Cannot_include_class_0_in_character_range, "D")}" Span="[14..16)" Text="\D" />
3331<Diagnostic Message="{string.Format(FeaturesResources.Cannot_include_class_0_in_character_range, "s")}" Span="[17..19)" Text="\s" />
3380<Diagnostic Message="{string.Format(FeaturesResources.Cannot_include_class_0_in_character_range, "S")}" Span="[17..19)" Text="\S" />
3429<Diagnostic Message="{string.Format(FeaturesResources.Cannot_include_class_0_in_character_range, "w")}" Span="[17..19)" Text="\w" />
3481<Diagnostic Message="{string.Format(FeaturesResources.Cannot_include_class_0_in_character_range, "W")}" Span="[17..19)" Text="\W" />
3564<Diagnostic Message="{{string.Format(FeaturesResources.Cannot_include_class_0_in_character_range, "p")}}" Span="[14..16)" Text="\p" />
3719<Diagnostic Message="{{string.Format(FeaturesResources.Cannot_include_class_0_in_character_range, "P")}}" Span="[14..16)" Text="\P" />
3958<Diagnostic Message="{string.Format(FeaturesResources.Unrecognized_escape_sequence_0, "o")}" Span="[18..19)" Text="o" />
4115<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_name_0, "cat2")}" Span="[38..42)" Text="cat2" />
4182<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, "8")}" Span="[38..39)" Text="8" />
4232<Diagnostic Message="{{string.Format(FeaturesResources.Nested_quantifier_0, "*")}}" Span="[21..22)" Text="*" />
4273<Diagnostic Message="{string.Format(FeaturesResources.Nested_quantifier_0, "+")}" Span="[18..19)" Text="+" />
4314<Diagnostic Message="{string.Format(FeaturesResources.Nested_quantifier_0, "*")}" Span="[18..19)" Text="*" />
4355<Diagnostic Message="{string.Format(FeaturesResources.Nested_quantifier_0, "*")}" Span="[18..19)" Text="*" />
4399<Diagnostic Message="{string.Format(FeaturesResources.Nested_quantifier_0, "+")}" Span="[19..20)" Text="+" />
4443<Diagnostic Message="{string.Format(FeaturesResources.Nested_quantifier_0, "*")}" Span="[19..20)" Text="*" />
4490<Diagnostic Message="{{string.Format(FeaturesResources.Nested_quantifier_0, "*")}}" Span="[22..23)" Text="*" />
4534<Diagnostic Message="{string.Format(FeaturesResources.Nested_quantifier_0, "*")}" Span="[19..20)" Text="*" />
4578<Diagnostic Message="{{string.Format(FeaturesResources.Nested_quantifier_0, "{")}}" Span="[18..19)" Text="{" />
4622<Diagnostic Message="{{string.Format(FeaturesResources.Nested_quantifier_0, "{")}}" Span="[18..19)" Text="{" />
4766<Diagnostic Message="{{string.Format(FeaturesResources.Nested_quantifier_0, "{")}}" Span="[18..19)" Text="{" />
4839<Diagnostic Message="{{string.Format(FeaturesResources.Nested_quantifier_0, "*")}}" Span="[24..25)" Text="*" />
4883<Diagnostic Message="{{string.Format(FeaturesResources.Nested_quantifier_0, "*")}}" Span="[21..22)" Text="*" />
4946<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, "8")}" Span="[38..39)" Text="8" />
5117<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, "7")}" Span="[17..18)" Text="7" />
5264<Diagnostic Message="{{string.Format(FeaturesResources.Nested_quantifier_0, "*")}}" Span="[20..21)" Text="*" />
5433<Diagnostic Message="{string.Format(FeaturesResources.Nested_quantifier_0, "*")}" Span="[19..20)" Text="*" />
5551<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '*')}" Span="[20..21)" Text="*" />
5651<Diagnostic Message="{{string.Format(FeaturesResources.Nested_quantifier_0, "*")}}" Span="[23..24)" Text="*" />
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (34)
CodeGen\UnsafeTests.cs (23)
6144CompileAndVerify(string.Format(template, "unchecked"), options: TestOptions.UnsafeReleaseExe, expectedOutput: expectedOutput, verify: Verification.Fails).VerifyIL("C.Main", expectedIL);
6145CompileAndVerify(string.Format(template, "checked"), options: TestOptions.UnsafeReleaseExe, expectedOutput: expectedOutput, verify: Verification.Fails).VerifyIL("C.Main", expectedIL);
6195CompileAndVerify(string.Format(template, "unchecked"), options: TestOptions.UnsafeReleaseExe, expectedOutput: expectedOutput, verify: Verification.Fails).VerifyIL("C.Main", expectedIL);
6196CompileAndVerify(string.Format(template, "checked"), options: TestOptions.UnsafeReleaseExe, expectedOutput: expectedOutput, verify: Verification.Fails).VerifyIL("C.Main", expectedIL);
6643CompileAndVerify(string.Format(template, "unchecked"), options: TestOptions.UnsafeReleaseDll, verify: Verification.Fails).VerifyIL("C.M", expectedIL);
6644CompileAndVerify(string.Format(template, "checked"), options: TestOptions.UnsafeReleaseDll, verify: Verification.Fails).VerifyIL("C.M", expectedIL);
6706CompileAndVerify(string.Format(template, "unchecked"), options: TestOptions.UnsafeReleaseDll, verify: Verification.Fails).VerifyIL("C.M", expectedIL);
6707CompileAndVerify(string.Format(template, "checked"), options: TestOptions.UnsafeReleaseDll, verify: Verification.Fails).VerifyIL("C.M", expectedIL);
6813CompileAndVerify(string.Format(template, "unchecked"), options: TestOptions.UnsafeDebugExe, expectedOutput: expectedOutput, verify: Verification.Fails).VerifyIL("C.Main", expectedIL, sequencePoints: "C.Main");
6814CompileAndVerify(string.Format(template, "checked "), options: TestOptions.UnsafeDebugExe, expectedOutput: expectedOutput, verify: Verification.Fails).VerifyIL("C.Main", expectedIL, sequencePoints: "C.Main");
6870CompileAndVerify(string.Format(template, "unchecked"), options: TestOptions.UnsafeReleaseExe, expectedOutput: expectedOutput, verify: Verification.Fails).VerifyIL("C.Main", expectedIL);
6871CompileAndVerify(string.Format(template, "checked"), options: TestOptions.UnsafeReleaseExe, expectedOutput: expectedOutput, verify: Verification.Fails).VerifyIL("C.Main", expectedIL);
6912CompileAndVerify(string.Format(template, "unchecked"), options: TestOptions.UnsafeReleaseDll, verify: Verification.Passes).VerifyIL("C.M", expectedIL);
6913CompileAndVerify(string.Format(template, "checked"), options: TestOptions.UnsafeReleaseDll, verify: Verification.Passes).VerifyIL("C.M", expectedIL);
6981CompileAndVerify(string.Format(template, "unchecked"), options: TestOptions.UnsafeReleaseDll, verify: Verification.Passes).VerifyIL("C.M", expectedIL);
6982CompileAndVerify(string.Format(template, "checked"), options: TestOptions.UnsafeReleaseDll, verify: Verification.Passes).VerifyIL("C.M", expectedIL);
8948string.Format(casesTemplate, pointedAtType),
11044CompileAndVerify(string.Format(template, "int"), options: TestOptions.UnsafeReleaseExe, expectedOutput: @"True", verify: Verification.Passes);
11045CompileAndVerify(string.Format(template, "int*"), options: TestOptions.UnsafeReleaseExe, expectedOutput: @"True", verify: Verification.Passes);
11046CompileAndVerify(string.Format(template, "int**"), options: TestOptions.UnsafeReleaseExe, expectedOutput: @"True", verify: Verification.Passes);
11047CompileAndVerify(string.Format(template, "int[]"), options: TestOptions.UnsafeReleaseExe, expectedOutput: @"True", verify: Verification.Passes);
11048CompileAndVerify(string.Format(template, "int[][]"), options: TestOptions.UnsafeReleaseExe, expectedOutput: @"True", verify: Verification.Passes);
11049CompileAndVerify(string.Format(template, "int*[]"), options: TestOptions.UnsafeReleaseExe, expectedOutput: @"True", verify: Verification.Passes);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (6)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (39)
Diagnostics\DiagnosticAnalyzerTests.cs (28)
739var message = string.Format("'{0}' must have a non-null non-empty 'Category'", descriptor.Id);
854string message = new ArgumentException(string.Format(CodeAnalysisResources.UnsupportedDiagnosticReported, AnalyzerReportingUnsupportedDiagnostic.UnsupportedDescriptor.Id), "diagnostic").Message;
855IFormattable context = $@"{string.Format(CodeAnalysisResources.ExceptionContext, $@"Compilation: {compilation.AssemblyName}")}
860{string.Format(CodeAnalysisResources.DisableAnalyzerDiagnosticsMessage, "ID_1")}";
912string message = new ArgumentException(string.Format(CodeAnalysisResources.InvalidDiagnosticIdReported, AnalyzerWithInvalidDiagnosticId.Descriptor.Id), "diagnostic").Message;
914IFormattable context = $@"{string.Format(CodeAnalysisResources.ExceptionContext, $@"Compilation: {compilation.AssemblyName}")}
919{string.Format(CodeAnalysisResources.DisableAnalyzerDiagnosticsMessage, "Invalid ID")}";
952string message = new ArgumentException(string.Format(CodeAnalysisResources.SupportedDiagnosticsHasNullDescriptor, analyzerFullName), "SupportedDiagnostics").Message;
1064IFormattable context = $@"{string.Format(CodeAnalysisResources.ExceptionContext, contextDetail)}
1069{string.Format(CodeAnalysisResources.DisableAnalyzerDiagnosticsMessage, "ID")}";
1109IFormattable context = $@"{string.Format(CodeAnalysisResources.ExceptionContext, $@"Compilation: {compilation.AssemblyName}
1115{string.Format(CodeAnalysisResources.DisableAnalyzerDiagnosticsMessage, "ID")}";
1478var tree = CSharpSyntaxTree.ParseText(string.Format(source, treeNum++), path: "SourceFileRegular.cs");
1480tree = CSharpSyntaxTree.ParseText(string.Format(source, treeNum++), path: "AssemblyInfo.cs");
1486tree = CSharpSyntaxTree.ParseText(string.Format(source, treeNum++), path: fileName);
1496tree = CSharpSyntaxTree.ParseText(string.Format(autoGeneratedPrefix + source, treeNum++), path: $"SourceFileWithAutoGeneratedComment{i++}.cs");
1506tree = CSharpSyntaxTree.ParseText(string.Format(source, treeNum++), path: myGeneratedFileTrueName);
1514tree = CSharpSyntaxTree.ParseText(string.Format(source, treeNum++), path: myGeneratedFileCaseInsensitiveTrueName);
1520tree = CSharpSyntaxTree.ParseText(string.Format(source, treeNum++), path: "MyGeneratedFileFalse.cs");
1526tree = CSharpSyntaxTree.ParseText(string.Format(source, treeNum++), path: "MyGeneratedFileAuto.cs");
1729var squiggledText = string.Format("GeneratedCode{0}", i);
1737squiggledText = string.Format("Nested{0}", i);
1745squiggledText = string.Format("NonGeneratedCode{0}", i);
1753squiggledText = string.Format("NestedGeneratedCode{0}", i);
1776names.Add(string.Format("GeneratedCode{0}(IsGeneratedCode:True)", i));
1777names.Add(string.Format("Nested{0}(IsGeneratedCode:True)", i));
1779names.Add(string.Format("NestedGeneratedCode{0}(IsGeneratedCode:True)", i));
1787addNames = names => names.Add(string.Format("NonGeneratedCode{0}(IsGeneratedCode:False)", i));
Microsoft.CodeAnalysis.CSharp.Features (20)
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (131)
EmbeddedLanguages\ValidateJsonStringTests.cs (10)
46diagnosticMessage: string.Format(FeaturesResources.JSON_issue_0, FeaturesResources.Constructors_not_allowed));
62diagnosticMessage: string.Format(FeaturesResources.JSON_issue_0, FeaturesResources.Constructors_not_allowed));
78diagnosticMessage: string.Format(FeaturesResources.JSON_issue_0,
79string.Format(FeaturesResources._0_unexpected, '}')));
103diagnosticMessage: string.Format(FeaturesResources.JSON_issue_0,
128diagnosticMessage: string.Format(FeaturesResources.JSON_issue_0,
193diagnosticMessage: string.Format(FeaturesResources.JSON_issue_0,
218diagnosticMessage: string.Format(FeaturesResources.JSON_issue_0,
289diagnosticMessage: string.Format(FeaturesResources.JSON_issue_0,
320diagnosticMessage: string.Format(FeaturesResources.JSON_issue_0,
GenerateFromMembers\AddConstructorParametersFromMembers\AddConstructorParametersFromMembersTests.cs (33)
92CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i)"), codeAction.Title)
132CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i)"), codeAction.Title)
179CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i, string s)"), codeAction.Title)
224CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i, string s)"), codeAction.Title)
269CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i, string s)"), codeAction.Title)
309CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_optional_parameters_to_0, "Program(int i)"), codeAction.Title)
361CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(CodeFixesResources.Add_to_0, "Program(int i, string s)"), codeAction.Title)
413CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(CodeFixesResources.Add_to_0, "Program(int i, string s)"), codeAction.Title)
451CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(bool b)"), codeAction.Title)
490CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_optional_parameters_to_0, "Program(bool b)"), codeAction.Title)
1140CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(CodeFixesResources.Add_to_0, "C(int i)"), codeAction.Title)
1179CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(CodeFixesResources.Add_to_0, "C(int i, int j)"), codeAction.Title)
1218CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(CodeFixesResources.Add_to_0, "C(int i, int j, int k)"), codeAction.Title)
1257CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(CodeFixesResources.Add_to_0, "C(int i)"), codeAction.Title)
1296CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(CodeFixesResources.Add_to_0, "C(int i, int j)"), codeAction.Title)
1335CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(CodeFixesResources.Add_to_0, "C(int i, int j, int k)"), codeAction.Title)
1390CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(CodeFixesResources.Add_to_0, "C(int i, double j, int k)"), codeAction.Title)
1441CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(CodeFixesResources.Add_to_0, "C(int i, double j)"), codeAction.Title)
1481CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(CodeFixesResources.Add_to_0, "C(int i)"), codeAction.Title)
1520CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(CodeFixesResources.Add_to_0, "C(int l, double m, int n)"), codeAction.Title)
1778CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i)"), codeAction.Title)
1816CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i)"), codeAction.Title)
1854CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i)"), codeAction.Title)
1892CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i)"), codeAction.Title)
1930CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i)"), codeAction.Title)
1968CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i)"), codeAction.Title)
2007CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i)"), codeAction.Title)
2046CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i)"), codeAction.Title)
2084CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i)"), codeAction.Title)
2122CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i)"), codeAction.Title)
2160CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i)"), codeAction.Title)
2198CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i)"), codeAction.Title)
2493CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "C(int original, int original2)"), codeAction.Title)
GenerateVariable\GenerateVariableTests.cs (29)
88string.Format(CodeFixesResources.Generate_field_0, "goo"),
89string.Format(CodeFixesResources.Generate_read_only_field_0, "goo"),
90string.Format(CodeFixesResources.Generate_property_0, "goo"),
91string.Format(CodeFixesResources.Generate_local_0, "goo"),
92string.Format(CodeFixesResources.Generate_parameter_0, "goo"),
108string.Format(CodeFixesResources.Generate_field_0, "_goo"),
109string.Format(CodeFixesResources.Generate_read_only_field_0, "_goo"),
332[string.Format(CodeFixesResources.Generate_field_0, "goo"), string.Format(CodeFixesResources.Generate_property_0, "goo"), string.Format(CodeFixesResources.Generate_local_0, "goo"), string.Format(CodeFixesResources.Generate_parameter_0, "goo")]);
351[string.Format(CodeFixesResources.Generate_field_0, "goo"), string.Format(CodeFixesResources.Generate_property_0, "goo"), string.Format(CodeFixesResources.Generate_local_0, "goo"), string.Format(CodeFixesResources.Generate_parameter_0, "goo"), string.Format(CodeFixesResources.Generate_parameter_0_and_overrides_implementations, "goo")]);
514[string.Format(CodeFixesResources.Generate_field_0, "goo"), string.Format(CodeFixesResources.Generate_local_0, "goo"), string.Format(CodeFixesResources.Generate_parameter_0, "goo")]);
2272[string.Format(CodeFixesResources.Generate_field_0, "p"), string.Format(CodeFixesResources.Generate_property_0, "p"), string.Format(CodeFixesResources.Generate_local_0, "p"), string.Format(CodeFixesResources.Generate_parameter_0, "p")]);
4973await TestExactActionSetOfferedAsync(code, [string.Format(CodeFixesResources.Generate_local_0, "Bar"), string.Format(CodeFixesResources.Generate_parameter_0, "Bar")]);
9867string.Format(CodeFixesResources.Generate_property_0, "Field"),
9868string.Format(CodeFixesResources.Generate_field_0, "Field"),
9889string.Format(CodeFixesResources.Generate_property_0, "Field"),
9890string.Format(CodeFixesResources.Generate_field_0, "Field"),
src\Analyzers\CSharp\Tests\ImplementAbstractClass\ImplementAbstractClassTests_ThroughMember.cs (22)
117""", index: 1, new(title: string.Format(AnalyzersResources.Implement_through_0, "inner")));
148""", index: 1, new(title: string.Format(AnalyzersResources.Implement_through_0, "inner")));
176""", index: 1, new(title: string.Format(AnalyzersResources.Implement_through_0, "inner")));
209""", index: 1, new(title: string.Format(AnalyzersResources.Implement_through_0, "inner")));
269""", index: 1, new(title: string.Format(AnalyzersResources.Implement_through_0, "inner")));
300""", index: 1, new(title: string.Format(AnalyzersResources.Implement_through_0, "inner")));
325string.Format(AnalyzersResources.Implement_through_0, "Inner"),
326string.Format(AnalyzersResources.Implement_through_0, "IInterface.Inner"),
373""", index: 1, new(title: string.Format(AnalyzersResources.Implement_through_0, "inner")));
401""", index: 1, new(title: string.Format(AnalyzersResources.Implement_through_0, "inner")));
472""", index: 1, new(title: string.Format(AnalyzersResources.Implement_through_0, "inner")));
559""", index: 1, new(title: string.Format(AnalyzersResources.Implement_through_0, "inner")));
594""", index: 1, new(title: string.Format(AnalyzersResources.Implement_through_0, "inner")));
640""", index: 1, new(title: string.Format(AnalyzersResources.Implement_through_0, "inner")));
671""", index: 1, new(title: string.Format(AnalyzersResources.Implement_through_0, "inner")));
702""", index: 1, new(title: string.Format(AnalyzersResources.Implement_through_0, "inner")));
748""", index: 1, new(title: string.Format(AnalyzersResources.Implement_through_0, "inner")));
779""", index: 1, new(title: string.Format(AnalyzersResources.Implement_through_0, "inner")));
875""", [AnalyzersResources.Implement_abstract_class, string.Format(AnalyzersResources.Implement_through_0, "_base")]);
890""", [AnalyzersResources.Implement_abstract_class, string.Format(AnalyzersResources.Implement_through_0, "_base")]);
905""", [AnalyzersResources.Implement_abstract_class, string.Format(AnalyzersResources.Implement_through_0, "B")]);
920""", [AnalyzersResources.Implement_abstract_class, string.Format(AnalyzersResources.Implement_through_0, "B")]);
src\Analyzers\CSharp\Tests\UpgradeProject\UpgradeProjectTests.cs (11)
464string.Format(CSharpCodeFixesResources.Upgrade_this_project_to_csharp_language_version_0, "7.0"),
465string.Format(CSharpCodeFixesResources.Upgrade_all_csharp_projects_to_language_version_0, "7.0")
492string.Format(CSharpCodeFixesResources.Upgrade_this_project_to_csharp_language_version_0, "8.0"),
493string.Format(CSharpCodeFixesResources.Upgrade_all_csharp_projects_to_language_version_0, "8.0")
519string.Format(CSharpCodeFixesResources.Upgrade_this_project_to_csharp_language_version_0, "7.0")
546string.Format(CSharpCodeFixesResources.Upgrade_this_project_to_csharp_language_version_0, "7.0")
575string.Format(CSharpCodeFixesResources.Upgrade_this_project_to_csharp_language_version_0, defaultVersion),
576string.Format(CSharpCodeFixesResources.Upgrade_all_csharp_projects_to_language_version_0, defaultVersion)
599[string.Format(CSharpCodeFixesResources.Upgrade_this_project_to_csharp_language_version_0, "8.0")]);
626string.Format(CSharpCodeFixesResources.Upgrade_this_project_to_csharp_language_version_0, defaultEffectiveVersion),
627string.Format(CSharpCodeFixesResources.Upgrade_all_csharp_projects_to_language_version_0, defaultEffectiveVersion)
Microsoft.CodeAnalysis.CSharp.Scripting (1)
Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (10)
CommandLineRunnerTests.cs (10)
27private string LogoAndHelpPrompt => $@"{string.Format(CSharpScriptingResources.LogoLine1, s_compilerVersion)}
74var logoOutput = $@"{string.Format(CSharpScriptingResources.LogoLine1, s_compilerVersion)}
107var logoOutput = $@"{string.Format(CSharpScriptingResources.LogoLine1, s_compilerVersion)}
252var error = $@"error CS2001: {string.Format(CSharpResources.ERR_FileNotFound, Path.Combine(AppContext.BaseDirectory, "@arg1"))}";
399var error = $@"error CS2001: {string.Format(CSharpResources.ERR_FileNotFound, Path.Combine(AppContext.BaseDirectory, "a + b"))}";
412$@"{string.Format(CSharpScriptingResources.LogoLine1, s_compilerVersion)}
453var error = $@"error CS0246: {string.Format(CSharpResources.ERR_SingleTypeNameNotFound, "Alpha")}";
646(1,1): error CS0006: {string.Format(CSharpResources.ERR_NoMetadataFile, "C.dll")}
656$@"(1,1): error CS0006: {string.Format(CSharpResources.ERR_NoMetadataFile, "C.dll")}",
911$@"{string.Format(CSharpScriptingResources.LogoLine1, s_compilerVersion)}
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (19)
Semantics\NameLengthTests.cs (11)
69var source = string.Format(sourceTemplate, s_longSymbolName);
187var source = string.Format(sourceTemplate, s_longSymbolName);
312var source = string.Format(sourceTemplate, s_longSymbolName);
339var source = string.Format(sourceTemplate, s_longSymbolName);
373var source = string.Format(sourceTemplate, s_longSymbolName);
403var source = string.Format(sourceTemplate, s_longLocalName);
428var source = string.Format(sourceTemplate, s_longLocalName);
459var source = string.Format(sourceTemplate, longName);
482var source = string.Format(sourceTemplate, longName);
530var source = string.Format(sourceTemplate, longName);
554var source = string.Format(sourceTemplate, longName);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (156)
Compilation\ReferenceManagerTests.cs (12)
1547var il = string.Format(ilTemplate, "");
1555var il = string.Format(ilTemplate, " .publickeytoken = (31 BF 38 56 AD 36 4E 35 ) // 1.8V.6N5");
1562var il = string.Format(ilTemplate, " .ver 4:0:0:0");
1569var il = string.Format(ilTemplate, " .locale = (65 00 6E 00 2D 00 63 00 61 00 00 00 ) // e.n.-.c.a...");
1913var libBv1 = CreateCompilation(string.Format(libBTemplate, "1"), assemblyName: "B", options: s_signedDll);
1914var libBv2 = CreateCompilation(string.Format(libBTemplate, "2"), assemblyName: "B", options: s_signedDll);
1957var libBv1 = CreateCompilation(string.Format(libBTemplate, "1"), assemblyName: "B", options: s_signedDll);
1958var libBv2 = CreateCompilation(string.Format(libBTemplate, "2"), assemblyName: "B", options: s_signedDll);
2001var libBv1 = CreateCompilation(string.Format(libBTemplate, "1"), assemblyName: "B", options: s_signedDll);
2002var libBv2 = CreateCompilation(string.Format(libBTemplate, "2"), assemblyName: "B", options: s_signedDll);
2060var libBv1 = CreateCompilationWithMscorlib40AndSystemCore(string.Format(libBTemplate, "1"), assemblyName: "B", options: s_signedDll);
2061var libBv2 = CreateCompilationWithMscorlib40AndSystemCore(string.Format(libBTemplate, "2"), assemblyName: "B", options: s_signedDll);
DocumentationComments\DocumentationCommentCompilerTests.cs (89)
4416var source = string.Format(sourceTemplate, xml);
4472var source = string.Format(sourceTemplate, '\u1680');
4504var comp = CreateCompilationUtil(string.Format(sourceTemplate, xmlFilePath));
4520Assert.Equal(string.Format(expectedTemplate, xmlFilePath), actual);
4539var comp = CreateCompilationUtil(string.Format(sourceTemplate, xmlFilePath));
4555Assert.Equal(string.Format(expectedTemplate, xmlFilePath), actual);
4577var comp = CreateCompilationUtil(string.Format(sourceTemplate, xmlFilePath));
4593Assert.Equal(string.Format(expectedTemplate, xmlFilePath), actual);
4614var comp = CreateCompilationUtil(string.Format(sourceTemplate, xmlFilePath));
4630Assert.Equal(string.Format(expectedTemplate, xmlFilePath), actual);
4650var comp = CreateCompilationUtil(string.Format(sourceTemplate, xmlFilePath));
4668Assert.Equal(string.Format(expectedTemplate, xmlFilePath), actual);
4795var comp = CreateCompilationUtil(string.Format(sourceTemplate, xmlFile.Path));
4866var comp = CreateCompilationUtil(string.Format(sourceTemplate, xmlFile.Path));
4895var includeElement = string.Format(includeTemplate, xmlFilePath);
4903var comp = CreateCompilationUtil(string.Format(sourceTemplate, includeElement));
4907Diagnostic(ErrorCode.WRN_FailedInclude, includeElement).WithArguments(xmlFilePath, "path", string.Format("The process cannot access the file '{0}' because it is being used by another process.", xmlFilePath)));
4921Assert.Equal(string.Format(expectedTemplate, xmlFilePath), actual);
4931var xmlFile2 = Temp.CreateFile(extension: ".xml").WriteAllText(string.Format("<include file='{0}' path='path'/>", xmlFilePath1));
4940var comp = CreateCompilationUtil(string.Format(sourceTemplate, xmlFilePath2));
4943Diagnostic(ErrorCode.WRN_FailedInclude).WithArguments(xmlFilePath1, "path", string.Format("The process cannot access the file '{0}' because it is being used by another process.", xmlFilePath1)));
4957Assert.Equal(string.Format(expectedTemplate, xmlFilePath1), actual);
4968var includeElement = string.Format(includeTemplate, xmlFilePath);
4974var comp = CreateCompilationUtil(string.Format(sourceTemplate, includeElement));
4992Assert.Equal(string.Format(expectedTemplate, xmlFilePath), actual);
5001var xmlFile2 = Temp.CreateFile(extension: ".xml").WriteAllText(string.Format("<include file='{0}' path=':'/>", xmlFilePath1));
5008var comp = CreateCompilationUtil(string.Format(sourceTemplate, xmlFilePath2));
5025Assert.Equal(string.Format(expectedTemplate, xmlFilePath1), actual);
5035var includeElement = string.Format(includeTemplate, xmlFilePath);
5041var comp = CreateCompilationUtil(string.Format(sourceTemplate, includeElement));
5058Assert.Equal(string.Format(expectedTemplate, TestHelpers.AsXmlCommentText(xmlFilePath)), actual);
5068var xmlFile2 = Temp.CreateFile(extension: ".xml").WriteAllText(string.Format("<include file='{0}' path='path'/>", xmlFilePath1));
5075var comp = CreateCompilationUtil(string.Format(sourceTemplate, xmlFilePath2));
5092Assert.Equal(string.Format(expectedTemplate, xmlFilePath2), actual);
5101xmlFile.WriteAllText(string.Format(@"<include file=""{0}"" path=""//include""/>", xmlFilePath)); //Includes itself.
5107var comp = CreateCompilationUtil(string.Format(sourceTemplate, xmlFilePath));
5124Assert.Equal(string.Format(expectedTemplate, xmlFilePath), actual);
5133xmlFile.WriteAllText(string.Format(@"<parent><include file=""{0}"" path=""//parent""/></parent>", xmlFilePath)); //Includes its parent.
5139var comp = CreateCompilationUtil(string.Format(sourceTemplate, xmlFilePath));
5158Assert.Equal(string.Format(expectedTemplate, xmlFilePath), actual);
5167xmlFile.WriteAllText(string.Format(@"
5176var comp = CreateCompilationUtil(string.Format(sourceTemplate, xmlFilePath));
5211Assert.Equal(string.Format(expectedTemplate, xmlFilePath), actual);
5226xmlFile.WriteAllText(string.Format(xmlTemplate, xmlFilePath));
5233var comp = CreateCompilationUtil(string.Format(sourceTemplate, xmlFilePath));
5266xmlFile1.WriteAllText(string.Format(xmlTemplate1, xmlFilePath2));
5273var comp = CreateCompilationUtil(string.Format(sourceTemplate, xmlFilePath1));
5289Assert.Equal(string.Format(expectedTemplate, xmlFilePath1), actual);
5321var comp = CreateCompilationUtil(string.Format(sourceTemplate, xmlFilePath));
5326Diagnostic(ErrorCode.WRN_FailedInclude, string.Format(@"<include file=""{0}"" path=""/""/>", xmlFilePath)).WithArguments(xmlFilePath, "/", "The XPath expression evaluated to unexpected type System.Xml.Linq.XDocument."),
5329Diagnostic(ErrorCode.WRN_FailedInclude, string.Format(@"<include file=""{0}"" path="".""/>", xmlFilePath)).WithArguments(xmlFilePath, ".", "The XPath expression evaluated to unexpected type System.Xml.Linq.XDocument."));
5377var includeElement = string.Format(includeElementTemplate, xmlFilePath);
5386var comp = CreateCompilationUtil(string.Format(sourceTemplate, includeElement));
5412var includeElement = string.Format(includeElementTemplate, xmlFilePath);
5421var comp = CreateCompilationUtil(string.Format(sourceTemplate, includeElement));
5447var includeElement = string.Format(includeElementTemplate, xmlFilePath);
5464var comp = CreateCompilationUtil(string.Format(sourceTemplate, includeElement));
5494var includeElement = string.Format(includeElementTemplate, xmlFilePath);
5500var comp = CreateCompilationUtil(string.Format(sourceTemplate, includeElement));
5535var includeElement = string.Format(includeElementTemplate, xmlFilePath);
5541var comp = CreateCompilationUtil(string.Format(sourceTemplate, includeElement));
5589var includeElement = string.Format(includeElementTemplate, xmlFilePath);
5634var includeElement = string.Format(includeElementTemplate, xmlFilePath);
5791string includeElement = string.Format(includeElementTemplate, xmlFilePath);
5805var comp = CreateCompilationUtil(string.Format(sourceTemplate, includeElement));
5862string includeElement = string.Format(includeElementTemplate, xmlFilePath);
5874var comp = CreateCompilationUtil(string.Format(sourceTemplate, includeElement));
5906var includeElement = string.Format(includeElementTemplate, xmlFilePath);
5912var comp = CreateCompilationUtil(string.Format(sourceTemplate, includeElement));
5944var includeElement = string.Format(includeElementTemplate, xmlFilePath);
5953var comp = CreateCompilationUtil(string.Format(sourceTemplate, includeElement));
5985var includeElement = string.Format(includeElementTemplate, xmlFilePath);
5994var comp = CreateCompilationUtil(string.Format(sourceTemplate, includeElement));
6021var includeElement = string.Format(includeElementTemplate, xmlFilePath);
6030var comp = CreateCompilationUtil(string.Format(sourceTemplate, includeElement));
6048Assert.Equal(string.Format(expectedTemplate, TestHelpers.AsXmlCommentText(xmlFilePath)), actual);
6063var includeElement = string.Format(includeElementTemplate, xmlFilePath);
6080var comp = CreateCompilationUtil(string.Format(sourceTemplate, includeElement));
6097Assert.Equal(string.Format(expectedTemplate, TestHelpers.AsXmlCommentText(xmlFilePath)), actual);
6133string includeElement = string.Format(includeElementTemplate, xmlFilePath);
6148var comp = CreateCompilationUtil(string.Format(sourceTemplate, includeElement));
6313var source = string.Format(sourceTemplate, xmlFilePath);
6346Assert.Equal(string.Format(expectedTextTemplate, xmlFilePath), actualText);
7019var comp = CreateCompilationUtil(string.Format(sourceTemplate, xmlFile.Path));
7037Assert.Equal(string.Format(expectedTemplate, TestHelpers.AsXmlCommentText(xmlFile.Path)), actual);
8284var comp = CreateCompilationUtil(string.Format(sourceTemplate, xmlFilePath));
8501xmlFile.WriteAllText(string.Format(xmlTemplate, xmlFilePath));
8504var includeElement = string.Format(includeElementTemplate, xmlFilePath);
8514var comp = CreateCompilationUtil(string.Format(sourceTemplate, includeElement));
DocumentationComments\DocumentationModeTests.cs (3)
352Parse(string.Format(sourceTemplate, xml, mode), string.Format("{0}.cs", mode), GetOptions(mode)));
381Parse(string.Format(sourceTemplate, includeElement, mode), string.Format("{0}.cs", mode), GetOptions(mode)));
391var expectedText = string.Format(expectedTextTemplate, TestHelpers.AsXmlCommentText(xmlFilePath));
Symbols\EnumTests.cs (4)
261var source = GenerateEnum(10000, (i, n) => (i == 0) ? string.Format("M{0} + 1", n - 1) : "");
274var source = GenerateEnum(10000, (i, n) => string.Format("M{0} + 1", (i == 0) ? (n - 1) : (i - 1)));
287var source = GenerateEnum(10000, (i, n) => (i < n - 1) ? string.Format("M{0} - 1", i + 1) : i.ToString());
301builder.Append(string.Format(" M{0}", i));
Symbols\MissingSpecialMember.cs (8)
208ValidateSourceAndMetadata(string.Format(sourceTemplate, "public"), validatePresent);
209ValidateSourceAndMetadata(string.Format(sourceTemplate, "internal"), validateMissing);
351validatePresent(CreateEmptyCompilation(string.Format(sourceTemplate, "public")));
352validatePresent(CreateEmptyCompilation(string.Format(sourceTemplate, "internal")));
436ValidateSourceAndMetadata(string.Format(sourceTemplate, ""), validate);
437ValidateSourceAndMetadata(string.Format(sourceTemplate, " where T : new()"), validate);
492var publicLibRef = CreateEmptyCompilation(string.Format(libSourceTemplate, "public"), new[] { corlibRef }, parseOptions: parseOptions).EmitToImageReference();
493var internalLibRef = CreateEmptyCompilation(string.Format(libSourceTemplate, "internal"), new[] { corlibRef }, parseOptions: parseOptions).EmitToImageReference();
Symbols\Source\ClsComplianceTests.cs (6)
2967CreateCompilation(string.Format(sourceTemplate, "")).VerifyDiagnostics(
2973CreateCompilation(string.Format(sourceTemplate, "void M();")).VerifyDiagnostics(
2980CreateCompilation(string.Format(sourceTemplate, "void m();")).VerifyDiagnostics(
3178var source = string.Format(sourceTemplate, qualifiedName);
3497var tree1 = SyntaxFactory.ParseSyntaxTree(string.Format(sourceTemplate, 1), parseOptions, path: "a.cs");
3498var tree2 = SyntaxFactory.ParseSyntaxTree(string.Format(sourceTemplate, 2), parseOptions, path: "b.cs");
Symbols\SymbolErrorTests.cs (17)
19941CreateCompilation(string.Format(template, "int Item;")).VerifyDiagnostics(
19949CreateCompilation(string.Format(template, "int get_Item;")).VerifyDiagnostics(
19956CreateCompilation(string.Format(template, "int set_Item;")).VerifyDiagnostics(
19964CreateCompilation(string.Format(template, "int Item() { return 0; }")).VerifyDiagnostics(
19969CreateCompilation(string.Format(template, "int set_Item() { return 0; }")).VerifyDiagnostics();
19984CreateCompilation(string.Format(template, "int P;")).VerifyDiagnostics(
19992CreateCompilation(string.Format(template, "int get_P;")).VerifyDiagnostics(
19999CreateCompilation(string.Format(template, "int set_P;")).VerifyDiagnostics(
20007CreateCompilation(string.Format(template, "int P() { return 0; }")).VerifyDiagnostics(
20012CreateCompilation(string.Format(template, "int set_P() { return 0; }")).VerifyDiagnostics();
20015CreateCompilation(string.Format(template, "int Item;")).VerifyDiagnostics(
20019CreateCompilation(string.Format(template, "int get_Item;")).VerifyDiagnostics(
20023CreateCompilation(string.Format(template, "int set_Item;")).VerifyDiagnostics(
20027CreateCompilation(string.Format(template, "int Item() { return 0; }")).VerifyDiagnostics();
20028CreateCompilation(string.Format(template, "int set_Item() { return 0; }")).VerifyDiagnostics();
22007var comp2 = CreateCompilation(new[] { string.Format(source2, "TypeForwarded_2"), string.Format(source2, "TypeForwardedTo"), source3 }, references: new[] { comp1.ToMetadataReference() });
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (9)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (8)
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (2)
Microsoft.CodeAnalysis.Debugging.Package (8)
Microsoft.CodeAnalysis.EditorFeatures (18)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (486)
EditAndContinue\EditAndContinueLanguageServiceTests.cs (3)
234$"Error ENC0033: {project.FilePath}(0, 0, 0, 0): {string.Format(FeaturesResources.Deleting_0_requires_restarting_the_application, "<deleted>")}",
246$"RestartRequired ENC0033: {document.FilePath}(0, 2, 0, 3): {string.Format(FeaturesResources.Deleting_0_requires_restarting_the_application, "x")}",
247$"RestartRequired ENC0033: {project.FilePath}(0, 0, 0, 0): {string.Format(FeaturesResources.Deleting_0_requires_restarting_the_application, "<deleted>")}",
MetadataAsSource\MetadataAsSourceTests.cs (404)
72{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
74{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
75{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
76{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
89{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
91{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
92{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
93{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
134{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
136{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
137{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
138{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
151{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
153{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
154{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
155{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
198{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
200{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
201{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
202{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
215{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
217{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
218{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
219{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
269{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
271{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
272{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
273{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
289{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
291{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
292{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
293{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
341{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
343{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
344{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
345{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
359{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
361{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
362{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
363{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
411{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
413{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
414{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
415{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
429{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
431{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
432{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
433{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
488{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
490{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
491{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
492{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
508{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
510{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
511{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
512{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
567{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
569{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
570{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
571{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
587{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
589{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
590{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
591{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
641{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
643{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
644{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
645{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
661{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
663{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
664{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
665{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
715{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
717{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
718{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
719{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
735{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
737{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
738{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
739{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
789{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
791{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
792{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
793{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
809{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
811{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
812{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
813{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
857{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
859{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
860{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
861{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
875{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
877{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
878{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
879{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
929{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
931{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
932{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
933{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
949{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
951{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
952{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
953{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1003{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
1005{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1006{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1007{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1022{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
1024{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1025{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1026{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1145{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
1147{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1148{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1149{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1163{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
1165{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1166{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1167{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1213{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
1215{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1216{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1217{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1231{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
1233{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1234{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1235{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1290{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
1292{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1293{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1294{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1310{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
1312{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1313{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1314{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1365{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
1367{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1368{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1369{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1386{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
1388{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1389{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1390{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1438{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
1440{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1441{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1442{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1456{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
1458{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1459{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1460{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1511{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
1513{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1514{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1515{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1531{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
1533{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1534{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1535{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1589{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
1591{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1592{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1593{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1607{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
1609{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1610{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1611{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1668{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
1670{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1671{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1672{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1686{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
1688{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1689{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1690{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1742{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
1744{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1745{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1746{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1762{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
1764{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1765{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1766{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
2112{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
2114{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2115{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2116{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
2202{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
2204{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2205{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2206{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
2399{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
2401{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2402{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2403{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
2480{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
2482{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2483{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2484{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
2578{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
2580{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2581{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2582{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
2584{{string.Format(FeaturesResources.Resolve_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2585{{string.Format(FeaturesResources.Found_single_assembly_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2586{{string.Format(FeaturesResources.Load_from_0, "System.v4_6_1038_0.dll")}}
2604{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
2606{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2607{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2608{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
2610{{string.Format(FeaturesResources.Resolve_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2611{{string.Format(FeaturesResources.Found_single_assembly_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2612{{string.Format(FeaturesResources.Load_from_0, "System.v4_6_1038_0.dll")}}
2681{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
2683{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2684{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2685{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
2703{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
2705{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2706{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2707{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
2773{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
2775{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2776{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2777{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
2796{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
2798{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2799{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2800{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
2968{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
2970{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2971{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2972{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
3000{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
3002{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3003{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3004{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
3092{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
3094{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3095{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3096{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
3120{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
3122{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3123{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3124{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
3193{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
3195{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3196{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3197{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
3215{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
3217{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3218{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3219{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
3339{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
3341{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3342{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3343{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
3345{{string.Format(FeaturesResources.Resolve_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3346{{string.Format(FeaturesResources.Found_single_assembly_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3347{{string.Format(FeaturesResources.Load_from_0, "System.v4_6_1038_0.dll")}}
3365{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
3367{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3368{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3369{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
3371{{string.Format(FeaturesResources.Resolve_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3372{{string.Format(FeaturesResources.Found_single_assembly_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3373{{string.Format(FeaturesResources.Load_from_0, "System.v4_6_1038_0.dll")}}
3611{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
3613{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3614{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3615{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
3629{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
3631{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3632{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3633{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
3684{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
3686{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3687{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3688{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
3702{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
3704{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3705{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3706{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
3760{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
3762{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3763{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3764{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
3780{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
3782{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3783{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3784{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
3837{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
3839{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3840{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3841{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
3857{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
3859{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3860{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3861{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
3917{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
3919{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3920{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3921{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
3940{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
3942{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3943{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3944{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4002{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
4004{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4005{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4006{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4025{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
4027{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4028{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4029{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4080{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
4082{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4083{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4084{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4098{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
4100{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4101{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4102{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4153{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
4155{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4156{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4157{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4171{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
4173{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4174{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4175{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4233{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
4235{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4236{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4237{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4251{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
4253{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4254{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4255{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4308{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
4310{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4311{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4312{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4326{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
4328{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4329{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4330{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4393{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
4395{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4396{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4397{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4423{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
4425{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4426{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4427{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4490{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
4492{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4493{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4494{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4520{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
4522{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4523{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4524{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4587{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
4589{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4590{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4591{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4617{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
4619{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4620{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4621{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4681{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
4683{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4684{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4685{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4702{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
4704{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4705{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4706{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4775{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
4777{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4778{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4779{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4805{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
4807{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4808{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4809{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4876{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
4878{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4879{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4880{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4906{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
4908{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4909{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4910{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4978{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
4980{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4981{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4982{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
5008{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
5010{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
5011{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
5012{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
MetadataAsSource\MetadataAsSourceTests.CSharp.cs (58)
68{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
70{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
71{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
72{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
108{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
110{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
111{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
112{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
158{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
160{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
161{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
162{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
164{{string.Format(FeaturesResources.Resolve_0, "System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51")}}
165{{string.Format(FeaturesResources.Found_single_assembly_0, "System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51")}}
166{{string.Format(FeaturesResources.Load_from_0, "System.ValueTuple (net461)")}}
382{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
384{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
385{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
386{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
388{{string.Format(FeaturesResources.Resolve_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
389{{string.Format(FeaturesResources.Found_single_assembly_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
390{{string.Format(FeaturesResources.Load_from_0, "System.v4_6_1038_0.dll")}}
428{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
430{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
431{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
432{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
493{string.Format(FeaturesResources._0_items_in_cache, 6)}
495{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}
496{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}
497{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}
573{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
575{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
576{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
577{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
677{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
679{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
680{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
681{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
739{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
741{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
742{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
743{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
798{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
800{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
801{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
802{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
848{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
850{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
851{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
852{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
917{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
919{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
920{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
921{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
963{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
965{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
966{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
967{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
MetadataAsSource\MetadataAsSourceTests.VisualBasic.cs (15)
52{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
54{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
55{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
56{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
58{{string.Format(FeaturesResources.Resolve_0, "Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")}}
59{{string.Format(FeaturesResources.Found_single_assembly_0, "Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")}}
60{{string.Format(FeaturesResources.Load_from_0, "Microsoft.VisualBasic (net461)")}}
175{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
409{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
411{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
412{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
413{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
415{{string.Format(FeaturesResources.Resolve_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
416{{string.Format(FeaturesResources.Found_single_assembly_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
417{{string.Format(FeaturesResources.Load_from_0, "System.v4_6_1038_0.dll")}}
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (3)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (6)
Microsoft.CodeAnalysis.Extensions.Package (3)
Microsoft.CodeAnalysis.ExternalAccess.Extensions (1)
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
Microsoft.CodeAnalysis.Features (148)
EmbeddedLanguages\Json\JsonParser.cs (9)
55private static readonly string s_closeBracketExpected = string.Format(FeaturesResources._0_expected, ']');
56private static readonly string s_closeBraceExpected = string.Format(FeaturesResources._0_expected, '}');
57private static readonly string s_openParenExpected = string.Format(FeaturesResources._0_expected, '(');
58private static readonly string s_closeParenExpected = string.Format(FeaturesResources._0_expected, ')');
59private static readonly string s_commaExpected = string.Format(FeaturesResources._0_expected, ',');
184string.Format(FeaturesResources._0_unexpected, firstToken.VirtualChars[0]),
196string.Format(FeaturesResources._0_unexpected, ','),
203string.Format(FeaturesResources._0_unexpected, ':'),
496string.Format(FeaturesResources._0_unexpected, firstChar.ToString()),
EmbeddedLanguages\Json\JsonParser.StrictSyntaxChecker.cs (4)
137return new EmbeddedDiagnostic(string.Format(FeaturesResources._0_unexpected, ","), child.GetSpan());
142return new EmbeddedDiagnostic(string.Format(FeaturesResources._0_expected, ","), GetFirstToken(child).GetSpan());
257=> new(string.Format(FeaturesResources._0_literal_not_allowed, literalToken.VirtualChars.CreateString()), literalToken.GetSpan());
260=> new(string.Format(FeaturesResources._0_literal_not_allowed, "-Infinity"), node.GetSpan());
EmbeddedLanguages\RegularExpressions\RegexParser.cs (8)
808string.Format(FeaturesResources.Conditional_alternation_refers_to_an_undefined_group_number_0, capture.VirtualChars.First()),
816string.Format(FeaturesResources.Conditional_alternation_is_missing_a_closing_parenthesis_after_the_group_number_0, capture.VirtualChars.First()),
1108string.Format(FeaturesResources.Reference_to_undefined_group_number_0, val),
1118string.Format(FeaturesResources.Reference_to_undefined_group_name_0, val),
1493string.Format(FeaturesResources.Cannot_include_class_0_in_character_range, nextChar),
1847string.Format(FeaturesResources.Unrecognized_escape_sequence_0, ch),
2015string.Format(FeaturesResources.Quantifier_0_following_nothing, token.VirtualChars.First()), token.GetSpan()));
2020string.Format(FeaturesResources.Nested_quantifier_0, token.VirtualChars.First()), token.GetSpan()));
src\Analyzers\Core\CodeFixes\GenerateEnumMember\AbstractGenerateEnumMemberService.CodeAction.cs (1)
55return string.Format(
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.CodeAction.cs (1)
187return string.Format(
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.GenerateLocalCodeAction.cs (1)
30return string.Format(
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.GenerateParameterCodeAction.cs (1)
36return string.Format(
Microsoft.CodeAnalysis.Features.UnitTests (24)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (18)
190$"proj: {document1.FilePath}: (0,0)-(0,0): Warning ENC1008: {string.Format(FeaturesResources.Changing_source_file_0_in_a_stale_project_has_no_effect_until_the_project_is_rebuit, document1.FilePath)}"
1126[$"proj: {document2.FilePath}: (0,0)-(0,0): Error ENC1006: {string.Format(FeaturesResources.UnableToReadSourceFileOrPdb, sourceFile.Path)}"],
1175[$"test: {document1.FilePath}: (0,0)-(0,0): Error ENC1006: {string.Format(FeaturesResources.UnableToReadSourceFileOrPdb, sourceFile.Path)}"],
1579[$"{document2.FilePath}: (0,18)-(0,19): Error ENC0110: {string.Format(FeaturesResources.Changing_the_signature_of_0_requires_restarting_the_application_because_it_is_not_supported_by_the_runtime, FeaturesResources.method)}"],
1724[$"{generatedDocument.FilePath}: (0,17)-(0,18): Error ENC0110: {string.Format(FeaturesResources.Changing_the_signature_of_0_requires_restarting_the_application_because_it_is_not_supported_by_the_runtime, FeaturesResources.method)}"],
1860[$"{document1.FilePath}: (0,45)-(0,69): Error ENC0023: {string.Format(FeaturesResources.Adding_an_abstract_0_or_overriding_an_inherited_0_requires_restarting_the_application, FeaturesResources.method)}"],
1904[$"{document2.FilePath}: (0,24)-(0,25): Error ENC0110: {string.Format(FeaturesResources.Changing_the_signature_of_0_requires_restarting_the_application_because_it_is_not_supported_by_the_runtime, FeaturesResources.method)}"],
1920[$"{document2.FilePath}: (0,24)-(0,25): Error ENC0110: {string.Format(FeaturesResources.Changing_the_signature_of_0_requires_restarting_the_application_because_it_is_not_supported_by_the_runtime, FeaturesResources.method)}"],
1982[$"{document.FilePath}: (0,31)-(0,55): Error ENC0023: {string.Format(FeaturesResources.Adding_an_abstract_0_or_overriding_an_inherited_0_requires_restarting_the_application, FeaturesResources.method)}"],
2739AssertEx.Equal(["ENC0101: " + string.Format(FeaturesResources.Updating_the_attributes_of_0_requires_restarting_the_application_because_it_is_not_supported_by_the_runtime, FeaturesResources.class_)],
2748AssertEx.Equal(["ENC0101: " + string.Format(FeaturesResources.Updating_the_attributes_of_0_requires_restarting_the_application_because_it_is_not_supported_by_the_runtime, FeaturesResources.class_)],
3085$"test: {document3.FilePath}: (0,0)-(0,0): Warning ENC1008: {string.Format(FeaturesResources.Changing_source_file_0_in_a_stale_project_has_no_effect_until_the_project_is_rebuit, sourceFile.Path)}"
3569[$"{documentB.FilePath}: (4,4)-(4,12): Error ENC0023: {string.Format(FeaturesResources.Adding_an_abstract_0_or_overriding_an_inherited_0_requires_restarting_the_application, FeaturesResources.method)}"],
3650[$"{documentB.FilePath}: (2,4)-(2,14): Warning ENC0118: {string.Format(FeaturesResources.Changing_0_might_not_have_any_effect_until_the_application_is_restarted, FeaturesResources.static_constructor)}"],
3782[$"proj: {generatedFilePath}: (0,0)-(0,56): Error ENC0021: {string.Format(FeaturesResources.Adding_0_requires_restarting_the_application, FeaturesResources.attribute)}"],
4417$"A: {documentA.FilePath}: (0,0)-(0,0): Warning ENC1008: {string.Format(FeaturesResources.Changing_source_file_0_in_a_stale_project_has_no_effect_until_the_project_is_rebuit, sourcePath)}",
4418$"B: {documentB.FilePath}: (0,0)-(0,0): Warning ENC1008: {string.Format(FeaturesResources.Changing_source_file_0_in_a_stale_project_has_no_effect_until_the_project_is_rebuit, sourcePath)}"
5032[$"{document.FilePath}: (9,8)-(9,13): Error ENC0063: {string.Format(FeaturesResources.Updating_a_0_around_an_active_statement_requires_restarting_the_application, CSharpFeaturesResources.catch_clause)}"],
EditAndContinue\WatchHotReloadServiceTests.cs (3)
112[$"P: {sourceFileA.Path}: (0,17)-(0,18): Error ENC0110: {string.Format(FeaturesResources.Changing_the_signature_of_0_requires_restarting_the_application_because_it_is_not_supported_by_the_runtime, FeaturesResources.method)}"],
145$"{sourceFileA.Path}: (0,21)-(0,28): Error CS0103: {string.Format(CSharpResources.ERR_NameNotInContext, "Unknown")}",
146$"{sourceFileA.Path}: (0,51)-(0,52): Warning CS0219: {string.Format(CSharpResources.WRN_UnreferencedVarAssg, "x")}",
Microsoft.CodeAnalysis.InteractiveHost (7)
Microsoft.CodeAnalysis.LanguageServer (20)
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (30)
CodeActions\CodeActionResolveTests.cs (23)
93var titlePath = new string[] { FeaturesResources.Introduce_constant, string.Format(FeaturesResources.Introduce_constant_for_0, "1") };
95title: string.Format(FeaturesResources.Introduce_constant_for_0, "1"),
99FeaturesResources.Introduce_constant + "|" + string.Format(FeaturesResources.Introduce_constant_for_0, "1"),
127title: string.Format(FeaturesResources.Introduce_constant_for_0, "1"),
131FeaturesResources.Introduce_constant + "|" + string.Format(FeaturesResources.Introduce_constant_for_0, "1"),
168var titlePath = new string[] { string.Format(FeaturesResources.Rename_file_to_0, "ABC.cs") };
170title: string.Format(FeaturesResources.Rename_file_to_0, "ABC.cs"),
174string.Format(FeaturesResources.Rename_file_to_0, "ABC.cs"),
191title: string.Format(FeaturesResources.Rename_file_to_0, "ABC.cs"),
195string.Format(FeaturesResources.Rename_file_to_0, "ABC.cs"),
226var titlePath = new string[] { string.Format(FeaturesResources.Encapsulate_field_colon_0_and_use_property, "_value") };
228title: string.Format(FeaturesResources.Encapsulate_field_colon_0_and_use_property, "_value"),
232string.Format(FeaturesResources.Encapsulate_field_colon_0_and_use_property, "_value"),
285var titlePath = new string[] { string.Format(FeaturesResources.Move_type_to_0, "ABC.cs") };
287title: string.Format(FeaturesResources.Move_type_to_0, "ABC.cs"),
291string.Format(FeaturesResources.Move_type_to_0, "ABC.cs"),
369title: string.Format(FeaturesResources.Move_type_to_0, "ABC.cs"),
373string.Format(FeaturesResources.Move_type_to_0, "ABC.cs"),
413var titlePath = new string[] { string.Format(FeaturesResources.Move_type_to_0, "BCD.cs") };
415title: string.Format(FeaturesResources.Move_type_to_0, "BCD.cs"),
419string.Format(FeaturesResources.Move_type_to_0, "BCD.cs"),
499title: string.Format(FeaturesResources.Move_type_to_0, "BCD.cs"),
503string.Format(FeaturesResources.Move_type_to_0, "BCD.cs"),
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (20)
Microsoft.CodeAnalysis.PublicApiAnalyzers (11)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (6)
127failureReason = string.Format(CompilerExtensionsResources.Missing_prefix_colon_0, Prefix);
133failureReason = string.Format(CompilerExtensionsResources.Missing_suffix_colon_0, Suffix);
154? string.Format(CompilerExtensionsResources.Prefix_0_is_not_expected, prefix)
226reason = string.Format(resourceId, string.Join(", ", violations));
266reason = string.Format(firstResourceId, Substring(name, wordSpan));
282var restString = string.Format(restResourceId, string.Join(", ", violations));
Microsoft.CodeAnalysis.Rebuild (3)
Microsoft.CodeAnalysis.Remote.Workspaces (1)
Microsoft.CodeAnalysis.ResxSourceGenerator (11)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (6)
127failureReason = string.Format(CompilerExtensionsResources.Missing_prefix_colon_0, Prefix);
133failureReason = string.Format(CompilerExtensionsResources.Missing_suffix_colon_0, Suffix);
154? string.Format(CompilerExtensionsResources.Prefix_0_is_not_expected, prefix)
226reason = string.Format(resourceId, string.Join(", ", violations));
266reason = string.Format(firstResourceId, Substring(name, wordSpan));
282var restString = string.Format(restResourceId, string.Join(", ", violations));
Microsoft.CodeAnalysis.Scripting (1)
Microsoft.CodeAnalysis.Test.Utilities (24)
Metadata\ILBuilderVisualizer.cs (8)
63return string.Format("\"{0}\"", symbol == null ? (object)reference : symbol.ToDisplayString(_symbolDisplayFormat));
222sb.Append(string.Format(" IL_{0:x4}:", block.RegularInstructionsLength + block.Start));
223sb.Append(string.Format(" {0,-10}", GetInstructionName(block.BranchCode)));
235sb.Append(string.Format(" IL_{0:x4}", branchBlock.Start));
251sb.Append(string.Format(" IL_{0:x4}:", block.RegularInstructionsLength + block.Start));
252sb.Append(string.Format(" {0,-10}", GetInstructionName(block.BranchCode)));
253sb.Append(string.Format(" IL_{0:x4}:", block.BranchesCount));
267sb.Append(string.Format(" IL_{0:x4}", branchBlock.Start));
Microsoft.CodeAnalysis.Threading.Package (3)
Microsoft.CodeAnalysis.UnitTests (10)
Microsoft.CodeAnalysis.VisualBasic (16)
Microsoft.CodeAnalysis.Workspaces (66)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (6)
127failureReason = string.Format(CompilerExtensionsResources.Missing_prefix_colon_0, Prefix);
133failureReason = string.Format(CompilerExtensionsResources.Missing_suffix_colon_0, Suffix);
154? string.Format(CompilerExtensionsResources.Prefix_0_is_not_expected, prefix)
226reason = string.Format(resourceId, string.Join(", ", violations));
266reason = string.Format(firstResourceId, Substring(name, wordSpan));
282var restString = string.Format(restResourceId, string.Join(", ", violations));
Microsoft.CodeAnalysis.Workspaces.MSBuild (18)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (4)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (2)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Microsoft.CodeAnalysis.Workspaces.UnitTests (11)
LinkedFileDiffMerging\LinkedFileDiffMergingTests.TextMerging.cs (9)
53<<<<<<< {string.Format(WorkspacesResources.TODO_Unmerged_change_from_project_0, "ProjectName1")}, {WorkspacesResources.Before_colon}
69<<<<<<< {string.Format(WorkspacesResources.TODO_Unmerged_change_from_project_0, "ProjectName1")}, {WorkspacesResources.Before_colon}
104<<<<<<< {string.Format(WorkspacesResources.TODO_Unmerged_change_from_project_0, "ProjectName1")}, {WorkspacesResources.Before_colon}
146<<<<<<< {string.Format(WorkspacesResources.TODO_Unmerged_change_from_project_0, "ProjectName1")}, {WorkspacesResources.Before_colon}
154<<<<<<< {string.Format(WorkspacesResources.TODO_Unmerged_change_from_project_0, "ProjectName1")}, {WorkspacesResources.Before_colon}
176<<<<<<< {string.Format(WorkspacesResources.TODO_Unmerged_change_from_project_0, "ProjectName2")}, {WorkspacesResources.Before_colon}
182<<<<<<< {string.Format(WorkspacesResources.TODO_Unmerged_change_from_project_0, "ProjectName3")}, {WorkspacesResources.Before_colon}
202<<<<<<< {string.Format(WorkspacesResources.TODO_Unmerged_change_from_project_0, "ProjectName1")}, {WorkspacesResources.Before_colon}
222<<<<<<< {string.Format(WorkspacesResources.TODO_Unmerged_change_from_project_0, "ProjectName1")}, {WorkspacesResources.Before_colon}
Microsoft.CSharp (1)
Microsoft.Data.Analysis (33)
DataFrame.cs (6)
339throw new ArgumentException(string.Format(Strings.ExceedsNumberOfRows, Rows.Count), nameof(numberOfRows));
371throw new ArgumentException(String.Format(Strings.InvalidColumnName, columnName), nameof(columnName));
566throw new ArgumentException(string.Format(Strings.MismatchedValueType, column.DataType), column.Name);
575throw new ArgumentException(string.Format(Strings.ExceedsNumberOfColumns, Columns.Count), nameof(row));
631throw new ArgumentException(String.Format(Strings.InvalidColumnName, columnName), nameof(columnName));
641throw new ArgumentException(string.Format(Strings.MismatchedValueType, column.DataType), column.Name);
PrimitiveDataFrameColumn.cs (10)
245throw new ArgumentException(string.Format(Strings.MismatchedValueType, DataType), nameof(value));
479throw new ArgumentException(String.Format(Strings.MismatchedValueType, Strings.NumericColumnType), nameof(mapIndices));
720throw new ArgumentException(string.Format(Strings.MismatchedValueType, typeof(T)), nameof(U));
750throw new ArgumentException(string.Format(Strings.MismatchedValueType, typeof(T)), nameof(U));
987throw new ArgumentException(string.Format(Strings.MismatchedColumnValueType, typeof(T)), nameof(column));
1022throw new ArgumentException(string.Format(Strings.MismatchedColumnValueType, typeof(T)), nameof(column));
1065throw new ArgumentException(string.Format(Strings.MismatchedValueType, typeof(T)), nameof(value));
1100throw new ArgumentException(string.Format(Strings.MismatchedValueType, typeof(T)), nameof(value));
1142throw new ArgumentException(string.Format(Strings.MismatchedValueType, typeof(T)), nameof(value));
1176throw new ArgumentException(string.Format(Strings.MismatchedValueType, typeof(T)), nameof(value));
Microsoft.Data.Analysis.Tests (6)
Microsoft.DotNet.Build.Tasks.Feed (5)
Microsoft.DotNet.Build.Tasks.Workloads (13)
Microsoft.DotNet.CodeAnalysis (3)
Microsoft.DotNet.GenFacades (1)
Microsoft.DotNet.NuGetRepack.Tests (2)
Microsoft.DotNet.SignCheckLibrary (3)
Microsoft.DotNet.SignCheckTask (3)
Microsoft.DotNet.XUnitExtensions (1)
Microsoft.DotNet.XUnitV3Extensions (1)
Microsoft.Extensions.Caching.Memory (1)
Microsoft.Extensions.Configuration (1)
Microsoft.Extensions.Configuration.Abstractions (1)
Microsoft.Extensions.Configuration.Binder (1)
Microsoft.Extensions.Configuration.CommandLine (1)
Microsoft.Extensions.Configuration.FileExtensions (1)
Microsoft.Extensions.Configuration.Ini (1)
Microsoft.Extensions.Configuration.Json (1)
Microsoft.Extensions.Configuration.UserSecrets (1)
Microsoft.Extensions.Configuration.Xml (1)
Microsoft.Extensions.DependencyInjection (1)
Microsoft.Extensions.DependencyInjection.Abstractions (1)
Microsoft.Extensions.DependencyModel (1)
Microsoft.Extensions.Diagnostics (1)
Microsoft.Extensions.Diagnostics.Abstractions (1)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (1)
Microsoft.Extensions.FileProviders.Abstractions (1)
Microsoft.Extensions.FileProviders.Physical (1)
Microsoft.Extensions.FileSystemGlobbing (1)
Microsoft.Extensions.Hosting (1)
Microsoft.Extensions.Hosting.Abstractions (1)
Microsoft.Extensions.Http (1)
Microsoft.Extensions.Logging (1)
Microsoft.Extensions.Logging.Abstractions (1)
Microsoft.Extensions.Logging.Configuration (1)
Microsoft.Extensions.Logging.Console (1)
Microsoft.Extensions.Logging.Generators (1)
Microsoft.Extensions.Options (1)
Microsoft.Extensions.Options.SourceGeneration (1)
Microsoft.Extensions.Primitives (1)
Microsoft.Gen.ContextualOptions (1)
Microsoft.Gen.Logging (1)
Microsoft.Gen.MetadataExtractor (1)
Microsoft.Gen.Metrics (1)
Microsoft.Gen.MetricsReports (1)
Microsoft.Interop.ComInterfaceGenerator (1)
Microsoft.Interop.JavaScript.JSImportGenerator (1)
Microsoft.Interop.LibraryImportGenerator (1)
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
Microsoft.Interop.SourceGeneration (3)
Microsoft.Maui.Controls (5)
Microsoft.Maui.Controls.Xaml (1)
Microsoft.ML.AutoML (1)
Microsoft.ML.Core (5)
Utilities\Contracts.cs (4)
340=> Process(new ArgumentOutOfRangeException(paramName, string.Format("{0} cannot be null or empty", paramName)));
342=> Process(new ArgumentOutOfRangeException(paramName, string.Format("{0} cannot be null or empty", paramName)), ctx);
356=> Process(new ArgumentOutOfRangeException(paramName, string.Format("{0} cannot be null or white space", paramName)));
358=> Process(new ArgumentOutOfRangeException(paramName, string.Format("{0} cannot be null or white space", paramName)), ctx);
Microsoft.ML.Core.Tests (3)
Microsoft.ML.CpuMath (4)
src\Microsoft.ML.Core\Utilities\Contracts.cs (4)
340=> Process(new ArgumentOutOfRangeException(paramName, string.Format("{0} cannot be null or empty", paramName)));
342=> Process(new ArgumentOutOfRangeException(paramName, string.Format("{0} cannot be null or empty", paramName)), ctx);
356=> Process(new ArgumentOutOfRangeException(paramName, string.Format("{0} cannot be null or white space", paramName)));
358=> Process(new ArgumentOutOfRangeException(paramName, string.Format("{0} cannot be null or white space", paramName)), ctx);
Microsoft.ML.Data (58)
Evaluators\MulticlassClassificationEvaluator.cs (8)
134isVector: true, namePattern: new Regex(string.Format(@"^{0}(?<class>.+)", LogLoss), RegexOptions.IgnoreCase),
135groupName: "class", nameFormat: string.Format("{0} (class {{0}})", PerClassLogLoss));
520warnings.Add(string.Format(
526warnings.Add(string.Format(
537editor.Values[i] = string.Format("(class {0})", ClassNames[i]).AsMemory();
1001input = new ColumnCopyingTransformer(Host, (string.Format(TopKAccuracyFormat, _outputTopKAcc), MulticlassClassificationEvaluator.TopKAccuracy)).Transform(input);
1024yield return new MetricColumn("TopKAccuracy", string.Format(TopKAccuracyFormat, _outputTopKAcc));
1029namePattern: new Regex(string.Format(@"^{0}(?<class>.+)", MulticlassClassificationEvaluator.LogLoss), RegexOptions.IgnoreCase));
Evaluators\MultiOutputRegressionEvaluator.cs (10)
82isVector: true, namePattern: new Regex(string.Format(@"{0}_(?<label>\d+)\)", L1), RegexOptions.IgnoreCase),
83groupName: "label", nameFormat: string.Format("{0} (Label_{{0}}", PerLabelL1));
85isVector: true, namePattern: new Regex(string.Format(@"{0}_(?<label>\d+)\)", L2), RegexOptions.IgnoreCase),
86groupName: "label", nameFormat: string.Format("{0} (Label_{{0}}", PerLabelL2));
88isVector: true, namePattern: new Regex(string.Format(@"{0}_(?<label>\d+)\)", Rms), RegexOptions.IgnoreCase),
89groupName: "label", nameFormat: string.Format("{0} (Label_{{0}}", PerLabelRms));
91isVector: true, namePattern: new Regex(string.Format(@"{0}_(?<label>\d+)\)", Loss), RegexOptions.IgnoreCase),
92groupName: "label", nameFormat: string.Format("{0} (Label_{{0}}", PerLabelLoss));
367editor.Values[i] = string.Format("(Label_{0})", i).AsMemory();
719labelNames[j] = string.Format("Label_{0}", j).AsMemory();
Evaluators\RankingEvaluator.cs (7)
148namePattern: new Regex(string.Format(@"^{0}@(?<at>\d+)", Ndcg), RegexOptions.IgnoreCase),
149groupName: "at", nameFormat: string.Format("{0} @{{0}}", Ndcg));
151namePattern: new Regex(string.Format(@"^{0}@(?<at>\d+)", Dcg), RegexOptions.IgnoreCase),
152groupName: "at", nameFormat: string.Format("{0} @{{0}}", Dcg));
154namePattern: new Regex(string.Format(@"^{0}@(?<at>\d+)", MaxDcg), RegexOptions.IgnoreCase),
155groupName: "at", nameFormat: string.Format("{0} @{{0}}", MaxDcg));
546editor.Values[i] = string.Format("@{0}", i + 1).AsMemory();
Microsoft.ML.Ensemble (6)
Microsoft.ML.EntryPoints (1)
Microsoft.ML.FastTree (5)
Microsoft.ML.ImageAnalytics (1)
Microsoft.ML.PerformanceTests (9)
Microsoft.ML.Predictor.Tests (3)
Microsoft.ML.StandardTrainers (17)
Optimizer\OptimizationMonitor.cs (6)
78message += string.Format(" GradCheck: {0,0:0.0000e0}", Check(state));
173message = string.Format("{0:0.000e0}", crit);
253message = string.Format("{0,0:0.0000e0}", val);
328message = string.Format("{0,0:0.0000e0}", val);
382message = string.Format("{0,0:0.0000e0}", val);
392return string.Format("Norm of grad / value < {0,0:0.00e0}", _tol);
Microsoft.ML.Sweeper (2)
Microsoft.ML.TestFramework (49)
DataPipe\TestDataPipe.cs (16)
48string.Format("xf=TermLookup{{col=FileLabel:RawLabel data={{{0}}}}}", mappingPathData),
68string.Format("xf=TermLookup{{col=FileLabel:RawLabel data={{{0}}}}}", mappingPathData),
88string.Format("xf=TermLookup{{col=FileLabel:RawLabel data={{{0}}}}}", mappingPathData),
108string.Format("xf=TermLookup{{key=- col=FileLabel:RawLabel data={{{0}}}}}", mappingPathData),
133string.Format("xf=TermLookup{{key=- col=FileLabelNum:RawLabel data={{{0}}}}}", mappingPathData),
134string.Format("xf=TermLookup{{col=FileLabelKey:RawLabel data={{{0}}}}}", mappingPathData),
158string.Format("xf=TermLookup{{col=FileLabel:RawLabel data={{{0}}}}}", mappingPathData),
354string.Format(textSettings, dictFile),
363string.Format(textSettings, dictFile),
374string.Format(textSettings, terms),
384string.Format(textSettings, terms),
394string.Format(textSettings, terms),
404string.Format(textSettings, terms),
940string.Format("xf=CustomStopWords{{data={0} col=T}}", stopwordsFile),
949string.Format("xf=CustomStopWords{{stopwords={0} col=T}}", string.Join(",", stopwordsList)),
1610Assert.Equal(ex.Message, string.Format("The specified documents are all empty in column '{0}'.", colName));
TestCommandBase.cs (26)
268return InitPath(string.Format("model.fold{0:000}.zip", fold));
386args.Add(string.Format("data={{{0}}}", dataPath));
527return string.Format("data={{{0}}}", dataPath);
746TestCore("showschema", string.Format("steps+ in={{{0}}} meta+", modelPath));
1022string extraArgs = string.Format("test={{{0}}} tr=ft{{t=1}} lab=Lab feat=Feat norm=Warn", testData);
1291string extraArgs = string.Format("test={{{0}}} tr=ftr{{t=1 numTrees=5 dt+}} lab=Lab feat=Feat norm=Warn", testData);
1367string loadArgs = string.Format("loader=text{{header+ col=F:Num:1-9}} xf=Load{{tag=norm {0}}}", trainModel.ArgStr("in"));
1416string extraTrainTest = string.Format("seed=2 norm=Warn test={{{0}}}", pathData);
1514string extraScore = string.Format("all=+ feat=Features {0}", scorePath.ArgStr("dout"));
1561string extraScore = string.Format("all=+ feat=Features {0}", scorePath.ArgStr("dout"));
1605string extraScore = string.Format("all=+ feat=Features {0}", scorePath.ArgStr("dout"));
1667string extraArgs = string.Format("test={{{0}}} tr=AP{{shuf-}} scorer=fcc{{top=3 bottom=3}} xf=Take{{c=5}} lab=Lab feat=Feat norm=Warn", testData);
1673extraArgs = string.Format("test={{{0}}} tr=AP{{shuf-}} scorer=fcc{{top=3 bottom=3 str+}} xf=Take{{c=5}} lab=Lab feat=Feat norm=Warn", testData);
1686+ string.Format(textTransform, "Title")
1687+ string.Format(textTransform, "Body")
1716string extraScore = string.Format("all=+ feat=Features {0}", scorePath.ArgStr("dout"));
1757string extraScore = string.Format("all=+ feat=Features scorer=QuantileRegression {0}", scorePath.ArgStr("dout"));
1850string extraScore = string.Format("all=+ feat=Features {0}", scorePath.ArgStr("dout"));
1897string extraScore = string.Format("all=+ feat=Features {0}", scorePath.ArgStr("dout"));
1943string extraArgs = string.Format("tr=FastRank{{nl=5 mil=5 lr=0.25 iter=1000 pruning=+ esr=PQ esmt=0 dt+}} test={{{0}}} valid={{{0}}}", pathValid);
1957var extraArgs = string.Format("tr=mcnn{{output=10 lr=0.1 iter=1000 esr=PQ esmt=0 accel=sse}} seed=13 valid={{{0}}}", pathValid);
1979string extraScore = string.Format("all=+ feat=Features {0}", scorePath.ArgStr("dout"));
2172TestCore("showdata", dataPath, string.Format("in={{{0}}}", modelPath.Path), "");
2189TestCore("showdata", dataPath, string.Format("in={{{0}}}", modelPath.Path), "");
2209TestCore("showdata", dataPath, string.Format("in={{{0}}}", modelPath.Path), "");
2227TestCore("showdata", dataPath, string.Format("in={{{0}}}", modelPath.Path), "");
Microsoft.ML.Tests (3)
Microsoft.ML.TimeSeries (2)
Microsoft.ML.Transforms (17)
Microsoft.NET.StringTools (1)
Microsoft.NET.StringTools.net35 (1)
Microsoft.VisualBasic.Core (1)
Microsoft.VisualStudio.LanguageServices (61)
Packaging\PackageInstallerServiceFactory.cs (6)
306var description = string.Format(ServicesVSResources.Installing_0, packageName);
338dte, string.Format(ServicesVSResources.Installing_0_completed, GetStatusBarText(packageName, installedVersion)),
352dte.StatusBar.Text = string.Format(ServicesVSResources.Package_install_failed_colon_0, e.Message);
378var description = string.Format(ServicesVSResources.Uninstalling_0, packageName);
400dte, string.Format(ServicesVSResources.Uninstalling_0_completed, GetStatusBarText(packageName, installedVersion)), cancellationToken).ConfigureAwait(false);
413dte.StatusBar.Text = string.Format(ServicesVSResources.Package_uninstall_failed_colon_0, e.Message);
Microsoft.VisualStudio.LanguageServices.CSharp (2)
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (40)
CallHierarchy\CSharpCallHierarchyTests.cs (40)
104testState.VerifyRoot(root, "N.C.Goo()", [string.Format(EditorFeaturesResources.Calls_To_0, "Goo")]);
105testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), ["N.G.Main()", "N.G.Main2()"]);
144testState.VerifyRoot(root, "N.C.Goo()", [string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), string.Format(EditorFeaturesResources.Calls_To_Interface_Implementation_0, "N.I.Goo()")]);
145testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), ["N.G.Main2()"]);
146testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_Interface_Implementation_0, "N.I.Goo()"), ["N.G.Main()"]);
180testState.VerifyRoot(root, "N.C.Goo()", [string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), EditorFeaturesResources.Calls_To_Overrides]);
181testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), ["N.D.Bar()"]);
216testState.VerifyRoot(root, "N.D.Goo()", [string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), string.Format(EditorFeaturesResources.Calls_To_Base_Member_0, "N.C.Goo()")]);
217testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), ["N.D.Baz()"]);
218testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_Base_Member_0, "N.C.Goo()"), ["N.D.Bar()"]);
237testState.VerifyRoot(root, "N.C.Goo()", [string.Format(EditorFeaturesResources.Calls_To_0, "Goo")]);
238testState.VerifyResultName(root, string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), [EditorFeaturesResources.Initializers]);
257testState.VerifyRoot(root, "N.C.goo", [string.Format(EditorFeaturesResources.References_To_Field_0, "goo")]);
258testState.VerifyResult(root, string.Format(EditorFeaturesResources.References_To_Field_0, "goo"), ["N.C.Goo()"]);
286testState.VerifyRoot(root, "N.C.val.get", [string.Format(EditorFeaturesResources.Calls_To_0, "get_val")]);
287testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "get_val"), ["N.C.goo()"]);
313testState.VerifyRoot(root, "N.C.generic<T>(this string, ref T)", [string.Format(EditorFeaturesResources.Calls_To_0, "generic")]);
314testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "generic"), ["N.C.goo()"]);
343testState.VerifyRoot(root, "ConsoleApplication10.Extensions.BarString(this string)", [string.Format(EditorFeaturesResources.Calls_To_0, "BarString")]);
344testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "BarString"), ["ConsoleApplication10.Program.Main(string[])"]);
367testState.VerifyRoot(root, "System.Linq.Enumerable.Single<TSource>(this System.Collections.Generic.IEnumerable<TSource>)", [string.Format(EditorFeaturesResources.Calls_To_0, "Single")]);
368testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "Single"), ["N.Program.Main(string[])"]);
407testState.VerifyRoot(root, "N.I.Goo()", [string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), string.Format(EditorFeaturesResources.Implements_0, "Goo")]);
408testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), ["N.G.Main()"]);
409testState.VerifyResult(root, string.Format(EditorFeaturesResources.Implements_0, "Goo"), ["N.C.Goo()"]);
454testState.VerifyRoot(root, "N.C.Goo()", [string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), EditorFeaturesResources.Overrides_]);
479testState.VerifyRoot(root, "Base.M()", [string.Format(EditorFeaturesResources.Calls_To_0, "M"), EditorFeaturesResources.Overrides_, EditorFeaturesResources.Calls_To_Overrides]);
507testState.VerifyRoot(root, "N.C.Goo()", [string.Format(EditorFeaturesResources.Calls_To_0, "Goo"),]);
508testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), expectedCallers: ["N.C.M()"]);
529testState.VerifyRoot(root, "N.C.Property.set", [string.Format(EditorFeaturesResources.Calls_To_0, "set_Property")]);
530testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "set_Property"), ["N.C.M()"]);
551testState.VerifyRoot(root, "Class1.Class1(string)", [string.Format(EditorFeaturesResources.Calls_To_0, ".ctor")]);
552testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, ".ctor"), ["D.M()"]);
583testState.VerifyRoot(root, "N.G.Boo()", [string.Format(EditorFeaturesResources.Calls_To_0, "Boo")]);
585testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "Boo"), ["N.G.Main()"]);
619testState.VerifyRoot(root, "N.C.Goo()", [string.Format(EditorFeaturesResources.Calls_To_0, "Goo")]);
621testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), ["N.G.Main()"]);
Microsoft.VisualStudio.LanguageServices.Implementation (5)
Microsoft.Win32.Registry (1)
Microsoft.Win32.Registry.AccessControl (1)
Microsoft.Win32.SystemEvents (1)
PresentationBuildTasks (1)
PresentationCore (6)
PresentationFramework (3)
PresentationUI (1)
ReachFramework (1)
Roslyn.Diagnostics.Analyzers (20)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (6)
127failureReason = string.Format(CompilerExtensionsResources.Missing_prefix_colon_0, Prefix);
133failureReason = string.Format(CompilerExtensionsResources.Missing_suffix_colon_0, Suffix);
154? string.Format(CompilerExtensionsResources.Prefix_0_is_not_expected, prefix)
226reason = string.Format(resourceId, string.Join(", ", violations));
266reason = string.Format(firstResourceId, Substring(name, wordSpan));
282var restString = string.Format(restResourceId, string.Join(", ", violations));
Roslyn.Diagnostics.CSharp.Analyzers (2)
Roslyn.Test.PdbUtilities (1)
ScenarioTests.Common.Tests (3)
Security.TransportSecurity.IntegrationTests (6)
System.CodeDom (1)
System.Collections (1)
System.Collections.Concurrent (1)
System.Collections.Immutable (1)
System.Collections.NonGeneric (1)
System.Collections.Specialized (1)
System.ComponentModel.Annotations (1)
System.ComponentModel.Composition (1)
System.ComponentModel.Composition.Registration (1)
System.ComponentModel.EventBasedAsync (1)
System.ComponentModel.Primitives (1)
System.ComponentModel.TypeConverter (1)
System.Composition.Convention (1)
System.Composition.Hosting (1)
System.Composition.Runtime (2)
System.Composition.TypedParts (1)
System.Configuration.ConfigurationManager (1)
System.Console (1)
System.Data.Common (3)
System.Data.Odbc (1)
System.Data.OleDb (1)
System.Diagnostics.DiagnosticSource (1)
System.Diagnostics.EventLog (1)
System.Diagnostics.FileVersionInfo (1)
System.Diagnostics.PerformanceCounter (1)
System.Diagnostics.Process (1)
System.Diagnostics.TextWriterTraceListener (1)
System.Diagnostics.TraceSource (1)
System.DirectoryServices (1)
System.DirectoryServices.AccountManagement (1)
System.DirectoryServices.Protocols (1)
System.Drawing.Common (1)
System.Drawing.Primitives (1)
System.Formats.Asn1 (1)
System.Formats.Cbor (1)
System.Formats.Nrbf (1)
System.Formats.Tar (1)
System.IO.Compression (1)
System.IO.Compression.Brotli (1)
System.IO.Compression.ZipFile (1)
System.IO.FileSystem.AccessControl (1)
System.IO.FileSystem.DriveInfo (1)
System.IO.FileSystem.Watcher (1)
System.IO.Hashing (1)
System.IO.IsolatedStorage (1)
System.IO.MemoryMappedFiles (1)
System.IO.Packaging (1)
System.IO.Pipelines (1)
System.IO.Pipes (1)
System.IO.Pipes.AccessControl (1)
System.IO.Ports (1)
System.Linq (1)
System.Linq.AsyncEnumerable (1)
System.Linq.Expressions (1)
System.Linq.Parallel (1)
System.Linq.Queryable (1)
System.Management (1)
System.Memory (1)
System.Memory.Data (1)
System.Net.Http (2)
System.Net.Http.Json (1)
System.Net.Http.WinHttpHandler (1)
System.Net.HttpListener (2)
System.Net.Mail (2)
System.Net.NameResolution (2)
System.Net.NetworkInformation (3)
System.Net.Ping (1)
System.Net.Primitives (2)
System.Net.Quic (2)
System.Net.Requests (2)
System.Net.Security (2)
System.Net.ServerSentEvents (1)
System.Net.Sockets (2)
System.Net.WebClient (1)
System.Net.WebHeaderCollection (1)
System.Net.WebSockets (2)
System.Net.WebSockets.Client (1)
System.Numerics.Tensors (1)
System.ObjectModel (1)
System.Private.CoreLib (2)
System.Private.DataContractSerialization (1)
System.Private.Uri (1)
System.Private.Windows.Core (8)
System.Private.Xml (2)
System.Private.Xml.Linq (1)
System.Reflection.Context (1)
System.Reflection.DispatchProxy (1)
System.Reflection.Emit (1)
System.Reflection.Metadata (1)
System.Reflection.MetadataLoadContext (1)
System.Reflection.TypeExtensions (1)
System.Resources.Extensions (1)
System.Resources.Writer (1)
System.Runtime.Caching (1)
System.Runtime.InteropServices (1)
System.Runtime.InteropServices.JavaScript (1)
System.Runtime.Numerics (1)
System.Runtime.Serialization.Formatters (1)
System.Runtime.Serialization.Primitives (1)
System.Runtime.Serialization.Schema (1)
System.Security.AccessControl (1)
System.Security.Claims (1)
System.Security.Cryptography (1)
System.Security.Cryptography.Cose (1)
System.Security.Cryptography.Pkcs (1)
System.Security.Cryptography.ProtectedData (1)
System.Security.Cryptography.Xml (1)
System.Security.Permissions (1)
System.Security.Principal.Windows (1)
System.ServiceModel.Federation (1)
System.ServiceModel.Http (2)
System.ServiceModel.Http.Tests (2)
System.ServiceModel.NetFramingBase (1)
System.ServiceModel.NetNamedPipe (1)
System.ServiceModel.NetTcp (1)
System.ServiceModel.Primitives (7)
System.ServiceModel.Primitives.Tests (41)
Channels\CommunicationObjectTest.cs (27)
104String.Format("Expected final state to be 'Closed' but actual was '{0}", mco.State));
189String.Format("CommunicationState after creation was '{0}' but expected 'Created'",
193String.Format("CommunicationState entering OnOpening was '{0}' but expected 'Opening'",
196String.Format("CommunicationState leaving OnOpening was '{0}' but expected 'Opening'",
200String.Format("CommunicationState entering OnOpen was '{0}' but expected 'Opening'",
203String.Format("CommunicationState leaving OnOpen was '{0}' but expected 'Opening'",
207String.Format("CommunicationState entering OnOpened was '{0}' but expected 'Opening'",
210String.Format("CommunicationState leaving OnOpened was '{0}' but expected 'Opened'",
214String.Format("CommunicationState entering OnClosing was '{0}' but expected 'Closing'",
217String.Format("CommunicationState leaving OnClosing was '{0}' but expected 'Closing'",
221String.Format("CommunicationState entering OnClose was '{0}' but expected 'Closing'",
224String.Format("CommunicationState leaving OnClose was '{0}' but expected 'Closing'",
228String.Format("CommunicationState entering OnClosed was '{0}' but expected 'Closing'",
231String.Format("CommunicationState leaving OnClosed was '{0}' but expected 'Closed'",
256String.Format("CommunicationState after creation was '{0}' but expected 'Created'",
260String.Format("CommunicationState entering OnOpening was '{0}' but expected 'Opening'",
263String.Format("CommunicationState leaving OnOpening was '{0}' but expected 'Opening'",
267String.Format("CommunicationState entering OnBeginOpen was '{0}' but expected 'Opening'",
270String.Format("CommunicationState leaving OnBeginOpen was '{0}' but expected 'Opening'",
274String.Format("CommunicationState entering OnOpened was '{0}' but expected 'Opening'",
277String.Format("CommunicationState leaving OnOpened was '{0}' but expected 'Opened'",
281String.Format("CommunicationState entering OnClosing was '{0}' but expected 'Closing'",
284String.Format("CommunicationState leaving OnClosing was '{0}' but expected 'Closing'",
288String.Format("CommunicationState entering OnBeginClose was '{0}' but expected 'Closing'",
291String.Format("CommunicationState leaving OnClose was '{0}' but expected 'Closing'",
295String.Format("CommunicationState entering OnClosed was '{0}' but expected 'Closing'",
298String.Format("CommunicationState leaving OnClosed was '{0}' but expected 'Closed'",
System.ServiceModel.Syndication (1)
System.ServiceModel.UnixDomainSocket (1)
System.ServiceProcess.ServiceController (1)
System.Speech (1)
System.Text.Encoding.CodePages (1)
System.Text.Encodings.Web (1)
System.Text.Json (1)
System.Text.Json.SourceGeneration (2)
System.Text.RegularExpressions (1)
System.Text.RegularExpressions.Generator (2)
System.Threading (1)
System.Threading.AccessControl (1)
System.Threading.Channels (1)
System.Threading.RateLimiting (1)
System.Threading.Tasks.Dataflow (1)
System.Threading.Tasks.Parallel (1)
System.Transactions.Local (1)
System.Windows.Controls.Ribbon (1)
System.Windows.Extensions (1)
System.Windows.Forms (345)
System.Windows.Forms.Analyzers (1)
System.Windows.Forms.Analyzers.CSharp (1)
System.Windows.Forms.Design (133)
System.Windows.Forms.Primitives (2)
System.Windows.Forms.Tests (22)
System.Windows.Input.Manipulations (1)
System.Xaml (1)
Test.Utilities (11)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (6)
127failureReason = string.Format(CompilerExtensionsResources.Missing_prefix_colon_0, Prefix);
133failureReason = string.Format(CompilerExtensionsResources.Missing_suffix_colon_0, Suffix);
154? string.Format(CompilerExtensionsResources.Prefix_0_is_not_expected, prefix)
226reason = string.Format(resourceId, string.Join(", ", violations));
266reason = string.Format(firstResourceId, Substring(name, wordSpan));
282var restString = string.Format(restResourceId, string.Join(", ", violations));
Text.Analyzers (20)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (6)
127failureReason = string.Format(CompilerExtensionsResources.Missing_prefix_colon_0, Prefix);
133failureReason = string.Format(CompilerExtensionsResources.Missing_suffix_colon_0, Suffix);
154? string.Format(CompilerExtensionsResources.Prefix_0_is_not_expected, prefix)
226reason = string.Format(resourceId, string.Join(", ", violations));
266reason = string.Format(firstResourceId, Substring(name, wordSpan));
282var restString = string.Format(restResourceId, string.Join(", ", violations));
UIAutomationClient (1)
UIAutomationClientSideProviders (1)
UIAutomationProvider (1)
UIAutomationTypes (1)
UnitTests.Common (10)
TestHelpers.cs (10)
106errorBuilder.AppendLine(String.Format("Unexpected exception was caught: {0}", ex.ToString()));
121string prefix = String.Format(" Contract type: {0}", expectedType);
379errorBuilder.AppendLine(String.Format("AddBindingParameters {1}", errorMessage));
383errorBuilder.AppendLine(String.Format("A parameter passed into the AddBindingParameters method was null/nThe null parameter is: {0}", typeof(OperationDescription).ToString()));
387errorBuilder.AppendLine(String.Format("A parameter passed into the AddBindingParameters method was null/nThe null parameter is: {0}", typeof(BindingParameterCollection).ToString()));
398errorBuilder.AppendLine(String.Format("ApplyClientBehavior {1}", errorMessage));
402errorBuilder.AppendLine(String.Format("A parameter passed into the ApplyClientBehavior method was null/nThe null parameter is: {0}", typeof(OperationDescription).ToString()));
406errorBuilder.AppendLine(String.Format("A parameter passed into the ApplyClientBehavior method was null/nThe null parameter is: {0}", typeof(ClientOperation).ToString()));
423errorBuilder.AppendLine(String.Format("Validate {1}", errorMessage));
428errorBuilder.AppendLine(String.Format("The parameter passed into the Validate method was null/nThe null parameter is: {0}", typeof(OperationDescription).ToString()));
VBCSCompiler.UnitTests (6)
WindowsFormsIntegration (1)
XmlFileLogger (2)
xunit.console (1)