4220 references to Format
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)
77String.Format("Test case timeout was reached while waiting for the stream response from the Service. Timeout was: {0}", ScenarioTestHelpers.TestTimeout));
89String.Format("Test case timeout was reached while waiting for the stream response from the Service to be completed. Timeout was: {0}", ScenarioTestHelpers.TestTimeout));
95String.Format("Test case timeout was reached while waiting for the Logging from the Service to be received. Timeout was: {0}", ScenarioTestHelpers.TestTimeout));
152String.Format("Test case timeout was reached while waiting for the buffered response from the Service. Timeout was: {0}", ScenarioTestHelpers.TestTimeout));
157String.Format("Test case timeout was reached while waiting for the buffered response from the Service to be completed. Timeout was: {0}", ScenarioTestHelpers.TestTimeout));
163String.Format("Test case timeout was reached while waiting for the Logging from the Service to be received. Timeout was: {0}", ScenarioTestHelpers.TestTimeout));
220String.Format("Test case timeout was reached while waiting for the buffered response from the Service. Timeout was: {0}", ScenarioTestHelpers.TestTimeout));
225String.Format("Test case timeout was reached while waiting for the buffered response from the Service to be completed. Timeout was: {0}", ScenarioTestHelpers.TestTimeout));
231String.Format("Test case timeout was reached while waiting for the Logging from the Service to be received. Timeout was: {0}", ScenarioTestHelpers.TestTimeout));
309String.Format("Test case timeout was reached while waiting for the stream response from the Service. Timeout was: {0}", ScenarioTestHelpers.TestTimeout));
321String.Format("Test case timeout was reached while waiting for the stream response from the Service to be completed. Timeout was: {0}", ScenarioTestHelpers.TestTimeout));
327String.Format("Test case timeout was reached while waiting for the Logging from the Service to be received. Timeout was: {0}", ScenarioTestHelpers.TestTimeout));
387String.Format("Test case timeout was reached while waiting for the buffered response from the Service. Timeout was: {0}", ScenarioTestHelpers.TestTimeout));
392String.Format("Test case timeout was reached while waiting for the buffered response from the Service to be completed. Timeout was: {0}", ScenarioTestHelpers.TestTimeout));
398String.Format("Test case timeout was reached while waiting for the Logging from the Service to be received. Timeout was: {0}", ScenarioTestHelpers.TestTimeout));
851Assert.True(responseFromService, String.Format("Response from the service was not expected. Expected: 'True' but got {0}", responseFromService));
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));
552Console.WriteLine(String.Format("Invoking {0} ...", requestUri));
564Console.WriteLine(String.Format("Invoking {0} ...", requestUri));
Infrastructure.IntegrationTests (3)
InteractiveHost.UnitTests (3)
Microsoft.Analyzers.Extra (1)
Microsoft.Arcade.Test.Common (2)
Microsoft.AspNetCore.Components.Server (1)
Microsoft.Build (5)
Microsoft.Build.CommandLine.UnitTests (4)
Microsoft.Build.Engine.OM.UnitTests (27)
Definition\Project_Tests.cs (18)
595projectFileContent = string.Format(projectFileContent, importPath);
1735string fileName = string.Format("foo{0}.foo", i);
2853project = string.Format(project, sb);
3071var formattedProject = string.Format(ProjectWithItemGroup, items);
3373string.Format(projectTemplate, "a;%61;*%61*"),
3387string.Format(projectTemplate, "a;%61;*%61*"),
3394string.Format(projectTemplate, "%61b%63"),
3406string.Format(projectTemplate, "%61b%63"),
3413string.Format(projectTemplate, "a?c"),
3420string.Format(projectTemplate, "a?c"),
3427string.Format(projectTemplate, "a?%63"),
3439string.Format(projectTemplate, "a?%63"),
3446string.Format(projectTemplate, "a?%63"),
3453string.Format(projectTemplate, "a*c"),
3465string.Format(projectTemplate, "a*%63"),
3477string.Format(projectTemplate, "a*%63"),
3569projectContents = string.Format(projectContents, includeGlob);
3735var projectContents = string.Format(projectTemplate, itemContents);
Microsoft.Build.Engine.UnitTests (128)
BackEnd\MSBuild_Tests.cs (11)
210string error = String.Format(AssemblyResources.GetString("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist.csproj");
232string error = String.Format(AssemblyResources.GetString("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist.csproj");
267string message = String.Format(AssemblyResources.GetString("MSBuild.ProjectFileNotFoundMessage"), "this_project_does_not_exist.csproj");
268string error = String.Format(AssemblyResources.GetString("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist.csproj");
305string message = String.Format(AssemblyResources.GetString("MSBuild.ProjectFileNotFoundMessage"), "this_project_does_not_exist.csproj");
306string error = String.Format(AssemblyResources.GetString("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist.csproj");
353string message = String.Format(AssemblyResources.GetString("MSBuild.ProjectFileNotFoundMessage"), "this_project_does_not_exist_warn.csproj");
354string error = String.Format(AssemblyResources.GetString("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist_warn.csproj");
355string error2 = String.Format(AssemblyResources.GetString("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist_error.csproj");
399string error = String.Format(AssemblyResources.GetString("MSBuild.ProjectUpgradeNeededToVcxProj"), "blah.vcproj");
937string expectedItemOutputs = string.Format(@"
FileUtilitiesRegex_Tests.cs (72)
146string winDirectory = string.Format("{0}server\\path\\test", _directoryStart);
147string unixDirectory = string.Format("{0}server/path/test", _altDirectoryStart);
156string winDirectory = string.Format("{0}server\\path\\test\\abc", _directoryStart);
157string unixDirectory = string.Format("{0}server/path/test/abc", _altDirectoryStart);
166string winDirectory = string.Format("{0}server\\path\\test\\abc", _directoryStart);
167string unixDirectory = string.Format("{0}server/path/test/abc", _altDirectoryStart);
176string winDirectory = string.Format("{0}server\\path\\test\\abc", _directoryStart);
177string unixDirectory = string.Format("{0}server/path/test/abc", _altDirectoryStart);
186string winDirectory = string.Format("{0}server\\path\\test\\abc", _directoryStart);
187string unixDirectory = string.Format("{0}server/path/test/abc", _altDirectoryStart);
196string winDirectory = string.Format("{0}server\\path\\test\\abc", _directoryStart);
197string unixDirectory = string.Format("{0}server/path/test/abc", _altDirectoryStart);
211string winDirectory = string.Format("{0}server\\path", _directoryStart);
212string unixDirectory = string.Format("{0}server/path", _altDirectoryStart);
221string winDirectory = string.Format("{0}server\\path", _directoryStart);
222string unixDirectory = string.Format("{0}server/path", _altDirectoryStart);
232string winDirectory = string.Format("{0}server\\path", _directoryStart);
233string unixDirectory = string.Format("{0}server/path", _altDirectoryStart);
242string winDirectory = string.Format("{0}server\\path", _directoryStart);
243string unixDirectory = string.Format("{0}server/path", _altDirectoryStart);
252string winDirectory = string.Format("{0}server\\path", _directoryStart);
253string unixDirectory = string.Format("{0}server/path", _altDirectoryStart);
262string winDirectory = string.Format("{0}server\\path", _directoryStart);
263string unixDirectory = string.Format("{0}server/path", _altDirectoryStart);
277string winDirectory = string.Format("{0}abc/def", _directoryStart);
278string unixDirectory = string.Format("{0}abc\\def", _altDirectoryStart);
287string winDirectory = string.Format("{0}abc/def", _directoryStart);
288string unixDirectory = string.Format("{0}abc\\def", _altDirectoryStart);
297string winDirectory = string.Format("{0}abc/def", _directoryStart);
298string unixDirectory = string.Format("{0}abc\\def", _altDirectoryStart);
307string winDirectory = string.Format("{0}abc/def", _directoryStart);
308string unixDirectory = string.Format("{0}abc\\def", _altDirectoryStart);
317string winDirectory = string.Format("{0}abc/def", _directoryStart);
318string unixDirectory = string.Format("{0}abc\\def", _altDirectoryStart);
332string winDirectory = string.Format("{0}abc/def", _directoryStart);
333string unixDirectory = string.Format("{0}abc\\def", _altDirectoryStart);
342string winDirectory = string.Format("{0}abc\\def\\", _directoryStart);
343string unixDirectory = string.Format("{0}abc/def/", _altDirectoryStart);
352string winDirectory = string.Format("{0}abc\\def\\", _directoryStart);
353string unixDirectory = string.Format("{0}abc/def/", _altDirectoryStart);
362string winDirectory = string.Format("{0}abc\\def\\", _directoryStart);
363string unixDirectory = string.Format("{0}abc/def/", _altDirectoryStart);
372string winDirectory = string.Format("{0}abc\\def\\", _directoryStart);
373string unixDirectory = string.Format("{0}abc/def/", _altDirectoryStart);
382string winDirectory = string.Format("{0}abc\\def\\", _directoryStart);
383string unixDirectory = string.Format("{0}abc/def/", _altDirectoryStart);
397string winDirectory = string.Format("{0}abc\\def\\", _directoryStart);
398string unixDirectory = string.Format("{0}abc/def/", _altDirectoryStart);
407string winDirectory = string.Format("{0}", _directoryStart);
408string unixDirectory = string.Format("{0}", _altDirectoryStart);
417string winDirectory = string.Format("{0}", _directoryStart);
418string unixDirectory = string.Format("{0}", _altDirectoryStart);
427string winDirectory = string.Format("{0}", _directoryStart);
428string unixDirectory = string.Format("{0}", _altDirectoryStart);
437string winDirectory = string.Format("{0}", _directoryStart);
438string unixDirectory = string.Format("{0}", _altDirectoryStart);
447string winDirectory = string.Format("{0}", _directoryStart);
448string unixDirectory = string.Format("{0}", _altDirectoryStart);
460string winDirectory = string.Format("{0}", _directoryStart);
461string unixDirectory = string.Format("{0}", _altDirectoryStart);
470string winDirectory = string.Format("{0}server", _directoryStart);
471string unixDirectory = string.Format("{0}server", _altDirectoryStart);
480string winDirectory = string.Format("{0}server", _directoryStart);
481string unixDirectory = string.Format("{0}server", _altDirectoryStart);
490string winDirectory = string.Format("{0}server", _directoryStart);
491string unixDirectory = string.Format("{0}server", _altDirectoryStart);
500string winDirectory = string.Format("{0}server", _directoryStart);
501string unixDirectory = string.Format("{0}server", _altDirectoryStart);
510string winDirectory = string.Format("{0}server", _directoryStart);
511string unixDirectory = string.Format("{0}server", _altDirectoryStart);
523string winDirectory = string.Format("{0}server", _directoryStart);
524string unixDirectory = string.Format("{0}server", _altDirectoryStart);
Microsoft.Build.Framework (3)
Microsoft.Build.Tasks.UnitTests (23)
MakeDir_Tests.cs (6)
45String.Format(AssemblyResources.GetString("MakeDir.Comment"), dir),
107String.Format(AssemblyResources.GetString("MakeDir.Comment"), dir),
148String.Format(AssemblyResources.GetString("MakeDir.Comment"), dir),
159String.Format(AssemblyResources.GetString("MakeDir.Comment"), dir),
194String.Format(AssemblyResources.GetString("MakeDir.Comment"), dir),
216String.Format(AssemblyResources.GetString("MakeDir.Comment"), dir),
Microsoft.Build.UnitTests.Shared (2)
Microsoft.Build.Utilities.Core (1)
Microsoft.Build.Utilities.UnitTests (4)
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.UnitTests (46)
MetaAnalyzers\DiagnosticDescriptorCreationAnalyzerTests.cs (44)
1879additionalFileText: string.Format(additionalFileTextFormat, "My Analyzer Title."),
1880fixedAdditionalFileText: string.Format(additionalFileTextFormat, "My Analyzer Title"),
1912additionalFileText: string.Format(additionalFileTextFormat, "My Analyzer Title."),
1913fixedAdditionalFileText: string.Format(additionalFileTextFormat, "My Analyzer Title"),
2101additionalFileText: string.Format(additionalFileTextFormat, title),
2102fixedAdditionalFileText: string.Format(additionalFileTextFormat, fixedTitle),
2134additionalFileText: string.Format(additionalFileTextFormat, title),
2135fixedAdditionalFileText: string.Format(additionalFileTextFormat, fixedTitle),
2303additionalFileText: string.Format(additionalFileTextFormat, "MyDiagnostic. Title."),
2304fixedAdditionalFileText: string.Format(additionalFileTextFormat, "MyDiagnostic"),
2340additionalFileText: string.Format(additionalFileTextFormat, "MyDiagnostic. Title."),
2341fixedAdditionalFileText: string.Format(additionalFileTextFormat, "MyDiagnostic"),
2525additionalFileText: string.Format(additionalFileTextFormat, title),
2526fixedAdditionalFileText: string.Format(additionalFileTextFormat, fixedTitle),
2558additionalFileText: string.Format(additionalFileTextFormat, title),
2559fixedAdditionalFileText: string.Format(additionalFileTextFormat, fixedTitle),
2684source: string.Format(csharpSourceFormat, $"{{|#0:{csharpTitleExpression}|}}"),
2685fixedSource: string.Format(csharpSourceFormat, csharpTitleExpression),
2687additionalFileText: string.Format(additionalFileTextFormat, title),
2688fixedAdditionalFileText: string.Format(additionalFileTextFormat, fixedTitle),
2717source: string.Format(basicSourceFormat, $"{{|#0:{basicTitleExpression}|}}"),
2718fixedSource: string.Format(basicSourceFormat, basicTitleExpression),
2720additionalFileText: string.Format(additionalFileTextFormat, title),
2721fixedAdditionalFileText: string.Format(additionalFileTextFormat, fixedTitle),
2914additionalFileText: string.Format(additionalFileTextFormat, message),
2915fixedAdditionalFileText: string.Format(additionalFileTextFormat, fixedMessage),
2947additionalFileText: string.Format(additionalFileTextFormat, message),
2948fixedAdditionalFileText: string.Format(additionalFileTextFormat, fixedMessage),
3229additionalFileText: string.Format(additionalFileTextFormat, message),
3230fixedAdditionalFileText: string.Format(additionalFileTextFormat, fixedMessage),
3262additionalFileText: string.Format(additionalFileTextFormat, message),
3263fixedAdditionalFileText: string.Format(additionalFileTextFormat, fixedMessage),
3411additionalFileText: string.Format(additionalFileTextFormat, message),
3412fixedAdditionalFileText: string.Format(additionalFileTextFormat, fixedMessage),
3444additionalFileText: string.Format(additionalFileTextFormat, message),
3445fixedAdditionalFileText: string.Format(additionalFileTextFormat, fixedMessage),
3634additionalFileText: string.Format(additionalFileTextFormat, description),
3635fixedAdditionalFileText: string.Format(additionalFileTextFormat, fixedDescription),
3667additionalFileText: string.Format(additionalFileTextFormat, description),
3668fixedAdditionalFileText: string.Format(additionalFileTextFormat, fixedDescription),
3816additionalFileText: string.Format(additionalFileTextFormat, description),
3817fixedAdditionalFileText: string.Format(additionalFileTextFormat, fixedDescription),
3849additionalFileText: string.Format(additionalFileTextFormat, description),
3850fixedAdditionalFileText: string.Format(additionalFileTextFormat, fixedDescription),
Microsoft.CodeAnalysis.CodeStyle (10)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (6)
126failureReason = string.Format(CompilerExtensionsResources.Missing_prefix_colon_0, Prefix);
132failureReason = string.Format(CompilerExtensionsResources.Missing_suffix_colon_0, Suffix);
153? string.Format(CompilerExtensionsResources.Prefix_0_is_not_expected, prefix)
225reason = string.Format(resourceId, string.Join(", ", violations));
265reason = string.Format(firstResourceId, Substring(name, wordSpan));
281var restString = string.Format(restResourceId, string.Join(", ", violations));
Microsoft.CodeAnalysis.CodeStyle.Fixes (22)
src\Analyzers\Core\CodeFixes\GenerateEnumMember\AbstractGenerateEnumMemberService.CodeAction.cs (1)
55return string.Format(
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.CodeAction.cs (1)
193return string.Format(
Microsoft.CodeAnalysis.Collections.Package (3)
Microsoft.CodeAnalysis.CSharp (20)
Compilation\CSharpCompilation.cs (7)
4142throw new ArgumentException(string.Format(CSharpResources.CallingConventionTypeIsInvalid, type.ToDisplayString()));
4264throw new ArgumentException(string.Format(CodeAnalysisResources.BadBuiltInOps1, name), nameof(name));
4268throw new ArgumentException(string.Format(CodeAnalysisResources.BadBuiltInOps3, name), nameof(name));
4463throw new ArgumentException(string.Format(CodeAnalysisResources.BadBuiltInOps2, $"{csharpReturnType.ToDisplayString()} operator {name}({csharpLeftType.ToDisplayString()}, {csharpRightType.ToDisplayString()})"));
4490throw new ArgumentException(string.Format(CodeAnalysisResources.BadBuiltInOps1, name), nameof(name));
4494throw new ArgumentException(string.Format(CodeAnalysisResources.BadBuiltInOps3, name), nameof(name));
4545throw new ArgumentException(string.Format(CodeAnalysisResources.BadBuiltInOps2, $"{csharpReturnType.ToDisplayString()} operator {name}({csharpOperandType.ToDisplayString()})"));
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (15)
CommandLineTests.cs (11)
1106desc = CSharpCommandLineParser.ParseResourceDescription("", String.Format("path,{0},private", longE), WorkingDirectory, diags, embedded: false);
1115desc = CSharpCommandLineParser.ParseResourceDescription("", String.Format("{0},e,private", longI), WorkingDirectory, diags, embedded: false);
7806string.Format("/target:{0}", target),
7807string.Format("/out:{0}", outputFileName),
7816string.Format("/target:{0}", target),
7817string.Format("/out:{0}", outputFileName),
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 (78)
CodeActions\InitializeParameter\AddParameterCheckTests.cs (21)
584throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(a)}").Replace("""
593throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(b)}").Replace("""
602throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(c)}").Replace("""
678throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(a)}").Replace("""
687throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(b)}").Replace("""
741throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(a)}").Replace("""
750throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(c)}").Replace("""
787throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(a)}").Replace("""
796throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(c)}").Replace("""
834throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(a)}").Replace("""
848throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(c)}").Replace("""
1970throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(s)}").Replace("""
2008throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_whitespace, "{nameof(s)}").Replace("""
2079throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(s)}").Replace("""
2135throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(bar)}").Replace("""
2728throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(s)}").Replace("""
2770throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(s)}").Replace("""
2813throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(s)}").Replace("""
2855if (string.IsNullOrEmpty(s)) throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(s)}").Replace("""
2896if (string.IsNullOrEmpty(s)) throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(s)}").Replace("""
2939throw new ArgumentException($"{{string.Format(FeaturesResources._0_cannot_be_null_or_empty, "{nameof(s)}").Replace("""
Completion\CompletionProviders\OperatorCompletionProviderTests.cs (13)
652await VerifyItemExistsAsync(string.Format(template, $"public static S operator {operatorSign}(S _)"), operatorSign, inlineDescription: inlineDescription);
653await VerifyItemExistsAsync(string.Format(template, $"public static bool operator {operatorSign}(S _)"), operatorSign, inlineDescription: inlineDescription);
654await VerifyNoItemsExistAsync(string.Format(template, $"public static object operator {operatorSign}(S _)"));
655await VerifyNoItemsExistAsync(string.Format(template, $"public static S operator {operatorSign}(S a, S b, S c)"));
678await VerifyItemExistsAsync(string.Format(template, $"public static S operator {operatorSign}(S a, S b)"), operatorSign, inlineDescription: inlineDescription);
679await VerifyItemExistsAsync(string.Format(template, $"public static int operator {operatorSign}(S a, S b)"), operatorSign, inlineDescription: inlineDescription);
680await VerifyNoItemsExistAsync(string.Format(template, $"public static object operator {operatorSign}(S a, S b)"));
681await VerifyNoItemsExistAsync(string.Format(template, $"public static S operator {operatorSign}(S a, object b)"));
682await VerifyNoItemsExistAsync(string.Format(template, $"public static S operator {operatorSign}(S a, S b, S c)"));
704await VerifyItemExistsAsync(string.Format(template, $"public static bool operator {operatorSign}(S a, S b)"), operatorSign, inlineDescription: $"x {operatorSign} y");
705await VerifyNoItemsExistAsync(string.Format(template, $"public static int operator {operatorSign}(S a, S b)"));
706await VerifyNoItemsExistAsync(string.Format(template, $"public static bool operator {operatorSign}(S a, S b, S c)"));
707await VerifyNoItemsExistAsync(string.Format(template, $"public static bool operator {operatorSign}(S a, object b)"));
QuickInfo\SemanticQuickInfoSourceTests.cs (21)
97var xmlString = string.Format("""
114var xmlString = string.Format("""
1985await TestAsync(markup, MainDescription(string.Format(FeaturesResources.Awaited_task_returns_0, "struct System.Int32")));
2002await TestAsync(markup, MainDescription(string.Format(FeaturesResources.Awaited_task_returns_0, "struct System.Int32")));
2054await TestAsync(markup, MainDescription(string.Format(FeaturesResources.Awaited_task_returns_0, $"({CSharpFeaturesResources.awaitable}) class System.Threading.Tasks.Task<TResult>")),
2094await TestAsync(markup, MainDescription(string.Format(FeaturesResources.Awaited_task_returns_0, "struct System.Int32")));
6717await TestAsync(markup, MainDescription(string.Format(FeaturesResources.Awaited_task_returns_0, "int[]")));
6735await TestAsync(markup, MainDescription(string.Format(FeaturesResources.Awaited_task_returns_0, "dynamic")));
8074NullabilityAnalysis(string.Format(FeaturesResources._0_may_be_null_here, "s")));
8094NullabilityAnalysis(string.Format(FeaturesResources._0_is_not_null_here, "s")));
8115NullabilityAnalysis(string.Format(FeaturesResources._0_may_be_null_here, "s")));
8137NullabilityAnalysis(string.Format(FeaturesResources._0_is_not_null_here, "s")));
8156NullabilityAnalysis(string.Format(FeaturesResources._0_may_be_null_here, "P.field")));
8175NullabilityAnalysis(string.Format(FeaturesResources._0_is_not_null_here, "P.field")));
8196NullabilityAnalysis(string.Format(FeaturesResources._0_may_be_null_here, "S")));
8218NullabilityAnalysis(string.Format(FeaturesResources._0_is_not_null_here, "S")));
8244NullabilityAnalysis(string.Format(FeaturesResources._0_may_be_null_here, "s")));
8270NullabilityAnalysis(string.Format(FeaturesResources._0_is_not_null_here, "s")));
8292NullabilityAnalysis(string.Format(FeaturesResources._0_may_be_null_here, "s")));
8314NullabilityAnalysis(string.Format(FeaturesResources._0_is_not_null_here, "s")));
8378NullabilityAnalysis(string.Format(FeaturesResources._0_is_not_null_here, "s")));
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.",
905string.Format("event for 'RegisterDocumentOpenedHandler' was not fired within {0} minutes.",
909string.Format("event for 'RegisterDocumentClosedHandler' was not fired within {0} minutes.",
924string.Format("event for 'RegisterDocumentOpenedHandler' was called within {0} seconds though it was removed from the list.",
928string.Format("event for 'RegisterDocumentClosedHandler' was called within {0} seconds though it was removed from the list.",
966string.Format("event for 'RegisterTextDocumentOpenedHandler' was not fired within {0} minutes.",
970string.Format("event for 'RegisterTextDocumentClosedHandler' was not fired within {0} minutes.",
985string.Format("event for 'RegisterTextDocumentOpenedHandler' was called within {0} seconds though it was removed from the list.",
989string.Format("event for 'RegisterTextDocumentClosedHandler' was called within {0} seconds though it was removed from the list.",
1027string.Format("event for 'RegisterTextDocumentOpenedHandler' was not fired within {0} minutes.",
1031string.Format("event for 'RegisterTextDocumentClosedHandler' was not fired within {0} minutes.",
1046string.Format("event for 'RegisterTextDocumentOpenedHandler' was called within {0} seconds though it was removed from the list.",
1050string.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)
509<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[10..11)" Text="?" />
542<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[10..11)" Text="?" />
578<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[10..11)" Text="?" />
615<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[10..11)" Text="?" />
2482<Diagnostic Message="{{string.Format(FeaturesResources.Quantifier_0_following_nothing, '{')}}" Span="[10..11)" Text="{" />
2510<Diagnostic Message="{{string.Format(FeaturesResources.Quantifier_0_following_nothing, '{')}}" Span="[10..11)" Text="{" />
2597<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '*')}" Span="[9..10)" Text="*" />
2628<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '*')}" Span="[10..11)" Text="*" />
2660<Diagnostic Message="{string.Format(FeaturesResources.Nested_quantifier_0, "*")}" Span="[11..12)" Text="*" />
2685<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '+')}" Span="[9..10)" Text="+" />
2716<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '+')}" Span="[10..11)" Text="+" />
2748<Diagnostic Message="{string.Format(FeaturesResources.Nested_quantifier_0, "+")}" Span="[11..12)" Text="+" />
2773<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[9..10)" Text="?" />
2804<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[10..11)" Text="?" />
2838<Diagnostic Message="{string.Format(FeaturesResources.Nested_quantifier_0, "?")}" Span="[12..13)" Text="?" />
2866<Diagnostic Message="{{string.Format(FeaturesResources.Quantifier_0_following_nothing, '{')}}" Span="[9..10)" Text="{" />
2900<Diagnostic Message="{{string.Format(FeaturesResources.Quantifier_0_following_nothing, '{')}}" Span="[10..11)" Text="{" />
2935<Diagnostic Message="{{string.Format(FeaturesResources.Nested_quantifier_0, "{")}}" Span="[11..12)" Text="{" />
3698<Diagnostic Message="{string.Format(FeaturesResources.Unrecognized_escape_sequence_0, "m")}" Span="[11..12)" Text="m" />
4048<Diagnostic Message="{string.Format(FeaturesResources.Unrecognized_escape_sequence_0, "m")}" Span="[11..12)" Text="m" />
4522<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 7)}" Span="[11..12)" Text="7" />
4574<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 8)}" Span="[11..12)" Text="8" />
4808<Diagnostic Message="{string.Format(FeaturesResources.Unrecognized_escape_sequence_0, "k")}" Span="[11..12)" Text="k" />
4837<Diagnostic Message="{string.Format(FeaturesResources.Unrecognized_escape_sequence_0, "k")}" Span="[11..12)" Text="k" />
4866<Diagnostic Message="{string.Format(FeaturesResources.Unrecognized_escape_sequence_0, "k")}" Span="[11..12)" Text="k" />
4982<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_name_0, "a")}" Span="[13..14)" Text="a" />
5297<Diagnostic Message="{string.Format(FeaturesResources.Unrecognized_escape_sequence_0, "k")}" Span="[11..12)" Text="k" />
5326<Diagnostic Message="{string.Format(FeaturesResources.Unrecognized_escape_sequence_0, "k")}" Span="[11..12)" Text="k" />
5355<Diagnostic Message="{string.Format(FeaturesResources.Unrecognized_escape_sequence_0, "k")}" Span="[11..12)" Text="k" />
5471<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_name_0, "a")}" Span="[13..14)" Text="a" />
5540<Diagnostic Message="{string.Format(FeaturesResources.Unrecognized_escape_sequence_0, "k")}" Span="[11..12)" Text="k" />
5569<Diagnostic Message="{string.Format(FeaturesResources.Unrecognized_escape_sequence_0, "k")}" Span="[11..12)" Text="k" />
5831<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_name_0, "a")}" Span="[12..13)" Text="a" />
6286<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_name_0, "a")}" Span="[12..13)" Text="a" />
6534<Diagnostic Message="{{string.Format(FeaturesResources.Unknown_property_0, "xxx")}}" Span="[13..16)" Text="xxx" />
8800<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 1)}" Span="[13..14)" Text="1" />
9173<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 3)}" Span="[38..39)" Text="3" />
9255<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 3)}" Span="[42..43)" Text="3" />
9338<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 3)}" Span="[42..43)" Text="3" />
9425<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 3)}" Span="[46..47)" Text="3" />
9505<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 3)}" Span="[34..35)" Text="3" />
9587<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[27..28)" Text="2" />
9588<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 3)}" Span="[34..35)" Text="3" />
9590<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[40..41)" Text="?" />
9672<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 3)}" Span="[34..35)" Text="3" />
9755<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 3)}" Span="[34..35)" Text="3" />
9842<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[27..28)" Text="2" />
9843<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 3)}" Span="[34..35)" Text="3" />
9845<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[44..45)" Text="?" />
9932<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 3)}" Span="[34..35)" Text="3" />
10290<Diagnostic Message="{string.Format(FeaturesResources.Conditional_alternation_is_missing_a_closing_parenthesis_after_the_group_number_0, 0)}" Span="[12..13)" Text="0" />
10590<Diagnostic Message="{string.Format(FeaturesResources.Conditional_alternation_is_missing_a_closing_parenthesis_after_the_group_number_0, 0)}" Span="[12..13)" Text="0" />
10621<Diagnostic Message="{string.Format(FeaturesResources.Conditional_alternation_refers_to_an_undefined_group_number_0, 1)}" Span="[12..13)" Text="1" />
11168<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[12..13)" Text="?" />
11212<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[12..13)" Text="?" />
11256<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[12..13)" Text="?" />
11540<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 1)}" Span="[11..12)" Text="1" />
11569<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 1)}" Span="[11..12)" Text="1" />
12565<Diagnostic Message="{string.Format(FeaturesResources.Cannot_include_class_0_in_character_range, "w")}" Span="[13..15)" Text="\w" />
12606<Diagnostic Message="{{string.Format(FeaturesResources.Unknown_property_0, "llll")}}" Span="[14..18)" Text="llll" />
12688<Diagnostic Message="{{string.Format(FeaturesResources.Cannot_include_class_0_in_character_range, "p")}}" Span="[13..15)" Text="\p" />
16036<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[13..14)" Text="2" />
16103<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 1)}" Span="[13..14)" Text="1" />
16134<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[13..14)" Text="2" />
16170<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[15..16)" Text="2" />
16261<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[21..22)" Text="2" />
16308<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 1)}" Span="[19..20)" Text="1" />
16309<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[21..22)" Text="2" />
16355<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 1)}" Span="[19..20)" Text="1" />
16356<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[21..22)" Text="2" />
16402<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 1)}" Span="[19..20)" Text="1" />
16403<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[21..22)" Text="2" />
16449<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 1)}" Span="[19..20)" Text="1" />
16450<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[21..22)" Text="2" />
16631<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 1)}" Span="[20..21)" Text="1" />
16632<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[22..23)" Text="2" />
16678<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[22..23)" Text="2" />
16821<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 1)}" Span="[19..20)" Text="1" />
16822<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[21..22)" Text="2" />
16919<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 1)}" Span="[20..21)" Text="1" />
16920<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[22..23)" Text="2" />
17015<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 1)}" Span="[20..21)" Text="1" />
17016<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[22..23)" Text="2" />
17111<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 1)}" Span="[21..22)" Text="1" />
17112<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[23..24)" Text="2" />
17266<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 1)}" Span="[24..25)" Text="1" />
17267<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[26..27)" Text="2" />
17319<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 1)}" Span="[24..25)" Text="1" />
17320<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, 2)}" Span="[26..27)" Text="2" />
EmbeddedLanguages\RegularExpressions\CSharpRegexParserTests_DotnetNegativeTests.cs (55)
60<Diagnostic Message="{string.Format(FeaturesResources.Cannot_include_class_0_in_character_range, "d")}" Span="[17..19)" Text="\d" />
90<Diagnostic Message="{string.Format(FeaturesResources.Unrecognized_escape_sequence_0, "k")}" Span="[11..12)" Text="k" />
171<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, "1")}" Span="[11..12)" Text="1" />
264<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[11..12)" Text="?" />
783<Diagnostic Message="{string.Format(FeaturesResources.Unrecognized_escape_sequence_0, "k")}" Span="[11..12)" Text="k" />
812<Diagnostic Message="{{string.Format(FeaturesResources.Unknown_property_0, "cat")}}" Span="[13..16)" Text="cat" />
870<Diagnostic Message="{{string.Format(FeaturesResources.Unknown_property_0, "cat")}}" Span="[13..16)" Text="cat" />
930<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[11..12)" Text="?" />
1054<Diagnostic Message="{string.Format(FeaturesResources.Unrecognized_escape_sequence_0, "k")}" Span="[11..12)" Text="k" />
1166<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[10..11)" Text="?" />
1207<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[10..11)" Text="?" />
1253<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[10..11)" Text="?" />
1303<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[10..11)" Text="?" />
1357<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[10..11)" Text="?" />
1435<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[10..11)" Text="?" />
1829<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[10..11)" Text="?" />
1868<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[13..14)" Text="?" />
2198<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[11..12)" Text="?" />
2236<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[11..12)" Text="?" />
2374<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[13..14)" Text="?" />
2415<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[13..14)" Text="?" />
2451<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[11..12)" Text="?" />
2647<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[16..17)" Text="?" />
2792<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '?')}" Span="[16..17)" Text="?" />
2919<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_name_0, "catdog")}" Span="[31..37)" Text="catdog" />
3041<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, "16")}" Span="[31..33)" Text="16" />
3458<Diagnostic Message="{string.Format(FeaturesResources.Cannot_include_class_0_in_character_range, "D")}" Span="[14..16)" Text="\D" />
3512<Diagnostic Message="{string.Format(FeaturesResources.Cannot_include_class_0_in_character_range, "s")}" Span="[17..19)" Text="\s" />
3563<Diagnostic Message="{string.Format(FeaturesResources.Cannot_include_class_0_in_character_range, "S")}" Span="[17..19)" Text="\S" />
3614<Diagnostic Message="{string.Format(FeaturesResources.Cannot_include_class_0_in_character_range, "w")}" Span="[17..19)" Text="\w" />
3668<Diagnostic Message="{string.Format(FeaturesResources.Cannot_include_class_0_in_character_range, "W")}" Span="[17..19)" Text="\W" />
3753<Diagnostic Message="{{string.Format(FeaturesResources.Cannot_include_class_0_in_character_range, "p")}}" Span="[14..16)" Text="\p" />
3912<Diagnostic Message="{{string.Format(FeaturesResources.Cannot_include_class_0_in_character_range, "P")}}" Span="[14..16)" Text="\P" />
4163<Diagnostic Message="{string.Format(FeaturesResources.Unrecognized_escape_sequence_0, "o")}" Span="[18..19)" Text="o" />
4326<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_name_0, "cat2")}" Span="[38..42)" Text="cat2" />
4395<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, "8")}" Span="[38..39)" Text="8" />
4447<Diagnostic Message="{{string.Format(FeaturesResources.Nested_quantifier_0, "*")}}" Span="[21..22)" Text="*" />
4490<Diagnostic Message="{string.Format(FeaturesResources.Nested_quantifier_0, "+")}" Span="[18..19)" Text="+" />
4533<Diagnostic Message="{string.Format(FeaturesResources.Nested_quantifier_0, "*")}" Span="[18..19)" Text="*" />
4576<Diagnostic Message="{string.Format(FeaturesResources.Nested_quantifier_0, "*")}" Span="[18..19)" Text="*" />
4622<Diagnostic Message="{string.Format(FeaturesResources.Nested_quantifier_0, "+")}" Span="[19..20)" Text="+" />
4668<Diagnostic Message="{string.Format(FeaturesResources.Nested_quantifier_0, "*")}" Span="[19..20)" Text="*" />
4717<Diagnostic Message="{{string.Format(FeaturesResources.Nested_quantifier_0, "*")}}" Span="[22..23)" Text="*" />
4763<Diagnostic Message="{string.Format(FeaturesResources.Nested_quantifier_0, "*")}" Span="[19..20)" Text="*" />
4809<Diagnostic Message="{{string.Format(FeaturesResources.Nested_quantifier_0, "{")}}" Span="[18..19)" Text="{" />
4855<Diagnostic Message="{{string.Format(FeaturesResources.Nested_quantifier_0, "{")}}" Span="[18..19)" Text="{" />
5009<Diagnostic Message="{{string.Format(FeaturesResources.Nested_quantifier_0, "{")}}" Span="[18..19)" Text="{" />
5086<Diagnostic Message="{{string.Format(FeaturesResources.Nested_quantifier_0, "*")}}" Span="[24..25)" Text="*" />
5132<Diagnostic Message="{{string.Format(FeaturesResources.Nested_quantifier_0, "*")}}" Span="[21..22)" Text="*" />
5197<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, "8")}" Span="[38..39)" Text="8" />
5374<Diagnostic Message="{string.Format(FeaturesResources.Reference_to_undefined_group_number_0, "7")}" Span="[17..18)" Text="7" />
5527<Diagnostic Message="{{string.Format(FeaturesResources.Nested_quantifier_0, "*")}}" Span="[20..21)" Text="*" />
5702<Diagnostic Message="{string.Format(FeaturesResources.Nested_quantifier_0, "*")}" Span="[19..20)" Text="*" />
5824<Diagnostic Message="{string.Format(FeaturesResources.Quantifier_0_following_nothing, '*')}" Span="[20..21)" Text="*" />
5928<Diagnostic Message="{{string.Format(FeaturesResources.Nested_quantifier_0, "*")}}" Span="[23..24)" Text="*" />
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (34)
CodeGen\UnsafeTests.cs (23)
5868CompileAndVerify(string.Format(template, "unchecked"), options: TestOptions.UnsafeReleaseExe, expectedOutput: expectedOutput, verify: Verification.Fails).VerifyIL("C.Main", expectedIL);
5869CompileAndVerify(string.Format(template, "checked"), options: TestOptions.UnsafeReleaseExe, expectedOutput: expectedOutput, verify: Verification.Fails).VerifyIL("C.Main", expectedIL);
5919CompileAndVerify(string.Format(template, "unchecked"), options: TestOptions.UnsafeReleaseExe, expectedOutput: expectedOutput, verify: Verification.Fails).VerifyIL("C.Main", expectedIL);
5920CompileAndVerify(string.Format(template, "checked"), options: TestOptions.UnsafeReleaseExe, expectedOutput: expectedOutput, verify: Verification.Fails).VerifyIL("C.Main", expectedIL);
6367CompileAndVerify(string.Format(template, "unchecked"), options: TestOptions.UnsafeReleaseDll, verify: Verification.Fails).VerifyIL("C.M", expectedIL);
6368CompileAndVerify(string.Format(template, "checked"), options: TestOptions.UnsafeReleaseDll, verify: Verification.Fails).VerifyIL("C.M", expectedIL);
6430CompileAndVerify(string.Format(template, "unchecked"), options: TestOptions.UnsafeReleaseDll, verify: Verification.Fails).VerifyIL("C.M", expectedIL);
6431CompileAndVerify(string.Format(template, "checked"), options: TestOptions.UnsafeReleaseDll, verify: Verification.Fails).VerifyIL("C.M", expectedIL);
6537CompileAndVerify(string.Format(template, "unchecked"), options: TestOptions.UnsafeDebugExe, expectedOutput: expectedOutput, verify: Verification.Fails).VerifyIL("C.Main", expectedIL, sequencePoints: "C.Main");
6538CompileAndVerify(string.Format(template, "checked "), options: TestOptions.UnsafeDebugExe, expectedOutput: expectedOutput, verify: Verification.Fails).VerifyIL("C.Main", expectedIL, sequencePoints: "C.Main");
6594CompileAndVerify(string.Format(template, "unchecked"), options: TestOptions.UnsafeReleaseExe, expectedOutput: expectedOutput, verify: Verification.Fails).VerifyIL("C.Main", expectedIL);
6595CompileAndVerify(string.Format(template, "checked"), options: TestOptions.UnsafeReleaseExe, expectedOutput: expectedOutput, verify: Verification.Fails).VerifyIL("C.Main", expectedIL);
6636CompileAndVerify(string.Format(template, "unchecked"), options: TestOptions.UnsafeReleaseDll, verify: Verification.Passes).VerifyIL("C.M", expectedIL);
6637CompileAndVerify(string.Format(template, "checked"), options: TestOptions.UnsafeReleaseDll, verify: Verification.Passes).VerifyIL("C.M", expectedIL);
6705CompileAndVerify(string.Format(template, "unchecked"), options: TestOptions.UnsafeReleaseDll, verify: Verification.Passes).VerifyIL("C.M", expectedIL);
6706CompileAndVerify(string.Format(template, "checked"), options: TestOptions.UnsafeReleaseDll, verify: Verification.Passes).VerifyIL("C.M", expectedIL);
8672string.Format(casesTemplate, pointedAtType),
10768CompileAndVerify(string.Format(template, "int"), options: TestOptions.UnsafeReleaseExe, expectedOutput: @"True", verify: Verification.Passes);
10769CompileAndVerify(string.Format(template, "int*"), options: TestOptions.UnsafeReleaseExe, expectedOutput: @"True", verify: Verification.Passes);
10770CompileAndVerify(string.Format(template, "int**"), options: TestOptions.UnsafeReleaseExe, expectedOutput: @"True", verify: Verification.Passes);
10771CompileAndVerify(string.Format(template, "int[]"), options: TestOptions.UnsafeReleaseExe, expectedOutput: @"True", verify: Verification.Passes);
10772CompileAndVerify(string.Format(template, "int[][]"), options: TestOptions.UnsafeReleaseExe, expectedOutput: @"True", verify: Verification.Passes);
10773CompileAndVerify(string.Format(template, "int*[]"), options: TestOptions.UnsafeReleaseExe, expectedOutput: @"True", verify: Verification.Passes);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (5)
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 (10)
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (131)
EmbeddedLanguages\ValidateJsonStringTests.cs (10)
47diagnosticMessage: string.Format(FeaturesResources.JSON_issue_0, FeaturesResources.Constructors_not_allowed));
65diagnosticMessage: string.Format(FeaturesResources.JSON_issue_0, FeaturesResources.Constructors_not_allowed));
83diagnosticMessage: string.Format(FeaturesResources.JSON_issue_0,
84string.Format(FeaturesResources._0_unexpected, '}')));
110diagnosticMessage: string.Format(FeaturesResources.JSON_issue_0,
137diagnosticMessage: string.Format(FeaturesResources.JSON_issue_0,
208diagnosticMessage: string.Format(FeaturesResources.JSON_issue_0,
235diagnosticMessage: string.Format(FeaturesResources.JSON_issue_0,
310diagnosticMessage: string.Format(FeaturesResources.JSON_issue_0,
341diagnosticMessage: string.Format(FeaturesResources.JSON_issue_0,
GenerateFromMembers\AddConstructorParametersFromMembers\AddConstructorParametersFromMembersTests.cs (33)
93CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i)"), codeAction.Title)
135CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i)"), codeAction.Title)
184CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i, string s)"), codeAction.Title)
231CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i, string s)"), codeAction.Title)
278CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i, string s)"), codeAction.Title)
320CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_optional_parameters_to_0, "Program(int i)"), codeAction.Title)
375CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(CodeFixesResources.Add_to_0, "Program(int i, string s)"), codeAction.Title)
430CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(CodeFixesResources.Add_to_0, "Program(int i, string s)"), codeAction.Title)
470CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(bool b)"), codeAction.Title)
511CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_optional_parameters_to_0, "Program(bool b)"), codeAction.Title)
1199CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(CodeFixesResources.Add_to_0, "C(int i)"), codeAction.Title)
1244CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(CodeFixesResources.Add_to_0, "C(int i, int j)"), codeAction.Title)
1290CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(CodeFixesResources.Add_to_0, "C(int i, int j, int k)"), codeAction.Title)
1335CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(CodeFixesResources.Add_to_0, "C(int i)"), codeAction.Title)
1381CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(CodeFixesResources.Add_to_0, "C(int i, int j)"), codeAction.Title)
1426CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(CodeFixesResources.Add_to_0, "C(int i, int j, int k)"), codeAction.Title)
1487CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(CodeFixesResources.Add_to_0, "C(int i, double j, int k)"), codeAction.Title)
1544CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(CodeFixesResources.Add_to_0, "C(int i, double j)"), codeAction.Title)
1586CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(CodeFixesResources.Add_to_0, "C(int i)"), codeAction.Title)
1631CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(CodeFixesResources.Add_to_0, "C(int l, double m, int n)"), codeAction.Title)
1948CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i)"), codeAction.Title)
1988CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i)"), codeAction.Title)
2028CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i)"), codeAction.Title)
2068CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i)"), codeAction.Title)
2108CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i)"), codeAction.Title)
2148CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i)"), codeAction.Title)
2189CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i)"), codeAction.Title)
2230CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i)"), codeAction.Title)
2270CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i)"), codeAction.Title)
2310CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i)"), codeAction.Title)
2350CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i)"), codeAction.Title)
2390CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "Program(int i)"), codeAction.Title)
2693CodeActionVerifier = (codeAction, verifier) => verifier.Equal(string.Format(FeaturesResources.Add_parameters_to_0, "C(int original, int original2)"), codeAction.Title)
GenerateVariable\GenerateVariableTests.cs (29)
91string.Format(CodeFixesResources.Generate_field_0, "goo"),
92string.Format(CodeFixesResources.Generate_read_only_field_0, "goo"),
93string.Format(CodeFixesResources.Generate_property_0, "goo"),
94string.Format(CodeFixesResources.Generate_local_0, "goo"),
95string.Format(CodeFixesResources.Generate_parameter_0, "goo"),
113string.Format(CodeFixesResources.Generate_field_0, "_goo"),
114string.Format(CodeFixesResources.Generate_read_only_field_0, "_goo"),
355[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")]);
376[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")]);
553[string.Format(CodeFixesResources.Generate_field_0, "goo"), string.Format(CodeFixesResources.Generate_local_0, "goo"), string.Format(CodeFixesResources.Generate_parameter_0, "goo")]);
2430[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")]);
5319await TestExactActionSetOfferedAsync(code, [string.Format(CodeFixesResources.Generate_local_0, "Bar"), string.Format(CodeFixesResources.Generate_parameter_0, "Bar")]);
10550string.Format(CodeFixesResources.Generate_property_0, "Field"),
10551string.Format(CodeFixesResources.Generate_field_0, "Field"),
10574string.Format(CodeFixesResources.Generate_property_0, "Field"),
10575string.Format(CodeFixesResources.Generate_field_0, "Field"),
src\Analyzers\CSharp\Tests\ImplementAbstractClass\ImplementAbstractClassTests_ThroughMember.cs (22)
123""", index: 1, title: string.Format(AnalyzersResources.Implement_through_0, "inner"));
156""", index: 1, title: string.Format(AnalyzersResources.Implement_through_0, "inner"));
186""", index: 1, title: string.Format(AnalyzersResources.Implement_through_0, "inner"));
221""", index: 1, title: string.Format(AnalyzersResources.Implement_through_0, "inner"));
285""", index: 1, title: string.Format(AnalyzersResources.Implement_through_0, "inner"));
318""", index: 1, title: string.Format(AnalyzersResources.Implement_through_0, "inner"));
345string.Format(AnalyzersResources.Implement_through_0, "Inner"),
346string.Format(AnalyzersResources.Implement_through_0, "IInterface.Inner"),
397""", index: 1, title: string.Format(AnalyzersResources.Implement_through_0, "inner"));
427""", index: 1, title: string.Format(AnalyzersResources.Implement_through_0, "inner"));
502""", index: 1, title: string.Format(AnalyzersResources.Implement_through_0, "inner"));
593""", index: 1, title: string.Format(AnalyzersResources.Implement_through_0, "inner"));
630""", index: 1, title: string.Format(AnalyzersResources.Implement_through_0, "inner"));
680""", index: 1, title: string.Format(AnalyzersResources.Implement_through_0, "inner"));
713""", index: 1, title: string.Format(AnalyzersResources.Implement_through_0, "inner"));
746""", index: 1, title: string.Format(AnalyzersResources.Implement_through_0, "inner"));
796""", index: 1, title: string.Format(AnalyzersResources.Implement_through_0, "inner"));
829""", index: 1, title: string.Format(AnalyzersResources.Implement_through_0, "inner"));
932""", [AnalyzersResources.Implement_abstract_class, string.Format(AnalyzersResources.Implement_through_0, "_base")]);
950""", [AnalyzersResources.Implement_abstract_class, string.Format(AnalyzersResources.Implement_through_0, "_base")]);
968""", [AnalyzersResources.Implement_abstract_class, string.Format(AnalyzersResources.Implement_through_0, "B")]);
986""", [AnalyzersResources.Implement_abstract_class, string.Format(AnalyzersResources.Implement_through_0, "B")]);
src\Analyzers\CSharp\Tests\UpgradeProject\UpgradeProjectTests.cs (11)
515string.Format(CSharpCodeFixesResources.Upgrade_this_project_to_csharp_language_version_0, "7.0"),
516string.Format(CSharpCodeFixesResources.Upgrade_all_csharp_projects_to_language_version_0, "7.0")
545string.Format(CSharpCodeFixesResources.Upgrade_this_project_to_csharp_language_version_0, "8.0"),
546string.Format(CSharpCodeFixesResources.Upgrade_all_csharp_projects_to_language_version_0, "8.0")
574string.Format(CSharpCodeFixesResources.Upgrade_this_project_to_csharp_language_version_0, "7.0")
603string.Format(CSharpCodeFixesResources.Upgrade_this_project_to_csharp_language_version_0, "7.0")
633string.Format(CSharpCodeFixesResources.Upgrade_this_project_to_csharp_language_version_0, defaultVersion),
634string.Format(CSharpCodeFixesResources.Upgrade_all_csharp_projects_to_language_version_0, defaultVersion)
658[string.Format(CSharpCodeFixesResources.Upgrade_this_project_to_csharp_language_version_0, "8.0")]);
686string.Format(CSharpCodeFixesResources.Upgrade_this_project_to_csharp_language_version_0, defaultEffectiveVersion),
687string.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)
31private string LogoAndHelpPrompt => $@"{string.Format(CSharpScriptingResources.LogoLine1, s_compilerVersion)}
78var logoOutput = $@"{string.Format(CSharpScriptingResources.LogoLine1, s_compilerVersion)}
111var logoOutput = $@"{string.Format(CSharpScriptingResources.LogoLine1, s_compilerVersion)}
256var error = $@"error CS2001: {string.Format(CSharpResources.ERR_FileNotFound, Path.Combine(AppContext.BaseDirectory, "@arg1"))}";
403var error = $@"error CS2001: {string.Format(CSharpResources.ERR_FileNotFound, Path.Combine(AppContext.BaseDirectory, "a + b"))}";
416$@"{string.Format(CSharpScriptingResources.LogoLine1, s_compilerVersion)}
457var error = $@"error CS0246: {string.Format(CSharpResources.ERR_SingleTypeNameNotFound, "Alpha")}";
650(1,1): error CS0006: {string.Format(CSharpResources.ERR_NoMetadataFile, "C.dll")}
660$@"(1,1): error CS0006: {string.Format(CSharpResources.ERR_NoMetadataFile, "C.dll")}",
915$@"{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 (154)
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\SymbolErrorTests.cs (17)
19877CreateCompilation(string.Format(template, "int Item;")).VerifyDiagnostics(
19885CreateCompilation(string.Format(template, "int get_Item;")).VerifyDiagnostics(
19892CreateCompilation(string.Format(template, "int set_Item;")).VerifyDiagnostics(
19900CreateCompilation(string.Format(template, "int Item() { return 0; }")).VerifyDiagnostics(
19905CreateCompilation(string.Format(template, "int set_Item() { return 0; }")).VerifyDiagnostics();
19920CreateCompilation(string.Format(template, "int P;")).VerifyDiagnostics(
19928CreateCompilation(string.Format(template, "int get_P;")).VerifyDiagnostics(
19935CreateCompilation(string.Format(template, "int set_P;")).VerifyDiagnostics(
19943CreateCompilation(string.Format(template, "int P() { return 0; }")).VerifyDiagnostics(
19948CreateCompilation(string.Format(template, "int set_P() { return 0; }")).VerifyDiagnostics();
19951CreateCompilation(string.Format(template, "int Item;")).VerifyDiagnostics(
19955CreateCompilation(string.Format(template, "int get_Item;")).VerifyDiagnostics(
19959CreateCompilation(string.Format(template, "int set_Item;")).VerifyDiagnostics(
19963CreateCompilation(string.Format(template, "int Item() { return 0; }")).VerifyDiagnostics();
19964CreateCompilation(string.Format(template, "int set_Item() { return 0; }")).VerifyDiagnostics();
21943var 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 (7)
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Microsoft.CodeAnalysis.Debugging.Package (8)
Microsoft.CodeAnalysis.EditorFeatures (16)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (484)
MetadataAsSource\MetadataAsSourceTests.cs (404)
75{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
77{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
78{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
79{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
92{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
94{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
95{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
96{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
140{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
142{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
143{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
144{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
157{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
159{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
160{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
161{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
207{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
209{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
210{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
211{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
224{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
226{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
227{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
228{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
281{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
283{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
284{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
285{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
301{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
303{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
304{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
305{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
356{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
358{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
359{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
360{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
374{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
376{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
377{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
378{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
429{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
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")}}
447{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
449{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
450{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
451{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
509{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
511{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
512{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
513{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
529{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
531{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
532{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
533{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
591{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
593{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
594{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
595{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
611{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
613{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
614{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
615{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
668{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
670{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
671{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
672{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
688{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
690{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
691{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
692{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
745{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
747{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
748{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
749{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
765{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
767{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
768{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
769{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
822{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
824{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
825{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
826{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
842{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
844{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
845{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
846{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
893{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
895{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
896{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
897{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
911{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
913{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
914{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
915{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
968{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
970{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
971{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
972{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
988{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
990{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
991{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
992{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1045{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
1047{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1048{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1049{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1064{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
1066{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1067{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1068{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1190{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
1192{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1193{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1194{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1208{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
1210{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1211{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1212{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1273{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
1275{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1276{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1277{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1291{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
1293{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1294{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1295{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1342{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
1344{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1345{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1346{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1362{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
1364{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1365{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1366{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1420{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
1422{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1423{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1424{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1441{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
1443{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1444{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1445{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1496{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
1498{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1499{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1500{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1514{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
1516{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1517{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1518{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1581{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
1583{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1584{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1585{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1601{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
1603{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1604{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1605{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1663{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
1665{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1666{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1667{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1681{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
1683{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1684{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1685{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1735{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
1737{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1738{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1739{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1753{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
1755{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1756{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1757{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1827{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
1829{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1830{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1831{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1847{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
1849{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1850{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1851{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
2237{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
2239{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2240{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2241{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
2327{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
2329{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2330{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2331{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
2507{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
2509{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2510{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2511{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
2588{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
2590{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2591{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2592{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
2682{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
2684{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2685{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2686{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
2688{{string.Format(FeaturesResources.Resolve_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2689{{string.Format(FeaturesResources.Found_single_assembly_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2690{{string.Format(FeaturesResources.Load_from_0, "System.v4_6_1038_0.dll")}}
2708{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
2710{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2711{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2712{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
2714{{string.Format(FeaturesResources.Resolve_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2715{{string.Format(FeaturesResources.Found_single_assembly_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2716{{string.Format(FeaturesResources.Load_from_0, "System.v4_6_1038_0.dll")}}
2784{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
2786{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2787{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2788{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
2806{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
2808{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2809{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2810{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
2881{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
2883{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2884{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2885{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
2904{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
2906{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2907{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
2908{{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")}}
3124{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
3126{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3127{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3128{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
3212{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
3214{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3215{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3216{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
3240{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
3242{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3243{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3244{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
3310{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
3312{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3313{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3314{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
3332{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
3334{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3335{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3336{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
3451{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
3453{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3454{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3455{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
3457{{string.Format(FeaturesResources.Resolve_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3458{{string.Format(FeaturesResources.Found_single_assembly_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3459{{string.Format(FeaturesResources.Load_from_0, "System.v4_6_1038_0.dll")}}
3477{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
3479{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3480{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3481{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
3483{{string.Format(FeaturesResources.Resolve_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3484{{string.Format(FeaturesResources.Found_single_assembly_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3485{{string.Format(FeaturesResources.Load_from_0, "System.v4_6_1038_0.dll")}}
3787{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
3789{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3790{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3791{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
3805{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
3807{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3808{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3809{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
3863{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
3865{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3866{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3867{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
3881{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
3883{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3884{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3885{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
3941{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
3943{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3944{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3945{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
3961{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
3963{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3964{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
3965{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4021{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
4023{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4024{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4025{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4041{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
4043{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4044{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4045{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4105{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
4107{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4108{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4109{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4128{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
4130{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4131{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4132{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4193{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
4195{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4196{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4197{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4216{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
4218{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4219{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4220{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4274{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
4276{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4277{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4278{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4292{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
4294{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4295{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4296{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4350{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
4352{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4353{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4354{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4368{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
4370{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4371{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4372{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4433{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
4435{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4436{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4437{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4451{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
4453{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4454{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4455{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4511{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
4513{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4514{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4515{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4529{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
4531{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4532{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4533{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4599{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
4601{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4602{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4603{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4629{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
4631{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4632{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4633{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4699{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
4701{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4702{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4703{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4729{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
4731{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4732{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4733{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4799{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
4801{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4802{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4803{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4829{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
4831{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4832{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4833{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4896{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
4898{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4899{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4900{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4917{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
4919{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4920{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4921{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
4993{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
4995{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4996{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
4997{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
5023{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
5025{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
5026{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
5027{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
5097{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
5099{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
5100{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
5101{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
5127{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
5129{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
5130{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
5131{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
5202{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
5204{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
5205{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
5206{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
5232{{string.Format(FeaturesResources._0_items_in_cache, 9)}}
5234{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
5235{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
5236{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
MetadataAsSource\MetadataAsSourceTests.CSharp.cs (58)
74{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
76{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
77{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
78{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
124{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
126{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
127{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
128{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
170{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
172{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
173{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
174{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
176{{string.Format(FeaturesResources.Resolve_0, "System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51")}}
177{{string.Format(FeaturesResources.Found_single_assembly_0, "System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51")}}
178{{string.Format(FeaturesResources.Load_from_0, "System.ValueTuple (net461)")}}
394{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
396{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
397{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
398{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
400{{string.Format(FeaturesResources.Resolve_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
401{{string.Format(FeaturesResources.Found_single_assembly_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
402{{string.Format(FeaturesResources.Load_from_0, "System.v4_6_1038_0.dll")}}
443{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
445{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
446{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
447{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
511{string.Format(FeaturesResources._0_items_in_cache, 6)}
513{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}
514{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}
515{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}
610{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
612{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
613{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
614{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
704{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
706{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
707{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
708{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
766{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
768{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
769{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
770{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
825{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
827{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
828{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
829{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
875{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
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")}}
944{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
946{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
947{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
948{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
1012{{string.Format(FeaturesResources._0_items_in_cache, 6)}}
1014{{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1015{{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}}
1016{{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}}
MetadataAsSource\MetadataAsSourceTests.VisualBasic.cs (15)
55{string.Format(FeaturesResources._0_items_in_cache, 9)}
57{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}
58{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}
59{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}
61{string.Format(FeaturesResources.Resolve_0, "Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")}
62{string.Format(FeaturesResources.Found_single_assembly_0, "Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")}
63{string.Format(FeaturesResources.Load_from_0, "Microsoft.VisualBasic (net461)")}
172{string.Format(FeaturesResources._0_items_in_cache, 9)}
401{string.Format(FeaturesResources._0_items_in_cache, 9)}
403{string.Format(FeaturesResources.Resolve_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}
404{string.Format(FeaturesResources.Found_single_assembly_0, "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}
405{string.Format(FeaturesResources.Load_from_0, "mscorlib.v4_6_1038_0.dll")}
407{string.Format(FeaturesResources.Resolve_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}
408{string.Format(FeaturesResources.Found_single_assembly_0, "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")}
409{string.Format(FeaturesResources.Load_from_0, "System.v4_6_1038_0.dll")}
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (8)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (3)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (6)
Microsoft.CodeAnalysis.ExternalAccess.Extensions (1)
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
Microsoft.CodeAnalysis.Features (98)
EmbeddedLanguages\Json\JsonParser.cs (7)
56private static readonly string s_closeBracketExpected = string.Format(FeaturesResources._0_expected, ']');
57private static readonly string s_closeBraceExpected = string.Format(FeaturesResources._0_expected, '}');
58private static readonly string s_openParenExpected = string.Format(FeaturesResources._0_expected, '(');
59private static readonly string s_closeParenExpected = string.Format(FeaturesResources._0_expected, ')');
60private static readonly string s_commaExpected = string.Format(FeaturesResources._0_expected, ',');
197string.Format(FeaturesResources._0_unexpected, ','),
204string.Format(FeaturesResources._0_unexpected, ':'),
src\Analyzers\Core\CodeFixes\GenerateEnumMember\AbstractGenerateEnumMemberService.CodeAction.cs (1)
55return string.Format(
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.CodeAction.cs (1)
193return string.Format(
Microsoft.CodeAnalysis.Features.UnitTests (14)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (9)
606AssertEx.Equal([$"{project.FilePath}: (0,0)-(0,0): Error ENC1006: {string.Format(FeaturesResources.UnableToReadSourceFileOrPdb, sourceFile.Path)}"], InspectDiagnostics(emitDiagnostics));
652AssertEx.Equal([$"{document1.Project.FilePath}: (0,0)-(0,0): Error ENC1006: {string.Format(FeaturesResources.UnableToReadSourceFileOrPdb, sourceFile.Path)}"], InspectDiagnostics(emitDiagnostics));
983AssertEx.Equal(["ENC0110: " + string.Format(FeaturesResources.Changing_the_signature_of_0_requires_restarting_the_application_because_it_is_not_supported_by_the_runtime, FeaturesResources.method)],
1124AssertEx.Equal(["ENC0110: " + string.Format(FeaturesResources.Changing_the_signature_of_0_requires_restarting_the_application_because_it_is_not_supported_by_the_runtime, FeaturesResources.method)],
1205"ENC0110: " + string.Format(FeaturesResources.Changing_the_signature_of_0_requires_restarting_the_application_because_it_is_not_supported_by_the_runtime, FeaturesResources.method)
1277["ENC0023: " + string.Format(FeaturesResources.Adding_an_abstract_0_or_overriding_an_inherited_0_requires_restarting_the_application, FeaturesResources.method)],
1320["ENC0110: " + string.Format(FeaturesResources.Changing_the_signature_of_0_requires_restarting_the_application_because_it_is_not_supported_by_the_runtime, FeaturesResources.method)],
1334["ENC0110: " + string.Format(FeaturesResources.Changing_the_signature_of_0_requires_restarting_the_application_because_it_is_not_supported_by_the_runtime, FeaturesResources.method)],
1400["ENC0023: " + string.Format(FeaturesResources.Adding_an_abstract_0_or_overriding_an_inherited_0_requires_restarting_the_application, FeaturesResources.method)],
Microsoft.CodeAnalysis.InteractiveHost (7)
Microsoft.CodeAnalysis.LanguageServer (20)
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (30)
CodeActions\CodeActionResolveTests.cs (23)
89var titlePath = new string[] { FeaturesResources.Introduce_constant, string.Format(FeaturesResources.Introduce_constant_for_0, "1") };
91title: string.Format(FeaturesResources.Introduce_constant_for_0, "1"),
95FeaturesResources.Introduce_constant + "|" + string.Format(FeaturesResources.Introduce_constant_for_0, "1"),
121title: string.Format(FeaturesResources.Introduce_constant_for_0, "1"),
125FeaturesResources.Introduce_constant + "|" + string.Format(FeaturesResources.Introduce_constant_for_0, "1"),
160var titlePath = new string[] { string.Format(FeaturesResources.Rename_file_to_0, "ABC.cs") };
162title: string.Format(FeaturesResources.Rename_file_to_0, "ABC.cs"),
166string.Format(FeaturesResources.Rename_file_to_0, "ABC.cs"),
183title: string.Format(FeaturesResources.Rename_file_to_0, "ABC.cs"),
187string.Format(FeaturesResources.Rename_file_to_0, "ABC.cs"),
228var titlePath = new string[] { string.Format(FeaturesResources.Encapsulate_field_colon_0_and_use_property, "_value") };
230title: string.Format(FeaturesResources.Encapsulate_field_colon_0_and_use_property, "_value"),
234string.Format(FeaturesResources.Encapsulate_field_colon_0_and_use_property, "_value"),
278var titlePath = new string[] { string.Format(FeaturesResources.Move_type_to_0, "ABC.cs") };
280title: string.Format(FeaturesResources.Move_type_to_0, "ABC.cs"),
284string.Format(FeaturesResources.Move_type_to_0, "ABC.cs"),
360title: string.Format(FeaturesResources.Move_type_to_0, "ABC.cs"),
364string.Format(FeaturesResources.Move_type_to_0, "ABC.cs"),
402var titlePath = new string[] { string.Format(FeaturesResources.Move_type_to_0, "BCD.cs") };
404title: string.Format(FeaturesResources.Move_type_to_0, "BCD.cs"),
408string.Format(FeaturesResources.Move_type_to_0, "BCD.cs"),
486title: string.Format(FeaturesResources.Move_type_to_0, "BCD.cs"),
490string.Format(FeaturesResources.Move_type_to_0, "BCD.cs"),
Microsoft.CodeAnalysis.Rebuild (2)
Microsoft.CodeAnalysis.Remote.Workspaces (1)
Microsoft.CodeAnalysis.Scripting (1)
Microsoft.CodeAnalysis.Test.Utilities (21)
Microsoft.CodeAnalysis.Threading.Package (3)
Microsoft.CodeAnalysis.UnitTests (10)
Microsoft.CodeAnalysis.VisualBasic (16)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (3)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.UnitTests (10)
src\Analyzers\VisualBasic\Tests\AddExplicitCast\AddExplicitCastTests.vb (7)
2973Await TestInRegularAndScriptAsync(initialMarkup, String.Format(expect_format, "Derived"), index:=0,
2976Await TestInRegularAndScriptAsync(initialMarkup, String.Format(expect_format, "Derived2"), index:=1,
3039Await TestInRegularAndScriptAsync(initialMarkup, String.Format(expect_format, "Derived"), index:=0,
3042Await TestInRegularAndScriptAsync(initialMarkup, String.Format(expect_format, "Derived2"), index:=1,
3234Await TestInRegularAndScriptAsync(initialMarkup, String.Format(expect_format, "CStr(b)"), index:=0,
3237Await TestInRegularAndScriptAsync(initialMarkup, String.Format(expect_format, "CType(b, Derived)"), index:=1,
3240Await TestInRegularAndScriptAsync(initialMarkup, String.Format(expect_format, "CType(b, Derived2)"), index:=2,
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (17)
CommandLineTests.vb (16)
1332desc = VisualBasicCommandLineParser.ParseResourceDescription("", String.Format("{0},e,private", longI), _baseDirectory, diags, embedded:=False)
4138Dim output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, String.Format("/nologo /t:library /doc+ {0}", src.ToString()), startFolder:=dir.ToString(), expectedRetCode:=0)
4188Dim output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, String.Format("/nologo /t:library /doc+ {0}", src.ToString()), startFolder:=dir.ToString(), expectedRetCode:=0)
4223output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, String.Format("/nologo /t:library /doc+ {0}", src.ToString()), startFolder:=dir.ToString(), expectedRetCode:=0)
4264Dim output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, String.Format("/nologo /t:library /doc:abcdfg.xyz /doc+ {0}", src.ToString()), startFolder:=dir.ToString())
4283Dim output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, String.Format("/nologo /t:library /doc /out:MyXml.dll {0}", src.ToString()), startFolder:=dir.ToString())
4302Dim output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, String.Format("/nologo /t:library /doc:doc.xml /doc+ {0}", src.ToString()), startFolder:=dir.ToString())
4321Dim output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, String.Format("/nologo /t:library /doc:doc.xml /out:out.dll {0}", src.ToString()), startFolder:=dir.ToString())
4340Dim output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, String.Format("/nologo /t:library /doc:doc.xml /doc /out:out.dll {0}", src.ToString()), startFolder:=dir.ToString())
4359Dim output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, String.Format("/nologo /t:library /doc:doc.xml /out:out.dll /doc+ {0}", src.ToString()), startFolder:=dir.ToString())
6836String.Format("/target:{0}", target),
6837String.Format("/out:{0}", outputFileName),
6844String.Format("/target:{0}", target),
6845String.Format("/out:{0}", outputFileName),
6846String.Format("/win32manifest:{0}", Path.GetFileName(manifestFile.Path)),
8672Dim output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, String.Format("/nologo /doc:doc.xml /out:out.exe /resource:doc.xml {0}", src.ToString()), startFolder:=dir.ToString())
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (34)
Emit\EditAndContinue\EditAndContinueStateMachineTests.vb (12)
3179Dim source0 = MarkedSource(String.Format(template, "
3189Dim source1 = MarkedSource(String.Format(template, "
4195Dim source0 = MarkedSource(String.Format(template, "
4200Dim source1 = MarkedSource(String.Format(template, "
4456Dim source0 = MarkedSource(String.Format(template, "
4463Dim source1 = MarkedSource(String.Format(template, "
4925Dim source0 = MarkedSource(String.Format(template, "
4938Dim source1 = MarkedSource(String.Format(template, "
5455Dim source0 = MarkedSource(String.Format(template, "
5461Dim source1 = MarkedSource(String.Format(template, "
5888Dim source0 = MarkedSource(String.Format(template, "
5897Dim source1 = MarkedSource(String.Format(template, "
ExpressionTrees\CodeGenExprLambda.vb (14)
176Dim descr1 = String.Format("-=-=-=-=-=-=-=-=- {0} {{0}} => {{0}} -=-=-=-=-=-=-=-=-", operation)
178list.Add(New ExpressionTreeTest With {.Description = String.Format(descr1, type1),
180String.Format("Func(Of {0}, {0})", type1),
181.Lambda = String.Format("Function(x) {0} x ", operation)})
220Dim descr1 = String.Format("-=-=-=-=-=-=-=-=- {{0}} {0} Nothing => {{1}} -=-=-=-=-=-=-=-=-", operation)
225.Lambda = String.Format("Function(x) x {0} Nothing", operation)})
596Dim descr1 = String.Format("-=-=-=-=-=-=-=-=- {{0}} {0} {{1}} => {{2}} -=-=-=-=-=-=-=-=-", operation)
601.Lambda = String.Format("Function(x, y) x {0} y", operation)})
1843Dim descr1 = String.Format("-=-=-=-=-=-=-=-=- {0} -> {{0}} -=-=-=-=-=-=-=-=-", nothingLiteral)
1845list.Add(New ExpressionTreeTest With {.Description = String.Format(descr1, type),
1847String.Format("Func(Of {0})", type),
1848.Lambda = String.Format("Function() {0}", nothingLiteral)})
1947testbuilder.AppendLine(String.Format("Console.WriteLine(""{0}"")", tst.Description))
1949testbuilder.AppendLine(String.Format("Console.WriteLine(exprtree{0}.Dump)", count))
Microsoft.CodeAnalysis.VisualBasic.ExpressionCompiler (1)
Microsoft.CodeAnalysis.VisualBasic.Features (15)
Microsoft.CodeAnalysis.VisualBasic.Features.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (17)
Diagnostics\DiagnosticAnalyzerTests.vb (13)
488Dim message = String.Format("'{0}' must have a non-null non-empty 'Category'", descriptor.Id)
857Dim tree = VisualBasicSyntaxTree.ParseText(String.Format(source, treeNum), path:="SourceFileRegular.vb")
861tree = VisualBasicSyntaxTree.ParseText(String.Format(source, treeNum), path:="AssemblyInfo.vb")
867tree = VisualBasicSyntaxTree.ParseText(String.Format(source, treeNum), path:=fileName)
876tree = VisualBasicSyntaxTree.ParseText(String.Format(autoGeneratedPrefix + source, treeNum), path:=$"SourceFileWithAutoGeneratedComment{i}.vb")
1189Dim squiggledText = String.Format("GeneratedCode{0}", i)
1197squiggledText = String.Format("Nested{0}", i)
1205squiggledText = String.Format("NonGeneratedCode{0}", i)
1213squiggledText = String.Format("NestedGeneratedCode{0}", i)
1235names.Add(String.Format("GeneratedCode{0}(IsGeneratedCode:True)", index))
1236names.Add(String.Format("Nested{0}(IsGeneratedCode:True)", index))
1238names.Add(String.Format("NestedGeneratedCode{0}(IsGeneratedCode:True)", index))
1247names.Add(String.Format("NonGeneratedCode{0}(IsGeneratedCode:False)", index))
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (13)
SymbolsTests\Source\EnumTests.vb (4)
1257Dim source = GenerateEnum(6000, Function(i, n) If(i = 0, String.Format("M{0} + 1", n - 1), ""))
1283Dim source = GenerateEnum(count, Function(i, n) String.Format("M{0} + 1", If(i = 0, n - 1, i - 1)))
1314Dim source = GenerateEnum(count, Function(i, n) If(i < n - 1, String.Format("M{0} - 1", i + 1), i.ToString()))
1334builder.Append(String.Format(" M{0}", i))
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (9)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (3)
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces (50)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyle.cs (6)
126failureReason = string.Format(CompilerExtensionsResources.Missing_prefix_colon_0, Prefix);
132failureReason = string.Format(CompilerExtensionsResources.Missing_suffix_colon_0, Suffix);
153? string.Format(CompilerExtensionsResources.Prefix_0_is_not_expected, prefix)
225reason = string.Format(resourceId, string.Join(", ", violations));
265reason = string.Format(firstResourceId, Substring(name, wordSpan));
281var restString = string.Format(restResourceId, string.Join(", ", violations));
Microsoft.CodeAnalysis.Workspaces.MSBuild (17)
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)
62<<<<<<< {string.Format(WorkspacesResources.TODO_Unmerged_change_from_project_0, "ProjectName1")}, {WorkspacesResources.Before_colon}
80<<<<<<< {string.Format(WorkspacesResources.TODO_Unmerged_change_from_project_0, "ProjectName1")}, {WorkspacesResources.Before_colon}
117<<<<<<< {string.Format(WorkspacesResources.TODO_Unmerged_change_from_project_0, "ProjectName1")}, {WorkspacesResources.Before_colon}
161<<<<<<< {string.Format(WorkspacesResources.TODO_Unmerged_change_from_project_0, "ProjectName1")}, {WorkspacesResources.Before_colon}
169<<<<<<< {string.Format(WorkspacesResources.TODO_Unmerged_change_from_project_0, "ProjectName1")}, {WorkspacesResources.Before_colon}
193<<<<<<< {string.Format(WorkspacesResources.TODO_Unmerged_change_from_project_0, "ProjectName2")}, {WorkspacesResources.Before_colon}
199<<<<<<< {string.Format(WorkspacesResources.TODO_Unmerged_change_from_project_0, "ProjectName3")}, {WorkspacesResources.Before_colon}
221<<<<<<< {string.Format(WorkspacesResources.TODO_Unmerged_change_from_project_0, "ProjectName1")}, {WorkspacesResources.Before_colon}
243<<<<<<< {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 (56)
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 (1)
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (36)
CallHierarchy\CSharpCallHierarchyTests.cs (36)
103testState.VerifyRoot(root, "N.C.Goo()", [string.Format(EditorFeaturesResources.Calls_To_0, "Goo")]);
104testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), ["N.G.Main()", "N.G.Main2()"]);
143testState.VerifyRoot(root, "N.C.Goo()", [string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), string.Format(EditorFeaturesResources.Calls_To_Interface_Implementation_0, "N.I.Goo()")]);
144testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), ["N.G.Main2()"]);
145testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_Interface_Implementation_0, "N.I.Goo()"), ["N.G.Main()"]);
179testState.VerifyRoot(root, "N.C.Goo()", [string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), EditorFeaturesResources.Calls_To_Overrides]);
180testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), ["N.D.Bar()"]);
215testState.VerifyRoot(root, "N.D.Goo()", [string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), string.Format(EditorFeaturesResources.Calls_To_Base_Member_0, "N.C.Goo()")]);
216testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), ["N.D.Baz()"]);
217testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_Base_Member_0, "N.C.Goo()"), ["N.D.Bar()"]);
236testState.VerifyRoot(root, "N.C.Goo()", [string.Format(EditorFeaturesResources.Calls_To_0, "Goo")]);
237testState.VerifyResultName(root, string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), [EditorFeaturesResources.Initializers]);
256testState.VerifyRoot(root, "N.C.goo", [string.Format(EditorFeaturesResources.References_To_Field_0, "goo")]);
257testState.VerifyResult(root, string.Format(EditorFeaturesResources.References_To_Field_0, "goo"), ["N.C.Goo()"]);
285testState.VerifyRoot(root, "N.C.val.get", [string.Format(EditorFeaturesResources.Calls_To_0, "get_val")]);
286testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "get_val"), ["N.C.goo()"]);
312testState.VerifyRoot(root, "N.C.generic<T>(this string, ref T)", [string.Format(EditorFeaturesResources.Calls_To_0, "generic")]);
313testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "generic"), ["N.C.goo()"]);
342testState.VerifyRoot(root, "ConsoleApplication10.Extensions.BarString(this string)", [string.Format(EditorFeaturesResources.Calls_To_0, "BarString")]);
343testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "BarString"), ["ConsoleApplication10.Program.Main(string[])"]);
366testState.VerifyRoot(root, "System.Linq.Enumerable.Single<TSource>(this System.Collections.Generic.IEnumerable<TSource>)", [string.Format(EditorFeaturesResources.Calls_To_0, "Single")]);
367testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "Single"), ["N.Program.Main(string[])"]);
406testState.VerifyRoot(root, "N.I.Goo()", [string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), string.Format(EditorFeaturesResources.Implements_0, "Goo")]);
407testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), ["N.G.Main()"]);
408testState.VerifyResult(root, string.Format(EditorFeaturesResources.Implements_0, "Goo"), ["N.C.Goo()"]);
453testState.VerifyRoot(root, "N.C.Goo()", [string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), EditorFeaturesResources.Overrides_]);
478testState.VerifyRoot(root, "Base.M()", [string.Format(EditorFeaturesResources.Calls_To_0, "M"), EditorFeaturesResources.Overrides_, EditorFeaturesResources.Calls_To_Overrides]);
506testState.VerifyRoot(root, "N.C.Goo()", [string.Format(EditorFeaturesResources.Calls_To_0, "Goo"),]);
507testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), expectedCallers: ["N.C.M()"]);
528testState.VerifyRoot(root, "N.C.Property.set", [string.Format(EditorFeaturesResources.Calls_To_0, "set_Property")]);
529testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "set_Property"), ["N.C.M()"]);
550testState.VerifyRoot(root, "Class1.Class1(string)", [string.Format(EditorFeaturesResources.Calls_To_0, ".ctor")]);
551testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, ".ctor"), ["D.M()"]);
Microsoft.VisualStudio.LanguageServices.Test.Utilities2 (2)
Microsoft.VisualStudio.LanguageServices.VisualBasic (8)
Microsoft.Win32.Registry (1)
Microsoft.Win32.Registry.AccessControl (1)
Microsoft.Win32.SystemEvents (1)
MSBuild (1)
MSBuildTaskHost (1)
PresentationBuildTasks (1)
PresentationCore (7)
PresentationFramework (3)
PresentationUI (1)
ReachFramework (1)
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.Tests (2)
System.ServiceModel.NetFramingBase (1)
System.ServiceModel.NetNamedPipe (1)
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 (1)
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.Web.Services.Description (1)
System.Windows.Controls.Ribbon (1)
System.Windows.Extensions (1)
System.Windows.Forms (337)
System.Windows.Forms.Analyzers (1)
System.Windows.Forms.Analyzers.CSharp (1)
System.Windows.Forms.Design (133)
System.Windows.Forms.Primitives (2)
System.Windows.Input.Manipulations (1)
System.Xaml (1)
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)
VisualBasicErrorFactsGenerator (1)
VisualBasicSyntaxGenerator (22)
Util\WriteUtils.vb (13)
206result = String.Format(If(isGreen, "SeparatedSyntaxList(Of {0})", "SeparatedSyntaxList(Of {0})"), BaseTypeReference(nodeChild))
209result = String.Format("SyntaxList(Of {0})", BaseTypeReference(nodeChild))
215result = String.Format("SyntaxList(Of {0})", BaseTypeReference(nodeChild))
260Return String.Format("Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.{0}", result)
262Return String.Format("InternalSyntax.{0}", result)
272Return String.Format(If(isGreen, "GreenNode", "SeparatedSyntaxList(Of {0})"), BaseTypeReference(nodeChild))
274Return String.Format(If(isGreen, "GreenNode", "SyntaxList(Of {0})"), BaseTypeReference(nodeChild))
291Return String.Format("SyntaxList(Of {0})", SeparatorsBaseTypeReference(nodeChild))
316Return String.Format("Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)", BaseTypeReference(nodeChild))
318Return String.Format("SeparatedSyntaxList(Of {0})", BaseTypeReference(nodeChild))
322Return String.Format("Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList(of GreenNode)", StructureTypeName(_parseTree.RootStructure))
327Return String.Format("SyntaxList(of {0})", BaseTypeReference(nodeChild))
334Return String.Format("SyntaxToken", BaseTypeReference(nodeChild))
WindowsFormsIntegration (1)
XmlFileLogger (2)
xunit.console (1)