13 overrides of FullName
System.Private.CoreLib (9)
System.Reflection.Context (1)
System.Reflection.Emit (1)
System.Reflection.MetadataLoadContext (1)
System.Windows.Forms.Tests (1)
4043 references to FullName
ApiExplorerWebSite (4)
Aspire.Confluent.Kafka (2)
Aspire.Dashboard (2)
Aspire.Dashboard.Components.Tests (2)
Aspire.Dashboard.Tests (10)
Aspire.Hosting (2)
Aspire.Hosting.Keycloak.Tests (2)
Aspire.Hosting.MySql.Tests (2)
Aspire.Hosting.Nats.Tests (2)
Aspire.Hosting.Oracle.Tests (2)
Aspire.Hosting.PostgreSQL.Tests (2)
Aspire.Hosting.Qdrant.Tests (2)
Aspire.Hosting.RabbitMQ.Tests (2)
Aspire.Hosting.SqlServer.Tests (2)
Aspire.Hosting.Testing.Tests (2)
Aspire.Hosting.Tests (3)
Aspire.Microsoft.Data.SqlClient (1)
Aspire.Microsoft.EntityFrameworkCore.SqlServer (1)
Aspire.Playground.Tests (5)
Aspire.RabbitMQ.Client (1)
Aspire.StackExchange.Redis (2)
BuildActionTelemetryTable (8)
CodeStyleConfigFileGenerator (2)
ConfigurationSchemaGenerator (5)
ControllersFromServicesWebSite (1)
DemoConsole (1)
dotnet-svcutil.xmlserializer (2)
dotnet-svcutil-lib (329)
CodeDomFixup\ConfigToCode.cs (14)
129else if (ctor.Parameters.Count == 1 && !string.Equals(ctor.Parameters[0].Type.BaseType, typeof(string).FullName, StringComparison.Ordinal))
137else if (ctor.Parameters.Count == 1 && string.Equals(ctor.Parameters[0].Type.BaseType, typeof(string).FullName, StringComparison.Ordinal))
153else if (ctor.Parameters.Count == 2 && string.Equals(ctor.Parameters[1].Type.BaseType, typeof(string).FullName, StringComparison.Ordinal))
207else if (ctor.Parameters.Count == 1 && string.Equals(ctor.Parameters[0].Type.BaseType, typeof(string).FullName, StringComparison.Ordinal))
236else if (ctor.Parameters.Count == 2 && string.Equals(ctor.Parameters[0].Type.BaseType, typeof(string).FullName, StringComparison.Ordinal)
237&& string.Equals(ctor.Parameters[1].Type.BaseType, typeof(string).FullName, StringComparison.Ordinal))
265else if (ctor.Parameters.Count == 2 && string.Equals(ctor.Parameters[0].Type.BaseType, typeof(string).FullName, StringComparison.Ordinal) &&
266string.Equals(ctor.Parameters[1].Type.BaseType, typeof(EndpointAddress).FullName, StringComparison.Ordinal))
314if (ctor.Parameters.Count > 0 && string.Equals(ctor.Parameters[0].Type.BaseType, typeof(InstanceContext).FullName))
337else if (ctor.Parameters.Count == 2 && string.Equals(ctor.Parameters[1].Type.BaseType, typeof(string).FullName, StringComparison.Ordinal))
366else if (ctor.Parameters.Count == 3 && string.Equals(ctor.Parameters[1].Type.BaseType, typeof(string).FullName, StringComparison.Ordinal)
367&& string.Equals(ctor.Parameters[2].Type.BaseType, typeof(string).FullName, StringComparison.Ordinal))
394else if (ctor.Parameters.Count == 3 && string.Equals(ctor.Parameters[1].Type.BaseType, typeof(string).FullName, StringComparison.Ordinal)
395&& string.Equals(ctor.Parameters[2].Type.BaseType, typeof(EndpointAddress).FullName, StringComparison.Ordinal))
CodeDomFixup\EndpointSelector.cs (22)
45s_bindingValidationErrors.Add(string.Format(SR.BindingTypeNotSupportedFormat, binding.GetType().FullName,
46typeof(BasicHttpBinding).FullName, typeof(NetHttpBinding).FullName, typeof(WSHttpBinding).FullName, typeof(NetTcpBinding).FullName, typeof(CustomBinding).FullName));
129s_bindingValidationErrors.Add(string.Format(SR.BindingTransportTypeNotSupportedFormat, bindingElement.GetType().FullName,
130typeof(HttpTransportBindingElement).FullName, typeof(HttpsTransportBindingElement).FullName, typeof(TcpTransportBindingElement).FullName));
137s_bindingValidationErrors.Add(string.Format(SR.BindingMessageEncodingElementNotSupportedFormat, bindingElement.GetType().FullName,
138typeof(BinaryMessageEncodingBindingElement).FullName, typeof(TextMessageEncodingBindingElement).FullName));
218s_bindingValidationErrors.Add(string.Format(SR.BindingElementTypeNotSupportedFormat, bindingElement.GetType().FullName));
250endorsingTokenParams.BootstrapSecurityBindingElement.GetType().FullName, typeof(TransportSecurityBindingElement).FullName));
267transportSecurityBindingElement.DefaultAlgorithmSuite.GetType().FullName, SecurityAlgorithmSuite.Default.GetType().FullName));
297transportSecurityBindingElement.DefaultAlgorithmSuite.GetType().FullName, SecurityAlgorithmSuite.Default.GetType().FullName));
322transportSecurityBindingElement.EndpointSupportingTokenParameters.SignedEncrypted[0].GetType().FullName, typeof(UserNameSecurityTokenParameters).FullName));
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");
709String message = string.Format(SRCodeDom.InvalidTypeName, typeName, propertyName, e.GetType().FullName);
718String message = string.Format(SRCodeDom.InvalidLanguageIdentifier, identifier, propertyName, e.GetType().FullName);
833throw new ArgumentException(string.Format(SRCodeDom.InvalidElementType, e.GetType().FullName), "e");
1019throw new ArgumentException(string.Format(SRCodeDom.InvalidElementType, e.GetType().FullName), "e");
FrameworkFork\Microsoft.Xml\Xml\Serialization\Mappings.cs (6)
1309throw new InvalidOperationException(string.Format(ResXml.XmlSerializableRootDupName, _getSchemaMethod.DeclaringType.FullName, e.Name, elementNs));
1363throw new InvalidOperationException(string.Format(ResXml.XmlGetSchemaEmptyTypeName, _type.FullName, _getSchemaMethod.Name));
1368throw new InvalidOperationException(string.Format(ResXml.XmlGetSchemaMethodReturnType, _type.Name, _getSchemaMethod.Name, typeof(XmlSchemaProviderAttribute).Name, typeof(XmlQualifiedName).FullName));
1395throw new InvalidOperationException(string.Format(ResXml.XmlGetSchemaInclude, _xsiType.Namespace, _getSchemaMethod.DeclaringType.FullName, _getSchemaMethod.Name));
1405throw new InvalidOperationException(string.Format(ResXml.XmlGetSchemaTypeMissing, _getSchemaMethod.DeclaringType.FullName, _getSchemaMethod.Name, _xsiType.Name, _xsiType.Namespace));
1418if (_schema.Id == null || _schema.Id.Length == 0) throw new InvalidOperationException(string.Format(ResXml.XmlSerializableNameMissing1, _type.FullName));
FrameworkFork\Microsoft.Xml\Xml\Serialization\Models.cs (7)
63if (!typeDesc.IsSpecial) throw new NotSupportedException(string.Format(ResXml.XmlUnsupportedTypeKind, type.FullName));
195throw new InvalidOperationException(string.Format(ResXml.XmlSerializerUnsupportedMember, member.DeclaringType.FullName + "." + member.Name, type.FullName), typeDesc.Exception);
290throw new InvalidOperationException(string.Format(ResXml.XmlInvalidSpecifiedType, specifiedField.Name, specifiedField.FieldType.FullName, typeof(bool).FullName));
307throw new InvalidOperationException(string.Format(ResXml.XmlInvalidSpecifiedType, specifiedProperty.Name, specifiedProperty.PropertyType.FullName, typeof(bool).FullName));
FrameworkFork\Microsoft.Xml\Xml\Serialization\Types.cs (16)
119: this(type.Name, type.FullName, dataType, TypeKind.Primitive, (TypeDesc)null, flags, formatterName)
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));
854arrayElementType = GetCollectionElementType(type, memberInfo == null ? null : memberInfo.DeclaringType.FullName + "." + memberInfo.Name);
867exception = new NotSupportedException(string.Format(ResXml.XmlSerializerUnsupportedType, type.FullName));
923exception = new NotSupportedException(string.Format(ResXml.XmlUnsupportedInterface, type.FullName));
927exception = new NotSupportedException(string.Format(ResXml.XmlUnsupportedInterfaceDetails, memberInfo.DeclaringType.FullName + "." + memberInfo.Name, type.FullName));
937exception = new NotSupportedException(string.Format(ResXml.XmlSerializerUnsupportedType, type.FullName));
1330throw new InvalidOperationException(string.Format(ResXml.XmlNoAddMethod, type.FullName, currentType, "IEnumerable"));
1346throw new NotSupportedException(string.Format(ResXml.XmlUnsupportedIDictionary, type.FullName));
1350throw new NotSupportedException(string.Format(ResXml.XmlUnsupportedIDictionaryDetails, memberInfo, type.FullName));
1381throw new InvalidOperationException(string.Format(ResXml.XmlNoDefaultAccessors, type.FullName));
1386throw new InvalidOperationException(string.Format(ResXml.XmlNoAddMethod, type.FullName, indexer.PropertyType, "ICollection"));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (23)
161codeClass.CustomAttributes.Add(new CodeAttributeDeclaration(typeof(DebuggerStepThroughAttribute).FullName));
183string rootAttrName = typeof(XmlRootAttribute).FullName;
263typeofValue = new CodeTypeOfExpression(type.FullName);
265initExpression = new CodeCastExpression(type.FullName, new CodePrimitiveExpression(value));
277typeofValue = new CodeTypeOfExpression(type.FullName);
279initExpression = new CodeCastExpression(type.FullName, new CodePrimitiveExpression(value));
302typeofValue = new CodeTypeOfExpression(type.FullName);
309typeofValue = new CodeTypeOfExpression(type.FullName);
462AddWarningComment(comments, string.Format(ResXml.XmlNotKnownDefaultValue, extension.GetType().FullName, attributeName, (string)defaultValue, mapping.TypeName, mapping.Namespace));
535CodeAttributeDeclaration attribute = new CodeAttributeDeclaration(typeof(DefaultValueAttribute).FullName, arguments);
707CodeAttributeDeclaration attribute = new CodeAttributeDeclaration(typeof(XmlNamespaceDeclarationsAttribute).FullName);
797CodeAttributeDeclaration attribute = new CodeAttributeDeclaration(typeof(XmlChoiceIdentifierAttribute).FullName);
803CodeAttributeDeclaration attribute = new CodeAttributeDeclaration(typeof(XmlIgnoreAttribute).FullName);
820field = new CodeMemberField(typeof(bool).FullName, member.Name + "Specified");
823CodeAttributeDeclaration attribute = new CodeAttributeDeclaration(typeof(XmlIgnoreAttribute).FullName);
845field = new CodeMemberField(typeof(bool).FullName, fieldName + "Specified");
849prop = CreatePropertyDeclaration(field, member.Name + "Specified", typeof(bool).FullName);
851CodeAttributeDeclaration attribute = new CodeAttributeDeclaration(typeof(XmlIgnoreAttribute).FullName);
859CodeAttributeDeclaration attribute = new CodeAttributeDeclaration(typeof(XmlTextAttribute).FullName);
893CodeAttributeDeclaration attribute = new CodeAttributeDeclaration(attributeType.FullName);
912attribute.Arguments.Add(new CodeAttributeArgument("Form", new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(XmlSchemaForm).FullName), Enum.Format(typeof(XmlSchemaForm), form, "G"))));
945CodeAttributeDeclaration attribute = new CodeAttributeDeclaration(typeof(XmlAnyElementAttribute).FullName);
963metadata.Add(new CodeAttributeDeclaration(typeof(XmlAnyAttributeAttribute).FullName));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (20)
130throw new InvalidOperationException(string.Format(ResXml.XmlAnonymousInclude, type.FullName));
414throw new InvalidOperationException(string.Format(ResXml.XmlInvalidTypeAttributes, model.Type.FullName));
493throw new InvalidOperationException(string.Format(ResXml.XmlGetSchemaMethodMissing, provider.MethodName, typeof(XmlSchemaSet).Name, type.FullName));
496throw new InvalidOperationException(string.Format(ResXml.XmlGetSchemaMethodReturnType, type.Name, provider.MethodName, typeof(XmlSchemaProviderAttribute).Name, typeof(XmlQualifiedName).FullName, typeof(XmlSchemaType).FullName));
628return new InvalidOperationException(string.Format(ResXml.XmlInvalidAttributeUse, type.FullName));
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));
1425throw new InvalidOperationException(string.Format(ResXml.XmlChoiceIdentifierType, identifierName, memberName, type.GetElementType().FullName));
1432throw new InvalidOperationException(string.Format(ResXml.XmlChoiceIdentifierArrayType, identifierName, memberName, type.FullName));
1673throw new InvalidOperationException(string.Format(ResXml.XmlIllegalAnyElement, arrayElementType.FullName));
1851throw new InvalidOperationException(string.Format(ResXml.XmlXmlnsInvalidType, accessorName, accessorType.FullName, typeof(XmlSerializerNamespaces).FullName));
1916throw new InvalidOperationException(string.Format(ResXml.XmlIllegalAnyElement, accessorType.FullName));
2101XmlArrayItemAttribute item = (XmlArrayItemAttribute)arrayTypes[type.FullName, ns];
2108arrayTypes[type.FullName, ns] = items[i];
2148throw new InvalidOperationException(string.Format(ResXml.XmlInvalidDefaultValue, strValue, a.XmlDefaultValue.GetType().FullName));
2187throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorDetails, "Bad accessor type " + accessor.GetType().FullName));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (5)
110throw new InvalidOperationException(string.Format(ResXml.XmlBadBaseElement, name.Name, name.Namespace, baseType.FullName));
170throw new InvalidOperationException(string.Format(ResXml.XmlBadBaseType, typeName.Name, typeName.Namespace, baseType.FullName));
453throw new InvalidOperationException(string.Format(ResXml.XmlImporterExtensionBadLocalTypeName, typeOwner.GetType().FullName, typeName));
457throw new InvalidOperationException(string.Format(ResXml.XmlImporterExtensionBadTypeName, typeOwner.GetType().FullName, qname.Name, qname.Namespace, typeName));
1840if (sourceTypeDesc != null && sourceTypeDesc.FullName != typeof(string).FullName)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationReader.cs (7)
1414return new InvalidCastException(string.Format(ResXml.XmlInvalidNullCast, type.FullName));
1416return new InvalidCastException(string.Format(ResXml.XmlInvalidCast, value.GetType().FullName, type.FullName));
1418return new InvalidCastException(string.Format(ResXml.XmlInvalidCastWithId, value.GetType().FullName, type.FullName, id));
1649throw new InvalidOperationException(string.Format(ResXml.XmlInvalidArrayRef, id, o.GetType().FullName, i.ToString()));
1766throw new NotSupportedException(string.Format(ResXml.XmlRpcArrayOfValueTypes, elementType.FullName));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (61)
468if (_objectsInUse.ContainsKey(o)) throw new InvalidOperationException(string.Format(ResXml.XmlCircularReference, o.GetType().FullName));
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));
1533Writer.Write(typeof(XmlSerializationWriter).FullName);
1624Writer.Write(typeof(XmlSerializationWriteCallback).FullName);
1699Writer.Write(typeof(XmlConvert).FullName);
1904string source = "((" + typeof(XmlSerializerNamespaces).FullName + ")p[" + xmlnsMember.ToString() + "])";
2188Writer.Write(typeof(long).FullName);
2379Writer.Write(typeof(Type).FullName);
2459if (mapping.TypeDesc.UseReflection) methodInvoke = "((" + typeof(bool).FullName + ")" + methodInvoke + ")";
2468if (mapping.TypeDesc.UseReflection) memberGet = "((" + typeof(bool).FullName + ")" + memberGet + ")";
2500if (mapping.TypeDesc.UseReflection) methodInvoke = "((" + typeof(bool).FullName + ")" + methodInvoke + ")";
2509if (mapping.TypeDesc.UseReflection) memberGet = "((" + typeof(bool).FullName + ")" + memberGet + ")";
2586Writer.Write(typeof(StringBuilder).FullName);
2588Writer.Write(typeof(StringBuilder).FullName);
2597Writer.Write(typeof(IEnumerator).FullName);
2601Writer.Write(typeof(IEnumerable).FullName);
2610Writer.Write(typeof(IEnumerator).FullName);
2627Writer.Write(typeof(IEnumerator).FullName);
2650Writer.Write(typeof(ICollection).FullName);
2803Writer.Write(typeof(IEnumerator).FullName);
2808Writer.Write(typeof(IEnumerable).FullName);
2819Writer.Write(typeof(IEnumerator).FullName);
2840Writer.Write(typeof(IEnumerator).FullName);
2868Writer.Write(typeof(ICollection).FullName);
2995string fullTypeName = typeof(XmlElement).FullName;
3260Writer.Write(typeof(ICollection).FullName);
3417Writer.Write(typeof(XmlNode).FullName);
3449Writer.Write(cast.FullName);
3562Writer.Write(type.FullName);
3578Writer.Write(type.FullName);
3590throw new InvalidOperationException(string.Format(ResXml.XmlUnsupportedDefaultType, type.FullName));
3857_writer.WriteLine("static " + typeof(Type).FullName + " " + typeVariable + " = " + elementTypeVariable + ".MakeArrayType();");
3862_writer.Write("static " + typeof(Type).FullName + " " + typeVariable + " = " + assemblyVariable + ".GetType(");
3863WriteQuotedCSharpString(type.FullName);
3875_writer.WriteLine("static " + typeof(Type).FullName + " " + typeVariable + " = typeof(System.Nullable<>).MakeGenericType(new " + typeof(Type).FullName + "[] {" + parameterTypeVariable + "});");
3880_writer.Write("static " + typeof(Type).FullName + " " + typeVariable + " = " + assemblyVariable + ".GetType(");
3881WriteQuotedCSharpString(type.FullName);
3907"object", "string", typeof(Type).FullName,
3908typeof(FieldInfo).FullName, typeof(PropertyInfo).FullName,
3909typeof(MemberInfo).FullName, string.Empty /*typeof(MemberTypes).FullName*/));
3911WriteDefaultIndexerInit(typeof(IList), typeof(Array).FullName, false, false);
3985_writer.Write("static " + typeof(Assembly).FullName + " " + assemblyVariable + " = " + "ResolveDynamicAssembly(");
4024_writer.Write("static " + typeof(MethodInfo).FullName + " " + methodVariable + " = " + typeVariable + ".GetMethod(");
4028string bindingFlags = typeof(BindingFlags).FullName;
4043_writer.Write("new " + typeof(Type).FullName + "[] { ");
4069_writer.Write(typeof(Type[]).FullName);
4135return typeof(Convert).FullName + ".ToInt64(" + variable + ")";
4136return "((" + typeof(long).FullName + ")" + variable + ")";
4202string typeFullName = arrayTypeDesc.IsCollection ? arrayTypeDesc.CSharpName : typeof(Array).FullName;
4235createInstance.Append(typeof(Activator).FullName);
4239string bindingFlags = typeof(BindingFlags).FullName;
4314typeName = typeof(IEnumerable).FullName;
4316typeName = typeof(ICollection).FullName;
4318typeName = typeof(Array).FullName;
FrameworkFork\System.ServiceModel\System\ServiceModel\ChannelFactory.cs (6)
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);
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)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceReflector.cs (7)
395throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.ServicesWithoutAServiceContractAttributeCan2, operationContractProviderType.Name, method.Name, service.FullName)));
570throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxDisallowedAttributeCombination, attrProvider, attrType.FullName, otherType.FullName)));
793throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.NoEndMethodFoundForAsyncBeginMethod3, beginMethod.Name, beginMethod.DeclaringType.FullName, endMethodName)));
797throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.MoreThanOneEndMethodFoundForAsyncBeginMethod3, beginMethod.Name, beginMethod.DeclaringType.FullName, endMethodName)));
808throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.InvalidAsyncEndMethodSignatureForMethod2, endMethod.Name, endMethod.DeclaringType.FullName)));
841throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.InvalidAsyncBeginMethodSignatureForMethod2, method.Name, method.DeclaringType.FullName)));
GenerateDocumentationAndConfigFiles (67)
HtmlGenerationWebSite (2)
IIS.FunctionalTests (1)
IISExpress.FunctionalTests (1)
illink (4)
ILLink.RoslynAnalyzer (2)
Infrastructure.Common (1)
InMemory.FunctionalTests (3)
Interop.FunctionalTests (1)
Metrics (62)
Metrics.Legacy (62)
Microsoft.Analyzers.Extra.Tests (1)
Microsoft.Analyzers.Local.Tests (1)
Microsoft.AspNetCore (1)
Microsoft.AspNetCore.Antiforgery.Test (5)
Microsoft.AspNetCore.App.CodeFixes (1)
Microsoft.AspNetCore.Authentication (2)
Microsoft.AspNetCore.Authentication.Core (1)
Microsoft.AspNetCore.Authentication.OAuth (1)
Microsoft.AspNetCore.Authentication.OpenIdConnect (6)
Microsoft.AspNetCore.Authentication.Twitter (1)
Microsoft.AspNetCore.Authentication.WsFederation (1)
Microsoft.AspNetCore.Authorization (1)
Microsoft.AspNetCore.Components (57)
Microsoft.AspNetCore.Components.Authorization.Tests (3)
Microsoft.AspNetCore.Components.Endpoints (38)
Microsoft.AspNetCore.Components.Endpoints.Tests (18)
EndpointHtmlRendererTest.cs (16)
93Assert.Equal(typeof(SimpleComponent).FullName, marker.TypeName);
184Assert.Equal(typeof(SimpleComponent).FullName, preambleMarker.TypeName);
227Assert.Equal(typeof(GreetingComponent).FullName, marker.TypeName);
265Assert.Equal(typeof(GreetingComponent).FullName, marker.TypeName);
302Assert.Equal(typeof(GreetingComponent).FullName, preambleMarker.TypeName);
352Assert.Equal(typeof(GreetingComponent).FullName, preambleMarker.TypeName);
416Assert.Equal(typeof(SimpleComponent).FullName, serverComponent.TypeName);
450Assert.Equal(typeof(SimpleComponent).FullName, serverComponent.TypeName);
567Assert.Equal(typeof(GreetingComponent).FullName, serverComponent.TypeName);
606Assert.Equal(typeof(GreetingComponent).FullName, serverComponent.TypeName);
647Assert.Equal(typeof(GreetingComponent).FullName, serverComponent.TypeName);
698Assert.Equal(typeof(GreetingComponent).FullName, serverComponent.TypeName);
1228Assert.Equal(typeof(InteractiveGreetingServer).FullName, serverComponent.TypeName);
1257Assert.Equal(typeof(InteractiveGreetingServerNonPrerendered).FullName, serverComponent.TypeName);
1276Assert.Equal(typeof(InteractiveGreetingWebAssembly).FullName, marker.TypeName);
1289Assert.Equal(typeof(InteractiveGreetingWebAssemblyNonPrerendered).FullName, marker.TypeName);
Microsoft.AspNetCore.Components.Forms.Tests (2)
Microsoft.AspNetCore.Components.QuickGrid (1)
Microsoft.AspNetCore.Components.Server (6)
Microsoft.AspNetCore.Components.Server.Tests (38)
Circuits\ServerComponentDeserializerTest.cs (25)
35Assert.Equal(typeof(TestComponent).FullName, deserializedDescriptor.ComponentType.FullName);
50Assert.Equal(typeof(TestComponent).FullName, deserializedDescriptor.ComponentType.FullName);
69Assert.Equal(typeof(TestComponent).FullName, deserializedDescriptor.ComponentType.FullName);
90Assert.Equal(typeof(TestComponent).FullName, firstDescriptor.ComponentType.FullName);
94Assert.Equal(typeof(TestComponent).FullName, secondDescriptor.ComponentType.FullName);
112Assert.Equal(typeof(TestComponent).FullName, firstDescriptor.ComponentType.FullName);
120Assert.Equal(typeof(TestComponent).FullName, secondDescriptor.ComponentType.FullName);
142Assert.Equal(typeof(TestComponent).FullName, firstDescriptor.ComponentType.FullName);
150Assert.Equal(typeof(TestComponent).FullName, secondDescriptor.ComponentType.FullName);
315Assert.Equal(typeof(TestComponent).FullName, descriptor.ComponentType.FullName);
331Assert.Equal(typeof(TestComponent).FullName, firstDescriptor.ComponentType.FullName);
337Assert.Equal(typeof(TestComponent).FullName, secondDescriptor.ComponentType.FullName);
449var key = new ComponentMarkerKey(type.FullName, null);
Microsoft.AspNetCore.Components.Tests (37)
Microsoft.AspNetCore.Components.Web.Tests (2)
Microsoft.AspNetCore.Components.WebAssembly (4)
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
Microsoft.AspNetCore.Components.WebView.Wpf (1)
Microsoft.AspNetCore.Components.WebViewE2E.Test (2)
Microsoft.AspNetCore.DataProtection (9)
Microsoft.AspNetCore.DataProtection.Abstractions (1)
Microsoft.AspNetCore.DataProtection.Abstractions.Tests (1)
Microsoft.AspNetCore.DataProtection.Tests (2)
Microsoft.AspNetCore.Diagnostics (7)
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (2)
Microsoft.AspNetCore.Diagnostics.Tests (1)
Microsoft.AspNetCore.Grpc.JsonTranscoding (4)
Microsoft.AspNetCore.Hosting (6)
Microsoft.AspNetCore.Hosting.Tests (2)
Microsoft.AspNetCore.Http (1)
Microsoft.AspNetCore.Http.Abstractions (1)
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
Microsoft.AspNetCore.Http.Connections.Tests (5)
Microsoft.AspNetCore.Http.Extensions (32)
Microsoft.AspNetCore.Http.Extensions.Tests (2)
Microsoft.AspNetCore.Http.Results (2)
Microsoft.AspNetCore.Http.Results.Tests (3)
Microsoft.AspNetCore.Identity (26)
SignInManager.cs (25)
204_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, signInResult, SignInType.Refresh, isPersistent);
208_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result: null, SignInType.Refresh, isPersistent: null, ex);
316_metrics?.SignInUserPrincipal(typeof(TUser).FullName!, AuthenticationScheme, authenticationProperties.IsPersistent);
320_metrics?.SignInUserPrincipal(typeof(TUser).FullName!, AuthenticationScheme, isPersistent: null, ex);
343_metrics?.SignOutUserPrincipal(typeof(TUser).FullName!, AuthenticationScheme);
347_metrics?.SignOutUserPrincipal(typeof(TUser).FullName!, AuthenticationScheme, ex);
430_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result, SignInType.Password, isPersistent);
436_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result: null, SignInType.Password, isPersistent, ex);
457_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, SignInResult.Failed, SignInType.Password, isPersistent);
479_metrics?.CheckPasswordSignIn(typeof(TUser).FullName!, result);
485_metrics?.CheckPasswordSignIn(typeof(TUser).FullName!, result: null, ex);
622_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result, SignInType.Passkey, isPersistent: false);
628_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result: null, SignInType.Passkey, isPersistent: false, ex);
935_metrics?.RememberTwoFactorClient(typeof(TUser).FullName!, IdentityConstants.TwoFactorRememberMeScheme);
939_metrics?.RememberTwoFactorClient(typeof(TUser).FullName!, IdentityConstants.TwoFactorRememberMeScheme, ex);
953_metrics?.ForgetTwoFactorClient(typeof(TUser).FullName!, IdentityConstants.TwoFactorRememberMeScheme);
957_metrics?.ForgetTwoFactorClient(typeof(TUser).FullName!, IdentityConstants.TwoFactorRememberMeScheme, ex);
972_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result, SignInType.TwoFactorRecoveryCode, isPersistent: false);
978_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result: null, SignInType.TwoFactorRecoveryCode, isPersistent: false, ex);
1053_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result, SignInType.TwoFactorAuthenticator, isPersistent);
1059_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result: null, SignInType.TwoFactorAuthenticator, isPersistent, ex);
1117_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result, SignInType.TwoFactor, isPersistent);
1123_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result: null, SignInType.TwoFactor, isPersistent, ex);
1206_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result, SignInType.External, isPersistent);
1212_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result: null, SignInType.External, isPersistent, ex);
Microsoft.AspNetCore.Identity.UI (2)
Microsoft.AspNetCore.InternalTesting (4)
Microsoft.AspNetCore.InternalTesting.Tests (1)
Microsoft.AspNetCore.JsonPatch (4)
Microsoft.AspNetCore.JsonPatch.SystemTextJson (4)
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (2)
Microsoft.AspNetCore.JsonPatch.Tests (2)
Microsoft.AspNetCore.MiddlewareAnalysis (1)
Microsoft.AspNetCore.Mvc.Abstractions (6)
Microsoft.AspNetCore.Mvc.Core (51)
Microsoft.AspNetCore.Mvc.Core.Test (69)
ApplicationModels\ControllerActionDescriptorProviderTests.cs (21)
48Assert.Equal($"{controllerTypeInfo.FullName}.{nameof(PersonController.GetPerson)} ({controllerTypeInfo.Assembly.GetName().Name})", descriptor.DisplayName);
427$"For action: '{controllerTypeInfo.FullName}.Unknown ({assemblyName})'" + Environment.NewLine +
433$"For action: '{controllerTypeInfo.FullName}.Invalid ({assemblyName})'" + Environment.NewLine +
667$"A method '{controllerTypeInfo.FullName}.Method ({assemblyName})'" +
669$"Action: '{controllerTypeInfo.FullName}.Method ({assemblyName})' " +
672$"Action: '{controllerTypeInfo.FullName}.Method ({assemblyName})' - " +
710+ $"A method '{controllerTypeInfo.FullName}.GetUser ({assemblyName})'" +
713$"Action: '{controllerTypeInfo.FullName}.GetUser ({assemblyName})' " +
717+ $"Action: '{controllerTypeInfo.FullName}.GetUser ({assemblyName})' " +
767Assert.Contains($"Action: '{sameNameType.FullName}.Get ({assemblyName})' - Template: 'Products'", ex.Message);
768Assert.Contains($"Action: '{sameNameType.FullName}.Get ({assemblyName})' - Template: 'Products/{{id}}'", ex.Message);
769Assert.Contains($"Action: '{sameNameType.FullName}.Put ({assemblyName})' - Template: 'Products/{{id}}'", ex.Message);
770Assert.Contains($"Action: '{sameNameType.FullName}.Post ({assemblyName})' - Template: 'Products'", ex.Message);
771Assert.Contains($"Action: '{sameNameType.FullName}.Delete ({assemblyName})' - Template: 'Products/{{id}}'", ex.Message);
774Assert.Contains($"Action: '{sameNameType.FullName}.GetItems ({assemblyName})' - Template: 'Items/{{id}}'", ex.Message);
775Assert.Contains($"Action: '{sameNameType.FullName}.PostItems ({assemblyName})' - Template: 'Items'", ex.Message);
776Assert.Contains($"Action: '{sameNameType.FullName}.PutItems ({assemblyName})' - Template: 'Items/{{id}}'", ex.Message);
777Assert.Contains($"Action: '{sameNameType.FullName}.DeleteItems ({assemblyName})' - Template: 'Items/{{id}}'", ex.Message);
778Assert.Contains($"Action: '{sameNameType.FullName}.PatchItems ({assemblyName})' - Template: 'Items'", ex.Message);
876$"For action: '{controllerTypeInfo.FullName}.Get ({assemblyName})'" + Environment.NewLine +
1096var expected = $"The action '{type.FullName}.{actionName} ({assemblyName})' has ApiExplorer enabled, but is using conventional routing. " +
Microsoft.AspNetCore.Mvc.Formatters.Xml (4)
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (2)
Microsoft.AspNetCore.Mvc.FunctionalTests (59)
ApiExplorerTest.cs (53)
475Assert.Equal(typeof(void).FullName, responseType.ResponseType);
495Assert.Equal(typeof(void).FullName, responseType.ResponseType);
615var type1 = typeof(ApiExplorerWebSite.Product).FullName;
616var type2 = typeof(SerializableError).FullName;
647var type1 = typeof(ApiExplorerWebSite.Product).FullName;
648var type2 = typeof(SerializableError).FullName;
679var type1 = typeof(ApiExplorerWebSite.Product).FullName;
680var type2 = typeof(SerializableError).FullName;
711var type1 = typeof(ApiExplorerWebSite.Product).FullName;
712var type2 = typeof(SerializableError).FullName;
861Assert.Equal(typeof(XmlDataContractSerializerOutputFormatter).FullName, textXml.FormatterType);
863Assert.Equal(typeof(XmlDataContractSerializerOutputFormatter).FullName, applicationXml.FormatterType);
866Assert.Equal(typeof(NewtonsoftJsonOutputFormatter).FullName, textJson.FormatterType);
868Assert.Equal(typeof(NewtonsoftJsonOutputFormatter).FullName, applicationJson.FormatterType);
889Assert.Equal(typeof(NewtonsoftJsonOutputFormatter).FullName, applicationJson.FormatterType);
892Assert.Equal(typeof(NewtonsoftJsonOutputFormatter).FullName, textJson.FormatterType);
917Assert.Equal(typeof(NewtonsoftJsonOutputFormatter).FullName, responseFormat.FormatterType);
937Assert.Equal(typeof(Product).FullName, responseType.ResponseType);
965Assert.Equal(formatterType.FullName, responseFormat.FormatterType);
985Assert.Equal(typeof(int).FullName, i.Type);
989Assert.Equal(typeof(string).FullName, s.Type);
1010Assert.Equal(typeof(int).FullName, i.Type);
1014Assert.Equal(typeof(string).FullName, s.Type);
1034Assert.Equal(typeof(int).FullName, id.Type);
1038Assert.Equal(typeof(string).FullName, name.Type);
1058Assert.Equal(typeof(int).FullName, id.Type);
1062Assert.Equal(typeof(ApiExplorerWebSite.Product).FullName, product.Type);
1082Assert.Equal(typeof(string).FullName, customerId.Type);
1086Assert.Equal(typeof(string).FullName, referrer.Type);
1090Assert.Equal(typeof(int).FullName, quantity.Type);
1094Assert.Equal(typeof(int).FullName, productId.Type);
1098Assert.Equal(typeof(string).FullName, productName.Type);
1102Assert.Equal(typeof(string).FullName, shippingInstructions.Type);
1106Assert.Equal(typeof(string).FullName, feedback.Type);
1254Assert.Equal(typeof(Stream).FullName, responseType.ResponseType);
1287Assert.Equal(typeof(Product).FullName, responseType.ResponseType);
1293Assert.Equal(typeof(ProblemDetails).FullName, responseType.ResponseType);
1317Assert.Equal(typeof(IEnumerable<Product>).FullName, responseType.ResponseType);
1343Assert.Equal(typeof(void).FullName, responseType.ResponseType);
1349Assert.Equal(typeof(ProblemDetails).FullName, responseType.ResponseType);
1378Assert.Equal(typeof(void).FullName, responseType.ResponseType);
1384Assert.Equal(typeof(ProblemDetails).FullName, responseType.ResponseType);
1413Assert.Equal(typeof(void).FullName, responseType.ResponseType);
1419Assert.Equal(typeof(ProblemDetails).FullName, responseType.ResponseType);
1448Assert.Equal(typeof(void).FullName, responseType.ResponseType);
1454Assert.Equal(typeof(ProblemDetails).FullName, responseType.ResponseType);
1460Assert.Equal(typeof(ProblemDetails).FullName, responseType.ResponseType);
1488Assert.Equal(typeof(void).FullName, responseType.ResponseType);
1494Assert.Equal(typeof(ProblemDetails).FullName, responseType.ResponseType);
1500Assert.Equal(typeof(ProblemDetails).FullName, responseType.ResponseType);
1525Assert.Equal(typeof(void).FullName, responseType.ResponseType);
1531Assert.Equal(typeof(ProblemDetails).FullName, responseType.ResponseType);
1554Assert.Equal(type.FullName, responseType.ResponseType);
Microsoft.AspNetCore.Mvc.IntegrationTests (8)
Microsoft.AspNetCore.Mvc.Localization (1)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (8)
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (3)
Microsoft.AspNetCore.Mvc.Razor (4)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (3)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (2)
Microsoft.AspNetCore.Mvc.Razor.Test (1)
Microsoft.AspNetCore.Mvc.RazorPages (6)
Microsoft.AspNetCore.Mvc.RazorPages.Test (10)
Microsoft.AspNetCore.Mvc.TagHelpers (8)
Microsoft.AspNetCore.Mvc.TagHelpers.Test (7)
Microsoft.AspNetCore.Mvc.Test (2)
Microsoft.AspNetCore.Mvc.Testing (1)
Microsoft.AspNetCore.Mvc.ViewFeatures (33)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (22)
Microsoft.AspNetCore.OpenApi (2)
Microsoft.AspNetCore.Owin (7)
Microsoft.AspNetCore.Owin.Tests (1)
Microsoft.AspNetCore.Routing (6)
Microsoft.AspNetCore.Routing.Tests (2)
Microsoft.AspNetCore.Server.IIS (1)
Microsoft.AspNetCore.Server.IISIntegration.Tests (1)
Microsoft.AspNetCore.Server.IntegrationTesting (1)
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Microsoft.AspNetCore.Session.Tests (24)
SessionTests.cs (24)
836return writeContext.LoggerName.Equals(typeof(SessionMiddleware).FullName)
837|| writeContext.LoggerName.Equals(typeof(DistributedSession).FullName);
841return beginScopeContext.LoggerName.Equals(typeof(SessionMiddleware).FullName)
842|| beginScopeContext.LoggerName.Equals(typeof(DistributedSession).FullName);
879var sessionLogMessage = sink.Writes.Where(message => message.LoggerName.Equals(typeof(DistributedSession).FullName, StringComparison.Ordinal)).Single();
884var sessionMiddlewareLogMessage = sink.Writes.Where(message => message.LoggerName.Equals(typeof(SessionMiddleware).FullName, StringComparison.Ordinal)).Single();
896return writeContext.LoggerName.Equals(typeof(SessionMiddleware).FullName)
897|| writeContext.LoggerName.Equals(typeof(DistributedSession).FullName);
901return beginScopeContext.LoggerName.Equals(typeof(SessionMiddleware).FullName)
902|| beginScopeContext.LoggerName.Equals(typeof(DistributedSession).FullName);
942var sessionLogMessages = sink.Writes.Where(message => message.LoggerName.Equals(typeof(DistributedSession).FullName, StringComparison.Ordinal)).ToList();
950var sessionMiddlewareLogs = sink.Writes.Where(message => message.LoggerName.Equals(typeof(SessionMiddleware).FullName, StringComparison.Ordinal)).ToList();
962return writeContext.LoggerName.Equals(typeof(SessionMiddleware).FullName)
963|| writeContext.LoggerName.Equals(typeof(DistributedSession).FullName);
967return beginScopeContext.LoggerName.Equals(typeof(SessionMiddleware).FullName)
968|| beginScopeContext.LoggerName.Equals(typeof(DistributedSession).FullName);
1009var sessionLogMessages = sink.Writes.Where(message => message.LoggerName.Equals(typeof(DistributedSession).FullName, StringComparison.Ordinal)).ToList();
1017Assert.DoesNotContain(sink.Writes, message => message.LoggerName.Equals(typeof(SessionMiddleware).FullName, StringComparison.Ordinal));
1026return writeContext.LoggerName.Equals(typeof(SessionMiddleware).FullName)
1027|| writeContext.LoggerName.Equals(typeof(DistributedSession).FullName);
1031return beginScopeContext.LoggerName.Equals(typeof(SessionMiddleware).FullName)
1032|| beginScopeContext.LoggerName.Equals(typeof(DistributedSession).FullName);
1073var sessionLogMessages = sink.Writes.Where(message => message.LoggerName.Equals(typeof(DistributedSession).FullName, StringComparison.Ordinal)).ToList();
1081Assert.DoesNotContain(sink.Writes, message => message.LoggerName.Equals(typeof(SessionMiddleware).FullName, StringComparison.Ordinal));
Microsoft.AspNetCore.Shared.Tests (4)
Microsoft.AspNetCore.SignalR.Client.Core (13)
HubConnection.cs (7)
1062activity.SetTag("error.type", ex.GetType().FullName);
1137Log.PreparingBlockingInvocation(_logger, irq.InvocationId, methodName, irq.ResultType.FullName!, args.Length);
1150Log.IssuingInvocation(_logger, irq.InvocationId, irq.ResultType.FullName!, methodName, args);
1168Log.PreparingStreamingInvocation(_logger, irq.InvocationId, methodName, irq.ResultType.FullName!, args.Length);
1181Log.IssuingInvocation(_logger, irq.InvocationId, irq.ResultType.FullName!, methodName, args);
1257activity.SetTag("error.type", ex.GetType().FullName);
1368throw new InvalidOperationException($"Unexpected message type: {message.GetType().FullName}");
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (105)
HubConnectionTests.cs (70)
112LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
127return writeContext.LoggerName == typeof(HttpConnection).FullName &&
148LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
177LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
206LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
234LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
266LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
301LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
364LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
393LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
433LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
468LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
514LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
549LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
586LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
628LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
670LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
704LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
776LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
813LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
860LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
913LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
954LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
995LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
1025LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
1059LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
1086LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
1113LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
1140LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
1167LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
1195LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
1223LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
1251LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
1278LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
1305LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
1332LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
1381LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
1435LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
1498LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
1553LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
1585LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
1627LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
1662LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
1697LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
1732LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
1783LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
1842LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
1950LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
1985LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
2021LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
2052LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
2082LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
2139return writeContext.LoggerName == typeof(HubConnection).FullName &&
2185LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
2200return writeContext.LoggerName == typeof(HubConnection).FullName &&
2245LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
2260return writeContext.LoggerName == typeof(HubConnection).FullName &&
2311LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
2351LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
2394LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
2447LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
2490LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
2540LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
2599LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
2668LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
2741LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
2793LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
2835LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
2851return writeContext.LoggerName == typeof(HubConnection).FullName &&
2913LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
HubConnectionTests.Tracing.cs (30)
120LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
131"/default" => typeof(TestHub).FullName,
132"/hubT" => typeof(TestHubT).FullName,
133"/dynamic" => typeof(DynamicTestHub).FullName,
291LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
303"/default" => typeof(TestHub).FullName,
304"/hubT" => typeof(TestHubT).FullName,
305"/dynamic" => typeof(DynamicTestHub).FullName,
421LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
432"/default" => typeof(TestHub).FullName,
433"/hubT" => typeof(TestHubT).FullName,
434"/dynamic" => typeof(DynamicTestHub).FullName,
450Assert.Equal(typeof(OperationCanceledException).FullName, tags["error.type"]);
459Assert.Equal(typeof(OperationCanceledException).FullName, tags["error.type"]);
518LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
529"/default" => typeof(TestHub).FullName,
530"/hubT" => typeof(TestHubT).FullName,
531"/dynamic" => typeof(DynamicTestHub).FullName,
547Assert.Equal(typeof(HubException).FullName, tags["error.type"]);
556Assert.Equal(typeof(HubException).FullName, tags["error.type"]);
613LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
624"/default" => typeof(TestHub).FullName,
625"/hubT" => typeof(TestHubT).FullName,
626"/dynamic" => typeof(DynamicTestHub).FullName,
642Assert.Equal(typeof(HubException).FullName, tags["error.type"]);
652Assert.Equal(typeof(HubException).FullName, tags["error.type"]);
712LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
723"/default" => typeof(TestHub).FullName,
724"/hubT" => typeof(TestHubT).FullName,
725"/dynamic" => typeof(DynamicTestHub).FullName,
Microsoft.AspNetCore.SignalR.Client.Tests (31)
Microsoft.AspNetCore.SignalR.Common.Tests (1)
Microsoft.AspNetCore.SignalR.Core (14)
Microsoft.AspNetCore.SignalR.Protocols.Json (1)
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (1)
Microsoft.AspNetCore.SignalR.StackExchangeRedis (1)
Microsoft.AspNetCore.SignalR.Tests (20)
Microsoft.AspNetCore.TestHost (2)
Microsoft.AspNetCore.Tests (2)
Microsoft.AspNetCore.WebSockets.Tests (1)
Microsoft.Bcl.AsyncInterfaces (2)
Microsoft.Bcl.Numerics (2)
Microsoft.Build.Framework (7)
Microsoft.Build.Tasks.CodeAnalysis (2)
Microsoft.Build.Tasks.CodeAnalysis.Sdk (2)
Microsoft.Cci.Extensions (6)
Microsoft.CodeAnalysis (13)
Microsoft.CodeAnalysis.Analyzers (73)
Microsoft.CodeAnalysis.Analyzers.UnitTests (12)
MetaAnalyzers\DoNotStorePerCompilationDataOntoFieldsRuleTests.cs (12)
28GetCSharpExpectedDiagnostic(19, 29, violatingTypeName: typeof(ITypeSymbol).FullName),
29GetCSharpExpectedDiagnostic(20, 28, violatingTypeName: typeof(CSharpCompilation).FullName),
30GetCSharpExpectedDiagnostic(21, 27, violatingTypeName: typeof(INamedTypeSymbol).FullName),
32GetCSharpExpectedDiagnostic(23, 29, violatingTypeName: typeof(IBinaryOperation).FullName),
33GetCSharpExpectedDiagnostic(24, 29, violatingTypeName: typeof(ISymbol).FullName),
34GetCSharpExpectedDiagnostic(25, 29, violatingTypeName: typeof(IOperation).FullName)
84GetBasicExpectedDiagnostic(19, 35, violatingTypeName: typeof(ITypeSymbol).FullName),
85GetBasicExpectedDiagnostic(20, 34, violatingTypeName: typeof(VisualBasicCompilation).FullName),
86GetBasicExpectedDiagnostic(21, 36, violatingTypeName: typeof(INamedTypeSymbol).FullName),
88GetBasicExpectedDiagnostic(23, 35, violatingTypeName: typeof(IBinaryOperation).FullName),
89GetBasicExpectedDiagnostic(24, 35, violatingTypeName: typeof(ISymbol).FullName),
90GetBasicExpectedDiagnostic(25, 35, violatingTypeName: typeof(IOperation).FullName)
Microsoft.CodeAnalysis.AnalyzerUtilities (62)
Microsoft.CodeAnalysis.BannedApiAnalyzers (66)
Microsoft.CodeAnalysis.CodeStyle (70)
Microsoft.CodeAnalysis.CodeStyle.Fixes (7)
Microsoft.CodeAnalysis.Collections.Package (2)
Microsoft.CodeAnalysis.Contracts.Package (2)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.CSharp.CodeStyle (7)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (13)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (5)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (5)
Diagnostics\DiagnosticSuppressorTests.cs (5)
411Diagnostic("AD0001").WithArguments(suppressor.ToString(), typeof(NotImplementedException).FullName, new NotImplementedException().Message, context).WithLocation(1, 1),
455Diagnostic("AD0001").WithArguments(suppressor.ToString(), typeof(NotImplementedException).FullName, new NotImplementedException().Message, context).WithLocation(1, 1),
507typeof(ArgumentException).FullName,
560typeof(System.ArgumentException).FullName,
613typeof(System.ArgumentException).FullName,
Microsoft.CodeAnalysis.CSharp.Features (22)
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (13)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
Microsoft.CodeAnalysis.Debugging.Package (2)
Microsoft.CodeAnalysis.EditorFeatures (5)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities2 (1)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (13)
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (1)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (2)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (6)
Microsoft.CodeAnalysis.Extensions.Package (62)
Microsoft.CodeAnalysis.ExternalAccess.Extensions (7)
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp.CSharp (6)
Microsoft.CodeAnalysis.Features (41)
Microsoft.CodeAnalysis.Features.UnitTests (1)
Microsoft.CodeAnalysis.InteractiveHost (3)
Microsoft.CodeAnalysis.LanguageServer (1)
Microsoft.CodeAnalysis.LanguageServer.Protocol (13)
Microsoft.CodeAnalysis.LanguageServer.UnitTests (1)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (66)
Microsoft.CodeAnalysis.PooledObjects.Package (2)
Microsoft.CodeAnalysis.PublicApiAnalyzers (62)
Microsoft.CodeAnalysis.Rebuild.UnitTests (5)
Microsoft.CodeAnalysis.Remote.ServiceHub (2)
Microsoft.CodeAnalysis.ResxSourceGenerator (62)
Microsoft.CodeAnalysis.Scripting (3)
Microsoft.CodeAnalysis.Test.Utilities (3)
Microsoft.CodeAnalysis.Threading.Package (2)
Microsoft.CodeAnalysis.UnitTests (13)
Microsoft.CodeAnalysis.VisualBasic (1)
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic.Features (2)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces (74)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (3)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (6)
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Microsoft.CommonLanguageServerProtocol.Framework.Example (2)
Microsoft.CommonLanguageServerProtocol.Framework.Package (6)
Microsoft.CSharp (5)
Microsoft.DotNet.Internal.DependencyInjection.Testing (5)
Microsoft.DotNet.RemoteExecutor (2)
Microsoft.DotNet.XUnitAssert.Tests (4)
Microsoft.DotNet.XUnitExtensions (1)
Microsoft.Extensions.AI (5)
Microsoft.Extensions.AI.Abstractions (1)
Microsoft.Extensions.AI.Evaluation (3)
Microsoft.Extensions.Caching.Hybrid (2)
Microsoft.Extensions.Caching.Memory (1)
Microsoft.Extensions.Caching.StackExchangeRedis (2)
Microsoft.Extensions.Compliance.Testing (1)
Microsoft.Extensions.DependencyInjection (7)
Microsoft.Extensions.DependencyInjection.Abstractions (3)
Microsoft.Extensions.Diagnostics.Abstractions (1)
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (4)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (1)
Microsoft.Extensions.Features (2)
Microsoft.Extensions.Http (3)
Microsoft.Extensions.Http.Diagnostics (1)
Microsoft.Extensions.Http.Diagnostics.Tests (1)
Microsoft.Extensions.Identity.Core (67)
UserManager.cs (64)
487_metrics?.CreateUser(typeof(TUser).FullName!, result);
492_metrics?.CreateUser(typeof(TUser).FullName!, result: null, ex);
535_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.Update, ex);
556_metrics?.DeleteUser(typeof(TUser).FullName!, result);
562_metrics?.DeleteUser(typeof(TUser).FullName!, result: null, ex);
637_metrics?.CreateUser(typeof(TUser).FullName!, result);
643_metrics?.CreateUser(typeof(TUser).FullName!, result: null, ex);
724_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.UserName, ex);
754_metrics?.CheckPassword(typeof(TUser).FullName!, userMissing, result);
766_metrics?.CheckPassword(typeof(TUser).FullName!, userMissing: null, result: null, ex);
823_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.AddPassword);
828_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.AddPassword, ex);
869_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.ChangePassword);
874_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.ChangePassword, ex);
919_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.RemovePassword, ex);
989_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.SecurityStamp, ex);
1027_metrics?.UpdateUser(typeof(TUser).FullName!, failureResult, UserUpdateType.ResetPassword);
1034_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.ResetPassword);
1084_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.RemoveLogin, ex);
1103_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.AddLogin);
1108_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.AddLogin, ex);
1182_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.AddClaims, ex);
1212_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.ReplaceClaim, ex);
1254_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.RemoveClaims, ex);
1288_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.AddToRoles);
1293_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.AddToRoles, ex);
1327_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.AddToRoles);
1332_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.AddToRoles, ex);
1375_metrics?.UpdateUser(typeof(TUser).FullName!, failureResult, UserUpdateType.RemoveFromRoles);
1415_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.RemoveFromRoles);
1420_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.RemoveFromRoles, ex);
1511_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.SetEmail, ex);
1597_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.ConfirmEmail);
1602_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.ConfirmEmail, ex);
1667_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.ChangeEmail);
1672_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.ChangeEmail, ex);
1731_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.SetPhoneNumber, ex);
1752_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.ChangePhoneNumber);
1757_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.ChangePhoneNumber, ex);
1854_metrics?.VerifyToken(typeof(TUser).FullName!, result, purpose);
1864_metrics?.VerifyToken(typeof(TUser).FullName!, result: null, purpose, ex);
1892_metrics?.GenerateToken(typeof(TUser).FullName!, purpose);
1897_metrics?.GenerateToken(typeof(TUser).FullName!, purpose, ex);
1961_metrics?.VerifyToken(typeof(TUser).FullName!, result, "TwoFactor");
1971_metrics?.VerifyToken(typeof(TUser).FullName!, result: null, "TwoFactor", ex);
1996_metrics?.GenerateToken(typeof(TUser).FullName!, "TwoFactor");
2001_metrics?.GenerateToken(typeof(TUser).FullName!, "TwoFactor", ex);
2046_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.SetTwoFactorEnabled, ex);
2095_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.SetLockoutEnabled, ex);
2142_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.SetLockoutEndDate);
2147_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.SetLockoutEndDate, ex);
2196_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.AccessFailed, ex);
2211_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.ResetAccessFailedCount);
2216_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.ResetAccessFailedCount, ex);
2324_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.SetAuthenticationToken, ex);
2351_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.RemoveAuthenticationToken, ex);
2421_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.GenerateNewTwoFactorRecoveryCodes, ex);
2514_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.RedeemTwoFactorRecoveryCode);
2519_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.RedeemTwoFactorRecoveryCode, ex);
2563_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.SetPasskey);
2568_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.SetPasskey, ex);
2648_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.RemovePasskey);
2653_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.RemovePasskey, ex);
2928_metrics?.UpdateUser(typeof(TUser).FullName!, result, updateType);
Microsoft.Extensions.Identity.Stores (2)
Microsoft.Extensions.Localization (4)
Microsoft.Extensions.Localization.Abstractions (1)
Microsoft.Extensions.Logging (7)
FilterLoggingBuilderExtensions.cs (4)
129AddRule(builder, type: typeof(T).FullName, filter: (type, name, level) => categoryLevelFilter(name, level));
148AddRule(builder, type: typeof(T).FullName, filter: (type, name, level) => levelFilter(level));
169AddRule(builder, type: typeof(T).FullName, category: category, level: level);
190AddRule(builder, type: typeof(T).FullName, category: category, filter: (type, name, level) => levelFilter(level));
Microsoft.Extensions.Logging.Abstractions (1)
Microsoft.Extensions.Logging.AzureAppServices (1)
Microsoft.Extensions.Logging.Configuration (2)
Microsoft.Extensions.Logging.EventSource (5)
LoggingEventSource.cs (4)
415return new[] { new LoggerFilterRule(typeof(EventSourceLoggerProvider).FullName, null, defaultLevel, null) };
421return new[] { new LoggerFilterRule(typeof(EventSourceLoggerProvider).FullName, null, LogLevel.None, null) };
434rules.Add(new LoggerFilterRule(typeof(EventSourceLoggerProvider).FullName, null, LogLevel.None, null));
461rules.Add(new LoggerFilterRule(typeof(EventSourceLoggerProvider).FullName, loggerName, level, null));
Microsoft.Extensions.Logging.Generators (4)
Microsoft.Extensions.ObjectPool.DependencyInjection (2)
Microsoft.Extensions.ObjectPool.DependencyInjection.Tests (13)
DependencyInjectionExtensionsTests.cs (13)
29new KeyValuePair<string, string?>($"My:Pools:{typeof(TestClass).FullName!}", "twenty!"),
30new KeyValuePair<string, string?>($"My:Pools:{typeof(TestDependency).FullName!}", "4096"),
47new KeyValuePair<string, string?>($"My:Pools:{typeof(TestClass).FullName!}", "2048"),
48new KeyValuePair<string, string?>($"My:Pools:{typeof(TestDependency).FullName!}", "4096"),
56Assert.Equal(2048, sut.Get(typeof(TestClass).FullName!).Capacity);
57Assert.Equal(4096, sut.Get(typeof(TestDependency).FullName!).Capacity);
64.Configure<DependencyInjectionPoolOptions>(typeof(TestClass).FullName, options => options.Capacity = 2048)
65.Configure<DependencyInjectionPoolOptions>(typeof(TestDependency).FullName, options => options.Capacity = 4096);
73Assert.Equal(DependencyInjectionPoolOptions.DefaultCapacity, options.Get(typeof(object).FullName!).Capacity);
74Assert.Equal(2048, options.Get(typeof(TestClass).FullName!).Capacity);
75Assert.Equal(4096, options.Get(typeof(TestDependency).FullName!).Capacity);
122Assert.Equal(64, optionsMonitor.Get(typeof(TestDependency).FullName).Capacity);
152Assert.Equal(64, optionsMonitor.Get(typeof(ITestClass).FullName).Capacity);
Microsoft.Extensions.Options.SourceGeneration (4)
Microsoft.Extensions.ServiceDiscovery.Dns.Tests (2)
Microsoft.Extensions.Telemetry (3)
Microsoft.Extensions.Telemetry.Tests (3)
Microsoft.Extensions.Validation (1)
Microsoft.Gen.Logging (2)
Microsoft.Gen.Metrics (2)
Microsoft.Interop.ComInterfaceGenerator (4)
Microsoft.Interop.JavaScript.JSImportGenerator (2)
Microsoft.Interop.LibraryImportGenerator (5)
Microsoft.Interop.LibraryImportGenerator.Downlevel (5)
Microsoft.Interop.SourceGeneration (4)
Microsoft.JSInterop (2)
Microsoft.Maui (5)
Microsoft.Maui.Controls (13)
Microsoft.Maui.Controls.Build.Tasks (2)
Microsoft.Maui.Controls.SourceGen (2)
Microsoft.Maui.Controls.Xaml (7)
Microsoft.ML.AutoML (1)
Microsoft.ML.AutoML.Tests (1)
Microsoft.ML.Core (6)
Microsoft.ML.Data (9)
Microsoft.ML.DataView (3)
Microsoft.ML.SearchSpace.Tests (1)
Microsoft.ML.Transforms (4)
Microsoft.TestUtilities (1)
Microsoft.VisualBasic.Core (4)
Microsoft.VisualBasic.Tests (1)
Microsoft.VisualStudio.LanguageServices (6)
Microsoft.VisualStudio.LanguageServices.Test.Utilities2 (1)
Microsoft.VisualStudio.LanguageServices.UnitTests (2)
Mvc.Analyzers.Test (12)
Mvc.Api.Analyzers.Test (36)
Mvc.RoutingWebSite (1)
PresentationBuildTasks (64)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (15)
799typeValueFullName = typeValue.FullName;
1806declaringTypeFullName = declaringType.FullName;
1860declaringTypeFullName = declaringType.FullName;
2316assemblyName, elementType.FullName, xmlLang,
3497WriteNameProperty(propertyName, propertyMember, assembly, parentType.FullName, attribValue, BamlAttributeUsage.RuntimeName);
4242WriteElementStart(startElementAssemblyName, propertyType.FullName,
4585ThrowException(nameof(SR.ParserInvalidContentPropertyAttribute), elementType.FullName,
4628propertyAssemblyName, propertyDeclaringType.FullName, contentPropertyName);
4659ThrowException(nameof(SR.ParserCannotAddAnyChildren), parentType.FullName);
4673arrayType.FullName,
4674objectType.FullName);
4776ThrowException(nameof(SR.ParserDefaultConverterElement), elementType.FullName, textValue);
4794ThrowException(nameof(SR.ParserDefaultConverterElement), elementType.FullName, textValue);
5247_xmlReader.GetType().FullName);
6862public string FullName { get { return $"{_ownerType.FullName}.{_name}"; } }
PresentationCore (18)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\PerfService.cs (1)
50type.FullName,
PresentationCore.Tests (11)
PresentationFramework (108)
System\Windows\Markup\BamlRecordReader.cs (26)
861ThrowException(nameof(SR.ParserNoElementCreate2), elementType.FullName);
1467ThrowException(nameof(SR.ParserNoDPOnOwner), paramString, ownerType.FullName);
1645paramInfo.ParameterType.FullName),
2114ThrowException(nameof(SR.ParserCannotConvertPropertyValue), "Property", typeof(DependencyProperty).FullName);
2160string message = SR.Format(SR.ParserCannotConvertPropertyValue, propertyName, propertyType.FullName);
2212string message = SR.Format(SR.ParserCannotConvertPropertyValue, propertyDefinition.Name, propertyDefinition.PropertyType.FullName);
2403valueTypeName = typeof(StaticExtension).FullName;
2406valueTypeName = typeof(DynamicResourceExtension).FullName;
2409valueTypeName = typeof(StaticResourceExtension).FullName;
2491string message = SR.Format(SR.ParserCannotConvertPropertyValue, propertyDefinition.Name, propertyDefinition.PropertyType.FullName);
2664ThrowExceptionWithLine(SR.Format(SR.ParserCannotSetValue, element.GetType().FullName, propertyDefinition.Name, valueType.Name), e);
2906ThrowExceptionWithLine(SR.Format(SR.ParserCannotSetValue, element.GetType().FullName, propertyDefinition.AttributeInfo.Name, attribValue), e);
3447CurrentContext.ExpectedType.FullName);
3459ThrowException(nameof(SR.ParserCantCreateInstanceType), CurrentContext.ExpectedType.FullName);
3477parent.GetType().FullName,
3512attribInfo.OwnerType.FullName,
3536CurrentContext.ExpectedType.FullName, bamlTextRecord.Value);
3721ThrowExceptionWithLine(SR.Format(SR.ParserCannotSetValue, currentTarget.GetType().FullName, attribInfo.Name, o), e);
3747o.GetType().FullName);
3859ThrowExceptionWithLine(SR.Format(SR.ParserCannotSetValue, parentObject.GetType().FullName, memberInfo.Name, o), e);
4226$"We had expected to use a TypeConverter for this {context.ExpectedType.FullName} but somebody is trying to create one now without using a TypeConverter. If TypeConverter is the correct way, fix the code calling this method. If not, fix the 'should we use a TypeConverter?' logic in XamlReaderHelper.");
4232ThrowException(nameof(SR.ParserCantCreateInstanceType), context.ExpectedType.FullName);
4748string typeName = parentType == null ? String.Empty : parentType.FullName;
4753ThrowException( nameof(SR.ParserCannotAddAnyChildren2), typeName, currentObject.GetType().FullName );
4766string typeName = parentType == null ? String.Empty : parentType.FullName;
4771ThrowException( nameof(SR.ParserCannotAddAnyChildren2), typeName, currentObject.GetType().FullName );
System\Windows\Markup\DependencyPropertyConverter.cs (5)
156throw new NotSupportedException(SR.Format(SR.ParserCannotConvertPropertyValue, "Property", typeof(DependencyProperty).FullName));
179throw new NotSupportedException(SR.Format(SR.ParserCannotConvertPropertyValue, "Property", typeof(DependencyProperty).FullName));
203throw new NotSupportedException(SR.Format(SR.ParserCannotConvertPropertyValue, "Property", typeof(DependencyProperty).FullName));
223throw new NotSupportedException(SR.Format(SR.ParserCannotConvertPropertyValue, "Property", typeof(DependencyProperty).FullName));
233throw new NotSupportedException(SR.Format(SR.ParserCannotConvertPropertyValue, "Property", typeof(DependencyProperty).FullName));
System\Windows\Markup\XamlTypeMapper.cs (10)
456ThrowException(nameof(SR.ParserOwnerEventMustBePublic), owner.FullName );
515string message = SR.Format(SR.ParserCannotConvertPropertyValueString, value, propName, propType.FullName);
596message = SR.Format(SR.ParserDefaultConverterProperty, propType.FullName, propName, value);
602message = SR.Format(SR.ParserDefaultConverterElement, propType.FullName, value);
608string message = TypeConverterFailure( value, propName, propType.FullName );
619string message = TypeConverterFailure( value, propName, propType.FullName );
775string fullName = owner.IsGenericType ? $"{owner.Namespace}.{owner.Name}" : owner.FullName;
797object key = MapTable.GetAttributeInfoKey(ownerType.FullName, infoRecord.Name);
1317ThrowException(nameof(SR.ParserEventDelegateTypeNotAccessible), ei.EventHandlerType.FullName, $"{objectType.Name}.{localName}");
1476ThrowException(nameof(SR.ParserEventDelegateTypeNotAccessible), ei.EventHandlerType.FullName, $"{owner.Name}.{localName}");
Replay (2)
Roslyn.Diagnostics.Analyzers (69)
Roslyn.Diagnostics.CSharp.Analyzers (1)
Roslyn.VisualStudio.DiagnosticsWindow (1)
SemanticSearch.BuildTask (2)
Sockets.FunctionalTests (1)
System.CodeDom (16)
System\CodeDom\Compiler\CodeValidator.cs (7)
59throw new ArgumentException(SR.Format(SR.InvalidElementType, e.GetType().FullName), nameof(e));
94throw new ArgumentException(SR.Format(SR.InvalidElementType, e.GetType().FullName), nameof(e));
455throw new ArgumentException(SR.Format(SR.InvalidElementType, e.GetType().FullName), nameof(e));
649string message = SR.Format(SR.InvalidTypeName, typeName, propertyName, e.GetType().FullName);
658string message = SR.Format(SR.InvalidLanguageIdentifier, identifier, propertyName, e.GetType().FullName);
768throw new ArgumentException(SR.Format(SR.InvalidElementType, e.GetType().FullName), nameof(e));
938throw new ArgumentException(SR.Format(SR.InvalidElementType, e.GetType().FullName), nameof(e));
System.Collections.Immutable (1)
System.ComponentModel.Annotations (8)
System.ComponentModel.Composition (17)
System.ComponentModel.Composition.Registration (8)
System.ComponentModel.Primitives (6)
System.ComponentModel.TypeConverter (86)
System\ComponentModel\TypeDescriptor.cs (54)
2105throw new ArgumentException(SR.Format(SR.TypeDescriptorExpectedElementType, typeof(Attribute).FullName));
2118throw new ArgumentException(SR.Format(SR.TypeDescriptorExpectedElementType, typeof(PropertyDescriptor).FullName));
2131throw new ArgumentException(SR.Format(SR.TypeDescriptorExpectedElementType, typeof(EventDescriptor).FullName));
3460if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor"));
3462if (attrs == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetAttributes"));
3483if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor"));
3484string? name = desc.GetClassName() ?? _instance.GetType().FullName;
3505if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor"));
3526if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor"));
3528if (converter == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetConverter"));
3548if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor"));
3550if (converter == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetConverter"));
3571if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor"));
3591if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor"));
3613if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor"));
3633if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor"));
3635if (events == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetEvents"));
3654if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptorFromRegisteredType"));
3656if (events == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetEventsFromRegisteredType"));
3681if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor"));
3683if (evts == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetEvents"));
3703if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor"));
3705if (properties == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetProperties"));
3724if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor"));
3726if (properties == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetProperties"));
3751if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor"));
3753if (properties == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetProperties"));
3775if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor"));
3823throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor"));
3826throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetAttributes"));
3850throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor"));
3851name = desc.GetClassName() ?? _objectType.FullName;
3875throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor"));
3901throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor"));
3904throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetConverter"));
3928throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor"));
3931throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetConverterFromRegisteredType"));
3956throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor"));
3982throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor"));
4010throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor"));
4035throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor"));
4038throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetEvents"));
4062throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptorFromRegisteredType"));
4065throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetEventsFromRegisteredType"));
4090throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor"));
4093throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetEvents"));
4118throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor"));
4122throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetProperties"));
4146throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor"));
4151throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetPropertiesFromRegisteredType"));
4176throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor"));
4179throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetProperties"));
4203throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor"));
4227throw new InvalidOperationException(SR.Format(SR.TypeIsNotRegistered, type.FullName));
System.Composition.Convention (8)
System.Configuration.ConfigurationManager (13)
System.Data.Common (31)
System\Data\DataException.cs (8)
488_Argument(SR.Format(SR.DataColumn_DefaultValueDataType1, defaultType.FullName, columnType.FullName), inner) :
489_Argument(SR.Format(SR.DataColumn_DefaultValueDataType, column, defaultType.FullName, columnType.FullName), inner);
491public static Exception DefaultValueColumnDataType(string column, Type defaultType, Type columnType, Exception inner) => _Argument(SR.Format(SR.DataColumn_DefaultValueColumnDataType, column, defaultType.FullName, columnType.FullName), inner);
741public static Exception ConvertFailed(Type type1, Type type2) => _Data(SR.Format(SR.SqlConvert_ConvertFailed, type1.FullName, type2.FullName));
System\Data\xmlsaver.cs (4)
201root.SetAttribute(Keywords.MSD_DATATYPE, Keywords.MSDNS, col.DataType.FullName);
1350root.SetAttribute(Keywords.MSD_DATATYPE, Keywords.MSDNS, col.DataType.FullName);
2635_xmlw.WriteAttributeString(Keywords.MSD, Keywords.MSD_INSTANCETYPE, Keywords.MSDNS, valuesType.FullName);
3067_xmlw.WriteAttributeString(Keywords.MSD, Keywords.MSD_INSTANCETYPE, Keywords.MSDNS, valuesType.FullName);
System.Data.Odbc (5)
System.Diagnostics.TraceSource (1)
System.Formats.Asn1 (1)
System.Formats.Nrbf (1)
System.Linq.Expressions (2)
System.Net.HttpListener (1)
System.Net.Mail (2)
System.Net.Ping (1)
System.Net.WebSockets.Client (2)
System.Private.CoreLib (41)
System.Private.CoreLib.Generators (2)
System.Private.DataContractSerialization (11)
System.Private.Windows.Core (30)
System\Private\Windows\BinaryFormat\BinaryFormatWriter.cs (15)
60new ClassInfo(1, typeof(decimal).FullName!, s_decimalMemberNames),
85new ClassInfo(1, typeof(DateTime).FullName!, s_dateTimeMemberNames),
102new ClassInfo(1, typeof(TimeSpan).FullName!, s_ticksName),
114new ClassInfo(1, typeof(nint).FullName!, s_valueName),
126new ClassInfo(1, typeof(nuint).FullName!, s_valueName),
139new ClassInfo(1, typeof(Point).FullName!, s_pointMemberNames),
158new ClassInfo(1, typeof(Rectangle).FullName!, s_rectangleMemberNames),
181new ClassInfo(1, typeof(Size).FullName!, s_sizeMemberNames),
200new ClassInfo(1, typeof(PointF).FullName!, s_pointMemberNames),
219new ClassInfo(1, typeof(RectangleF).FullName!, s_rectangleMemberNames),
242new ClassInfo(1, typeof(SizeF).FullName!, s_sizeMemberNames),
261new ClassInfo(1, typeof(Color).FullName!, s_colorMemberNames),
332new ClassInfo(1, type.FullName!, s_primitiveMemberName),
382$"System.Collections.Generic.List`1[[{typeof(T).FullName}, {Assemblies.Mscorlib}]]",
477new ClassInfo(1, typeof(ArrayList).FullName!, s_listMemberNames),
System.Private.Windows.Core.Tests (57)
System\Private\Windows\Nrbf\CoreNrbfSerializerTests.cs (8)
62{ typeof(int).FullName!, true, typeof(int) },
63{ $"{typeof(int).FullName!}, {typeof(int).Assembly.FullName}", true, typeof(int) },
64{ $"{typeof(int).FullName!}, {Assemblies.Mscorlib}", true, typeof(int) },
65{ typeof(int[]).FullName!, true, typeof(int[]) },
66{ $"{typeof(int[]).FullName!}, {typeof(int[]).Assembly.FullName}", true, typeof(int[]) },
67{ $"{typeof(int[]).FullName!}, {Assemblies.Mscorlib}", true, typeof(int[]) },
68{ typeof(List<int>).FullName!, true, typeof(List<int>) },
69{ $"{typeof(List<int>).FullName!}, {typeof(List<int>).Assembly.FullName}", true, typeof(List<int>) },
System\Private\Windows\Ole\BinaryFormatUtilitiesTests.cs (9)
493Resolver = (TypeName typeName) => typeName.FullName == typeof(DerivedClass).FullName
532Resolver = (TypeName typeName) => typeName.FullName == typeof(MyStruct).FullName
581Resolver = (TypeName typeName) => typeName.FullName == typeof(int).FullName
620Resolver = (TypeName typeName) => typeName.FullName == typeof(int).FullName
742(typeof(TestData).FullName!, typeof(TestData)),
743(typeof(TestDataBase.InnerData).FullName!, typeof(TestDataBase.InnerData)),
744(typeof(NotSupportedException).FullName!, typeof(NotSupportedException)),
745(typeof(int?).FullName!, typeof(int?)),
746(typeof(DateTime?).FullName!, typeof(DateTime?)),
System\Reflection\Metadata\TypeNameComparerTests.cs (30)
13{ TypeName.Parse($"{typeof(int).FullName}, {typeof(int).Assembly.FullName}"), typeof(int) },
15{ TypeName.Parse($"{typeof(int[]).FullName}, {typeof(int[]).Assembly.FullName}"), typeof(int[]) },
17{ TypeName.Parse($"{typeof(List<int>).FullName}, {typeof(List<int>).Assembly.FullName}"), typeof(List<int>) },
19{ TypeName.Parse($"{typeof(TestType).FullName}, {typeof(TestType).Assembly.FullName}"), typeof(TestType) },
44TypeName.Parse($"{typeof(TestType).FullName}, {typeof(int).Assembly.FullName}")
92TypeName.Parse($"{typeof(int).FullName}, {typeof(int).Assembly.FullName}")).Should().BeTrue();
102comparer.GetHashCode(TypeName.Parse($"{typeof(int).FullName}, {typeof(int).Assembly.FullName}")).Should().Be(hash);
110{ TypeName.Parse(typeof(TestType).FullName), typeof(TestType) },
121{ TypeName.Parse(typeof(int).FullName), typeof(int) },
122{ TypeName.Parse(typeof(int[]).FullName), typeof(int[]) },
123{ TypeName.Parse(typeof(List<int>).FullName), typeof(List<int>) },
124{ TypeName.Parse(typeof(TestType).FullName), typeof(TestType) },
147{ TypeName.Parse(typeof(int).FullName), typeof(int) },
148{ TypeName.Parse(typeof(int[]).FullName), typeof(int[]) },
149{ TypeName.Parse(typeof(List<int>).FullName), typeof(List<int>) },
150{ TypeName.Parse(typeof(TestType).FullName), typeof(TestType) },
158{ TypeName.Parse($"{typeof(int).FullName}, {typeof(int).Assembly.GetName().Name}"), typeof(int) },
159{ TypeName.Parse($"{typeof(int[]).FullName}, {typeof(int).Assembly.GetName().Name}"), typeof(int[]) },
160{ TypeName.Parse($"{typeof(List<int>).FullName}, {typeof(List<int>).Assembly.GetName().Name}"), typeof(List<int>) },
161{ TypeName.Parse($"{typeof(TestType).FullName}, {typeof(TestType).Assembly.GetName().Name}"), typeof(TestType) },
171{ TypeName.Parse($"{typeof(int).FullName}, {typeof(int).Assembly.GetName().Name}"), typeof(int) },
172{ TypeName.Parse($"{typeof(int[]).FullName}, {typeof(int).Assembly.GetName().Name}"), typeof(int[]) },
173{ TypeName.Parse($"{typeof(List<int>).FullName}, {typeof(List<int>).Assembly.GetName().Name}"), typeof(List<int>) },
174{ TypeName.Parse($"{typeof(TestType).FullName}, {typeof(TestType).Assembly.GetName().Name}"), typeof(TestType) },
184TypeName.Parse($"{typeof(int).FullName}, SomeOtherAssembly"),
190TypeName.Parse($"{typeof(int).FullName}"),
202{ TypeName.Parse($"{typeof(int).FullName}, {typeof(int).Assembly.GetName().Name}"), typeof(int) },
203{ TypeName.Parse($"{typeof(int[]).FullName}, {typeof(int).Assembly.GetName().Name}"), typeof(int[]) },
204{ TypeName.Parse($"{typeof(List<int>).FullName}, {typeof(List<int>).Assembly.GetName().Name}"), typeof(List<int>) },
205{ TypeName.Parse($"{typeof(TestType).FullName}, {typeof(TestType).Assembly.GetName().Name}"), typeof(TestType) },
System.Private.Windows.Core.TestUtilities (3)
System.Private.Xml (218)
System\Xml\Serialization\Mappings.cs (6)
1266throw new InvalidOperationException(SR.Format(SR.XmlSerializableRootDupName, _getSchemaMethod!.DeclaringType!.FullName, e.Name, elementNs));
1319throw new InvalidOperationException(SR.Format(SR.XmlGetSchemaEmptyTypeName, _type!.FullName, _getSchemaMethod.Name));
1324throw new InvalidOperationException(SR.Format(SR.XmlGetSchemaMethodReturnType, _type!.Name, _getSchemaMethod.Name, nameof(XmlSchemaProviderAttribute), typeof(XmlQualifiedName).FullName));
1352throw new InvalidOperationException(SR.Format(SR.XmlGetSchemaInclude, _xsiType.Namespace, _getSchemaMethod.DeclaringType!.FullName, _getSchemaMethod.Name));
1362throw new InvalidOperationException(SR.Format(SR.XmlGetSchemaTypeMissing, _getSchemaMethod.DeclaringType!.FullName, _getSchemaMethod.Name, _xsiType.Name, _xsiType.Namespace));
1375if (string.IsNullOrEmpty(_schema.Id)) throw new InvalidOperationException(SR.Format(SR.XmlSerializableNameMissing1, _type!.FullName));
System\Xml\Serialization\Models.cs (7)
67if (!typeDesc.IsSpecial) throw new NotSupportedException(SR.Format(SR.XmlUnsupportedTypeKind, type.FullName));
210throw new InvalidOperationException(SR.Format(SR.XmlSerializerUnsupportedMember, $"{member.DeclaringType!.FullName}.{member.Name}", type.FullName), typeDesc.Exception);
308throw new InvalidOperationException(SR.Format(SR.XmlInvalidSpecifiedType, specifiedField.Name, specifiedField.FieldType.FullName, typeof(bool).FullName));
325throw new InvalidOperationException(SR.Format(SR.XmlInvalidSpecifiedType, specifiedProperty.Name, specifiedProperty.PropertyType.FullName, typeof(bool).FullName));
System\Xml\Serialization\Types.cs (16)
124: this(type!.Name, type.FullName!, dataType, TypeKind.Primitive, (TypeDesc?)null, flags, formatterName)
766exception = new InvalidOperationException(SR.Format(SR.XmlTypeInaccessible, type.FullName));
771exception = new InvalidOperationException(SR.Format(SR.XmlTypeStatic, type.FullName));
789exception ??= new NotSupportedException(SR.Format(SR.XmlSerializerUnsupportedType, type.FullName));
807exception ??= new NotSupportedException(SR.Format(SR.XmlUnsupportedRank, type.FullName));
815arrayElementType = GetCollectionElementType(type, memberInfo == null ? null : $"{memberInfo.DeclaringType!.FullName}.{memberInfo.Name}");
826exception ??= new NotSupportedException(SR.Format(SR.XmlSerializerUnsupportedType, type.FullName));
881exception = new NotSupportedException(SR.Format(SR.XmlUnsupportedInterface, type.FullName));
885exception = new NotSupportedException(SR.Format(SR.XmlUnsupportedInterfaceDetails, $"{memberInfo.DeclaringType!.FullName}.{memberInfo.Name}", type.FullName));
893exception ??= new NotSupportedException(SR.Format(SR.XmlSerializerUnsupportedType, type.FullName));
1320throw new InvalidOperationException(SR.Format(SR.XmlNoAddMethod, type.FullName, currentType, "IEnumerable"));
1337throw new NotSupportedException(SR.Format(SR.XmlUnsupportedIDictionary, type.FullName));
1341throw new NotSupportedException(SR.Format(SR.XmlUnsupportedIDictionaryDetails, memberInfo, type.FullName));
1371throw new InvalidOperationException(SR.Format(SR.XmlNoDefaultAccessors, type.FullName));
1376throw new InvalidOperationException(SR.Format(SR.XmlNoAddMethod, type.FullName, indexer.PropertyType, "ICollection"));
System\Xml\Serialization\XmlReflectionImporter.cs (20)
130throw new InvalidOperationException(SR.Format(SR.XmlAnonymousInclude, type.FullName));
423throw new InvalidOperationException(SR.Format(SR.XmlInvalidTypeAttributes, model.Type.FullName));
500throw new InvalidOperationException(SR.Format(SR.XmlGetSchemaMethodMissing, provider.MethodName, nameof(XmlSchemaSet), type.FullName));
503throw new InvalidOperationException(SR.Format(SR.XmlGetSchemaMethodReturnType, type.Name, provider.MethodName, nameof(XmlSchemaProviderAttribute), typeof(XmlQualifiedName).FullName, typeof(XmlSchemaType).FullName));
625return new InvalidOperationException(SR.Format(SR.XmlInvalidAttributeUse, type.FullName));
805throw new NotSupportedException(SR.Format(SR.XmlUnsupportedInheritance, model.Type.BaseType!.FullName));
881throw new InvalidOperationException(SR.Format(SR.XmlIllegalMultipleText, model.Type.FullName));
888throw new InvalidOperationException(SR.Format(SR.XmlMultipleXmlns, model.Type.FullName));
935throw new InvalidOperationException(SR.Format(SR.XmlMultipleXmlns, model.Type.FullName));
1438throw new InvalidOperationException(SR.Format(SR.XmlChoiceIdentifierType, identifierName, memberName, type.GetElementType()!.FullName));
1445throw new InvalidOperationException(SR.Format(SR.XmlChoiceIdentifierArrayType, identifierName, memberName, type.FullName));
1690throw new InvalidOperationException(SR.Format(SR.XmlIllegalAnyElement, arrayElementType.FullName));
1866throw new InvalidOperationException(SR.Format(SR.XmlXmlnsInvalidType, accessorName, accessorType.FullName, typeof(System.Xml.Serialization.XmlSerializerNamespaces).FullName));
1931throw new InvalidOperationException(SR.Format(SR.XmlIllegalAnyElement, accessorType.FullName));
2116XmlArrayItemAttribute? item = (XmlArrayItemAttribute?)arrayTypes[type.FullName, ns];
2123arrayTypes[type.FullName, ns] = items[i];
2163throw new InvalidOperationException(SR.Format(SR.XmlInvalidDefaultValue, strValue, a.XmlDefaultValue.GetType().FullName));
2202throw new InvalidOperationException(SR.Format(SR.XmlInternalErrorDetails, "Bad accessor type " + accessor.GetType().FullName));
System\Xml\Serialization\XmlSerializationReader.cs (50)
1326return new InvalidCastException(SR.Format(SR.XmlInvalidNullCast, type.FullName));
1328return new InvalidCastException(SR.Format(SR.XmlInvalidCast, value.GetType().FullName, type.FullName));
1330return new InvalidCastException(SR.Format(SR.XmlInvalidCastWithId, value.GetType().FullName, type.FullName, id));
1547throw new InvalidOperationException(SR.Format(SR.XmlInvalidArrayRef, id, o.GetType().FullName, i.ToString(CultureInfo.InvariantCulture)));
1666throw new NotSupportedException(SR.Format(SR.XmlRpcArrayOfValueTypes, elementType.FullName));
2237Writer.Write(typeof(System.Xml.Serialization.XmlSerializationReader).FullName);
2409Writer.Write(typeof(XmlSerializationReadCallback).FullName);
2759item = typeof(Array).FullName!;
2776Writer.Write($"{RaCodeGen.GetReflectionVariable(typeof(Array).FullName!, "0")}[ci , i]");
2860Writer.Write(typeof(XmlConvert).FullName);
2903Writer.Write(typeof(Hashtable).FullName);
2910Writer.Write(typeof(Hashtable).FullName);
2924Writer.Write(typeof(Hashtable).FullName);
2926Writer.Write(typeof(Hashtable).FullName);
3006Writer.Write(typeof(Enum).FullName);
3135Writer.Write(typeof(Array).FullName);
3229Writer.Write(typeof(XmlQualifiedName).FullName);
3276Writer.Write(typeof(XmlQualifiedName).FullName);
3596Writer.Write(typeof(XmlSerializationCollectionFixupCallback).FullName);
3629Writer.Write(typeof(XmlQualifiedName).FullName);
3635Writer.Write(typeof(XmlQualifiedName).FullName);
3757Writer.Write(typeof(XmlAttribute).FullName);
3760Writer.Write(typeof(XmlAttribute).FullName);
3809Writer.Write(typeof(XmlAttribute).FullName);
3814Writer.Write(typeof(XmlAttribute).FullName);
3885Writer.Write(typeof(XmlSerializationFixupCallback).FullName);
4016Writer.Write(typeof(XmlNodeType).FullName);
4046Writer.Write(typeof(XmlNodeType).FullName);
4049Writer.Write(typeof(XmlNodeType).FullName);
4052Writer.Write(typeof(XmlNodeType).FullName);
4055Writer.Write(typeof(XmlNodeType).FullName);
4810bool isDoc = special.TypeDesc.FullName == typeof(XmlDocument).FullName;
4823Writer.Write(typeof(XmlQualifiedName).FullName);
4834Writer.Write(typeof(IXmlSerializable).FullName);
4903Writer.Write(typeof(IXmlSerializable).FullName);
4925WriteQuotedCSharpString(derived.Type.FullName);
4927WriteQuotedCSharpString(head.Type.FullName);
4939WriteQuotedCSharpString(head.Type!.FullName);
4954Writer.Write(typeof(XmlNodeType).FullName);
4956Writer.Write(typeof(XmlNodeType).FullName);
4980Writer.Write(typeof(XmlNodeType).FullName);
4987Writer.Write(typeof(XmlConvert).FullName);
5001Writer.Write(typeof(ArrayList).FullName);
5005Writer.Write(typeof(ArrayList).FullName);
5008Writer.Write(typeof(ArrayList).FullName);
5012Writer.Write(typeof(ArrayList).FullName);
5029Writer.Write(typeof(Type).FullName);
5096Writer.Write(exceptionType.FullName);
System\Xml\Serialization\XmlSerializationWriter.cs (65)
500if (_objectsInUse.ContainsKey(o)) throw new InvalidOperationException(SR.Format(SR.XmlCircularReference, o.GetType().FullName));
658if (!_objectsInUse.ContainsKey(o)) throw new InvalidOperationException(SR.Format(SR.XmlInternalErrorDetails, "missing stack object of type " + o.GetType().FullName));
820if (typeof(IXmlSerializable).IsAssignableFrom(type)) return new InvalidOperationException(SR.Format(SR.XmlInvalidSerializable, type.FullName));
822if (!typeDesc.IsStructLike) return new InvalidOperationException(SR.Format(SR.XmlInvalidUseOfType, type.FullName));
823return new InvalidOperationException(SR.Format(SR.XmlUnxpectedType, type.FullName));
860return new InvalidOperationException(SR.Format(SR.XmlIllegalAnyElement, type.FullName));
1284if (!typeof(IEnumerable).IsAssignableFrom(type)) throw new InvalidOperationException(SR.Format(SR.XmlInternalErrorDetails, "not array like type " + type.FullName));
1634_writer.WriteLine($"static {typeof(Type).FullName} {typeVariable} = {elementTypeVariable}.MakeArrayType();");
1639_writer.Write($"static {typeof(Type).FullName} {typeVariable} = {assemblyVariable}.GetType(");
1640WriteQuotedCSharpString(type.FullName);
1652_writer.WriteLine($"static {typeof(Type).FullName} {typeVariable} = typeof(System.Nullable<>).MakeGenericType(new {typeof(Type).FullName}[] {{{parameterTypeVariable}}});");
1657_writer.Write($"static {typeof(Type).FullName} {typeVariable} = {assemblyVariable}.GetType(");
1658WriteQuotedCSharpString(type.FullName);
1686"object", "string", typeof(Type).FullName,
1687typeof(FieldInfo).FullName, typeof(PropertyInfo).FullName));
1689WriteDefaultIndexerInit(typeof(IList), typeof(Array).FullName!, false, false);
1764_writer.Write($"static {typeof(Assembly).FullName} {assemblyVariable} = ResolveDynamicAssembly(");
1803_writer.Write($"static {typeof(MethodInfo).FullName} {methodVariable} = {typeVariable}.GetMethod(");
1807string bindingFlags = typeof(BindingFlags).FullName!;
1822_writer.Write($"new {typeof(Type).FullName}[] {{ ");
1849_writer.Write(typeof(Type[]).FullName);
1914return $"{typeof(Convert).FullName}.ToInt64({variable})";
1915return $"(({typeof(long).FullName}){variable})";
1981string typeFullName = arrayTypeDesc.IsCollection ? arrayTypeDesc.CSharpName : typeof(Array).FullName!;
2014createInstance.Append(typeof(Activator).FullName);
2018string bindingFlags = typeof(BindingFlags).FullName!;
2094typeName = typeof(IEnumerable).FullName!;
2096typeName = typeof(ICollection).FullName!;
2098typeName = typeof(Array).FullName!;
2254Writer.Write(typeof(System.Xml.Serialization.XmlSerializationWriter).FullName);
2350Writer.Write(typeof(System.Xml.Serialization.XmlSerializationWriteCallback).FullName);
2427Writer.Write(typeof(XmlConvert).FullName);
2635string source = $"(({typeof(System.Xml.Serialization.XmlSerializerNamespaces).FullName})p[{xmlnsMember}])";
2921Writer.Write(typeof(long).FullName);
3114Writer.Write(typeof(Type).FullName);
3194if (mapping.TypeDesc.UseReflection) methodInvoke = $"(({typeof(bool).FullName}){methodInvoke})";
3203if (mapping.TypeDesc.UseReflection) memberGet = $"(({typeof(bool).FullName}){memberGet})";
3235if (mapping.TypeDesc.UseReflection) methodInvoke = $"(({typeof(bool).FullName}){methodInvoke})";
3244if (mapping.TypeDesc.UseReflection) memberGet = $"(({typeof(bool).FullName}){memberGet})";
3322Writer.Write(typeof(StringBuilder).FullName);
3324Writer.Write(typeof(StringBuilder).FullName);
3333Writer.Write(typeof(IEnumerator).FullName);
3337Writer.Write(typeof(IEnumerable).FullName);
3346Writer.Write(typeof(IEnumerator).FullName);
3363Writer.Write(typeof(IEnumerator).FullName);
3386Writer.Write(typeof(ICollection).FullName);
3540Writer.Write(typeof(IEnumerator).FullName);
3545Writer.Write(typeof(IEnumerable).FullName);
3556Writer.Write(typeof(IEnumerator).FullName);
3577Writer.Write(typeof(IEnumerator).FullName);
3605Writer.Write(typeof(ICollection).FullName);
3738string fullTypeName = typeof(XmlElement).FullName!;
4000Writer.Write(typeof(ICollection).FullName);
4148Writer.Write(typeof(XmlNode).FullName);
4180Writer.Write(cast.FullName);
4216Type? type = Type.GetType(mapping.TypeDesc!.Type!.FullName!);
4224Type? type = Type.GetType(mapping.TypeDesc!.Type!.FullName!);
4309Writer.Write(type.FullName);
4343Writer.Write(type.FullName);
4351Writer.Write(type.FullName);
4355Writer.Write(((DateTimeOffset)value).Offset.GetType().FullName);
4363Writer.Write(type.FullName);
4377throw new InvalidOperationException(SR.Format(SR.XmlUnsupportedDefaultType, type.FullName));
System.Reflection.Context (2)
System.Reflection.DispatchProxy (4)
System.Reflection.Emit (8)
System.Reflection.Metadata (2)
System.Reflection.MetadataLoadContext (3)
System.Resources.Extensions (22)
System\Resources\Extensions\PreserializedResourceWriter.cs (17)
26private static readonly string UnknownObjectTypeName = typeof(UnknownType).FullName!;
41{ typeof(string).FullName!, typeof(string) },
42{ typeof(int).FullName!, typeof(int) },
43{ typeof(bool).FullName!, typeof(bool) },
44{ typeof(char).FullName!, typeof(char) },
45{ typeof(byte).FullName!, typeof(byte) },
46{ typeof(sbyte).FullName!, typeof(sbyte) },
47{ typeof(short).FullName!, typeof(short) },
48{ typeof(long).FullName!, typeof(long) },
49{ typeof(ushort).FullName!, typeof(ushort) },
50{ typeof(uint).FullName!, typeof(uint) },
51{ typeof(ulong).FullName!, typeof(ulong) },
52{ typeof(float).FullName!, typeof(float) },
53{ typeof(double).FullName!, typeof(double) },
54{ typeof(decimal).FullName!, typeof(decimal) },
55{ typeof(DateTime).FullName!, typeof(DateTime) },
56{ typeof(TimeSpan).FullName!, typeof(TimeSpan) }
System.Runtime.Caching (1)
System.Runtime.Serialization.Formatters (7)
System.Runtime.Serialization.Schema (3)
System.Security.Cryptography.Pkcs (2)
System.Security.Cryptography.Xml (1)
System.Security.Permissions (3)
System.Text.Json (8)
System.Text.Json.SourceGeneration (15)
System.Text.RegularExpressions.Generator (4)
System.Threading.RateLimiting (1)
System.Transactions.Local (1)
System.Windows.Forms (45)
System.Windows.Forms.Design (54)
System.Windows.Forms.Design.Tests (18)
System.Windows.Forms.Primitives (1)
System.Windows.Forms.Primitives.TestUtilities (1)
System.Windows.Forms.Tests (105)
System.Windows.Forms.UI.IntegrationTests (1)
System.Xaml (11)
Test.Utilities (62)
Text.Analyzers (66)
UIAutomationClientSideProviders (7)
VBCSCompiler.UnitTests (1)
WindowsFormsIntegration (1)
WinFormsControlsTest (2)
xunit.assert (3)
xunit.console (2)