10 overrides of FullName
System.Private.CoreLib (6)
System.Private.Reflection.Execution (1)
System.Reflection.Context (1)
System.Reflection.Emit (1)
System.Reflection.MetadataLoadContext (1)
3391 references to FullName
aspire (5)
Aspire.Cli.Tests (4)
Aspire.Confluent.Kafka (2)
Aspire.Dashboard (7)
Aspire.Dashboard.Components.Tests (2)
Aspire.Dashboard.Tests (14)
Aspire.Hosting (7)
Aspire.Hosting.Azure.Kubernetes (2)
Aspire.Hosting.CodeGeneration.Java (1)
Aspire.Hosting.CodeGeneration.TypeScript.Tests (10)
Aspire.Hosting.EntityFrameworkCore.Tests (109)
AddEFMigrationsTests.cs (18)
19var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!);
25Assert.Equal(typeof(TestDbContext).FullName, migrations.Resource.DbContextTypeName);
47var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!);
53Assert.Equal(typeof(TestDbContext).FullName, migrations.Resource.DbContextTypeName);
76project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!);
92var migrations1 = project.AddEFMigrations("migrations1", typeof(TestDbContext).FullName!);
93var migrations2 = project.AddEFMigrations("migrations2", typeof(AnotherDbContext).FullName!);
96Assert.Equal(typeof(TestDbContext).FullName, migrations1.Resource.DbContextTypeName);
97Assert.Equal(typeof(AnotherDbContext).FullName, migrations2.Resource.DbContextTypeName);
120project.AddEFMigrations("migrations1", typeof(TestDbContext).FullName!);
124project.AddEFMigrations("migrations2", typeof(TestDbContext).FullName!);
156project.AddEFMigrations(null!, typeof(TestDbContext).FullName!);
168project.AddEFMigrations("", typeof(TestDbContext).FullName!);
189var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!);
202var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!);
214var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!);
224var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!);
246project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
EFMigrationCommandsTests.cs (15)
17var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!);
32var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!);
47var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!);
62var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!);
80var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!);
94var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!);
108var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!);
136var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!);
139Assert.Equal(typeof(TestDbContext).FullName, migrations.Resource.DbContextTypeName);
147var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!);
162var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!);
178var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!);
194var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!);
221var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!);
251var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!);
EFMigrationConfigurationTests.cs (22)
16var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
29var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
40var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
51var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
62var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
73var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!);
83var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!);
93var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
105var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
123var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
129Assert.Equal(typeof(TestDbContext).FullName, migrations.Resource.DbContextTypeName);
137var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!);
158var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!);
173var migrations = startupProject.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
186var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!);
196var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!);
206var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
218var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
230var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
242var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
254var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
266var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
EFMigrationPipelineTests.cs (47)
22var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
39var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
54var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
74var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!);
89var m1 = project.AddEFMigrations("aaa-migrations", typeof(TestDbContext).FullName!)
91var m2 = project.AddEFMigrations("bbb-migrations", typeof(AnotherDbContext).FullName!)
113var m1 = project.AddEFMigrations("aaa-migrations", typeof(TestDbContext).FullName!)
116var m2 = project.AddEFMigrations("bbb-migrations", typeof(AnotherDbContext).FullName!)
145var m1 = projectA.AddEFMigrations("aaa-migrations", typeof(TestDbContext).FullName!)
147var m2 = projectB.AddEFMigrations("bbb-migrations", typeof(TestDbContext).FullName!)
167var m1 = project.AddEFMigrations("aaa-migrations", typeof(TestDbContext).FullName!)
169var m2 = project.AddEFMigrations("bbb-migrations", typeof(AnotherDbContext).FullName!)
191var m1 = project.AddEFMigrations("aaa-migrations", typeof(TestDbContext).FullName!)
194_ = project.AddEFMigrations("bbb-migrations", typeof(AnotherDbContext).FullName!);
195var m3 = project.AddEFMigrations("ccc-migrations", typeof(ThirdDbContext).FullName!)
216var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
234var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
253var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
266var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
278var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!);
293var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
308var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
320var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
335var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
348var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
361var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
373var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
384var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!);
400var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
419var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
438var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
451var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
470var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
490var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
506var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
523var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
537var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
556var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
571var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
591var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
610var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
628var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
650var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
671var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
690var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
701var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
713var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
Aspire.Hosting.Foundry (1)
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.Radius (1)
Aspire.Hosting.RemoteHost (50)
AtsCapabilityScanner.cs (31)
97var fullName = enumType.FullName ?? enumType.Name;
465diagnostics.Add(AtsDiagnostic.Error(ex.Message, $"{type.FullName}.{method.Name}"));
1108$"DTO property '{type.FullName}.{prop.Name}' is a get-only mutable collection. Add an init accessor so System.Text.Json replaces the collection during DTO deserialization; otherwise collection values can be merged with initializer defaults.",
1109$"{type.FullName}.{prop.Name}"));
1193$"{type.FullName}.{field.Name}"));
1203docMemberName: $"F:{type.FullName}.{field.Name}",
1222$"{type.FullName}.{property.Name}"));
1230$"{type.FullName}.{property.Name}"));
1240docMemberName: $"P:{type.FullName}.{property.Name}",
1266$"Skipping [AspireValue] on '{declaringType.FullName}.{memberName}'. Exported values must serialize to copied shapes. Mutable lists, mutable dictionaries, handles, and DTOs containing them are not supported.",
1267$"{declaringType.FullName}.{memberName}"));
1275$"Skipping [AspireValue] on '{declaringType.FullName}.{memberName}'. Exported value path segment '{invalidSegment}' is not a valid guest SDK identifier.",
1276$"{declaringType.FullName}.{memberName}"));
1293$"Skipping [AspireValue] on '{declaringType.FullName}.{memberName}': {ex.Message}",
1294$"{declaringType.FullName}.{memberName}"));
1548var fullName = contextType.FullName ?? contextType.Name;
1602var propTypeFullName = propType.FullName ?? propType.Name;
1603var propGenericDef = propType.IsGenericType ? propType.GetGenericTypeDefinition().FullName : null;
1607propType.GetGenericArguments().Skip(1).FirstOrDefault()?.FullName == "System.Object";
1918SourceLocation = $"{contextType.FullName}.{method.Name}",
1928diagnostics.Add(AtsDiagnostic.Error(ex.Message, $"{contextType.FullName}.{method.Name}"));
1981var methodLocation = $"{method.DeclaringType?.FullName ?? method.DeclaringType?.Name ?? "Unknown"}.{method.Name}";
2057$"Capability '{capabilityId}' skipped: parameter '{param.Name}' has unmapped type '{param.ParameterType.FullName}'",
2246var genericDefFullName = genericDef.FullName ?? "";
2395return AtsConstants.EnumTypeId(type.FullName ?? type.Name);
2723TypeId = AtsConstants.EnumTypeId(type.FullName ?? type.Name),
3014var baseFullName = currentBase.FullName;
3044var baseFullName = baseType.FullName;
3145var genericDefName = genericDef.FullName;
3305var typeName = memberType.FullName ?? memberType.Name;
3875return (type.FullName ?? type.Name).Replace('+', '.');
Aspire.Hosting.RemoteHost.Tests (12)
Aspire.Hosting.SqlServer.Tests (2)
Aspire.Hosting.Testing.Tests (2)
Aspire.Hosting.Tests (3)
Aspire.Hosting.TestUtilities (2)
Aspire.Hosting.Yarp (2)
Aspire.Playground.Tests (5)
Aspire.RabbitMQ.Client (1)
Aspire.StackExchange.Redis (2)
Aspire.TypeSystem (8)
HostingTypeHelpers.cs (6)
71string.Equals(type?.FullName, HostingTypeNames.DistributedApplicationBuilder, StringComparison.Ordinal);
77string.Equals(type?.FullName, HostingTypeNames.DistributedApplication, StringComparison.Ordinal);
86if (string.Equals(type.FullName, fullName, StringComparison.Ordinal))
92string.Equals(type.GetGenericTypeDefinition().FullName, fullName, StringComparison.Ordinal))
99if (string.Equals(implementedInterface.FullName, fullName, StringComparison.Ordinal))
105string.Equals(implementedInterface.GetGenericTypeDefinition().FullName, fullName, StringComparison.Ordinal))
CodeStyleConfigFileGenerator (2)
ConfigurationSchemaGenerator (5)
dotnet (5)
dotnet-aot (1)
dotnet-format (1)
dotnet-Microsoft.XmlSerializer.Generator (4)
dotnet-svcutil-lib (331)
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)));
dotnet-svcutil.xmlserializer (2)
EventSourceGenerator (2)
GenerateDocumentationAndConfigFiles (69)
ILCompiler.Compiler (1)
illink (4)
ILLink.RoslynAnalyzer (2)
Infrastructure.Common (1)
Microsoft.Analyzers.Extra.Tests (1)
Microsoft.Analyzers.Local.Tests (1)
Microsoft.AspNetCore (1)
Microsoft.AspNetCore.App.Analyzers (2)
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 (52)
Microsoft.AspNetCore.Components.Endpoints (59)
Microsoft.AspNetCore.Components.QuickGrid (2)
Microsoft.AspNetCore.Components.Server (12)
Microsoft.AspNetCore.Components.Testing (3)
Microsoft.AspNetCore.Components.WebAssembly (7)
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
Microsoft.AspNetCore.Components.WebView.Wpf (1)
Microsoft.AspNetCore.DataProtection (9)
Microsoft.AspNetCore.DataProtection.Abstractions (1)
Microsoft.AspNetCore.Diagnostics (7)
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (2)
Microsoft.AspNetCore.Grpc.JsonTranscoding (4)
Microsoft.AspNetCore.Hosting (7)
Microsoft.AspNetCore.Http (1)
Microsoft.AspNetCore.Http.Abstractions (1)
Microsoft.AspNetCore.Http.Extensions (32)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (2)
Microsoft.AspNetCore.Http.Results (2)
Microsoft.AspNetCore.Identity (26)
SignInManager.cs (25)
187_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, signInResult, SignInType.Refresh, isPersistent, startTimestamp);
191_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result: null, SignInType.Refresh, isPersistent: null, startTimestamp, ex);
299_metrics?.SignInUserPrincipal(typeof(TUser).FullName!, AuthenticationScheme, authenticationProperties.IsPersistent);
303_metrics?.SignInUserPrincipal(typeof(TUser).FullName!, AuthenticationScheme, isPersistent: null, ex);
326_metrics?.SignOutUserPrincipal(typeof(TUser).FullName!, AuthenticationScheme);
330_metrics?.SignOutUserPrincipal(typeof(TUser).FullName!, AuthenticationScheme, ex);
414_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result, SignInType.Password, isPersistent, startTimestamp);
420_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result: null, SignInType.Password, isPersistent, startTimestamp, ex);
442_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, SignInResult.Failed, SignInType.Password, isPersistent, startTimestamp);
464_metrics?.CheckPasswordSignIn(typeof(TUser).FullName!, result);
470_metrics?.CheckPasswordSignIn(typeof(TUser).FullName!, result: null, ex);
655_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result, SignInType.Passkey, isPersistent: false, startTimestamp);
661_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result: null, SignInType.Passkey, isPersistent: false, startTimestamp, ex);
790_metrics?.RememberTwoFactorClient(typeof(TUser).FullName!, IdentityConstants.TwoFactorRememberMeScheme);
794_metrics?.RememberTwoFactorClient(typeof(TUser).FullName!, IdentityConstants.TwoFactorRememberMeScheme, ex);
808_metrics?.ForgetTwoFactorClient(typeof(TUser).FullName!, IdentityConstants.TwoFactorRememberMeScheme);
812_metrics?.ForgetTwoFactorClient(typeof(TUser).FullName!, IdentityConstants.TwoFactorRememberMeScheme, ex);
828_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result, SignInType.TwoFactorRecoveryCode, isPersistent: false, startTimestamp);
834_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result: null, SignInType.TwoFactorRecoveryCode, isPersistent: false, startTimestamp, ex);
910_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result, SignInType.TwoFactorAuthenticator, isPersistent, startTimestamp);
916_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result: null, SignInType.TwoFactorAuthenticator, isPersistent, startTimestamp, ex);
975_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result, SignInType.TwoFactor, isPersistent, startTimestamp);
981_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result: null, SignInType.TwoFactor, isPersistent, startTimestamp, ex);
1065_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result, SignInType.External, isPersistent, startTimestamp);
1071_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result: null, SignInType.External, isPersistent, startTimestamp, ex);
Microsoft.AspNetCore.Identity.UI (2)
Microsoft.AspNetCore.InternalTesting (6)
Microsoft.AspNetCore.JsonPatch (4)
Microsoft.AspNetCore.JsonPatch.SystemTextJson (4)
Microsoft.AspNetCore.MiddlewareAnalysis (1)
Microsoft.AspNetCore.Mvc.Abstractions (6)
Microsoft.AspNetCore.Mvc.ApiExplorer (3)
Microsoft.AspNetCore.Mvc.Core (51)
Microsoft.AspNetCore.Mvc.Formatters.Xml (4)
Microsoft.AspNetCore.Mvc.Localization (1)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (8)
Microsoft.AspNetCore.Mvc.Razor (4)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (3)
Microsoft.AspNetCore.Mvc.RazorPages (6)
Microsoft.AspNetCore.Mvc.TagHelpers (8)
Microsoft.AspNetCore.Mvc.Testing (1)
Microsoft.AspNetCore.Mvc.ViewFeatures (33)
Microsoft.AspNetCore.OpenApi (2)
Microsoft.AspNetCore.Owin (7)
Microsoft.AspNetCore.Razor.Utilities.Shared (1)
Microsoft.AspNetCore.Routing (6)
Microsoft.AspNetCore.Server.IIS (1)
Microsoft.AspNetCore.Server.IntegrationTesting (1)
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Microsoft.AspNetCore.SignalR.Client.Core (13)
HubConnection.cs (7)
1323activity.SetTag("error.type", ex.GetType().FullName);
1445Log.PreparingBlockingInvocation(_logger, irq.InvocationId, methodName, irq.ResultType.FullName!, args.Length);
1458Log.IssuingInvocation(_logger, irq.InvocationId, irq.ResultType.FullName!, methodName, args);
1476Log.PreparingStreamingInvocation(_logger, irq.InvocationId, methodName, irq.ResultType.FullName!, args.Length);
1489Log.IssuingInvocation(_logger, irq.InvocationId, irq.ResultType.FullName!, methodName, args);
1565activity.SetTag("error.type", ex.GetType().FullName);
1676throw new InvalidOperationException($"Unexpected message type: {message.GetType().FullName}");
Microsoft.AspNetCore.SignalR.Core (14)
Microsoft.AspNetCore.SignalR.Protocols.Json (1)
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (1)
Microsoft.AspNetCore.SignalR.StackExchangeRedis (1)
Microsoft.AspNetCore.TestHost (2)
Microsoft.Bcl.AsyncInterfaces (2)
Microsoft.Bcl.Numerics (2)
Microsoft.Build (47)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (8)
690parameter.PropertyType.FullName,
1097parameterType.FullName,
1240if (String.Equals(returnClass.TaskFactory.TaskType.FullName, "Microsoft.Build.Tasks.MSBuild", StringComparison.OrdinalIgnoreCase))
1245else if (String.Equals(returnClass.TaskFactory.TaskType.FullName, "Microsoft.Build.Tasks.CallTarget", StringComparison.OrdinalIgnoreCase))
1328_taskLoggingContext?.TargetLoggingContext?.ProjectLoggingContext?.ProjectTelemetry?.AddTaskExecution(_taskFactoryWrapper.TaskFactory.GetType().FullName, isTaskHost);
1450parameterType.FullName,
1576parameterType.FullName,
1623parameterType.FullName,
Microsoft.Build.Framework (21)
Microsoft.Build.Tasks.CodeAnalysis (2)
Microsoft.Build.Tasks.Core (14)
Microsoft.Build.Utilities.Core (2)
Microsoft.CodeAnalysis (15)
Microsoft.CodeAnalysis.Analyzers (75)
Microsoft.CodeAnalysis.AnalyzerUtilities (64)
Microsoft.CodeAnalysis.CodeStyle (72)
Microsoft.CodeAnalysis.CodeStyle.Fixes (7)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.CSharp.CodeStyle (7)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (12)
Microsoft.CodeAnalysis.CSharp.Features (22)
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (1)
Microsoft.CodeAnalysis.Extensions.Package (64)
Microsoft.CodeAnalysis.ExternalAccess.Extensions (8)
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp.CSharp (6)
Microsoft.CodeAnalysis.Features (41)
Microsoft.CodeAnalysis.Razor.Compiler (99)
Language\BoundAttributeDescriptorBuilder.cs (15)
18{ typeof(byte).FullName!, "byte" },
19{ typeof(sbyte).FullName!, "sbyte" },
20{ typeof(int).FullName!, "int" },
21{ typeof(uint).FullName!, "uint" },
22{ typeof(short).FullName!, "short" },
23{ typeof(ushort).FullName!, "ushort" },
24{ typeof(long).FullName!, "long" },
25{ typeof(ulong).FullName!, "ulong" },
26{ typeof(float).FullName!, "float" },
27{ typeof(double).FullName!, "double" },
28{ typeof(char).FullName!, "char" },
29{ typeof(bool).FullName!, "bool" },
30{ typeof(object).FullName!, "object" },
31{ typeof(string).FullName!, "string" },
32{ typeof(decimal).FullName!, "decimal" }
Mvc.Version1_X\ViewComponentTagHelperDescriptorFactory.cs (15)
25[typeof(byte).FullName] = "byte",
26[typeof(sbyte).FullName] = "sbyte",
27[typeof(int).FullName] = "int",
28[typeof(uint).FullName] = "uint",
29[typeof(short).FullName] = "short",
30[typeof(ushort).FullName] = "ushort",
31[typeof(long).FullName] = "long",
32[typeof(ulong).FullName] = "ulong",
33[typeof(float).FullName] = "float",
34[typeof(double).FullName] = "double",
35[typeof(char).FullName] = "char",
36[typeof(bool).FullName] = "bool",
37[typeof(object).FullName] = "object",
38[typeof(string).FullName] = "string",
39[typeof(decimal).FullName] = "decimal",
Mvc.Version2_X\ViewComponentTagHelperDescriptorFactory.cs (15)
25[typeof(byte).FullName] = "byte",
26[typeof(sbyte).FullName] = "sbyte",
27[typeof(int).FullName] = "int",
28[typeof(uint).FullName] = "uint",
29[typeof(short).FullName] = "short",
30[typeof(ushort).FullName] = "ushort",
31[typeof(long).FullName] = "long",
32[typeof(ulong).FullName] = "ulong",
33[typeof(float).FullName] = "float",
34[typeof(double).FullName] = "double",
35[typeof(char).FullName] = "char",
36[typeof(bool).FullName] = "bool",
37[typeof(object).FullName] = "object",
38[typeof(string).FullName] = "string",
39[typeof(decimal).FullName] = "decimal",
Mvc\ViewComponentTagHelperDescriptorFactory.cs (15)
25[typeof(byte).FullName] = "byte",
26[typeof(sbyte).FullName] = "sbyte",
27[typeof(int).FullName] = "int",
28[typeof(uint).FullName] = "uint",
29[typeof(short).FullName] = "short",
30[typeof(ushort).FullName] = "ushort",
31[typeof(long).FullName] = "long",
32[typeof(ulong).FullName] = "ulong",
33[typeof(float).FullName] = "float",
34[typeof(double).FullName] = "double",
35[typeof(char).FullName] = "char",
36[typeof(bool).FullName] = "bool",
37[typeof(object).FullName] = "object",
38[typeof(string).FullName] = "string",
39[typeof(decimal).FullName] = "decimal",
Microsoft.CodeAnalysis.ResxSourceGenerator (64)
Microsoft.CodeAnalysis.Scripting (3)
Microsoft.CodeAnalysis.VisualBasic (1)
Microsoft.CodeAnalysis.VisualBasic.Features (2)
Microsoft.CodeAnalysis.Workspaces (77)
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild.Contracts (2)
Microsoft.CSharp (5)
Microsoft.DotNet.Build.Tasks.Packaging (2)
Microsoft.DotNet.Cli.Telemetry (1)
Microsoft.DotNet.Cli.Utils (1)
Microsoft.DotNet.HotReload.WebAssembly.Browser (3)
Microsoft.DotNet.Internal.DependencyInjection.Testing (5)
Microsoft.DotNet.TemplateLocator (1)
Microsoft.Extensions.AI (10)
Microsoft.Extensions.AI.Abstractions (3)
Microsoft.Extensions.AI.Evaluation (3)
Microsoft.Extensions.AI.OpenAI.Tests (2)
Microsoft.Extensions.AI.Tests (10)
Microsoft.Extensions.Caching.Hybrid (2)
Microsoft.Extensions.Caching.Memory (1)
Microsoft.Extensions.Compliance.Testing (1)
Microsoft.Extensions.Configuration.Binder.SourceGeneration (7)
Microsoft.Extensions.DataIngestion (1)
Microsoft.Extensions.DependencyInjection (7)
Microsoft.Extensions.DependencyInjection.Abstractions (3)
Microsoft.Extensions.DependencyInjection.AutoActivation.Tests (2)
Microsoft.Extensions.Diagnostics.Abstractions (1)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (1)
Microsoft.Extensions.DotNetDeltaApplier (3)
Microsoft.Extensions.Features (2)
Microsoft.Extensions.Http (3)
Microsoft.Extensions.Http.Diagnostics (1)
Microsoft.Extensions.Http.Diagnostics.Tests (1)
Microsoft.Extensions.Identity.Core (65)
UserManager.cs (64)
492_metrics?.CreateUser(typeof(TUser).FullName!, result, startTimeStamp);
497_metrics?.CreateUser(typeof(TUser).FullName!, result: null, startTimeStamp, ex);
542_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.Update, startTimeStamp, ex);
565_metrics?.DeleteUser(typeof(TUser).FullName!, result, startTimeStamp);
571_metrics?.DeleteUser(typeof(TUser).FullName!, result: null, startTimeStamp, ex);
648_metrics?.CreateUser(typeof(TUser).FullName!, result, startTimeStamp);
654_metrics?.CreateUser(typeof(TUser).FullName!, result: null, startTimeStamp, ex);
736_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.SetUserName, startTimeStamp, ex);
766_metrics?.CheckPassword(typeof(TUser).FullName!, userMissing, result);
778_metrics?.CheckPassword(typeof(TUser).FullName!, userMissing: null, result: null, ex);
837_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.AddPassword, startTimeStamp);
842_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.AddPassword, startTimeStamp, ex);
884_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.ChangePassword, startTimeStamp);
889_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.ChangePassword, startTimeStamp, ex);
935_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.RemovePassword, startTimeStamp, ex);
1006_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.UpdateSecurityStamp, startTimeStamp, ex);
1046_metrics?.UpdateUser(typeof(TUser).FullName!, failureResult, UserUpdateType.ResetPassword, startTimeStamp);
1053_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.ResetPassword, startTimeStamp);
1104_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.RemoveLogin, startTimeStamp, ex);
1124_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.AddLogin, startTimeStamp);
1129_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.AddLogin, startTimeStamp, ex);
1204_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.AddClaims, startTimeStamp, ex);
1235_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.ReplaceClaim, startTimeStamp, ex);
1278_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.RemoveClaims, startTimeStamp, ex);
1313_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.AddToRoles, startTimeStamp);
1318_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.AddToRoles, startTimeStamp, ex);
1353_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.AddToRoles, startTimeStamp);
1358_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.AddToRoles, startTimeStamp, ex);
1403_metrics?.UpdateUser(typeof(TUser).FullName!, failureResult, UserUpdateType.RemoveFromRoles, startTimeStamp);
1444_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.RemoveFromRoles, startTimeStamp);
1449_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.RemoveFromRoles, startTimeStamp, ex);
1541_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.SetEmail, startTimeStamp, ex);
1628_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.ConfirmEmail, startTimeStamp);
1633_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.ConfirmEmail, startTimeStamp, ex);
1702_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.ChangeEmail, startTimeStamp, ex);
1762_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.SetPhoneNumber, startTimestamp, ex);
1784_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.ChangePhoneNumber, startTimestamp);
1789_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.ChangePhoneNumber, startTimestamp, ex);
1886_metrics?.VerifyToken(typeof(TUser).FullName!, result, purpose);
1896_metrics?.VerifyToken(typeof(TUser).FullName!, result: null, purpose, ex);
1924_metrics?.GenerateToken(typeof(TUser).FullName!, purpose);
1929_metrics?.GenerateToken(typeof(TUser).FullName!, purpose, ex);
1993_metrics?.VerifyToken(typeof(TUser).FullName!, result, "TwoFactor");
2003_metrics?.VerifyToken(typeof(TUser).FullName!, result: null, "TwoFactor", ex);
2028_metrics?.GenerateToken(typeof(TUser).FullName!, "TwoFactor");
2033_metrics?.GenerateToken(typeof(TUser).FullName!, "TwoFactor", ex);
2079_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.SetTwoFactorEnabled, startTimestamp, ex);
2129_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.SetLockoutEnabled, startTimestamp, ex);
2177_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.SetLockoutEndDate, startTimestamp);
2182_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.SetLockoutEndDate, startTimestamp, ex);
2232_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.IncrementAccessFailed, startTimestamp, ex);
2248_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.ResetAccessFailedCount, startTimestamp);
2253_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.ResetAccessFailedCount, startTimestamp, ex);
2362_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.SetAuthenticationToken, startTimestamp, ex);
2390_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.RemoveAuthenticationToken, startTimestamp, ex);
2427_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.ResetAuthenticatorKey, startTimestamp, ex);
2470_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.GenerateNewTwoFactorRecoveryCodes, startTimestamp, ex);
2580_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.RedeemTwoFactorRecoveryCode, startTimestamp);
2585_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.RedeemTwoFactorRecoveryCode, startTimestamp, ex);
2630_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.AddOrUpdatePasskey, startTimestamp);
2635_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.AddOrUpdatePasskey, startTimestamp, ex);
2716_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.RemovePasskey, startTimestamp);
2721_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.RemovePasskey, startTimestamp, ex);
3009_metrics?.UpdateUser(typeof(TUser).FullName!, result, updateType, startTimestamp);
Microsoft.Extensions.Localization (4)
Microsoft.Extensions.Localization.Abstractions (1)
Microsoft.Extensions.Logging (7)
FilterLoggingBuilderExtensions.cs (4)
207AddRule(builder, type: typeof(T).FullName, filter: (type, name, level) => categoryLevelFilter(name, level));
240AddRule(builder, type: typeof(T).FullName, filter: (type, name, level) => levelFilter(level));
261AddRule(builder, type: typeof(T).FullName, category: category, level: level);
296AddRule(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)
428return new[] { new LoggerFilterRule(typeof(EventSourceLoggerProvider).FullName, null, defaultLevel, null) };
434return new[] { new LoggerFilterRule(typeof(EventSourceLoggerProvider).FullName, null, LogLevel.None, null) };
447rules.Add(new LoggerFilterRule(typeof(EventSourceLoggerProvider).FullName, null, LogLevel.None, null));
474rules.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 (2)
Microsoft.Extensions.ServiceDiscovery (1)
Microsoft.Extensions.ServiceDiscovery.Abstractions (1)
Microsoft.Extensions.Telemetry (3)
Microsoft.Extensions.Telemetry.Tests (3)
Microsoft.Extensions.Validation.ValidationsGenerator (2)
Microsoft.Extensions.VectorData.Abstractions (2)
Microsoft.Extensions.VectorData.ConformanceTests (1)
Microsoft.Gen.BuildMetadata (2)
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.NET.Build.Containers (1)
Microsoft.NET.Build.Tasks (1)
Microsoft.NET.Sdk.WorkloadManifestReader (1)
Microsoft.Private.Windows.Core (28)
System\Private\Windows\BinaryFormat\BinaryFormatWriter.cs (15)
59new ClassInfo(1, typeof(decimal).FullName!, s_decimalMemberNames),
84new ClassInfo(1, typeof(DateTime).FullName!, s_dateTimeMemberNames),
101new ClassInfo(1, typeof(TimeSpan).FullName!, s_ticksName),
113new ClassInfo(1, typeof(nint).FullName!, s_valueName),
125new ClassInfo(1, typeof(nuint).FullName!, s_valueName),
138new ClassInfo(1, typeof(Point).FullName!, s_pointMemberNames),
157new ClassInfo(1, typeof(Rectangle).FullName!, s_rectangleMemberNames),
180new ClassInfo(1, typeof(Size).FullName!, s_sizeMemberNames),
199new ClassInfo(1, typeof(PointF).FullName!, s_pointMemberNames),
218new ClassInfo(1, typeof(RectangleF).FullName!, s_rectangleMemberNames),
241new ClassInfo(1, typeof(SizeF).FullName!, s_sizeMemberNames),
260new ClassInfo(1, typeof(Color).FullName!, s_colorMemberNames),
331new ClassInfo(1, type.FullName!, s_primitiveMemberName),
381$"System.Collections.Generic.List`1[[{typeof(T).FullName}, {Assemblies.Mscorlib}]]",
476new ClassInfo(1, typeof(ArrayList).FullName!, s_listMemberNames),
Microsoft.TemplateEngine.Cli (2)
Microsoft.TemplateEngine.Edge (2)
Microsoft.TestPlatform.CommunicationUtilities (1)
Microsoft.TestPlatform.CoreUtilities (2)
Microsoft.TestPlatform.CrossPlatEngine (5)
Microsoft.VisualBasic.Core (4)
Microsoft.VisualStudio.TestPlatform.Common (3)
Microsoft.VisualStudio.TestPlatform.ObjectModel (6)
Microsoft.Web.XmlTransform (2)
Mono.Cecil (5)
MSBuild (7)
NuGet.LibraryModel (1)
NuGet.Protocol (1)
NuGet.Versioning (1)
PresentationBuildTasks (64)
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (15)
796typeValueFullName = typeValue.FullName;
1803declaringTypeFullName = declaringType.FullName;
1857declaringTypeFullName = declaringType.FullName;
2313assemblyName, elementType.FullName, xmlLang,
3494WriteNameProperty(propertyName, propertyMember, assembly, parentType.FullName, attribValue, BamlAttributeUsage.RuntimeName);
4239WriteElementStart(startElementAssemblyName, propertyType.FullName,
4582ThrowException(nameof(SR.ParserInvalidContentPropertyAttribute), elementType.FullName,
4625propertyAssemblyName, propertyDeclaringType.FullName, contentPropertyName);
4656ThrowException(nameof(SR.ParserCannotAddAnyChildren), parentType.FullName);
4670arrayType.FullName,
4671objectType.FullName);
4773ThrowException(nameof(SR.ParserDefaultConverterElement), elementType.FullName, textValue);
4791ThrowException(nameof(SR.ParserDefaultConverterElement), elementType.FullName, textValue);
5244_xmlReader.GetType().FullName);
6859public string FullName { get { return $"{_ownerType.FullName}.{_name}"; } }
PresentationCore (18)
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\PerfService.cs (1)
50type.FullName,
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}");
Roslyn.Diagnostics.Analyzers (71)
System.CodeDom (16)
System\CodeDom\Compiler\CodeValidator.cs (7)
62throw new ArgumentException(SR.Format(SR.InvalidElementType, e.GetType().FullName), nameof(e));
97throw new ArgumentException(SR.Format(SR.InvalidElementType, e.GetType().FullName), nameof(e));
458throw new ArgumentException(SR.Format(SR.InvalidElementType, e.GetType().FullName), nameof(e));
652string message = SR.Format(SR.InvalidTypeName, typeName, propertyName, e.GetType().FullName);
661string message = SR.Format(SR.InvalidLanguageIdentifier, identifier, propertyName, e.GetType().FullName);
771throw new ArgumentException(SR.Format(SR.InvalidElementType, e.GetType().FullName), nameof(e));
941throw 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)
2104throw new ArgumentException(SR.Format(SR.TypeDescriptorExpectedElementType, typeof(Attribute).FullName));
2117throw new ArgumentException(SR.Format(SR.TypeDescriptorExpectedElementType, typeof(PropertyDescriptor).FullName));
2130throw new ArgumentException(SR.Format(SR.TypeDescriptorExpectedElementType, typeof(EventDescriptor).FullName));
3448if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor"));
3450if (attrs == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetAttributes"));
3471if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor"));
3472string? name = desc.GetClassName() ?? _instance.GetType().FullName;
3493if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor"));
3514if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor"));
3516if (converter == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetConverter"));
3536if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor"));
3538if (converter == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetConverter"));
3559if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor"));
3579if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor"));
3601if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor"));
3621if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor"));
3623if (events == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetEvents"));
3642if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptorFromRegisteredType"));
3644if (events == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetEventsFromRegisteredType"));
3669if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor"));
3671if (evts == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetEvents"));
3691if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor"));
3693if (properties == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetProperties"));
3712if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor"));
3714if (properties == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetProperties"));
3739if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor"));
3741if (properties == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetProperties"));
3763if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor"));
3811throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor"));
3814throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetAttributes"));
3838throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor"));
3839name = desc.GetClassName() ?? _objectType.FullName;
3863throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor"));
3889throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor"));
3892throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetConverter"));
3916throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor"));
3919throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetConverterFromRegisteredType"));
3944throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor"));
3970throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor"));
3998throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor"));
4023throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor"));
4026throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetEvents"));
4050throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptorFromRegisteredType"));
4053throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetEventsFromRegisteredType"));
4078throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor"));
4081throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetEvents"));
4106throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor"));
4110throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetProperties"));
4134throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor"));
4139throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetPropertiesFromRegisteredType"));
4164throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor"));
4167throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetProperties"));
4191throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor"));
4215throw 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.Data.OleDb (4)
System.Diagnostics.TraceSource (1)
System.Drawing.Common (1)
System.Formats.Asn1 (1)
System.Formats.Nrbf (1)
System.Linq.Expressions (2)
System.Management (4)
System.Net.Http (3)
System.Net.Http.WinHttpHandler (4)
System.Net.HttpListener (1)
System.Net.Mail (2)
System.Net.NameResolution (2)
System.Net.Ping (1)
System.Net.Primitives (4)
System.Net.Quic (4)
System.Net.Requests (1)
System.Net.Security (3)
System.Net.Sockets (8)
System.Net.WebSockets (3)
System.Net.WebSockets.Client (2)
System.Private.CoreLib (45)
System.Private.CoreLib.Generators (2)
System.Private.DataContractSerialization (11)
System.Private.Reflection.Execution (2)
System.Private.Windows.Core (29)
System\Private\Windows\BinaryFormat\BinaryFormatWriter.cs (15)
59new ClassInfo(1, typeof(decimal).FullName!, s_decimalMemberNames),
84new ClassInfo(1, typeof(DateTime).FullName!, s_dateTimeMemberNames),
101new ClassInfo(1, typeof(TimeSpan).FullName!, s_ticksName),
113new ClassInfo(1, typeof(nint).FullName!, s_valueName),
125new ClassInfo(1, typeof(nuint).FullName!, s_valueName),
138new ClassInfo(1, typeof(Point).FullName!, s_pointMemberNames),
157new ClassInfo(1, typeof(Rectangle).FullName!, s_rectangleMemberNames),
180new ClassInfo(1, typeof(Size).FullName!, s_sizeMemberNames),
199new ClassInfo(1, typeof(PointF).FullName!, s_pointMemberNames),
218new ClassInfo(1, typeof(RectangleF).FullName!, s_rectangleMemberNames),
241new ClassInfo(1, typeof(SizeF).FullName!, s_sizeMemberNames),
260new ClassInfo(1, typeof(Color).FullName!, s_colorMemberNames),
331new ClassInfo(1, type.FullName!, s_primitiveMemberName),
381$"System.Collections.Generic.List`1[[{typeof(T).FullName}, {Assemblies.Mscorlib}]]",
476new ClassInfo(1, typeof(ArrayList).FullName!, s_listMemberNames),
System.Private.Windows.Core.TestUtilities (3)
System.Private.Xml (223)
System\Xml\Serialization\Mappings.cs (6)
1280throw new InvalidOperationException(SR.Format(SR.XmlSerializableRootDupName, _getSchemaMethod!.DeclaringType!.FullName, e.Name, elementNs));
1333throw new InvalidOperationException(SR.Format(SR.XmlGetSchemaEmptyTypeName, _type!.FullName, _getSchemaMethod.Name));
1338throw new InvalidOperationException(SR.Format(SR.XmlGetSchemaMethodReturnType, _type!.Name, _getSchemaMethod.Name, nameof(XmlSchemaProviderAttribute), typeof(XmlQualifiedName).FullName));
1366throw new InvalidOperationException(SR.Format(SR.XmlGetSchemaInclude, _xsiType.Namespace, _getSchemaMethod.DeclaringType!.FullName, _getSchemaMethod.Name));
1376throw new InvalidOperationException(SR.Format(SR.XmlGetSchemaTypeMissing, _getSchemaMethod.DeclaringType!.FullName, _getSchemaMethod.Name, _xsiType.Name, _xsiType.Namespace));
1389if (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\ReflectionXmlSerializationReader.cs (6)
1027bool isDoc = specialMapping.TypeDesc.FullName == typeof(XmlDocument).FullName;
1107throw CreateMissingIXmlSerializableType(derived.XsiType!.Name, derived.XsiType.Namespace, head.Type!.FullName);
1112throw CreateBadDerivationException(derived.XsiType!.Name, derived.XsiType.Namespace, head.XsiType!.Name, head.XsiType.Namespace, derived.Type.FullName, head.Type.FullName);
1770member.Source = (value) => throw new InvalidOperationException(SR.Format(SR.XmlReadOnlyPropertyError, pi.Name, pi.DeclaringType!.FullName));
1789throw new InvalidOperationException(SR.Format(SR.XmlReadOnlyPropertyError, pi.Name, pi.DeclaringType!.FullName));
System\Xml\Serialization\Types.cs (16)
125: this(type!.Name, type.FullName!, dataType, TypeKind.Primitive, (TypeDesc?)null, flags, formatterName)
829exception = new InvalidOperationException(SR.Format(SR.XmlTypeInaccessible, type.FullName));
834exception = new InvalidOperationException(SR.Format(SR.XmlTypeStatic, type.FullName));
852exception ??= new NotSupportedException(SR.Format(SR.XmlSerializerUnsupportedType, type.FullName));
870exception ??= new NotSupportedException(SR.Format(SR.XmlUnsupportedRank, type.FullName));
878arrayElementType = GetCollectionElementType(type, memberInfo == null ? null : $"{memberInfo.DeclaringType!.FullName}.{memberInfo.Name}");
889exception ??= new NotSupportedException(SR.Format(SR.XmlSerializerUnsupportedType, type.FullName));
944exception = new NotSupportedException(SR.Format(SR.XmlUnsupportedInterface, type.FullName));
948exception = new NotSupportedException(SR.Format(SR.XmlUnsupportedInterfaceDetails, $"{memberInfo.DeclaringType!.FullName}.{memberInfo.Name}", type.FullName));
956exception ??= new NotSupportedException(SR.Format(SR.XmlSerializerUnsupportedType, type.FullName));
1383throw new InvalidOperationException(SR.Format(SR.XmlNoAddMethod, type.FullName, currentType, "IEnumerable"));
1400throw new NotSupportedException(SR.Format(SR.XmlUnsupportedIDictionary, type.FullName));
1404throw new NotSupportedException(SR.Format(SR.XmlUnsupportedIDictionaryDetails, memberInfo, type.FullName));
1434throw new InvalidOperationException(SR.Format(SR.XmlNoDefaultAccessors, type.FullName));
1439throw 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));
882throw new InvalidOperationException(SR.Format(SR.XmlIllegalMultipleText, model.Type.FullName));
889throw new InvalidOperationException(SR.Format(SR.XmlMultipleXmlns, model.Type.FullName));
936throw new InvalidOperationException(SR.Format(SR.XmlMultipleXmlns, model.Type.FullName));
1440throw new InvalidOperationException(SR.Format(SR.XmlChoiceIdentifierType, identifierName, memberName, type.GetElementType()!.FullName));
1447throw new InvalidOperationException(SR.Format(SR.XmlChoiceIdentifierArrayType, identifierName, memberName, type.FullName));
1706throw new InvalidOperationException(SR.Format(SR.XmlIllegalAnyElement, arrayElementType.FullName));
1882throw new InvalidOperationException(SR.Format(SR.XmlXmlnsInvalidType, accessorName, accessorType.FullName, typeof(System.Xml.Serialization.XmlSerializerNamespaces).FullName));
1947throw new InvalidOperationException(SR.Format(SR.XmlIllegalAnyElement, accessorType.FullName));
2132XmlArrayItemAttribute? item = (XmlArrayItemAttribute?)arrayTypes[type.FullName, ns];
2139arrayTypes[type.FullName, ns] = items[i];
2179throw new InvalidOperationException(SR.Format(SR.XmlInvalidDefaultValue, strValue, a.XmlDefaultValue.GetType().FullName));
2218throw new InvalidOperationException(SR.Format(SR.XmlInternalErrorDetails, "Bad accessor type " + accessor.GetType().FullName));
System\Xml\Serialization\XmlSerializationReader.cs (50)
1361return new InvalidCastException(SR.Format(SR.XmlInvalidNullCast, type.FullName));
1363return new InvalidCastException(SR.Format(SR.XmlInvalidCast, value.GetType().FullName, type.FullName));
1365return new InvalidCastException(SR.Format(SR.XmlInvalidCastWithId, value.GetType().FullName, type.FullName, id));
1582throw new InvalidOperationException(SR.Format(SR.XmlInvalidArrayRef, id, o.GetType().FullName, i.ToString(CultureInfo.InvariantCulture)));
1701throw new NotSupportedException(SR.Format(SR.XmlRpcArrayOfValueTypes, elementType.FullName));
2288Writer.Write(typeof(System.Xml.Serialization.XmlSerializationReader).FullName);
2473Writer.Write(typeof(XmlSerializationReadCallback).FullName);
2823item = typeof(Array).FullName!;
2840Writer.Write($"{RaCodeGen.GetReflectionVariable(typeof(Array).FullName!, "0")}[ci , i]");
2924Writer.Write(typeof(XmlConvert).FullName);
2967Writer.Write(typeof(Hashtable).FullName);
2974Writer.Write(typeof(Hashtable).FullName);
2988Writer.Write(typeof(Hashtable).FullName);
2990Writer.Write(typeof(Hashtable).FullName);
3070Writer.Write(typeof(Enum).FullName);
3199Writer.Write(typeof(Array).FullName);
3293Writer.Write(typeof(XmlQualifiedName).FullName);
3340Writer.Write(typeof(XmlQualifiedName).FullName);
3660Writer.Write(typeof(XmlSerializationCollectionFixupCallback).FullName);
3693Writer.Write(typeof(XmlQualifiedName).FullName);
3699Writer.Write(typeof(XmlQualifiedName).FullName);
3821Writer.Write(typeof(XmlAttribute).FullName);
3824Writer.Write(typeof(XmlAttribute).FullName);
3873Writer.Write(typeof(XmlAttribute).FullName);
3878Writer.Write(typeof(XmlAttribute).FullName);
3956Writer.Write(typeof(XmlSerializationFixupCallback).FullName);
4087Writer.Write(typeof(XmlNodeType).FullName);
4117Writer.Write(typeof(XmlNodeType).FullName);
4120Writer.Write(typeof(XmlNodeType).FullName);
4123Writer.Write(typeof(XmlNodeType).FullName);
4126Writer.Write(typeof(XmlNodeType).FullName);
4949bool isDoc = special.TypeDesc.FullName == typeof(XmlDocument).FullName;
4962Writer.Write(typeof(XmlQualifiedName).FullName);
4973Writer.Write(typeof(IXmlSerializable).FullName);
5042Writer.Write(typeof(IXmlSerializable).FullName);
5064WriteQuotedCSharpString(derived.Type.FullName);
5066WriteQuotedCSharpString(head.Type.FullName);
5078WriteQuotedCSharpString(head.Type!.FullName);
5093Writer.Write(typeof(XmlNodeType).FullName);
5095Writer.Write(typeof(XmlNodeType).FullName);
5119Writer.Write(typeof(XmlNodeType).FullName);
5126Writer.Write(typeof(XmlConvert).FullName);
5140Writer.Write(typeof(ArrayList).FullName);
5144Writer.Write(typeof(ArrayList).FullName);
5147Writer.Write(typeof(ArrayList).FullName);
5151Writer.Write(typeof(ArrayList).FullName);
5168Writer.Write(typeof(Type).FullName);
5235Writer.Write(exceptionType.FullName);
System\Xml\Serialization\XmlSerializationWriter.cs (67)
547if (_objectsInUse.ContainsKey(o)) throw new InvalidOperationException(SR.Format(SR.XmlCircularReference, o.GetType().FullName));
705if (!_objectsInUse.ContainsKey(o)) throw new InvalidOperationException(SR.Format(SR.XmlInternalErrorDetails, "missing stack object of type " + o.GetType().FullName));
867if (typeof(IXmlSerializable).IsAssignableFrom(type)) return new InvalidOperationException(SR.Format(SR.XmlInvalidSerializable, type.FullName));
869if (!typeDesc.IsStructLike) return new InvalidOperationException(SR.Format(SR.XmlInvalidUseOfType, type.FullName));
870return new InvalidOperationException(SR.Format(SR.XmlUnxpectedType, type.FullName));
907return new InvalidOperationException(SR.Format(SR.XmlIllegalAnyElement, type.FullName));
1331if (!typeof(IEnumerable).IsAssignableFrom(type)) throw new InvalidOperationException(SR.Format(SR.XmlInternalErrorDetails, "not array like type " + type.FullName));
1681_writer.WriteLine($"static {typeof(Type).FullName} {typeVariable} = {elementTypeVariable}.MakeArrayType();");
1686_writer.Write($"static {typeof(Type).FullName} {typeVariable} = {assemblyVariable}.GetType(");
1687WriteQuotedCSharpString(type.FullName);
1699_writer.WriteLine($"static {typeof(Type).FullName} {typeVariable} = typeof(System.Nullable<>).MakeGenericType(new {typeof(Type).FullName}[] {{{parameterTypeVariable}}});");
1704_writer.Write($"static {typeof(Type).FullName} {typeVariable} = {assemblyVariable}.GetType(");
1705WriteQuotedCSharpString(type.FullName);
1733"object", "string", typeof(Type).FullName,
1734typeof(FieldInfo).FullName, typeof(PropertyInfo).FullName));
1736WriteDefaultIndexerInit(typeof(IList), typeof(Array).FullName!, false, false);
1811_writer.Write($"static {typeof(Assembly).FullName} {assemblyVariable} = ResolveDynamicAssembly(");
1850_writer.Write($"static {typeof(MethodInfo).FullName} {methodVariable} = {typeVariable}.GetMethod(");
1854string bindingFlags = typeof(BindingFlags).FullName!;
1869_writer.Write($"new {typeof(Type).FullName}[] {{ ");
1896_writer.Write(typeof(Type[]).FullName);
1961return $"{typeof(Convert).FullName}.ToInt64({variable})";
1962return $"(({typeof(long).FullName}){variable})";
2028string typeFullName = arrayTypeDesc.IsCollection ? arrayTypeDesc.CSharpName : typeof(Array).FullName!;
2061createInstance.Append(typeof(Activator).FullName);
2065string bindingFlags = typeof(BindingFlags).FullName!;
2141typeName = typeof(IEnumerable).FullName!;
2143typeName = typeof(ICollection).FullName!;
2145typeName = typeof(Array).FullName!;
2301Writer.Write(typeof(System.Xml.Serialization.XmlSerializationWriter).FullName);
2397Writer.Write(typeof(System.Xml.Serialization.XmlSerializationWriteCallback).FullName);
2474Writer.Write(typeof(XmlConvert).FullName);
2682string source = $"(({typeof(System.Xml.Serialization.XmlSerializerNamespaces).FullName})p[{xmlnsMember}])";
2968Writer.Write(typeof(long).FullName);
3161Writer.Write(typeof(Type).FullName);
3241if (mapping.TypeDesc.UseReflection) methodInvoke = $"(({typeof(bool).FullName}){methodInvoke})";
3250if (mapping.TypeDesc.UseReflection) memberGet = $"(({typeof(bool).FullName}){memberGet})";
3282if (mapping.TypeDesc.UseReflection) methodInvoke = $"(({typeof(bool).FullName}){methodInvoke})";
3291if (mapping.TypeDesc.UseReflection) memberGet = $"(({typeof(bool).FullName}){memberGet})";
3369Writer.Write(typeof(StringBuilder).FullName);
3371Writer.Write(typeof(StringBuilder).FullName);
3380Writer.Write(typeof(IEnumerator).FullName);
3384Writer.Write(typeof(IEnumerable).FullName);
3393Writer.Write(typeof(IEnumerator).FullName);
3410Writer.Write(typeof(IEnumerator).FullName);
3433Writer.Write(typeof(ICollection).FullName);
3592Writer.Write(typeof(IEnumerator).FullName);
3597Writer.Write(typeof(IEnumerable).FullName);
3608Writer.Write(typeof(IEnumerator).FullName);
3629Writer.Write(typeof(IEnumerator).FullName);
3666Writer.Write(typeof(ICollection).FullName);
3803string fullTypeName = typeof(XmlElement).FullName!;
4065Writer.Write(typeof(ICollection).FullName);
4213Writer.Write(typeof(XmlNode).FullName);
4245Writer.Write(cast.FullName);
4281Type? type = Type.GetType(mapping.TypeDesc!.Type!.FullName!);
4289Type? type = Type.GetType(mapping.TypeDesc!.Type!.FullName!);
4374Writer.Write(type.FullName);
4408Writer.Write(type.FullName);
4416Writer.Write(type.FullName);
4420Writer.Write(((DateTimeOffset)value).Offset.GetType().FullName);
4428Writer.Write(type.FullName);
4436Writer.Write(type.FullName);
4448Writer.Write(type.FullName);
4462throw new InvalidOperationException(SR.Format(SR.XmlUnsupportedDefaultType, type.FullName));
System.Reflection.Context (2)
System.Reflection.DispatchProxy (4)
System.Reflection.Emit (9)
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.InteropServices.JavaScript (10)
System.Runtime.Serialization.Formatters (7)
System.Runtime.Serialization.Schema (3)
System.Security.Cryptography (2)
System.Security.Cryptography.Pkcs (4)
System.Security.Cryptography.Xml (1)
System.Security.Permissions (3)
System.ServiceModel.Primitives (82)
Internals\System\Xml\XmlMtomReader.cs (20)
2153get { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.SeekNotSupportedOnStream, GetType().FullName))); }
2158get { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.SeekNotSupportedOnStream, GetType().FullName))); }
2159set { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.SeekNotSupportedOnStream, GetType().FullName))); }
2164throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.WriteNotSupportedOnStream, GetType().FullName)));
2174throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.WriteNotSupportedOnStream, GetType().FullName)));
2179throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.WriteNotSupportedOnStream, GetType().FullName)));
2201throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.SeekNotSupportedOnStream, GetType().FullName)));
2206throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.WriteNotSupportedOnStream, GetType().FullName)));
2211throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.WriteNotSupportedOnStream, GetType().FullName)));
2872get { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.SeekNotSupportedOnStream, stream.GetType().FullName))); }
2877get { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.SeekNotSupportedOnStream, stream.GetType().FullName))); }
2878set { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.SeekNotSupportedOnStream, stream.GetType().FullName))); }
2884throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.ReadNotSupportedOnStream, stream.GetType().FullName)));
2891throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.WriteNotSupportedOnStream, stream.GetType().FullName)));
2902throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.ReadNotSupportedOnStream, stream.GetType().FullName)));
2909throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.WriteNotSupportedOnStream, stream.GetType().FullName)));
2920throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.ReadNotSupportedOnStream, stream.GetType().FullName)));
3005throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.SeekNotSupportedOnStream, stream.GetType().FullName)));
3010throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.SeekNotSupportedOnStream, stream.GetType().FullName)));
3015throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.WriteNotSupportedOnStream, stream.GetType().FullName)));
System\ServiceModel\ChannelFactory.cs (5)
373ServiceModelActivity.Start(activity, SRP.Format(SRP.ActivityConstructChannelFactory, typeof(TChannel).FullName), ActivityType.Construct);
398ServiceModelActivity.Start(activity, SRP.Format(SRP.ActivityConstructChannelFactory, typeof(TChannel).FullName), ActivityType.Construct);
417ServiceModelActivity.Start(activity, SRP.Format(SRP.ActivityConstructChannelFactory, typeof(TChannel).FullName), ActivityType.Construct);
519throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SfxCallbackTypeCannotBeNull, endpoint.Contract.ContractType.FullName)));
528throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SfxCallbackTypeCannotBeNull, endpoint.Contract.ContractType.FullName)));
System\ServiceModel\Description\ServiceReflector.cs (7)
432throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.ServicesWithoutAServiceContractAttributeCan2, operationContractProviderType.Name, method.Name, service.FullName)));
607throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SFxDisallowedAttributeCombination, attrProvider, attrType.FullName, otherType.FullName)));
830throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.NoEndMethodFoundForAsyncBeginMethod3, beginMethod.Name, beginMethod.DeclaringType.FullName, endMethodName)));
834throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.MoreThanOneEndMethodFoundForAsyncBeginMethod3, beginMethod.Name, beginMethod.DeclaringType.FullName, endMethodName)));
845throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.InvalidAsyncEndMethodSignatureForMethod2, endMethod.Name, endMethod.DeclaringType.FullName)));
878throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.InvalidAsyncBeginMethodSignatureForMethod2, method.Name, method.DeclaringType.FullName)));
System.Speech (7)
Recognition\Grammar.cs (2)
177return (Grammar?)assembly.CreateInstance(typeTarget.FullName!, false, BindingFlags.CreateInstance, null, onInitParameters, null, null);
739return (Grammar?)assembly.CreateInstance(typeTarget.FullName!, false, BindingFlags.CreateInstance, null, initParams!, null, null);
System.Text.Json (11)
System.Text.Json.SourceGeneration (13)
System.Text.RegularExpressions.Generator (4)
System.Threading.RateLimiting (1)
System.Transactions.Local (1)
System.Windows.Extensions (1)
System.Windows.Forms (47)
System.Windows.Forms.Design (54)
System.Windows.Forms.Primitives (3)
System.Xaml (11)
testhost (1)
testhost.arm64 (1)
testhost.x86 (1)
UIAutomationClientSideProviders (7)
vstest.console (4)
vstest.console.arm64 (4)
WindowsFormsIntegration (1)