13 overrides of FullName
System.Private.CoreLib (9)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\SymbolType.cs (1)
357public override string? FullName => TypeNameBuilder.ToString(this, TypeNameBuilder.Format.FullName);
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\TypeBuilderInstantiation.cs (1)
107public override string? FullName => _strFullQualName ??= TypeNameBuilder.ToString(this, TypeNameBuilder.Format.FullName);
src\libraries\System.Private.CoreLib\src\System\Reflection\ModifiedType.cs (1)
93public override string? FullName => _unmodifiedType.FullName;
src\libraries\System.Private.CoreLib\src\System\Reflection\SignatureType.cs (1)
76public sealed override string? FullName => null;
src\libraries\System.Private.CoreLib\src\System\Reflection\TypeDelegator.cs (1)
55public override string? FullName => typeImpl.FullName;
src\System\Reflection\Emit\RuntimeEnumBuilder.cs (1)
81public override string? FullName => m_typeBuilder.FullName;
src\System\Reflection\Emit\RuntimeGenericTypeParameterBuilder.cs (1)
94public override string? FullName => null;
src\System\Reflection\Emit\RuntimeTypeBuilder.cs (1)
653public override string? FullName => m_strFullQualName ??= TypeNameBuilder.ToString(this, TypeNameBuilder.Format.FullName);
src\System\RuntimeType.CoreCLR.cs (1)
3321public override string? FullName => GetCachedName(TypeNameKind.FullName);
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingType.cs (1)
62public override string? FullName
System.Reflection.Emit (1)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\SymbolType.cs (1)
357public override string? FullName => TypeNameBuilder.ToString(this, TypeNameBuilder.Format.FullName);
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Types\RoType.cs (1)
118public sealed override string? FullName => _lazyFullName ??= ComputeFullName();
System.Windows.Forms.Tests (1)
System\Windows\Forms\ListBindingHelperTests.cs (1)
775public override string FullName => throw new NotImplementedException();
3070 references to FullName
ApiExplorerWebSite (4)
ApiExplorerDataFilter.cs (4)
68Type = parameter.Type?.FullName, 90FormatterType = request.Formatter?.GetType().FullName, 100ResponseType = response.Type?.FullName, 108FormatterType = responseFormat.Formatter?.GetType().FullName,
Aspire.Confluent.Kafka (2)
src\Vendoring\OpenTelemetry.Instrumentation.ConfluentKafka\OpenTelemetryConsumeResultExtensions.cs (1)
135processActivity?.SetTag(SemanticConventions.AttributeErrorType, ex.GetType().FullName);
src\Vendoring\OpenTelemetry.Instrumentation.ConfluentKafka\Shared\PropertyFetcher.AOT.cs (1)
116$"Type: {declaringType.FullName} is a value type. PropertyFetcher can only operate on reference payload types.");
Aspire.Dashboard.Components.Tests (2)
tests\Shared\Logging\TestSink.cs (2)
56return context.LoggerName?.Equals(typeof(T).FullName) == true; 61return context.LoggerName?.Equals(typeof(T).FullName) == true;
Aspire.Dashboard.Tests (10)
Integration\FrontendBrowserTokenAuthTests.cs (4)
101var log = testSink.Writes.Single(s => s.LoggerName == typeof(FrontendCompositeAuthenticationHandler).FullName && s.EventId.Name == "AuthenticationSchemeNotAuthenticatedWithFailure"); 171var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName).ToList(); 232var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName).ToList(); 259var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName).ToList();
Integration\FrontendOpenIdConnectAuthTests.cs (1)
90var log = testSink.Writes.Single(s => s.LoggerName == typeof(FrontendCompositeAuthenticationHandler).FullName && s.EventId.Name == "AuthenticationSchemeNotAuthenticatedWithFailure");
Integration\StartupTests.cs (3)
343if (w.LoggerName != typeof(DashboardWebApplication).FullName) 559var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName).ToList(); 639var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName).ToList();
tests\Shared\Logging\TestSink.cs (2)
56return context.LoggerName?.Equals(typeof(T).FullName) == true; 61return context.LoggerName?.Equals(typeof(T).FullName) == true;
Aspire.Hosting (2)
Dcp\DcpExecutor.cs (2)
1499throw new InvalidOperationException($"Unexpected resource type: {appResource.DcpResource.GetType().FullName}"); 1546throw new InvalidOperationException($"Unexpected resource type: {appResource.DcpResource.GetType().FullName}");
Aspire.Hosting.Keycloak.Tests (2)
KeycloakResourceBuilderTests.cs (2)
96Assert.Equal("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", rmq.Resource.AdminPasswordParameter.Default?.GetType().FullName); 106Assert.NotEqual("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", rmq.Resource.AdminPasswordParameter.Default?.GetType().FullName);
Aspire.Hosting.MySql.Tests (2)
AddMySqlTests.cs (2)
23Assert.Equal("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", mysql.Resource.PasswordParameter.Default?.GetType().FullName); 33Assert.NotEqual("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", mysql.Resource.PasswordParameter.Default?.GetType().FullName);
Aspire.Hosting.Nats.Tests (2)
AddNatsTests.cs (2)
21Assert.Equal("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", nats.Resource.PasswordParameter!.Default?.GetType().FullName); 31Assert.NotEqual("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", nats.Resource.PasswordParameter!.Default?.GetType().FullName);
Aspire.Hosting.Oracle.Tests (2)
AddOracleTests.cs (2)
22Assert.Equal("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", orcl.Resource.PasswordParameter.Default?.GetType().FullName); 32Assert.NotEqual("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", orcl.Resource.PasswordParameter.Default?.GetType().FullName);
Aspire.Hosting.PostgreSQL.Tests (2)
AddPostgresTests.cs (2)
32Assert.Equal("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", pg.Resource.PasswordParameter.Default?.GetType().FullName); 42Assert.NotEqual("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", pg.Resource.PasswordParameter.Default?.GetType().FullName);
Aspire.Hosting.Qdrant.Tests (2)
AddQdrantTests.cs (2)
25Assert.Equal("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", qd.Resource.ApiKeyParameter.Default?.GetType().FullName); 35Assert.NotEqual("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", qd.Resource.ApiKeyParameter.Default?.GetType().FullName);
Aspire.Hosting.RabbitMQ.Tests (2)
AddRabbitMQTests.cs (2)
21Assert.Equal("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", rmq.Resource.PasswordParameter.Default?.GetType().FullName); 31Assert.NotEqual("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", rmq.Resource.PasswordParameter.Default?.GetType().FullName);
Aspire.Hosting.SqlServer.Tests (2)
AddSqlServerTests.cs (2)
22Assert.Equal("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", sql.Resource.PasswordParameter.Default?.GetType().FullName); 32Assert.NotEqual("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", sql.Resource.PasswordParameter.Default?.GetType().FullName);
Aspire.Hosting.Testing.Tests (2)
tests\Shared\Logging\TestSink.cs (2)
56return context.LoggerName?.Equals(typeof(T).FullName) == true; 61return context.LoggerName?.Equals(typeof(T).FullName) == true;
Aspire.Hosting.Tests (3)
DcpVisibilityTests.cs (1)
14var dcpNamespaceTypes = types.Where(t => t.FullName!.Contains("Dcp", StringComparison.OrdinalIgnoreCase));
tests\Shared\Logging\TestSink.cs (2)
56return context.LoggerName?.Equals(typeof(T).FullName) == true; 61return context.LoggerName?.Equals(typeof(T).FullName) == true;
Aspire.Microsoft.Data.SqlClient (1)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\Shared\DiagnosticSourceInstrumentation\PropertyFetcher.cs (1)
112$"Type: {declaringType.FullName} is a value type. PropertyFetcher can only operate on reference payload types.");
Aspire.Microsoft.EntityFrameworkCore.SqlServer (1)
src\Vendoring\OpenTelemetry.Instrumentation.SqlClient\Shared\DiagnosticSourceInstrumentation\PropertyFetcher.cs (1)
112$"Type: {declaringType.FullName} is a value type. PropertyFetcher can only operate on reference payload types.");
Aspire.Playground.Tests (5)
Infrastructure\DistributedApplicationExtensions.cs (3)
250logger.LogInformation("Applying migrations for DbContext '{DbContextType}' in project '{ProjectName}'", dbContextType.FullName, projectName); 256logger.LogInformation("Migrations applied for DbContext '{DbContextType}' in project '{ProjectName}'", dbContextType.FullName, projectName); 269if (baseType.FullName == "Microsoft.EntityFrameworkCore.DbContext" && baseType.Assembly.GetName().Name == "Microsoft.EntityFrameworkCore")
tests\Shared\Logging\TestSink.cs (2)
56return context.LoggerName?.Equals(typeof(T).FullName) == true; 61return context.LoggerName?.Equals(typeof(T).FullName) == true;
Aspire.RabbitMQ.Client (1)
src\Components\Aspire.RabbitMQ.Client\AspireRabbitMQExtensions.cs (1)
258connectAttemptActivity.AddTag("exception.type", ex.GetType().FullName);
Aspire.StackExchange.Redis (2)
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\Implementation\RedisProfilerEntryToActivityConverter.cs (1)
209string methodName = classType.FullName + ".get_" + field.Name;
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\Shared\PropertyFetcher.AOT.cs (1)
118$"Type: {declaringType.FullName} is a value type. PropertyFetcher can only operate on reference payload types.");
BuildActionTelemetryTable (6)
Program.cs (4)
508return (type.FullName!, fnvHash); 691=> Equals(x?.FullName, y?.FullName); 695return obj.FullName!.GetHashCode();
src\Workspaces\Core\Portable\Shared\Extensions\TelemetryExtensions.cs (2)
18Contract.ThrowIfNull(type.FullName); 24var suffix = Roslyn.Utilities.Hash.GetFNVHashCode(type.FullName);
CodeStyleConfigFileGenerator (1)
src\Compilers\Core\Portable\InternalUtilities\ExceptionUtilities.cs (1)
21string output = string.Format("Unexpected value '{0}' of type '{1}'", o, (o != null) ? o.GetType().FullName : "<unknown>");
ConfigurationSchemaGenerator (5)
RuntimeSource\Configuration.Binder\Parser\Extensions.cs (2)
20/// <see cref="System.Type.FullName"/> like rendering of the symbol name. 56/// <see cref="System.Type.FullName"/> like rendering of the symbol name.
RuntimeSource\Configuration.Binder\Specs\Types\TypeSpec.cs (1)
27/// <see cref="System.Type.FullName"/> like rendering of the type name.
RuntimeSource\Roslyn\GetBestTypeByMetadataName.cs (2)
89type.IsArray || type.FullName is null 91: GetBestTypeByMetadataName(compilation, type.FullName);
ControllersFromServicesWebSite (1)
Startup.cs (1)
48public override string Name => string.Join(", ", Types.Select(t => t.FullName));
DesignSurfaceExt (1)
DesignSurfaceExt.cs (1)
113throw new InvalidOperationException($"the BeginLoad() failed! Some error during {typeof(TControl).FullName} loding");
dotnet-svcutil.xmlserializer (2)
Microsoft\Tools\ServiceModel\SvcUtil\Options.cs (2)
484if (specifiedTypes.TryGetValue(type.FullName, out foundType)) 485foundTypeName = type.FullName;
dotnet-svcutil-lib (329)
CodeDomFixup\CodeDomHelpers.cs (1)
27Type namespaceHelper = typeof(ServiceContractGenerator).GetTypeInfo().Assembly.GetType(typeof(ServiceContractGenerator).FullName + "+NamespaceHelper");
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (2)
483if (method.ReturnType.BaseType != typeof(void).FullName) 525if (attr.Name == typeof(System.ServiceModel.OperationContractAttribute).FullName)
CodeDomFixup\CodeDomVisitors\NamespaceFixer.cs (4)
27if (type.FullName.Contains(s_microsoftXml)) 29_xmlTypes[type.FullName] = type; 38if (type.FullName.Contains(s_microsoftCodeDom)) 40_codeDomTypes[type.FullName] = type;
CodeDomFixup\CodeDomVisitors\SimpleTypeRemapper.cs (1)
15public SimpleTypeRemapper(Type srcType, Type destType) : this(srcType, destType.FullName) { }
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));
CodeDomFixup\MethodCreationHelper.cs (2)
211throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.ErrBindingTypeNotSupportedFormat, binding.GetType().FullName)); 1084throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.ErrBindingElementNotSupportedFormat, bindingElement.GetType().FullName));
CommandProcessorOptions.cs (2)
917if (specifiedTypes.TryGetValue(type.FullName, out Type foundType)) 919foundTypeName = type.FullName;
FrameworkFork\Microsoft.CodeDom\Compiler\CodeGenerator.cs (2)
824throw new ArgumentException(string.Format(SRCodeDom.InvalidElementType, e.GetType().FullName), "e"); 1143throw new ArgumentException(string.Format(SRCodeDom.InvalidElementType, e.GetType().FullName), "e");
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.CodeDom\Microsoft\CSharpCodeProvider.cs (2)
1219throw new ArgumentException(string.Format(SRCodeDom.InvalidElementType, e.GetType().FullName), "e"); 1969throw new ArgumentException(string.Format(SRCodeDom.InvalidElementType, e.GetType().FullName), "e");
FrameworkFork\Microsoft.CodeDom\System\CodeMemberMethod.cs (1)
72_returnType = new CodeTypeReference(typeof(void).FullName);
FrameworkFork\Microsoft.CodeDom\System\CodeTypeReference.cs (1)
146typeName = typeof(void).FullName;
FrameworkFork\Microsoft.Xml\Xml\Serialization\Advanced\SchemaImporterExtension.cs (3)
68return Add(extension.GetType().FullName, extension); 203string comment = string.Format(ResXml.XmlExtensionComment, _extension.GetType().FullName); 209throw new InvalidOperationException(string.Format(ResXml.XmlExtensionDuplicateDefinition, _extension.GetType().FullName, _clrType));
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (9)
106CodeAttributeDeclaration decl = new CodeAttributeDeclaration(typeof(GeneratedCodeAttribute).FullName); 124if (attribute.Name == type.FullName || attribute.Name == type.Name) 191CodeAttributeDeclaration include = new CodeAttributeDeclaration(includeType.FullName); 204CodeAttributeDeclaration include = new CodeAttributeDeclaration(includeType.FullName); 258CodeAttributeDeclaration flags = new CodeAttributeDeclaration(typeof(FlagsAttribute).FullName); 267CodeAttributeDeclaration attribute = new CodeAttributeDeclaration(type.FullName); 299CodeAttributeDeclaration attribute = new CodeAttributeDeclaration(type.FullName); 308CodeMemberField field = new CodeMemberField(typeof(int).FullName, constant.Name); 315CodeAttributeDeclaration attribute = new CodeAttributeDeclaration(type.FullName);
FrameworkFork\Microsoft.Xml\Xml\Serialization\Compilation.cs (1)
111MissingMethodException missingMethod = new MissingMethodException(string.Format("{0}:{1}", type.FullName, methodName));
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\SchemaImporter.cs (1)
168throw new InvalidOperationException(string.Format(ResXml.XmlInvalidBaseType, structMapping.TypeDesc.FullName, baseType.FullName, typeDescToChange.BaseTypeDesc.FullName));
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapAttributeOverrides.cs (1)
45throw new InvalidOperationException(string.Format(ResXml.XmlMultipleAttributeOverrides, type.FullName, member));
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapCodeExporter.cs (7)
114codeClass.CustomAttributes.Add(new CodeAttributeDeclaration(typeof(DebuggerStepThroughAttribute).FullName)); 208CodeAttributeDeclaration attribute = new CodeAttributeDeclaration(typeof(SoapElementAttribute).FullName); 249field = new CodeMemberField(typeof(bool).FullName, member.Name + "Specified"); 252CodeAttributeDeclaration attribute = new CodeAttributeDeclaration(typeof(SoapIgnoreAttribute).FullName); 274field = new CodeMemberField(typeof(bool).FullName, fieldName + "Specified"); 278prop = CreatePropertyDeclaration(field, member.Name + "Specified", typeof(bool).FullName); 280CodeAttributeDeclaration attribute = new CodeAttributeDeclaration(typeof(SoapIgnoreAttribute).FullName);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (3)
218throw new InvalidOperationException(string.Format(ResXml.XmlInvalidTypeAttributes, model.Type.FullName)); 776throw new InvalidOperationException(string.Format(ResXml.XmlInvalidDefaultEnumValue, a.SoapDefaultValue.GetType().FullName, fieldTypeDesc.FullName)); 780throw new InvalidOperationException(string.Format(ResXml.XmlInvalidDefaultValue, strValue, a.SoapDefaultValue.GetType().FullName));
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (1)
65throw new InvalidOperationException(string.Format(ResXml.XmlPrimitiveBaseType, name.Name, name.Namespace, baseType.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\XmlAttributeOverrides.cs (1)
45throw new InvalidOperationException(string.Format(ResXml.XmlAttributeSetAgain, type.FullName, member));
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\XmlCustomFormatter.cs (1)
59throw new Exception(string.Format(ResXml.XmlUnsupportedDefaultType, type.FullName));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlMapping.cs (1)
129return type.FullName + ":" + (root == null ? String.Empty : root.Key) + ":" + (ns == null ? String.Empty : ns);
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\XmlSchemaExporter.cs (1)
919if (value.GetType() != typeof(string)) throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorDetails, string.Format(ResXml.XmlInvalidDefaultValue, value.ToString(), value.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\XmlSchemas.cs (1)
366throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorDetails, "XmlSchemas.Find: Invalid object type " + type.FullName));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationGeneratedCode.cs (6)
115_writer.Write(typeof(Hashtable).FullName); 120_writer.Write(typeof(Hashtable).FullName); 135_writer.Write(typeof(Hashtable).FullName); 137_writer.Write(typeof(Hashtable).FullName); 182_writer.Write(typeof(bool).FullName); 184_writer.Write(typeof(Type).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\Microsoft.Xml\Xml\Serialization\XmlSerializationWriterILGen.cs (3)
407string source = "((" + typeof(XmlSerializerNamespaces).FullName + ")p[" + xmlnsMember.ToString() + "])"; 1748string fullTypeName = typeof(XmlElement).FullName; 2539if (type.FullName == "System.Xml.Linq.XElement")
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializer.cs (2)
839throw new InvalidOperationException(string.Format(ResXml.XmlUnxpectedType, _primitiveType.FullName)); 913throw new InvalidOperationException(string.Format(ResXml.XmlUnxpectedType, _primitiveType.FullName));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ClassDataContract.cs (1)
485if (Enumerable.Contains(s_knownSerializableTypeNames, type.FullName))
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (2)
510CodeAttributeDeclaration debuggerStepThroughAttribute = new CodeAttributeDeclaration(typeof(System.Diagnostics.DebuggerStepThroughAttribute).FullName); 511CodeAttributeDeclaration generatedCodeAttribute = new CodeAttributeDeclaration(typeof(GeneratedCodeAttribute).FullName);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CollectionDataContract.cs (1)
1268Type ienumerableInterface = interfaceType.GetInterfaces().Where(t => t.FullName.StartsWith("System.Collections.Generic.IEnumerable")).FirstOrDefault();
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (4)
1538.Where(a => a.AttributeType.FullName == Globals.TypeOfDataContractAttribute.FullName) 1639GenericInfo genericInfo = new GenericInfo(DataContract.GetStableName(Globals.TypeOfNullable), Globals.TypeOfNullable.FullName); 1813return !type.GetTypeInfo().IsGenericTypeDefinition && type.GetTypeInfo().ContainsGenericParameters ? String.Format(CultureInfo.InvariantCulture, "{0}.{1}", type.Namespace, type.Name) : type.FullName;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (2)
1125GenericInfo genericInfo = new GenericInfo(DataContract.GetStableName(Globals.TypeOfKeyValue), Globals.TypeOfKeyValue.FullName); 1141genericInfo = new GenericInfo(DataContract.GetStableName(Globals.TypeOfNullable), Globals.TypeOfNullable.FullName);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SerializationExtensionMethods.cs (2)
26if (a.GetType().FullName == attributeType.FullName)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlDataContract.cs (2)
392bool memberAccessFlag = RequiresMemberAccessForCreate(null) && !(type.FullName == "System.Xml.Linq.XElement"); 420if (!ctor.IsPublic && type.FullName == "System.Xml.Linq.XElement")
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (1)
529throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SerializationException(string.Format(SRSerialization.RequiredMemberMustBeEmitted, memberName, type.FullName)));
FrameworkFork\System.ServiceModel\System\IdentityModel\Claims\X509CertificateClaimSet.cs (2)
352throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ObjectDisposedException(this.GetType().FullName)); 583throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ObjectDisposedException(this.GetType().FullName));
FrameworkFork\System.ServiceModel\System\IdentityModel\Policy\UnconditionalPolicy.cs (1)
206throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ObjectDisposedException(this.GetType().FullName));
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\X509SecurityToken.cs (1)
128throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ObjectDisposedException(this.GetType().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\Channels\BinaryMessageEncodingBindingElement.cs (1)
89string errorMsg = string.Format(SRServiceModel.UnsupportedEnvelopeVersion, this.GetType().FullName, BinaryEncoderDefaults.EnvelopeVersion, value.Envelope);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ChannelBindingMessageProperty.cs (1)
132throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ObjectDisposedException(this.GetType().FullName));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (1)
196WcfEventSource.Instance.WebSocketCreateClientWebSocketWithFactory(EventTraceActivity, _connectionFactory.GetType().FullName);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageHeader.cs (1)
444throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRServiceModel.MessageHeaderVersionNotSupported, this.GetType().FullName, messageVersion.ToString()), "version"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageHeaders.cs (1)
1212header.GetType().FullName, _version.Envelope.ToString()), "header"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\RequestContextBase.cs (1)
197throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ObjectDisposedException(this.GetType().FullName));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannelProxy.cs (1)
328activityName = string.Format(SRServiceModel.ActivityClose, _serviceChannel.GetType().FullName);
FrameworkFork\System.ServiceModel\System\ServiceModel\ClientBase.cs (2)
97ServiceModelActivity.Start(activity, string.Format(SRServiceModel.ActivityOpenClientBase, typeof(TChannel).FullName), ActivityType.OpenClient); 206ServiceModelActivity.Start(activity, string.Format(SRServiceModel.ActivityCloseClientBase, typeof(TChannel).FullName), ActivityType.Close);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (1)
995return method.ReturnType == null || String.Compare(method.ReturnType.BaseType, typeof(void).FullName, StringComparison.Ordinal) == 0;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (1)
111CodeAttributeDeclaration knownTypeAttribute = new CodeAttributeDeclaration(typeof(ServiceKnownTypeAttribute).FullName);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (1)
1745return typeRef.BaseType == typeof(Nullable<>).FullName;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (1)
955if (resultType.BaseType == ServiceReflector.VoidType.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)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (9)
186contract.ConfigurationName = channelType.FullName; 201contract.ConfigurationName = channelType.FullName; 372throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxKnownTypeAttributeUnknownMethod3, provider, knownTypeAttribute.MethodName, type.FullName))); 375throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxKnownTypeAttributeReturnType3, provider, knownTypeAttribute.MethodName, type.FullName))); 472opBehaviorAttr.GetType().FullName))); 482opBehaviorAttr.GetType().FullName))); 493opBehaviorAttr.GetType().FullName))); 762contractDescription.ConfigurationName = contractAttr.ConfigurationName ?? contractType.FullName; 976throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.OneWayAndFaultsIncompatible2, methodInfo.DeclaringType.FullName, operationName.EncodedName)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (3)
638string.Format(SRServiceModel.SFxBadMetadataDialect, doc.Identifier, doc.Dialect, typeof(T).FullName, doc.GetType().FullName))); 1909string errorMessage = string.Format(SRServiceModel.WsdlExtensionImportError, importer.GetType().FullName, e.Message);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (3)
271_keyBase = methodInfo.DeclaringType.FullName + ":" + methodInfo.ToString(); 394key = message.MessageType.FullName + ":" + isEncoded + ":" + IsRpc; 525throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxFaultTypeAnonymous, this.Operation.Name, fault.DetailType.FullName)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (2)
168if (include.Name == typeof(SoapIncludeAttribute).FullName || include.Name == typeof(XmlIncludeAttribute).FullName)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (2)
180WcfEventSource.Instance.ParameterInspectorBeforeCallInvoked(rpc.EventTraceActivity, this.ParameterInspectors[i].GetType().FullName); 201WcfEventSource.Instance.ParameterInspectorAfterCallInvoked(rpc.EventTraceActivity, this.ParameterInspectors[i].GetType().FullName);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ErrorBehavior.cs (4)
123WcfEventSource.Instance.FaultProviderInvoked(_handlers[i].GetType().FullName, e.Message); 186WcfEventSource.Instance.ServiceException(error.ToString(), error.GetType().FullName); 194WcfEventSource.Instance.ErrorHandlerInvoked(_handlers[i].GetType().FullName, handledByThis, error.GetType().FullName);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ImmutableClientRuntime.cs (2)
97WcfEventSource.Instance.ClientMessageInspectorAfterReceiveInvoked(rpc.EventTraceActivity, _messageInspectors[i].GetType().FullName); 126WcfEventSource.Instance.ClientMessageInspectorBeforeSendInvoked(rpc.EventTraceActivity, _messageInspectors[i].GetType().FullName);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\OperationFormatter.cs (1)
167throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxMessageContractRequiresDefaultConstructor, messageContractType.FullName), mme));
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ProxyOperationRuntime.cs (2)
180WcfEventSource.Instance.ClientParameterInspectorAfterCallInvoked(rpc.EventTraceActivity, _parameterInspectors[i].GetType().FullName); 218WcfEventSource.Instance.ClientParameterInspectorBeforeCallInvoked(rpc.EventTraceActivity, _parameterInspectors[i].GetType().FullName);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\SyncMethodInvoker.cs (1)
139ServiceModelActivity.Start(activity, string.Format(SRServiceModel.ActivityExecuteMethod, _method.DeclaringType.FullName, _method.Name), ActivityType.ExecuteUserCode);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\TaskMethodInvoker.cs (1)
199string.Format(SRServiceModel.ActivityExecuteMethod, _taskMethod.DeclaringType.FullName, _taskMethod.Name),
FrameworkFork\System.ServiceModel\System\ServiceModel\KeyedByTypeCollection.cs (1)
107throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("item", string.Format(SRServiceModel.DuplicateBehavior1, item.GetType().FullName));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityMessageProperty.cs (1)
315throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ObjectDisposedException(this.GetType().FullName));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\SecurityContextSecurityToken.cs (1)
324throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ObjectDisposedException(this.GetType().FullName));
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedCollection.cs (1)
311throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRServiceModel.SynchronizedCollectionWrongType1, value.GetType().FullName)));
FrameworkFork\System.Web.Services\Configuration\WebServicesSection.cs (2)
61throw new ArgumentException(string.Format(ResWebServices.RequiredXmlFormatExtensionAttributeIsMissing1, extensionType.FullName), "extensionTypes"); 113throw new ArgumentException(string.Format(ResWebServices.TheSyntaxOfTypeMayNotBeExtended1, type.FullName), "type");
HtmlGenerationWebSite (2)
ProductsService.cs (2)
37var key = typeof(ProductsService).FullName; 53var key = typeof(ProductsService).FullName;
IIS.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\CompressionTests.cs (1)
148Assert.Contains("gzip", response.Content.GetType().FullName, StringComparison.OrdinalIgnoreCase);
IISExpress.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\CompressionTests.cs (1)
148Assert.Contains("gzip", response.Content.GetType().FullName, StringComparison.OrdinalIgnoreCase);
illink (4)
ILLink.RoslynAnalyzer (2)
CompilationExtensions.cs (2)
166 => compilation.GetTypeByMetadataName (typeof (Task).FullName!); 168 => compilation.GetTypeByMetadataName (typeof (Task<>).FullName!);
Infrastructure.Common (1)
xunit\ConditionAttribute.cs (1)
74conditionMemberName, testMethodDeclaringType.FullName));
InMemory.FunctionalTests (3)
ConnectionMiddlewareTests.cs (1)
175Assert.Equal(typeof(InvalidOperationException).FullName, m.Tags[KestrelMetrics.ErrorTypeAttributeName]);
KestrelMetricsTests.cs (1)
912Assert.Equal(typeof(AuthenticationException).FullName, (string)m.Tags["error.type"]);
src\Shared\TypeNameHelper\TypeNameHelper.cs (1)
83var name = options.FullName ? type.FullName! : type.Name;
Interop.FunctionalTests (1)
Http2WebSocketInteropTests.cs (1)
155Assert.True(ex is WebSocketException || ex is TaskCanceledException, ex.GetType().FullName);
Microsoft.Analyzers.Extra.Tests (1)
Resources\RoslynTestUtils.cs (1)
445codeActionEquivalenceKey: fixer.GetType().FullName!,
Microsoft.Analyzers.Local.Tests (1)
Resources\RoslynTestUtils.cs (1)
446codeActionEquivalenceKey: fixer.GetType().FullName!,
Microsoft.AspNetCore (1)
WebApplicationBuilder.cs (1)
503var wireUpIndex = destinationDescriptions.IndexOf(typeof(WireSourcePipeline).FullName!);
Microsoft.AspNetCore.Antiforgery.Test (5)
DefaultAntiforgeryTest.cs (4)
351.Setup(lf => lf.CreateLogger(typeof(DefaultAntiforgery).FullName!)) 1282.Setup(lf => lf.CreateLogger(typeof(DefaultAntiforgery).FullName!)) 1320.Setup(lf => lf.CreateLogger(typeof(DefaultAntiforgery).FullName!)) 1354.Setup(lf => lf.CreateLogger(typeof(DefaultAntiforgery).FullName!))
DefaultAntiforgeryTokenGeneratorTest.cs (1)
99$"'{typeof(MyAuthenticatedIdentityWithoutUsername).FullName}' " +
Microsoft.AspNetCore.App.CodeFixes (1)
RouteParameterUnusedParameterFixer.cs (1)
94_ => throw new InvalidOperationException($"Unexpected method syntax: {methodSyntax.GetType().FullName}")
Microsoft.AspNetCore.Authentication (2)
AuthenticationHandler.cs (2)
119Logger = logger.CreateLogger(this.GetType().FullName!); 136Logger = logger.CreateLogger(this.GetType().FullName!);
Microsoft.AspNetCore.Authentication.Core (1)
AuthenticationMetrics.cs (1)
202tags.Add("error.type", exception.GetType().FullName);
Microsoft.AspNetCore.Authentication.OAuth (1)
OAuthPostConfigureOptions.cs (1)
47typeof(THandler).FullName!, name, "v1");
Microsoft.AspNetCore.Authentication.OpenIdConnect (6)
OpenIdConnectHandler.cs (3)
219Logger.EnteringOpenIdAuthenticationHandlerHandleSignOutAsync(GetType().FullName!); 382Logger.EnteringOpenIdAuthenticationHandlerHandleUnauthorizedAsync(GetType().FullName!); 631Logger.EnteringOpenIdAuthenticationHandlerHandleRemoteAuthenticateAsync(GetType().FullName!);
OpenIdConnectPostConfigureOptions.cs (3)
48typeof(OpenIdConnectHandler).FullName!, name, "v1"); 55typeof(OpenIdConnectHandler).FullName!, 56typeof(string).FullName!,
Microsoft.AspNetCore.Authentication.Twitter (1)
TwitterPostConfigureOptions.cs (1)
40typeof(TwitterHandler).FullName!, name, "v1");
Microsoft.AspNetCore.Authentication.WsFederation (1)
WsFederationPostConfigureOptions.cs (1)
48typeof(WsFederationHandler).FullName!, name, "v1");
Microsoft.AspNetCore.Authorization (1)
AuthorizationMetrics.cs (1)
61tags.Add("error.type", exception.GetType().FullName);
Microsoft.AspNetCore.Components (32)
BindConverter.cs (2)
1840$"The type '{typeof(T).FullName}' does not have an associated {typeof(TypeConverter).Name} that supports " + 2047$"The type '{typeof(T).FullName}' does not have an associated {typeof(TypeConverter).Name} that supports " +
ComponentFactory.cs (4)
73throw new InvalidOperationException($"The component activator returned a null value for a component of type {componentType.FullName}."); 136$"'{propertyName}' on type '{type.FullName}'. The service provider " + 143$"'{propertyName}' on type '{type.FullName}'. There is no " + 150$"'{propertyName}' on type '{type.FullName}'. There is no " +
DefaultComponentActivator.cs (1)
21throw new ArgumentException($"The type {componentType.FullName} does not implement {nameof(IComponent)}.", nameof(componentType));
LayoutAttribute.cs (2)
25throw new ArgumentException($"Invalid layout type: {layoutType.FullName} " + 26$"does not implement {typeof(IComponent).FullName}.");
NavigationManager.cs (1)
167throw new NotImplementedException($"The type {GetType().FullName} does not support supplying {nameof(NavigationOptions)}. To add support, that type should override {nameof(NavigateToCore)}(string uri, {nameof(NavigationOptions)} options).");
Reflection\ComponentProperties.cs (11)
173$"type '{target.GetType().FullName}'. The error was: {ex.Message}", ex); 194$"Object of type '{targetType.FullName}' has a property matching the name '{parameterName}', " + 201$"No writer was cached for the property '{propertyInfo.Name}' on type '{targetType.FullName}'."); 207$"Object of type '{targetType.FullName}' does not have a property " + 216$"The property '{parameterName}' on component type '{targetType.FullName}' cannot be set " + 224$"The property '{parameterName}' on component type '{targetType.FullName}' cannot be set " + 232$"The property '{parameterName}' on component type '{targetType.FullName}' cannot be set explicitly " + 252$"Multiple properties were found on component type '{targetType.FullName}' with " + 262$"The property '{propertyInfo.Name}' on component type '{targetType.FullName}' cannot be used " + 313$"The type '{targetType.FullName}' declares a parameter matching the name '{propertyName}' that is not public. Parameters must be public."); 325$"The type '{targetType.FullName}' declares more than one parameter matching the " +
Reflection\PropertySetter.cs (1)
26$"'{property.Name}' on type '{targetType.FullName}' because the property " +
Rendering\RenderTreeBuilder.cs (2)
502throw new ArgumentException($"The component type must implement {typeof(IComponent).FullName}."); 783throw new InvalidOperationException($"Render output is invalid for component of type '{component.GetType().FullName}'. A frame of type '{invalidFrame.FrameType}' was left unclosed. Do not use try/catch inside rendering logic, because partial output cannot be undone.");
RenderTree\EventArgsTypeCache.cs (2)
35throw new InvalidOperationException($"The event handler parameter type {declaredType.FullName} for event must inherit from {typeof(EventArgs).FullName}.");
Routing\Router.cs (2)
224throw new InvalidOperationException($"The type {context.Handler.FullName} " + 225$"does not implement {typeof(IComponent).FullName}.");
Routing\RouteTableFactory.cs (2)
216'{existingText}' in '{existing.Handler.FullName}' 217'{currentText}' in '{current.Handler.FullName}'
src\Http\Routing\src\ParameterPolicyActivator.cs (1)
64$"An error occurred while trying to create an instance of '{parameterPolicyType.FullName}'.",
src\Http\Routing\src\Tree\TreeRouteBuilder.cs (1)
66_constraintLogger = loggerFactory.CreateLogger(typeof(RouteConstraintMatcher).FullName);
Microsoft.AspNetCore.Components.Authorization.Tests (3)
CascadingAuthenticationStateTest.cs (1)
29Assert.Contains($"There is no registered service of type '{typeof(AuthenticationStateProvider).FullName}'.", ex.Message);
src\Components\Shared\test\AssertFrame.cs (2)
81Component(frame, typeof(T).FullName, subtreeLength, sequence); 87Assert.Equal(typeName, frame.ComponentType.FullName);
Microsoft.AspNetCore.Components.Endpoints (37)
Builder\RazorComponentEndpointDataSource.cs (1)
157throw new InvalidOperationException($"Unable to find a provider for the render mode: {renderMode.GetType().FullName}. This generally " +
DependencyInjection\ServerComponentSerializer.cs (1)
39rootComponent.FullName ?? throw new InvalidOperationException("Cannot prerender component types with a null name"),
DependencyInjection\WebAssemblyComponentSerializer.cs (1)
14var typeFullName = type.FullName ?? throw new InvalidOperationException("Cannot prerender component types with a null name");
Discovery\ComponentInfo.cs (1)
49return $"Type = {ComponentType.FullName}, {renderMode}";
Discovery\PageComponentInfo.cs (1)
58return $"Type = {Type.FullName}, DisplayName = {DisplayName}";
FormMapping\Factories\CollectionConverterFactory.cs (1)
66throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'.");
FormMapping\Factories\Collections\ConcreteTypeCollectionConverterFactory.cs (2)
24throw new InvalidOperationException($"Unable to create converter for '{typeof(TCollection).FullName}'."); 31throw new InvalidOperationException($"Unable to create converter for type '{typeof(TCollection).FullName}'.");
FormMapping\Factories\Collections\TypedCollectionConverterFactory.cs (5)
93_ => throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'."), 115throw new InvalidOperationException($"Unable to create converter for '{typeof(TCollection).FullName}'."); 166_ => throw new InvalidOperationException($"Unable to create converter for '{typeof(TCollection).FullName}'.") 204_ => throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'."), 208throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'.");
FormMapping\Factories\ComplexType\ComplexTypeExpressionConverterFactoryOfT.cs (1)
27throw new InvalidOperationException($"Could not resolve metadata for type '{type.FullName}'.");
FormMapping\Factories\Dictionary\ConcreteTypeDictionaryConverterFactory.cs (3)
23throw new InvalidOperationException($"Unable to create converter for '{typeof(TDictionary).FullName}'."); 26throw new InvalidOperationException($"Unable to create converter for '{typeof(TDictionary).FullName}'."); 33throw new InvalidOperationException($"Unable to create converter for type '{typeof(TDictionary).FullName}'.");
FormMapping\Factories\Dictionary\TypedDictionaryConverterFactory.cs (5)
37_ => throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'."), 77throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'."); 103_ => throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'."), 145_ => throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'."), 149throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'.");
FormMapping\Factories\DictionaryConverterFactory.cs (6)
81throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'."); 88throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'."); 94throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'."); 101throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'."); 107throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'."); 115throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'.");
FormMapping\Factories\FileConverterFactory.cs (1)
29throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'.");
FormMapping\Factories\ParsableConverterFactory.cs (1)
25throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'.");
FormMapping\FormDataMapperOptions.cs (1)
70throw new InvalidOperationException($"No converter registered for type '{type.FullName}'.");
Rendering\SSRRenderModeBoundary.cs (1)
170_ => throw new UnreachableException($"Unknown render mode {RenderMode.GetType().FullName}"),
Rendering\TypeNameHash.cs (2)
16if (type.FullName is not { } typeName) 18throw new InvalidOperationException($"Cannot compute a hash for a type without a {nameof(Type.FullName)}.");
src\Shared\ClosedGenericMatcher\ClosedGenericMatcher.cs (2)
78else if (StringComparer.Ordinal.Compare(@interface.FullName, bestMatch.FullName) < 0)
src\Shared\Components\ComponentParameter.cs (1)
24TypeName = valueType?.FullName,
Microsoft.AspNetCore.Components.Endpoints.Tests (18)
EndpointHtmlRendererTest.cs (16)
68Assert.Equal(typeof(SimpleComponent).FullName, marker.TypeName); 92Assert.Equal(typeof(SimpleComponent).FullName, preambleMarker.TypeName); 134Assert.Equal(typeof(GreetingComponent).FullName, marker.TypeName); 171Assert.Equal(typeof(GreetingComponent).FullName, marker.TypeName); 207Assert.Equal(typeof(GreetingComponent).FullName, preambleMarker.TypeName); 256Assert.Equal(typeof(GreetingComponent).FullName, preambleMarker.TypeName); 320Assert.Equal(typeof(SimpleComponent).FullName, serverComponent.TypeName); 354Assert.Equal(typeof(SimpleComponent).FullName, serverComponent.TypeName); 471Assert.Equal(typeof(GreetingComponent).FullName, serverComponent.TypeName); 510Assert.Equal(typeof(GreetingComponent).FullName, serverComponent.TypeName); 551Assert.Equal(typeof(GreetingComponent).FullName, serverComponent.TypeName); 602Assert.Equal(typeof(GreetingComponent).FullName, serverComponent.TypeName); 1084Assert.Equal(typeof(InteractiveGreetingServer).FullName, serverComponent.TypeName); 1113Assert.Equal(typeof(InteractiveGreetingServerNonPrerendered).FullName, serverComponent.TypeName); 1132Assert.Equal(typeof(InteractiveGreetingWebAssembly).FullName, marker.TypeName); 1145Assert.Equal(typeof(InteractiveGreetingWebAssemblyNonPrerendered).FullName, marker.TypeName);
TypeNameHashTest.cs (2)
64Assert.True(type.FullName.Length > TypeNameHash.MaxStackBufferSize); 76Assert.Equal($"Cannot compute a hash for a type without a {nameof(Type.FullName)}.", ex.Message);
Microsoft.AspNetCore.Components.Forms.Tests (2)
src\Components\Shared\test\AssertFrame.cs (2)
81Component(frame, typeof(T).FullName, subtreeLength, sequence); 87Assert.Equal(typeName, frame.ComponentType.FullName);
Microsoft.AspNetCore.Components.QuickGrid (1)
Infrastructure\AsyncQueryExecutorSupplier.cs (1)
57=> queryableProviderType.GetInterfaces().Any(x => string.Equals(x.FullName, "Microsoft.EntityFrameworkCore.Query.IAsyncQueryProvider", StringComparison.Ordinal)) == true;
Microsoft.AspNetCore.Components.Server (3)
ProtectedBrowserStorage\ProtectedBrowserStorage.cs (1)
155=> $"{GetType().FullName}:{_storeName}:{key}";
src\Shared\Components\ComponentParameter.cs (1)
24TypeName = valueType?.FullName,
src\submodules\MessagePack-CSharp\src\MessagePack.UnityClient\Assets\Scripts\MessagePack\Utilities.cs (1)
41throw new InvalidOperationException("The underlying IBufferWriter<byte>.GetMemory(int) method returned an empty memory block, which is not allowed. This is a bug in " + bufferWriter.GetType().FullName);
Microsoft.AspNetCore.Components.Server.Tests (22)
Circuits\RenderBatchWriterTest.cs (1)
349throw new InvalidOperationException($"Unsupported type: {expectedEntry.GetType().FullName}");
Circuits\ServerComponentDeserializerTest.cs (13)
35Assert.Equal(typeof(TestComponent).FullName, deserializedDescriptor.ComponentType.FullName); 50Assert.Equal(typeof(TestComponent).FullName, deserializedDescriptor.ComponentType.FullName); 69Assert.Equal(typeof(TestComponent).FullName, deserializedDescriptor.ComponentType.FullName); 90Assert.Equal(typeof(TestComponent).FullName, firstDescriptor.ComponentType.FullName); 94Assert.Equal(typeof(TestComponent).FullName, secondDescriptor.ComponentType.FullName); 112Assert.Equal(typeof(TestComponent).FullName, firstDescriptor.ComponentType.FullName); 120Assert.Equal(typeof(TestComponent).FullName, secondDescriptor.ComponentType.FullName); 142Assert.Equal(typeof(TestComponent).FullName, firstDescriptor.ComponentType.FullName); 150Assert.Equal(typeof(TestComponent).FullName, secondDescriptor.ComponentType.FullName); 315Assert.Equal(typeof(TestComponent).FullName, descriptor.ComponentType.FullName); 331Assert.Equal(typeof(TestComponent).FullName, firstDescriptor.ComponentType.FullName); 337Assert.Equal(typeof(TestComponent).FullName, secondDescriptor.ComponentType.FullName); 449var key = new ComponentMarkerKey(type.FullName, null);
ProtectedBrowserStorageTest.cs (6)
27var expectedPurpose = $"{typeof(TestProtectedBrowserStorage).FullName}:testStore:{keyName}"; 77var expectedPurpose = $"{typeof(TestProtectedBrowserStorage).FullName}:testStore:testKey"; 102var expectedPurpose = $"{typeof(TestProtectedBrowserStorage).FullName}:testStore:{keyName}"; 171var expectedPurpose = $"{typeof(TestProtectedBrowserStorage).FullName}:testStore:testKey"; 224var expectedPurpose = $"{typeof(TestProtectedBrowserStorage).FullName}:testStore:testKey"; 272var typeName = typeof(TestProtectedBrowserStorage).FullName;
src\Components\Endpoints\src\DependencyInjection\ServerComponentSerializer.cs (1)
39rootComponent.FullName ?? throw new InvalidOperationException("Cannot prerender component types with a null name"),
src\SignalR\common\SignalR.Common\test\Internal\Protocol\TestHubMessageEqualityComparer.cs (1)
47throw new InvalidOperationException($"Unknown message type: {x.GetType().FullName}");
Microsoft.AspNetCore.Components.Tests (32)
ComponentFactoryTest.cs (2)
39Assert.StartsWith($"The type {componentType.FullName} does not implement {nameof(IComponent)}.", ex.Message); 72Assert.Equal($"The component activator returned a null value for a component of type {componentType.FullName}.", ex.Message);
DependencyInjectionTest.cs (5)
50$"on type '{typeof(HasGetOnlyPropertyWithInject).FullName}' because the property " + 63$"on type '{typeof(HasInjectableProperty).FullName}'. There is no registered service " + 64$"of type '{typeof(IMyService).FullName}'.", ex.Message); 79$"on type '{typeof(HasKeyedInjectableProperty).FullName}'. There is no registered keyed service " + 80$"of type '{typeof(IMyService).FullName}' with key '{HasKeyedInjectableProperty.ServiceKey}'.", ex.Message);
EventCallbackFactoryBinderExtensionsTest.cs (1)
608$"The type '{typeof(ClassWithoutTypeConverter).FullName}' does not have an associated TypeConverter that supports conversion from a string. " +
ParameterViewTest.Assignment.cs (15)
163$"Object of type '{typeof(HasCascadingParameter).FullName}' does not have a property " + 185$"Object of type '{typeof(HasPropertyWithoutParameterAttribute).FullName}' has a property matching the name '{nameof(HasPropertyWithoutParameterAttribute.IntProp)}', " + 207$"The type '{typeof(HasNonPublicPropertyWithParameterAttribute).FullName}' declares a parameter matching the name '{nameof(HasNonPublicPropertyWithParameterAttribute.IntProp)}' that is not public. Parameters must be public.", 242$"The property '{nameof(HasCascadingParameter.Cascading)}' on component type '{typeof(HasCascadingParameter).FullName}' " + 261$"The property '{nameof(HasInstanceProperties.IntProp)}' on component type '{typeof(HasInstanceProperties).FullName}' " + 281$"'{typeof(HasPropertyWithParameterAndCascadingParameterAttributes).FullName}' cannot be set explicitly because it " + 385$"The property '{nameof(HasCaptureUnmatchedValuesProperty.CaptureUnmatchedValues)}' on component type '{typeof(HasCaptureUnmatchedValuesProperty).FullName}' cannot be set explicitly when " + 409$"The property '{nameof(HasCaptureUnmatchedValuesProperty.CaptureUnmatchedValues)}' on component type '{typeof(HasCaptureUnmatchedValuesProperty).FullName}' cannot be set explicitly when " + 428$"Multiple properties were found on component type '{typeof(HasDuplicateCaptureUnmatchedValuesProperty).FullName}' " + 449$"The property '{nameof(HasWrongTypeCaptureUnmatchedValuesProperty.CaptureUnmatchedValuesProp)}' on component type '{typeof(HasWrongTypeCaptureUnmatchedValuesProperty).FullName}' cannot be used with " + 495$"The property '{nameof(HasCaptureUnmatchedValuesProperty.IntProp)}' on component type '{typeof(HasCaptureUnmatchedValuesProperty).FullName}' " + 518$"type '{typeof(HasInstanceProperties).FullName}'. The error was: {ex.InnerException.Message}", 539$"type '{typeof(HasPropertyWhoseSetterThrows).FullName}'. The error was: {ex.InnerException.Message}", 556$"The type '{typeof(HasParametersVaryingOnlyByCase).FullName}' declares more than one parameter matching the " + 579$"The type '{typeof(HasParameterClashingWithInherited).FullName}' declares more than one parameter matching the " +
RendererTest.cs (2)
687Assert.Contains($"must inherit from {typeof(EventArgs).FullName}", ex.Message); 4538Assert.StartsWith($"Render output is invalid for component of type '{typeof(TestComponent).FullName}'. A frame of type 'Element' was left unclosed.", ex.Message);
Rendering\RenderTreeBuilderTest.cs (3)
2050Assert.StartsWith($"Render output is invalid for component of type '{typeof(TestComponent).FullName}'. A frame of type 'Element' was left unclosed.", ex.Message); 2065Assert.StartsWith($"Render output is invalid for component of type '{typeof(TestComponent).FullName}'. A frame of type 'Component' was left unclosed.", ex.Message); 2080Assert.StartsWith($"Render output is invalid for component of type '{typeof(TestComponent).FullName}'. A frame of type 'Region' was left unclosed.", ex.Message);
Routing\RouteTableFactoryTests.cs (2)
1040'{left.Trim('/')}' in '{typeof(object).FullName}' 1041'{right.Trim('/')}' in '{typeof(object).FullName}'
src\Components\Shared\test\AssertFrame.cs (2)
81Component(frame, typeof(T).FullName, subtreeLength, sequence); 87Assert.Equal(typeName, frame.ComponentType.FullName);
Microsoft.AspNetCore.Components.Web.Tests (2)
src\Components\Shared\test\AssertFrame.cs (2)
81Component(frame, typeof(T).FullName, subtreeLength, sequence); 87Assert.Equal(typeName, frame.ComponentType.FullName);
Microsoft.AspNetCore.Components.WebAssembly (2)
HotReload\HotReloadAgent.cs (1)
72if (attr.AttributeType.FullName != "System.Reflection.Metadata.MetadataUpdateHandlerAttribute")
src\Shared\Components\ComponentParameter.cs (1)
24TypeName = valueType?.FullName,
Microsoft.AspNetCore.Components.WebView.Maui (1)
Android\BlazorWebViewHandler.Android.cs (1)
152 Logger.AddingRootComponent(rootComponent.ComponentType?.FullName ?? string.Empty, rootComponent.Selector ?? string.Empty, rootComponent.Parameters?.Count ?? 0);
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
BlazorWebView.cs (1)
211 logger.AddingRootComponent(rootComponent.ComponentType.FullName ?? string.Empty, rootComponent.Selector, rootComponent.Parameters?.Count ?? 0);
Microsoft.AspNetCore.Components.WebView.Wpf (1)
BlazorWebView.cs (1)
294 logger.AddingRootComponent(rootComponent.ComponentType.FullName ?? string.Empty, rootComponent.Selector, rootComponent.Parameters?.Count ?? 0);
Microsoft.AspNetCore.Components.WebViewE2E.Test (2)
BasicBlazorHybridTest.cs (1)
56Console.WriteLine($"Exception {ex.GetType().FullName} while creating window: {ex.Message}");
Program.cs (1)
27Console.WriteLine($"Exception while running {typeof(BasicBlazorHybridTest).FullName}: {ex}");
Microsoft.AspNetCore.DataProtection (9)
AuthenticatedEncryption\ConfigurationModel\XmlSerializedDescriptorInfo.cs (2)
31Resources.FormatTypeExtensions_BadCast(deserializerType.FullName, typeof(IAuthenticatedEncryptorDescriptorDeserializer).FullName),
AuthenticatedEncryption\ManagedAuthenticatedEncryptorFactory.cs (2)
67_logger.UsingManagedKeyedHashAlgorithm(configuration.ValidationAlgorithmType.FullName!); 95_logger.UsingManagedSymmetricAlgorithm(configuration.EncryptionAlgorithmType.FullName!);
LoggingServiceProviderExtensions.cs (1)
40return services?.GetService<ILoggerFactory>()?.CreateLogger(type.FullName!) ?? NullLogger.Instance;
TypeExtensions.cs (2)
48if (matchType.FullName != null && resolvedTypeName.StartsWith(matchType.FullName, StringComparison.Ordinal))
XmlEncryption\EncryptedXmlInfo.cs (2)
30Resources.FormatTypeExtensions_BadCast(decryptorType.FullName, typeof(IXmlDecryptor).FullName),
Microsoft.AspNetCore.DataProtection.Abstractions (1)
DataProtectionCommonExtensions.cs (1)
102throw new InvalidOperationException(Resources.FormatDataProtectionExtensions_NoService(typeof(IDataProtectionProvider).FullName));
Microsoft.AspNetCore.DataProtection.Abstractions.Tests (1)
DataProtectionCommonExtensionsTests.cs (1)
117Assert.Equal(Resources.FormatDataProtectionExtensions_NoService(typeof(IDataProtectionProvider).FullName), ex.Message);
Microsoft.AspNetCore.DataProtection.Tests (2)
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorDescriptorDeserializerTests.cs (1)
128Assert.Equal($"Algorithm type {typeof(CustomAlgorithmNoConstructor).FullName} doesn't have a public parameterless constructor. If the app is published with trimming then the constructor may have been trimmed. Ensure the type's assembly is excluded from trimming.", ex.Message);
TypeForwardingActivatorTests.cs (1)
110var typeName = type.FullName;
Microsoft.AspNetCore.Diagnostics (7)
DeveloperExceptionPage\DeveloperExceptionPageMiddlewareImpl.cs (1)
118var exceptionName = ex.GetType().FullName!;
DeveloperExceptionPage\Views\ErrorPage.Designer.cs (1)
1345WriteAttributeValue("", 17075, metadata.GetType().FullName ?? string.Empty, 17075, 46, false);
DiagnosticsTelemetry.cs (1)
20tagsFeature.TryAddTag("error.type", ex.GetType().FullName);
ExceptionHandler\ExceptionHandlerMiddlewareImpl.cs (3)
115var exceptionName = edi.SourceException.GetType().FullName!; 178handler = exceptionHandler.GetType().FullName; 200handler = _problemDetailsService.GetType().FullName;
src\Shared\TypeNameHelper\TypeNameHelper.cs (1)
83var name = options.FullName ? type.FullName! : type.Name;
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (2)
HttpContextDatabaseContextDetailsExtensions.cs (1)
25logger.ContextNotRegisteredDatabaseErrorPageMiddleware(dbcontextType.FullName!);
MigrationsEndPointMiddleware.cs (1)
71var dbName = db.GetType().FullName!;
Microsoft.AspNetCore.Diagnostics.Tests (1)
ExceptionHandlerMiddlewareTest.cs (1)
247m => AssertRequestException(m, "System.InvalidOperationException", "handled", typeof(TestExceptionHandler).FullName));
Microsoft.AspNetCore.Grpc.JsonTranscoding (3)
Internal\Json\EnumConverter.cs (2)
71throw new InvalidOperationException($"Integer can't be converted to enum {typeof(TEnum).FullName}."); 81throw new InvalidOperationException($"Enum {typeof(TEnum).FullName} can't be converted to integer.");
src\Grpc\JsonTranscoding\src\Shared\Server\InterceptorPipelineBuilder.cs (1)
157throw new InvalidOperationException($"Could not construct Interceptor instance for type {interceptorActivatorHandle.Registration.Type.FullName}");
Microsoft.AspNetCore.Hosting (6)
Internal\ConfigureBuilder.cs (2)
49parameterInfo.ParameterType.FullName, 52MethodInfo.DeclaringType?.FullName), ex);
Internal\HostingMetrics.cs (1)
89tags.TryAddTag("error.type", exception.GetType().FullName);
Internal\StartupLoader.cs (2)
348startupType.FullName)); 360startupType.FullName,
src\Shared\TypeNameHelper\TypeNameHelper.cs (1)
83var name = options.FullName ? type.FullName! : type.Name;
Microsoft.AspNetCore.Hosting.Tests (2)
ConfigureBuilderTests.cs (2)
29Assert.Equal($"Could not resolve a service of type '{typeof(CrasherService).FullName}' for the parameter" 30+ $" 'service' of method '{methodInfo.Name}' on type '{methodInfo.DeclaringType.FullName}'.", ex.Message);
Microsoft.AspNetCore.Http (1)
Builder\ApplicationBuilder.cs (1)
141return middleware.Target.GetType().FullName + "." + middleware.Method.Name;
Microsoft.AspNetCore.Http.Abstractions (1)
Routing\RouteValueDictionary.cs (1)
908type.FullName,
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
RouteValueDictionaryTests.cs (1)
347$"The type '{obj.GetType().FullName}' defines properties 'controller' and 'Controller' which differ " +
Microsoft.AspNetCore.Http.Connections.Tests (5)
HttpConnectionDispatcherTests.cs (5)
1029return writeContext.LoggerName == typeof(HttpConnectionManager).FullName && 1273return (writeContext.LoggerName == typeof(Internal.Transports.LongPollingServerTransport).FullName && 1275(writeContext.LoggerName == typeof(HttpConnectionManager).FullName && writeContext.EventId.Name == "FailedDispose"); 1360return writeContext.LoggerName == typeof(Internal.Transports.WebSocketsServerTransport).FullName && 2720(writeContext.LoggerName == typeof(HttpConnectionManager).FullName &&
Microsoft.AspNetCore.Http.Extensions (32)
src\Components\Endpoints\src\FormMapping\Factories\CollectionConverterFactory.cs (1)
66throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'.");
src\Components\Endpoints\src\FormMapping\Factories\Collections\ConcreteTypeCollectionConverterFactory.cs (2)
24throw new InvalidOperationException($"Unable to create converter for '{typeof(TCollection).FullName}'."); 31throw new InvalidOperationException($"Unable to create converter for type '{typeof(TCollection).FullName}'.");
src\Components\Endpoints\src\FormMapping\Factories\Collections\TypedCollectionConverterFactory.cs (5)
93_ => throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'."), 115throw new InvalidOperationException($"Unable to create converter for '{typeof(TCollection).FullName}'."); 166_ => throw new InvalidOperationException($"Unable to create converter for '{typeof(TCollection).FullName}'.") 204_ => throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'."), 208throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'.");
src\Components\Endpoints\src\FormMapping\Factories\ComplexType\ComplexTypeExpressionConverterFactoryOfT.cs (1)
27throw new InvalidOperationException($"Could not resolve metadata for type '{type.FullName}'.");
src\Components\Endpoints\src\FormMapping\Factories\Dictionary\ConcreteTypeDictionaryConverterFactory.cs (3)
23throw new InvalidOperationException($"Unable to create converter for '{typeof(TDictionary).FullName}'."); 26throw new InvalidOperationException($"Unable to create converter for '{typeof(TDictionary).FullName}'."); 33throw new InvalidOperationException($"Unable to create converter for type '{typeof(TDictionary).FullName}'.");
src\Components\Endpoints\src\FormMapping\Factories\Dictionary\TypedDictionaryConverterFactory.cs (5)
37_ => throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'."), 77throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'."); 103_ => throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'."), 145_ => throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'."), 149throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'.");
src\Components\Endpoints\src\FormMapping\Factories\DictionaryConverterFactory.cs (6)
81throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'."); 88throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'."); 94throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'."); 101throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'."); 107throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'."); 115throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'.");
src\Components\Endpoints\src\FormMapping\Factories\FileConverterFactory.cs (1)
29throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'.");
src\Components\Endpoints\src\FormMapping\Factories\ParsableConverterFactory.cs (1)
25throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'.");
src\Components\Endpoints\src\FormMapping\FormDataMapperOptions.cs (1)
70throw new InvalidOperationException($"No converter registered for type '{type.FullName}'.");
src\Shared\ClosedGenericMatcher\ClosedGenericMatcher.cs (2)
78else if (StringComparer.Ordinal.Compare(@interface.FullName, bestMatch.FullName) < 0)
src\Shared\Json\JsonSerializerExtensions.cs (2)
26=> context.GetTypeInfo(type) ?? throw new InvalidOperationException($"Unable to obtain the JsonTypeInfo for type '{type.FullName}' from the context '{context.GetType().FullName}'.");
src\Shared\ObjectMethodExecutor\ObjectMethodExecutorFSharpSupport.cs (1)
182var typeFullName = possibleFSharpType?.FullName;
src\Shared\TypeNameHelper\TypeNameHelper.cs (1)
83var name = options.FullName ? type.FullName! : type.Name;
Microsoft.AspNetCore.Http.Extensions.Tests (2)
ProblemDetailsServiceCollectionExtensionsTest.cs (1)
236Assert.Equal("Microsoft.AspNetCore.Http.ProblemDetailsJsonContext", jsonOptions.Value.SerializerOptions.TypeInfoResolverChain[1].GetType().FullName);
RequestDelegateFactoryTests.cs (1)
912Assert.Equal($"Unsupported return type: {typeof(RefStruct).FullName}", ex3.Message);
Microsoft.AspNetCore.Http.Results (2)
src\Shared\Json\JsonSerializerExtensions.cs (2)
26=> context.GetTypeInfo(type) ?? throw new InvalidOperationException($"Unable to obtain the JsonTypeInfo for type '{type.FullName}' from the context '{context.GetType().FullName}'.");
Microsoft.AspNetCore.Http.Results.Tests (3)
ResultsTests.cs (2)
1052Assert.Equal(ex.Message, $"Unable to obtain the JsonTypeInfo for type 'Microsoft.AspNetCore.Http.HttpResults.ResultsTests+Todo' from the context '{typeof(StringJsonContext).FullName}'."); 1059Assert.Equal(ex.Message, $"Unable to obtain the JsonTypeInfo for type 'Microsoft.AspNetCore.Http.HttpResults.ResultsTests+Todo' from the context '{typeof(StringJsonContext).FullName}'.");
TypedResultsTests.cs (1)
906Assert.Equal(ex.Message, $"Unable to obtain the JsonTypeInfo for type 'System.String' from the context '{typeof(ObjectJsonContext).FullName}'.");
Microsoft.AspNetCore.Identity.UI (2)
IdentityBuilderUIExtensions.cs (2)
121if (descriptor.Type?.FullName?.Contains("V5", StringComparison.Ordinal) is true) 133if (descriptor.Type?.FullName?.Contains("V4", StringComparison.Ordinal) is true)
Microsoft.AspNetCore.InternalTesting (4)
LoggedTest\LoggedTestBase.cs (1)
55return AssemblyTestLog.ForAssembly(GetType().GetTypeInfo().Assembly).StartTestLog(TestOutputHelper, GetType().FullName, out loggerFactory, minLogLevel, testName);
Logging\TestSink.cs (2)
57return context.LoggerName.Equals(typeof(T).FullName); 62return context.LoggerName.Equals(typeof(T).FullName);
TestFileOutputContext.cs (1)
105var name = shortNameAttribute == null ? type.FullName : type.Name;
Microsoft.AspNetCore.InternalTesting.Tests (1)
TestContextTest.cs (1)
18Assert.Equal(GetType().FullName, Context.FileOutput.TestClassName);
Microsoft.AspNetCore.JsonPatch (4)
Internal\ListAdapter.cs (2)
273errorMessage = Resources.FormatPatchNotSupportedForArrays(listType.FullName); 282errorMessage = Resources.FormatPatchNotSupportedForNonGenericLists(listType.FullName);
src\Shared\ClosedGenericMatcher\ClosedGenericMatcher.cs (2)
78else if (StringComparer.Ordinal.Compare(@interface.FullName, bestMatch.FullName) < 0)
Microsoft.AspNetCore.JsonPatch.Tests (2)
Internal\ListAdapterTest.cs (2)
27Assert.Equal($"The type '{targetObject.GetType().FullName}' which is an array is not supported for json patch operations as it has a fixed size.", message); 45Assert.Equal($"The type '{targetObject.GetType().FullName}' which is a non generic list is not supported for json patch operations. Only generic list types are supported.", message);
Microsoft.AspNetCore.MiddlewareAnalysis (1)
AnalysisMiddleware.cs (1)
35middlewareName = next.Target!.GetType().FullName!;
Microsoft.AspNetCore.Mvc.Abstractions (6)
ModelBinding\BindingInfo.cs (2)
69value.FullName, 70typeof(IModelBinder).FullName),
ModelBinding\ModelMetadata.cs (1)
792$"Unable to find element type for '{ModelType.FullName}' though IsEnumerableType is true.");
src\Shared\ClosedGenericMatcher\ClosedGenericMatcher.cs (2)
78else if (StringComparer.Ordinal.Compare(@interface.FullName, bestMatch.FullName) < 0)
src\Shared\TypeNameHelper\TypeNameHelper.cs (1)
83var name = options.FullName ? type.FullName! : type.Name;
Microsoft.AspNetCore.Mvc.Core (51)
ApiConventionTypeAttribute.cs (1)
87attribute.GetType().FullName == "System.Runtime.CompilerServices.NullableContextAttribute";
BindPropertyAttribute.cs (2)
50value.FullName, 51typeof(IModelBinder).FullName),
ControllerContext.cs (1)
91private string DebuggerToString() => ActionDescriptor?.DisplayName ?? $"{{{GetType().FullName}}}";
Filters\FilterCollection.cs (4)
82filterType.FullName, 83typeof(IFilterMetadata).FullName); 160filterType.FullName, 161typeof(IFilterMetadata).FullName);
Filters\MiddlewareFilterConfigurationProvider.cs (4)
57startupType.FullName)); 65startupType.FullName, 112parameterInfo.ParameterType.FullName, 115MethodInfo.DeclaringType!.FullName),
Formatters\InputFormatter.cs (2)
44GetType().FullName, 126GetType().FullName,
Formatters\OutputFormatter.cs (2)
39GetType().FullName, 100GetType().FullName,
Formatters\SystemTextJsonInputFormatter.cs (1)
149=> JsonInputSuccess(logger, modelType.FullName);
Formatters\TextOutputFormatter.cs (1)
117throw new InvalidOperationException(Resources.FormatOutputFormatterNoMediaType(GetType().FullName));
Infrastructure\DefaultOutputFormatterSelector.cs (2)
64typeof(MvcOptions).FullName, 66typeof(IOutputFormatter).FullName));
Infrastructure\ObjectResultExecutor.cs (1)
152var valueType = value == null ? "null" : value.GetType().FullName;
Infrastructure\SystemTextJsonResultExecutor.cs (1)
139var type = value == null ? "null" : value.GetType().FullName;
ModelBinderAttribute.cs (2)
68value.FullName, 69typeof(IModelBinder).FullName),
ModelBinding\Binders\BinderTypeModelBinder.cs (2)
31binderType.FullName, 32typeof(IModelBinder).FullName),
ModelBinding\Binders\BodyModelBinder.cs (1)
234var modelType = formatterContext.ModelType.FullName;
ModelBinding\Binders\BodyModelBinderProvider.cs (2)
78typeof(MvcOptions).FullName, 80typeof(IInputFormatter).FullName));
ModelBinding\Binders\ComplexObjectModelBinder.cs (4)
199modelType.FullName, 204modelType.FullName, 206bindingContext.ModelMetadata.ContainerType!.FullName)); 210modelType.FullName));
ModelBinding\Binders\ComplexTypeModelBinder.cs (5)
479throw new InvalidOperationException(Resources.FormatComplexTypeModelBinder_NoParameterlessConstructor_ForType(modelType.FullName)); 488modelType.FullName, 493modelType.FullName, 495bindingContext.ModelMetadata.ContainerType.FullName)); 499modelType.FullName));
ModelBinding\Binders\FormCollectionModelBinderProvider.cs (3)
29typeof(FormCollectionModelBinder).FullName, 30modelType.FullName, 31typeof(IFormCollection).FullName));
ModelBinding\Metadata\BindingMetadata.cs (2)
49value.FullName, 50typeof(IModelBinder).FullName),
ModelBinding\ModelBinderFactory.cs (2)
58typeof(MvcOptions).FullName, 60typeof(IModelBinderProvider).FullName));
ModelBinding\ModelBindingHelper.cs (2)
227model.GetType().FullName, 228modelType.FullName);
ModelBinding\SuppressChildValidationMetadataProvider.cs (1)
92if (string.Equals(type.FullName, FullTypeName, StringComparison.Ordinal))
src\Shared\Json\JsonSerializerExtensions.cs (2)
26=> context.GetTypeInfo(type) ?? throw new InvalidOperationException($"Unable to obtain the JsonTypeInfo for type '{type.FullName}' from the context '{context.GetType().FullName}'.");
src\Shared\ObjectMethodExecutor\ObjectMethodExecutorFSharpSupport.cs (1)
182var typeFullName = possibleFSharpType?.FullName;
Microsoft.AspNetCore.Mvc.Core.Test (69)
ApiConventionMethodAttributeTest.cs (8)
15var methodName = typeof(ConventionWithProducesAttribute).FullName + '.' + nameof(ConventionWithProducesAttribute.Get); 37var methodName = typeof(ConventionWithProducesAttribute).FullName + '.' + nameof(ConventionWithProducesAttribute.Get); 70return attributeType.FullName == "System.Runtime.CompilerServices.NullableContextAttribute"; 78var methodName = typeof(ConventionWithNullableContextAttribute).FullName + '.' + nameof(ConventionWithNullableContextAttribute.Get); 88var methodName = typeof(ConventionWithProducesAttribute).FullName + '.' + nameof(ConventionWithProducesAttribute.Get); 105var methodName = typeof(ConventionWithProducesAttribute).FullName + '.' + nameof(ConventionWithProducesAttribute.Get); 122var methodName = typeof(ConventionWithProducesAttribute).FullName + '.' + nameof(ConventionWithProducesAttribute.Get); 148string.Join(Environment.NewLine, attributes.Select(a => a.FullName)) +
ApiConventionTypeAttributeTest.cs (3)
16var methodName = typeof(ConventionWithProducesAttribute).FullName + '.' + nameof(ConventionWithProducesAttribute.Get); 38var methodName = typeof(ConventionWithRouteAttribute).FullName + '.' + nameof(ConventionWithRouteAttribute.Get); 59var methodName = typeof(ConventionWitUnsupportedAttributes).FullName + '.' + nameof(ConventionWitUnsupportedAttributes.Get);
ApplicationModels\ApiBehaviorApplicationModelProviderTest.cs (1)
19var actionName = $"{typeof(TestApiController).FullName}.{nameof(TestApiController.TestAction)} ({typeof(TestApiController).Assembly.GetName().Name})";
ApplicationModels\ControllerActionDescriptorProviderTests.cs (21)
48Assert.Equal($"{controllerTypeInfo.FullName}.{nameof(PersonController.GetPerson)} ({controllerTypeInfo.Assembly.GetName().Name})", descriptor.DisplayName); 427$"For action: '{controllerTypeInfo.FullName}.Unknown ({assemblyName})'" + Environment.NewLine + 433$"For action: '{controllerTypeInfo.FullName}.Invalid ({assemblyName})'" + Environment.NewLine + 667$"A method '{controllerTypeInfo.FullName}.Method ({assemblyName})'" + 669$"Action: '{controllerTypeInfo.FullName}.Method ({assemblyName})' " + 672$"Action: '{controllerTypeInfo.FullName}.Method ({assemblyName})' - " + 710+ $"A method '{controllerTypeInfo.FullName}.GetUser ({assemblyName})'" + 713$"Action: '{controllerTypeInfo.FullName}.GetUser ({assemblyName})' " + 717+ $"Action: '{controllerTypeInfo.FullName}.GetUser ({assemblyName})' " + 767Assert.Contains($"Action: '{sameNameType.FullName}.Get ({assemblyName})' - Template: 'Products'", ex.Message); 768Assert.Contains($"Action: '{sameNameType.FullName}.Get ({assemblyName})' - Template: 'Products/{{id}}'", ex.Message); 769Assert.Contains($"Action: '{sameNameType.FullName}.Put ({assemblyName})' - Template: 'Products/{{id}}'", ex.Message); 770Assert.Contains($"Action: '{sameNameType.FullName}.Post ({assemblyName})' - Template: 'Products'", ex.Message); 771Assert.Contains($"Action: '{sameNameType.FullName}.Delete ({assemblyName})' - Template: 'Products/{{id}}'", ex.Message); 774Assert.Contains($"Action: '{sameNameType.FullName}.GetItems ({assemblyName})' - Template: 'Items/{{id}}'", ex.Message); 775Assert.Contains($"Action: '{sameNameType.FullName}.PostItems ({assemblyName})' - Template: 'Items'", ex.Message); 776Assert.Contains($"Action: '{sameNameType.FullName}.PutItems ({assemblyName})' - Template: 'Items/{{id}}'", ex.Message); 777Assert.Contains($"Action: '{sameNameType.FullName}.DeleteItems ({assemblyName})' - Template: 'Items/{{id}}'", ex.Message); 778Assert.Contains($"Action: '{sameNameType.FullName}.PatchItems ({assemblyName})' - Template: 'Items'", ex.Message); 876$"For action: '{controllerTypeInfo.FullName}.Get ({assemblyName})'" + Environment.NewLine + 1096var expected = $"The action '{type.FullName}.{actionName} ({assemblyName})' has ApiExplorer enabled, but is using conventional routing. " +
ApplicationModels\InferParameterBindingInfoConventionTest.cs (3)
58$@"Action '{typeof(MultipleFromBodyController).FullName}.{actionName} ({typeof(MultipleFromBodyController).Assembly.GetName().Name})' " + 77$@"Action '{typeof(MultipleFromBodyController).FullName}.{actionName} ({typeof(MultipleFromBodyController).Assembly.GetName().Name})' " + 96$@"Action '{typeof(MultipleFromBodyController).FullName}.{actionName} ({typeof(MultipleFromBodyController).Assembly.GetName().Name})' " +
Controllers\DefaultControllerFactoryTest.cs (2)
181$"Unable to resolve service for type '{typeof(TestService).FullName}' while attempting to activate " + 182$"'{typeof(ControllerThatCannotBeActivated).FullName}'.",
Filters\FilterCollectionTest.cs (4)
72var expectedMessage = $"The type '{typeof(NonFilter).FullName}' must derive from " + $"'{typeof(IFilterMetadata).FullName}'."; 143var expectedMessage = $"The type '{typeof(NonFilter).FullName}' must derive from '{typeof(IFilterMetadata).FullName}'.";
Filters\MiddlewareFilterBuilderTest.cs (4)
219Assert.Contains(typeof(MiddlewareFilterBuilder).FullName, stack); 220Assert.DoesNotContain(typeof(MiddlewareFilterBuilderTest).FullName, stack); 287Assert.Contains(typeof(MiddlewareFilterBuilder).FullName, stack); 288Assert.Contains(typeof(MiddlewareFilterBuilderTest).FullName, stack);
Filters\MiddlewareFilterConfigurationProviderTest.cs (2)
67var expected = $"A public method named 'Configure' could not be found in the '{type.FullName}' type."; 83var expected = $"A public method named 'Configure' could not be found in the '{type.FullName}' type.";
Infrastructure\ControllerActionInvokerTest.cs (4)
1575var actionSignature = $"{typeof(IActionResult).FullName} {nameof(TestController.ActionMethod)}()"; 1576var controllerName = $"{typeof(ControllerActionInvokerTest).FullName}+{nameof(TestController)} ({typeof(ControllerActionInvokerTest).Assembly.GetName().Name})"; 1577var actionName = $"{typeof(ControllerActionInvokerTest).FullName}+{nameof(TestController)}.{nameof(TestController.ActionMethod)} ({typeof(ControllerActionInvokerTest).Assembly.GetName().Name})"; 1578var actionResultName = $"{typeof(CommonResourceInvokerTest).FullName}+{nameof(TestResult)}";
Infrastructure\ObjectResultExecutorTest.cs (2)
308var expected = $"'{typeof(MvcOptions).FullName}.{nameof(MvcOptions.OutputFormatters)}' must not be " + 309$"empty. At least one '{typeof(IOutputFormatter).FullName}' is required to format a response.";
ModelBinding\Binders\BinderTypeModelBinderTest.cs (2)
58var expected = $"The type '{typeof(Person).FullName}' must implement " + 59$"'{typeof(IModelBinder).FullName}' to be used as a model binder.";
ModelBinding\Binders\BodyModelBinderProviderTest.cs (2)
45var expected = $"'{typeof(MvcOptions).FullName}.{nameof(MvcOptions.InputFormatters)}' must not be empty. " + 46$"At least one '{typeof(IInputFormatter).FullName}' is required to bind from the body.";
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (2)
545typeof(PointStruct).FullName), 587typeof(PointStruct).FullName),
ModelBinding\Binders\FormCollectionModelBinderProviderTest.cs (3)
23$"The '{typeof(FormCollectionModelBinder).FullName}' cannot bind to a model of type '{modelType.FullName}'. Change the model type to '{typeof(IFormCollection).FullName}' instead.",
ModelBinding\ModelBinderFactoryTest.cs (3)
20var expected = $"'{typeof(MvcOptions).FullName}.{nameof(MvcOptions.ModelBinderProviders)}' must not be " + 21$"empty. At least one '{typeof(IModelBinderProvider).FullName}' is required to model bind."; 58$"Could not create a model binder for model object of type '{typeof(string).FullName}'.",
ModelBinding\ModelBindingHelperTest.cs (2)
614var modelName = model.GetType().FullName; 615var userName = typeof(User).FullName;
Routing\KnownRouteValueConstraintTests.cs (1)
198var providerName = actionDescriptorCollectionProvider.GetType().FullName;
Microsoft.AspNetCore.Mvc.Formatters.Xml (4)
XmlDataContractSerializerOutputFormatter.cs (2)
160Log.FailedToCreateDataContractSerializer(_logger, type.FullName!, ex); 316BufferingAsyncEnumerable(logger, asyncEnumerable.GetType().FullName!);
XmlSerializerOutputFormatter.cs (2)
139Log.FailedToCreateXmlSerializer(_logger, type.FullName!, ex); 305BufferingAsyncEnumerable(logger, asyncEnumerable.GetType().FullName!);
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (2)
XmlDataContractSerializerOutputFormatterTest.cs (1)
667Assert.Equal($"An error occurred while trying to create a DataContractSerializer for the type '{typeof(Customer).FullName}'.",
XmlSerializerOutputFormatterTest.cs (1)
485$"An error occurred while trying to create an XmlSerializer for the type '{typeof(Customer).FullName}'.",
Microsoft.AspNetCore.Mvc.FunctionalTests (57)
ApiExplorerTest.cs (53)
475Assert.Equal(typeof(void).FullName, responseType.ResponseType); 495Assert.Equal(typeof(void).FullName, responseType.ResponseType); 615var type1 = typeof(ApiExplorerWebSite.Product).FullName; 616var type2 = typeof(SerializableError).FullName; 647var type1 = typeof(ApiExplorerWebSite.Product).FullName; 648var type2 = typeof(SerializableError).FullName; 679var type1 = typeof(ApiExplorerWebSite.Product).FullName; 680var type2 = typeof(SerializableError).FullName; 711var type1 = typeof(ApiExplorerWebSite.Product).FullName; 712var type2 = typeof(SerializableError).FullName; 861Assert.Equal(typeof(XmlDataContractSerializerOutputFormatter).FullName, textXml.FormatterType); 863Assert.Equal(typeof(XmlDataContractSerializerOutputFormatter).FullName, applicationXml.FormatterType); 866Assert.Equal(typeof(NewtonsoftJsonOutputFormatter).FullName, textJson.FormatterType); 868Assert.Equal(typeof(NewtonsoftJsonOutputFormatter).FullName, applicationJson.FormatterType); 889Assert.Equal(typeof(NewtonsoftJsonOutputFormatter).FullName, applicationJson.FormatterType); 892Assert.Equal(typeof(NewtonsoftJsonOutputFormatter).FullName, textJson.FormatterType); 917Assert.Equal(typeof(NewtonsoftJsonOutputFormatter).FullName, responseFormat.FormatterType); 937Assert.Equal(typeof(Product).FullName, responseType.ResponseType); 965Assert.Equal(formatterType.FullName, responseFormat.FormatterType); 985Assert.Equal(typeof(int).FullName, i.Type); 989Assert.Equal(typeof(string).FullName, s.Type); 1010Assert.Equal(typeof(int).FullName, i.Type); 1014Assert.Equal(typeof(string).FullName, s.Type); 1034Assert.Equal(typeof(int).FullName, id.Type); 1038Assert.Equal(typeof(string).FullName, name.Type); 1058Assert.Equal(typeof(int).FullName, id.Type); 1062Assert.Equal(typeof(ApiExplorerWebSite.Product).FullName, product.Type); 1082Assert.Equal(typeof(string).FullName, customerId.Type); 1086Assert.Equal(typeof(string).FullName, referrer.Type); 1090Assert.Equal(typeof(int).FullName, quantity.Type); 1094Assert.Equal(typeof(int).FullName, productId.Type); 1098Assert.Equal(typeof(string).FullName, productName.Type); 1102Assert.Equal(typeof(string).FullName, shippingInstructions.Type); 1106Assert.Equal(typeof(string).FullName, feedback.Type); 1254Assert.Equal(typeof(Stream).FullName, responseType.ResponseType); 1287Assert.Equal(typeof(Product).FullName, responseType.ResponseType); 1293Assert.Equal(typeof(ProblemDetails).FullName, responseType.ResponseType); 1317Assert.Equal(typeof(IEnumerable<Product>).FullName, responseType.ResponseType); 1343Assert.Equal(typeof(void).FullName, responseType.ResponseType); 1349Assert.Equal(typeof(ProblemDetails).FullName, responseType.ResponseType); 1378Assert.Equal(typeof(void).FullName, responseType.ResponseType); 1384Assert.Equal(typeof(ProblemDetails).FullName, responseType.ResponseType); 1413Assert.Equal(typeof(void).FullName, responseType.ResponseType); 1419Assert.Equal(typeof(ProblemDetails).FullName, responseType.ResponseType); 1448Assert.Equal(typeof(void).FullName, responseType.ResponseType); 1454Assert.Equal(typeof(ProblemDetails).FullName, responseType.ResponseType); 1460Assert.Equal(typeof(ProblemDetails).FullName, responseType.ResponseType); 1488Assert.Equal(typeof(void).FullName, responseType.ResponseType); 1494Assert.Equal(typeof(ProblemDetails).FullName, responseType.ResponseType); 1500Assert.Equal(typeof(ProblemDetails).FullName, responseType.ResponseType); 1525Assert.Equal(typeof(void).FullName, responseType.ResponseType); 1531Assert.Equal(typeof(ProblemDetails).FullName, responseType.ResponseType); 1554Assert.Equal(type.FullName, responseType.ResponseType);
RoutingTests.cs (3)
57typeof(RouteCollection).FullName, 58typeof(Route).FullName, 78typeof(RouteCollection).FullName,
TempDataInCookiesTest.cs (1)
38if (tempDataSerializers.Count == 1 && tempDataSerializers[0].ImplementationType.FullName == "Microsoft.AspNetCore.Mvc.NewtonsoftJson.BsonTempDataSerializer")
Microsoft.AspNetCore.Mvc.IntegrationTests (8)
ActionParametersIntegrationTest.cs (7)
411typeof(ClassWithNoDefaultConstructor).FullName, 413typeof(Class1).FullName), 477typeof(ClassWithNoDefaultConstructor).FullName), 501typeof(PointStruct).FullName), 524typeof(AbstractClassWithNoDefaultConstructor).FullName), 563typeof(ActionParameter_MultipleConstructorsWithDefaultValues_NoParameterlessConstructorModel).FullName), 596typeof(ActionParameter_RecordTypeWithMultipleConstructors).FullName),
ServicesModelBinderIntegrationTest.cs (1)
181Assert.Contains(typeof(IActionResult).FullName, exception.Message);
Microsoft.AspNetCore.Mvc.Localization (1)
IHtmlLocalizerFactory.cs (1)
13/// <see cref="Type.FullName"/> of the specified <see cref="Type"/>.
Microsoft.AspNetCore.Mvc.NewtonsoftJson (8)
BsonTempDataSerializer.cs (3)
196typeof(BsonTempDataSerializer).FullName, 198typeof(string).FullName); 214typeof(BsonTempDataSerializer).FullName,
NewtonsoftJsonOutputFormatter.cs (1)
240BufferingAsyncEnumerable(logger, asyncEnumerable.GetType().FullName);
NewtonsoftJsonResultExecutor.cs (2)
175BufferingAsyncEnumerable(logger, asyncEnumerable.GetType().FullName); 186var type = value == null ? "null" : value.GetType().FullName;
src\Shared\ClosedGenericMatcher\ClosedGenericMatcher.cs (2)
78else if (StringComparer.Ordinal.Compare(@interface.FullName, bestMatch.FullName) < 0)
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (3)
BsonTempDataSerializerTest.cs (2)
36Assert.Equal($"The '{typeof(BsonTempDataSerializer).FullName}' cannot serialize " + 64Assert.Equal($"The '{typeof(BsonTempDataSerializer).FullName}' cannot serialize a dictionary " +
NewtonsoftJsonPatchInputFormatterTest.cs (1)
203$"'{typeof(Customer).FullName}' because the type requires a JSON object ";
Microsoft.AspNetCore.Mvc.Razor (4)
RazorViewEngine.cs (1)
474throw new InvalidOperationException(Resources.FormatAsyncDisposableViewsNotSupported(typeof(IAsyncDisposable).FullName));
TagHelpers\TagHelperComponentTagHelper.cs (2)
72Log.TagHelperComponentInitialized(_logger, component.GetType().FullName!); 86Log.TagHelperComponentProcessed(_logger, component.GetType().FullName!);
TagHelpers\UrlResolutionTagHelper.cs (1)
265typeof(UrlResolutionTagHelper).FullName,
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (3)
DependencyInjection\RazorRuntimeCompilationMvcCoreBuilderExtensions.cs (1)
63f.ImplementationType.FullName == "Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompilerProvider");
RuntimeCompilationFileProvider.cs (2)
40typeof(MvcRazorRuntimeCompilationOptions).FullName, 42typeof(IFileProvider).FullName);
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (2)
RuntimeCompilationFileProviderTest.cs (2)
16$"'{typeof(MvcRazorRuntimeCompilationOptions).FullName}.{nameof(MvcRazorRuntimeCompilationOptions.FileProviders)}' must " + 17$"not be empty. At least one '{typeof(IFileProvider).FullName}' is required to locate a view for " +
Microsoft.AspNetCore.Mvc.Razor.Test (1)
TagHelpers\UrlResolutionTagHelperTest.cs (1)
350typeof(UrlResolutionTagHelper).FullName,
Microsoft.AspNetCore.Mvc.RazorPages (6)
ApplicationModels\DefaultPageApplicationModelProvider.cs (3)
70pageTypeInfo.FullName, 71typeof(PageBase).FullName)); 80pageTypeInfo.FullName,
Infrastructure\DefaultPageFactoryProvider.cs (2)
47_pageActivator.GetType().FullName, 48typeof(PageBase).FullName));
PageContext.cs (1)
123private string DebuggerToString() => ActionDescriptor?.DisplayName ?? $"{{{GetType().FullName}}}";
Microsoft.AspNetCore.Mvc.RazorPages.Test (10)
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (5)
31$"The type '{typeInfo.FullName}' is not a valid page. A page must inherit from '{typeof(PageBase).FullName}'.", 72$"The type '{typeInfo.FullName}' is not a valid page. A page must define a public, non-static 'Model' property.", 95$"The type '{typeInfo.FullName}' is not a valid page. A page must define a public, non-static 'Model' property.", 120$"The type '{typeInfo.FullName}' is not a valid page. A page must define a public, non-static 'Model' property.",
ApplicationModels\TempDataFilterPageApplicationModelProviderTest.cs (1)
34var expected = $"The '{type.FullName}.Test' property with TempDataAttribute is invalid. A property using TempDataAttribute must have a public getter and setter.";
Infrastructure\PageActionInvokerTest.cs (4)
1409var pageName = $"{typeof(PageActionInvokerTest).FullName}+{nameof(TestPage)} ({typeof(PageActionInvokerTest).Assembly.GetName().Name})"; 1412? $"{typeof(PageActionInvokerTest).FullName}+{nameof(TestPageModel)}.{nameof(TestPageModel.OnGetHandler1)}" 1413: $"{typeof(PageActionInvokerTest).FullName}+{nameof(TestPage)}.{nameof(TestPage.OnGetHandler1)}"; 1415var resultName = typeof(PageResult).FullName;
Microsoft.AspNetCore.Mvc.TagHelpers (8)
Cache\DistributedCacheTagHelperFormatter.cs (1)
25typeof(DistributedCacheTagHelperFormattingContext).FullName));
ComponentTagHelper.cs (1)
79typeof(RenderMode).FullName),
InputTagHelper.cs (4)
311typeof(bool).FullName)); 320modelExplorer.ModelType.FullName, 321typeof(bool).FullName, 322typeof(string).FullName,
PartialTagHelper.cs (1)
161typeof(PartialTagHelper).FullName,
ValidationSummaryTagHelper.cs (1)
72typeof(ValidationSummary).FullName),
Microsoft.AspNetCore.Mvc.TagHelpers.Test (7)
InputTagHelperTest.cs (4)
124typeof(bool).FullName); 167possibleBool.GetType().FullName, 168typeof(bool).FullName, 169typeof(string).FullName,
PartialTagHelperTest.cs (2)
119var expectedMessage = Resources.FormatPartialTagHelper_InvalidModelAttributes(typeof(PartialTagHelper).FullName, "for", "model"); 141var expectedMessage = Resources.FormatPartialTagHelper_InvalidModelAttributes(typeof(PartialTagHelper).FullName, "for", "model");
ValidationSummaryTagHelperTest.cs (1)
576var validationTypeName = typeof(ValidationSummary).FullName;
Microsoft.AspNetCore.Mvc.Test (2)
MvcOptionsSetupTest.cs (2)
267Assert.Equal(typeof(XObject).FullName, excludeFilter.FullTypeName); 272Assert.Equal(typeof(XmlNode).FullName, excludeFilter.FullTypeName);
Microsoft.AspNetCore.Mvc.Testing (1)
WebApplicationFactory.cs (1)
191typeof(TEntryPoint).Assembly.EntryPoint!.DeclaringType!.FullName,
Microsoft.AspNetCore.Mvc.ViewFeatures (33)
DefaultDisplayTemplates.cs (2)
85"Collection", model.GetType().FullName, typeof(IEnumerable).FullName));
DefaultEditorTemplates.cs (2)
67"Collection", model.GetType().FullName, typeof(IEnumerable).FullName));
DefaultHtmlGenerator.cs (9)
547typeof(IHtmlHelper).FullName, 549typeof(IHtmlHelper<>).FullName, 624typeof(IHtmlHelper).FullName, 626typeof(IHtmlHelper<>).FullName, 726typeof(IHtmlHelper).FullName, 728typeof(IHtmlHelper<>).FullName, 1152typeof(IHtmlHelper).FullName, 1154typeof(IHtmlHelper<>).FullName, 1509value.GetType().FullName,
Filters\SaveTempDataPropertyFilterBase.cs (2)
128Resources.FormatTempDataProperties_PublicGetterSetter(property.DeclaringType.FullName, property.Name, nameof(TempDataAttribute))); 136tempDataSerializer.GetType().FullName,
HtmlHelper.cs (3)
373type.FullName, 391enumType.FullName, 1375metadata.ModelType.FullName,
HtmlHelperOfT.cs (2)
82viewContext.ViewData.GetType().FullName, 83typeof(ViewDataDictionary<TModel>).FullName),
Infrastructure\DefaultTempDataSerializer.cs (1)
152typeof(DefaultTempDataSerializer).FullName,
ModelExplorerExtensions.cs (1)
70if (!stringResult.Equals(modelExplorer.Model.GetType().FullName, StringComparison.Ordinal))
Rendering\ViewContext.cs (1)
218private string DebuggerToString() => View?.Path ?? $"{{{GetType().FullName}}}";
TemplateRenderer.cs (1)
137Resources.FormatTemplateHelpers_NoTemplate(_viewData.ModelExplorer.ModelType.FullName));
ViewComponents\DefaultViewComponentDescriptorProvider.cs (1)
65var componentName = componentType.FullName;
ViewComponents\DefaultViewComponentHelper.cs (1)
106componentType.FullName,
ViewComponents\DefaultViewComponentSelector.cs (1)
96candidate.TypeInfo.FullName,
ViewComponents\ViewComponentDescriptor.cs (1)
34_displayName = TypeInfo?.FullName;
ViewEngines\CompositeViewEngine.cs (5)
36typeof(MvcViewOptions).FullName, 38typeof(IViewEngine).FullName)); 51throw new InvalidOperationException(Resources.FormatAsyncDisposableViewsNotSupported(typeof(IAsyncDisposable).FullName)); 85typeof(MvcViewOptions).FullName, 87typeof(IViewEngine).FullName));
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (22)
DefaultEditorTemplatesTest.cs (3)
106.Returns(typeof(StringHtmlContent).FullName); 113.Returns(typeof(StringHtmlContent).FullName); 140.Returns(typeof(TagBuilder).FullName);
Filters\TempDataApplicationModelProviderTest.cs (1)
37var expected = $"The '{type.FullName}.Test' property with TempDataAttribute is invalid. A property using TempDataAttribute must have a public getter and setter.";
Rendering\DefaultTemplatesUtilities.cs (1)
341metadata.ModelType == null ? "(null)" : metadata.ModelType.FullName,
Rendering\HtmlHelperSelectTest.cs (5)
1281$"The type '{ typeof(EnumWithFlags).FullName }' is not supported."); 1295$"The type '{ typeof(StructWithFields).FullName }' is not supported."); 1353$"The type '{ typeof(EnumWithFlags).FullName }' is not supported."); 1367$"The type '{ typeof(StructWithFields).FullName }' is not supported."); 1381$"The type '{ typeof(ClassWithFields).FullName }' is not supported.");
Rendering\HtmlHelperTest.cs (4)
320$"'{typeof(ViewDataDictionary<NonDerivedModel>).FullName}'," + 321$" but this method requires a value of type '{typeof(ViewDataDictionary<BaseModel>).FullName}'."; 341$"'{typeof(ViewDataDictionary).FullName}'," + 342$" but this method requires a value of type '{typeof(ViewDataDictionary<BaseModel>).FullName}'.";
ViewComponentResultTest.cs (1)
146var expected = $"A view component named '{typeof(TextViewComponent).FullName}' could not be found. " +
ViewComponents\ViewViewComponentResultTest.cs (1)
422var expected = $"No service for type '{typeof(ICompositeViewEngine).FullName}'" +
ViewEngines\CompositeViewEngineTest.cs (6)
36var expected = $"'{typeof(MvcViewOptions).FullName}.{nameof(MvcViewOptions.ViewEngines)}' must not be " + 37$"empty. At least one '{typeof(IViewEngine).FullName}' is required to locate a view for rendering."; 165var expected = $"'{typeof(MvcViewOptions).FullName}.{nameof(MvcViewOptions.ViewEngines)}' must not be " + 166$"empty. At least one '{typeof(IViewEngine).FullName}' is required to locate a view for rendering."; 304var expected = $"'{typeof(MvcViewOptions).FullName}.{nameof(MvcViewOptions.ViewEngines)}' must not be " + 305$"empty. At least one '{typeof(IViewEngine).FullName}' is required to locate a view for rendering.";
Microsoft.AspNetCore.OpenApi (2)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutorFSharpSupport.cs (1)
182var typeFullName = possibleFSharpType?.FullName;
src\Shared\TypeNameHelper\TypeNameHelper.cs (1)
83var name = options.FullName ? type.FullName! : type.Name;
Microsoft.AspNetCore.Owin (7)
OwinEnvironment.cs (2)
132_context.Items[typeof(HttpContext).FullName] = _context; // Store for lookup when we transition back out of OWIN 411throw new InvalidOperationException("Missing feature: " + FeatureInterface.FullName); // TODO: LOC
OwinExtensions.cs (3)
40return next1((HttpContext)env[typeof(HttpContext).FullName]); 51env[typeof(HttpContext).FullName] = httpContext; 137if (env.TryGetValue(typeof(HttpContext).FullName, out obj))
WebSockets\WebSocketAcceptAdapter.cs (1)
76if (adapter._options != null && adapter._options.TryGetValue(typeof(WebSocketAcceptContext).FullName, out obj))
WebSockets\WebSocketAdapter.cs (1)
52_environment[typeof(WebSocket).FullName] = webSocket;
Microsoft.AspNetCore.Owin.Tests (1)
OwinExtensionTests.cs (1)
147kvp => string.Equals(typeof(HttpContext).FullName, kvp.Key, StringComparison.Ordinal))
Microsoft.AspNetCore.Routing (6)
ParameterPolicyActivator.cs (1)
64$"An error occurred while trying to create an instance of '{parameterPolicyType.FullName}'.",
RouteBase.cs (2)
319_constraintLogger = factory.CreateLogger(typeof(RouteConstraintMatcher).FullName!); 320_logger = factory.CreateLogger(typeof(RouteBase).FullName!);
src\Shared\Json\JsonSerializerExtensions.cs (2)
26=> context.GetTypeInfo(type) ?? throw new InvalidOperationException($"Unable to obtain the JsonTypeInfo for type '{type.FullName}' from the context '{context.GetType().FullName}'.");
Tree\TreeRouteBuilder.cs (1)
66_constraintLogger = loggerFactory.CreateLogger(typeof(RouteConstraintMatcher).FullName);
Microsoft.AspNetCore.Routing.Tests (2)
ConstraintMatcherTest.cs (1)
57$"'{typeof(FailConstraint).FullName}'";
DefaultParameterPolicyFactoryTest.cs (1)
377Assert.Equal($"No service for type '{typeof(ITestService).FullName}' has been registered.", inner.Message);
Microsoft.AspNetCore.Server.IIS (1)
src\Shared\TypeNameHelper\TypeNameHelper.cs (1)
83var name = options.FullName ? type.FullName! : type.Name;
Microsoft.AspNetCore.Server.IISIntegration.Tests (1)
IISMiddlewareTests.cs (1)
412Assert.Equal("Microsoft.AspNetCore.Server.IISIntegration.AuthenticationHandler", windows.HandlerType.FullName);
Microsoft.AspNetCore.Server.IntegrationTesting (1)
Deployers\ApplicationDeployer.cs (1)
25Logger = LoggerFactory.CreateLogger(GetType().FullName);
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Infrastructure\KestrelMetrics.cs (2)
139tags.TryAddTag(ErrorTypeAttributeName, exception.GetType().FullName); 315tags.TryAddTag(ErrorTypeAttributeName, exception.GetType().FullName);
Microsoft.AspNetCore.Session.Tests (24)
SessionTests.cs (24)
836return writeContext.LoggerName.Equals(typeof(SessionMiddleware).FullName) 837|| writeContext.LoggerName.Equals(typeof(DistributedSession).FullName); 841return beginScopeContext.LoggerName.Equals(typeof(SessionMiddleware).FullName) 842|| beginScopeContext.LoggerName.Equals(typeof(DistributedSession).FullName); 879var sessionLogMessage = sink.Writes.Where(message => message.LoggerName.Equals(typeof(DistributedSession).FullName, StringComparison.Ordinal)).Single(); 884var sessionMiddlewareLogMessage = sink.Writes.Where(message => message.LoggerName.Equals(typeof(SessionMiddleware).FullName, StringComparison.Ordinal)).Single(); 896return writeContext.LoggerName.Equals(typeof(SessionMiddleware).FullName) 897|| writeContext.LoggerName.Equals(typeof(DistributedSession).FullName); 901return beginScopeContext.LoggerName.Equals(typeof(SessionMiddleware).FullName) 902|| beginScopeContext.LoggerName.Equals(typeof(DistributedSession).FullName); 942var sessionLogMessages = sink.Writes.Where(message => message.LoggerName.Equals(typeof(DistributedSession).FullName, StringComparison.Ordinal)).ToList(); 950var sessionMiddlewareLogs = sink.Writes.Where(message => message.LoggerName.Equals(typeof(SessionMiddleware).FullName, StringComparison.Ordinal)).ToList(); 962return writeContext.LoggerName.Equals(typeof(SessionMiddleware).FullName) 963|| writeContext.LoggerName.Equals(typeof(DistributedSession).FullName); 967return beginScopeContext.LoggerName.Equals(typeof(SessionMiddleware).FullName) 968|| beginScopeContext.LoggerName.Equals(typeof(DistributedSession).FullName); 1009var sessionLogMessages = sink.Writes.Where(message => message.LoggerName.Equals(typeof(DistributedSession).FullName, StringComparison.Ordinal)).ToList(); 1017Assert.DoesNotContain(sink.Writes, message => message.LoggerName.Equals(typeof(SessionMiddleware).FullName, StringComparison.Ordinal)); 1026return writeContext.LoggerName.Equals(typeof(SessionMiddleware).FullName) 1027|| writeContext.LoggerName.Equals(typeof(DistributedSession).FullName); 1031return beginScopeContext.LoggerName.Equals(typeof(SessionMiddleware).FullName) 1032|| beginScopeContext.LoggerName.Equals(typeof(DistributedSession).FullName); 1073var sessionLogMessages = sink.Writes.Where(message => message.LoggerName.Equals(typeof(DistributedSession).FullName, StringComparison.Ordinal)).ToList(); 1081Assert.DoesNotContain(sink.Writes, message => message.LoggerName.Equals(typeof(SessionMiddleware).FullName, StringComparison.Ordinal));
Microsoft.AspNetCore.Shared.Tests (4)
src\Shared\ClosedGenericMatcher\ClosedGenericMatcher.cs (2)
78else if (StringComparer.Ordinal.Compare(@interface.FullName, bestMatch.FullName) < 0)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutorFSharpSupport.cs (1)
182var typeFullName = possibleFSharpType?.FullName;
src\Shared\TypeNameHelper\TypeNameHelper.cs (1)
83var name = options.FullName ? type.FullName! : type.Name;
Microsoft.AspNetCore.SignalR.Client.Core (13)
HubConnection.cs (7)
1062activity.SetTag("error.type", ex.GetType().FullName); 1137Log.PreparingBlockingInvocation(_logger, irq.InvocationId, methodName, irq.ResultType.FullName!, args.Length); 1150Log.IssuingInvocation(_logger, irq.InvocationId, irq.ResultType.FullName!, methodName, args); 1168Log.PreparingStreamingInvocation(_logger, irq.InvocationId, methodName, irq.ResultType.FullName!, args.Length); 1181Log.IssuingInvocation(_logger, irq.InvocationId, irq.ResultType.FullName!, methodName, args); 1257activity.SetTag("error.type", ex.GetType().FullName); 1364throw new InvalidOperationException($"Unexpected message type: {message.GetType().FullName}");
HubConnection.Log.cs (2)
31var argsList = args == null ? string.Empty : string.Join(", ", args.Select(a => a?.GetType().FullName ?? "(null)")); 88var argsList = args == null ? string.Empty : string.Join(", ", args.Select(a => a?.GetType().FullName ?? "(null)"));
Internal\InvocationRequest.cs (4)
128Activity.SetTag("error.type", exception.GetType().FullName); 159Activity.SetTag("error.type", typeof(OperationCanceledException).FullName); 203Activity.SetTag("error.type", exception.GetType().FullName); 224Activity.SetTag("error.type", typeof(OperationCanceledException).FullName);
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (105)
HubConnectionTests.cs (70)
112LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 127return writeContext.LoggerName == typeof(HttpConnection).FullName && 148LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 177LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 206LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 234LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 266LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 301LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 364LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 393LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 433LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 468LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 514LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 549LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 586LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 628LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 670LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 704LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 776LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 813LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 860LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 913LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 954LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 995LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 1025LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 1059LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 1086LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 1113LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 1140LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 1167LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 1195LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 1223LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 1251LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 1278LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 1305LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 1332LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 1381LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 1435LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 1498LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 1553LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 1585LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 1627LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 1662LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 1697LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 1732LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 1783LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 1842LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 1950LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 1985LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 2021LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 2052LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 2082LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 2139return writeContext.LoggerName == typeof(HubConnection).FullName && 2185LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 2200return writeContext.LoggerName == typeof(HubConnection).FullName && 2245LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 2260return writeContext.LoggerName == typeof(HubConnection).FullName && 2311LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 2351LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 2394LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 2447LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 2490LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 2540LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 2599LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 2668LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 2741LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 2793LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 2835LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 2851return writeContext.LoggerName == typeof(HubConnection).FullName && 2913LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
HubConnectionTests.Tracing.cs (30)
120LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 131"/default" => typeof(TestHub).FullName, 132"/hubT" => typeof(TestHubT).FullName, 133"/dynamic" => typeof(DynamicTestHub).FullName, 291LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 303"/default" => typeof(TestHub).FullName, 304"/hubT" => typeof(TestHubT).FullName, 305"/dynamic" => typeof(DynamicTestHub).FullName, 421LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 432"/default" => typeof(TestHub).FullName, 433"/hubT" => typeof(TestHubT).FullName, 434"/dynamic" => typeof(DynamicTestHub).FullName, 450Assert.Equal(typeof(OperationCanceledException).FullName, tags["error.type"]); 459Assert.Equal(typeof(OperationCanceledException).FullName, tags["error.type"]); 518LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 529"/default" => typeof(TestHub).FullName, 530"/hubT" => typeof(TestHubT).FullName, 531"/dynamic" => typeof(DynamicTestHub).FullName, 547Assert.Equal(typeof(HubException).FullName, tags["error.type"]); 556Assert.Equal(typeof(HubException).FullName, tags["error.type"]); 613LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 624"/default" => typeof(TestHub).FullName, 625"/hubT" => typeof(TestHubT).FullName, 626"/dynamic" => typeof(DynamicTestHub).FullName, 642Assert.Equal(typeof(HubException).FullName, tags["error.type"]); 652Assert.Equal(typeof(HubException).FullName, tags["error.type"]); 712LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 723"/default" => typeof(TestHub).FullName, 724"/hubT" => typeof(TestHubT).FullName, 725"/dynamic" => typeof(DynamicTestHub).FullName,
HubProtocolVersionTests.cs (5)
57LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 90LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 150LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName); 167return writeContext.LoggerName == typeof(HubConnection).FullName; 187LoggerFactory.CreateLogger<HubConnectionTests>().LogError(ex, "{ExceptionType} from test", ex.GetType().FullName);
Microsoft.AspNetCore.SignalR.Client.Tests (31)
HttpConnectionTests.ConnectionLifecycle.cs (7)
72Assert.Equal(typeof(HttpConnection).FullName, exception.ObjectName); 84return writeContext.LoggerName == typeof(HttpConnection).FullName && 135return writeContext.LoggerName == typeof(HttpConnection).FullName && 285return writeContext.LoggerName == typeof(LongPollingTransport).FullName && 327return writeContext.LoggerName == typeof(HttpConnection).FullName && 485return writeContext.LoggerName == typeof(HttpConnection).FullName && 539Assert.Equal(typeof(HttpConnection).FullName, exception.ObjectName);
HttpConnectionTests.Negotiate.cs (1)
579return writeContext.LoggerName == typeof(HttpConnection).FullName &&
HttpConnectionTests.Transport.cs (1)
279Assert.Equal(typeof(HttpConnection).FullName, exception.ObjectName);
HubConnectionTests.ConnectionLifecycle.cs (3)
155if (writeContext.LoggerName == typeof(HubConnection).FullName) 494if (writeContext.LoggerName == typeof(HubConnection).FullName) 561if (writeContext.LoggerName == typeof(HubConnection).FullName)
HubConnectionTests.cs (5)
30return writeContext.LoggerName == typeof(HubConnection).FullName && 146return writeContext.LoggerName == typeof(HubConnection).FullName && 350return writeContext.LoggerName == typeof(HubConnection).FullName && 407return writeContext.LoggerName == typeof(HubConnection).FullName && 667return writeContext.LoggerName == typeof(HubConnection).FullName &&
HubConnectionTests.Reconnect.cs (13)
33return writeContext.LoggerName == typeof(HubConnection).FullName && 74return writeContext.LoggerName == typeof(HubConnection).FullName && 188return writeContext.LoggerName == typeof(HubConnection).FullName && 283return writeContext.LoggerName == typeof(HubConnection).FullName && 380return writeContext.LoggerName == typeof(HubConnection).FullName && 476return writeContext.LoggerName == typeof(HubConnection).FullName && 560return writeContext.LoggerName == typeof(HubConnection).FullName && 622return writeContext.LoggerName == typeof(HubConnection).FullName && 676return writeContext.LoggerName == typeof(HubConnection).FullName && 732return writeContext.LoggerName == typeof(HubConnection).FullName && 838return writeContext.LoggerName == typeof(HubConnection).FullName && 958return writeContext.LoggerName == typeof(HubConnection).FullName && 1049return writeContext.LoggerName == typeof(HubConnection).FullName &&
ServerSentEventsTransportTests.cs (1)
166return writeContext.LoggerName == typeof(ServerSentEventsTransport).FullName &&
Microsoft.AspNetCore.SignalR.Common.Tests (1)
Internal\Protocol\TestHubMessageEqualityComparer.cs (1)
47throw new InvalidOperationException($"Unknown message type: {x.GetType().FullName}");
Microsoft.AspNetCore.SignalR.Core (14)
HubOptionsSetup.cs (1)
35if (hubProtocol.GetType().CustomAttributes.Where(a => a.AttributeType.FullName == "Microsoft.AspNetCore.SignalR.Internal.NonDefaultHubProtocolAttribute").Any())
Internal\DefaultHubDispatcher.cs (3)
23private static readonly string _fullHubName = typeof(THub).FullName ?? typeof(THub).Name; 238Log.UnsupportedMessageReceived(_logger, hubMessage.GetType().FullName!); 896activity?.SetTag("error.type", ex.GetType().FullName);
Internal\DefaultHubDispatcherLog.cs (2)
31StreamingResult(logger, invocationId, resultType.FullName); 43SendingResult(logger, invocationId, resultType.FullName);
Internal\TypedClientBuilder.cs (5)
288$"Cannot generate proxy implementation for '{typeof(T).FullName}.{interfaceMethod.Name}'. All client proxy methods must return '{typeof(Task).FullName}' or '{typeof(Task).FullName}<T>'."); 296$"Cannot generate proxy implementation for '{typeof(T).FullName}.{interfaceMethod.Name}'. Client proxy methods must not have 'out' parameters."); 302$"Cannot generate proxy implementation for '{typeof(T).FullName}.{interfaceMethod.Name}'. Client proxy methods must not have 'ref' parameters.");
src\Shared\ClosedGenericMatcher\ClosedGenericMatcher.cs (2)
78else if (StringComparer.Ordinal.Compare(@interface.FullName, bestMatch.FullName) < 0)
src\Shared\ObjectMethodExecutor\ObjectMethodExecutorFSharpSupport.cs (1)
182var typeFullName = possibleFSharpType?.FullName;
Microsoft.AspNetCore.SignalR.Protocols.Json (1)
Protocol\JsonHubProtocol.cs (1)
567throw new InvalidOperationException($"Unsupported message type: {message.GetType().FullName}");
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (1)
Protocol\NewtonsoftJsonHubProtocol.cs (1)
564throw new InvalidOperationException($"Unsupported message type: {message.GetType().FullName}");
Microsoft.AspNetCore.SignalR.StackExchangeRedis (1)
RedisHubLifetimeManager.cs (1)
75_channels = new RedisChannels(typeof(THub).FullName!, _serverName);
Microsoft.AspNetCore.SignalR.Tests (20)
EndToEndTests.cs (7)
55return writeContext.LoggerName == typeof(HttpConnection).FullName && 378return writeContext.LoggerName == typeof(HttpConnection).FullName && 402return writeContext.LoggerName == typeof(HttpConnection).FullName && 432return writeContext.LoggerName == typeof(HttpConnection).FullName && 468return writeContext.LoggerName == typeof(HttpConnection).FullName && 603return writeContext.LoggerName == typeof(HttpConnection).FullName && 642return writeContext.LoggerName == typeof(HttpConnection).FullName &&
HubConnectionHandlerTests.Activity.cs (3)
497Assert.Equal($"{typeof(THub).FullName}/{methodName}", activity.DisplayName); 505Assert.Equal(exceptionType.FullName, tags[3].Value); 518Assert.Equal(typeof(THub).FullName, tags[2].Value);
HubConnectionHandlerTests.cs (2)
245Assert.Equal($"Cannot generate proxy implementation for '{typeof(IVoidReturningTypedHubClient).FullName}.{nameof(IVoidReturningTypedHubClient.Send)}'. All client proxy methods must return '{typeof(Task).FullName}' or 'System.Threading.Tasks.Task<T>'.", ex.Message);
Internal\TypedClientBuilderTests.cs (8)
160Assert.Equal($"Cannot generate proxy implementation for '{typeof(IVoidMethodClient).FullName}.{nameof(IVoidMethodClient.Method)}'. All client proxy methods must return '{typeof(Task).FullName}' or '{typeof(Task).FullName}<T>'.", ex.Message); 168Assert.Equal($"Cannot generate proxy implementation for '{typeof(IStringMethodClient).FullName}.{nameof(IStringMethodClient.Method)}'. All client proxy methods must return '{typeof(Task).FullName}' or '{typeof(Task).FullName}<T>'.", ex.Message); 177$"Cannot generate proxy implementation for '{typeof(IOutParamMethodClient).FullName}.{nameof(IOutParamMethodClient.Method)}'. Client proxy methods must not have 'out' parameters.", ex.Message); 186$"Cannot generate proxy implementation for '{typeof(IRefParamMethodClient).FullName}.{nameof(IRefParamMethodClient.Method)}'. Client proxy methods must not have 'ref' parameters.", ex.Message);
Microsoft.AspNetCore.TestHost (2)
TestWebSocket.cs (2)
286throw new IOException("The remote end closed the connection.", new ObjectDisposedException(typeof(TestWebSocket).FullName)); 336throw new IOException("The remote end closed the connection.", new ObjectDisposedException(typeof(TestWebSocket).FullName));
Microsoft.AspNetCore.Tests (2)
WebApplicationTests.cs (2)
2699m => Assert.Equal(typeof(MiddlewareWithInterface).FullName, m), 2752m => Assert.Equal(typeof(MiddlewareWithInterface).FullName, m),
Microsoft.AspNetCore.WebSockets.Tests (1)
WebSocketMiddlewareTests.cs (1)
843Assert.True(ex is ConnectionAbortedException or WebSocketException, ex.GetType().FullName);
Microsoft.Build (45)
BackEnd\BuildManager\BuildManager.cs (3)
2946loggerClassName: typeof(BuildCheckForwardingLogger).FullName, 3000string configurableLoggerName = configurableLoggerType.FullName!; 3019l.ForwardingLoggerDescription.Name.Contains(typeof(CentralForwardingLogger).FullName!)
BackEnd\Components\Communications\TranslatorExtensions.cs (1)
77$"{typeName} must be a {typeof(T).FullName}");
BackEnd\Components\Logging\LoggingService.cs (3)
785loggerTypes.Add(logger.GetType().FullName); 1567ErrorUtilities.ThrowInternalError("Unknown logging item in queue:" + loggingEvent.GetType().FullName); 1870_ => innerLogger.GetType().FullName == "Microsoft.Build.Logging.TerminalLogger.TerminalLogger"
BackEnd\Components\RequestBuilder\AssemblyLoadsTracker.cs (2)
39_initiator = initiator?.FullName; 115IsBuiltinType(initiatorType?.FullName)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (7)
475parameter.PropertyType.FullName, 779parameterType.FullName, 915if (String.Equals(returnClass.TaskFactory.TaskType.FullName, "Microsoft.Build.Tasks.MSBuild", StringComparison.OrdinalIgnoreCase)) 921else if (String.Equals(returnClass.TaskFactory.TaskType.FullName, "Microsoft.Build.Tasks.CallTarget", StringComparison.OrdinalIgnoreCase)) 1080parameterType.FullName, 1166parameterType.FullName, 1205parameterType.FullName,
Construction\ProjectUsingTaskParameterElement.cs (1)
91return String.IsNullOrEmpty(typeAttribute) ? typeof(String).FullName : typeAttribute;
ErrorUtilities.cs (1)
107ThrowInternalError("This type does not implement ToString() properly {0}", param.GetType().FullName!);
Evaluation\Expander.cs (6)
2257string qualifiedFunctionName = itemType.FullName + "::" + functionName; 3494ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable", _methodMethodName, _receiverType.FullName); 3511ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable", _methodMethodName, _receiverType.FullName); 4118string typeFullName = enumType.FullName + "."; 4193string typeName = _receiverType.FullName; 4242return AvailableStaticMethods.GetTypeInformationFromTypeCache(receiverType.FullName, methodName) != null;
Evaluation\Expander\WellKnownFunctions.cs (2)
49File.AppendAllText(logFile, $"ReceiverType={receiverType?.FullName}; ObjectInstanceType={objectInstance?.GetType().FullName}; MethodName={methodName}({argSignature})\n");
Evaluation\IntrinsicFunctions.cs (1)
288string typeFullName = typeof(RegistryView).FullName + ".";
Instance\ProjectItemGroupTaskInstance.cs (1)
130var typeName = this.GetType().FullName;
Instance\ProjectOnErrorInstance.cs (1)
119var typeName = this.GetType().FullName;
Instance\ProjectPropertyGroupTaskInstance.cs (1)
129var typeName = this.GetType().FullName;
Instance\ProjectTaskInstance.cs (1)
362var typeName = this.GetType().FullName;
Instance\ProjectTaskOutputItemInstance.cs (1)
140var typeName = this.GetType().FullName;
Instance\ProjectTaskOutputPropertyInstance.cs (1)
140var typeName = this.GetType().FullName;
Instance\ReflectableTaskPropertyInfo.cs (1)
81ErrorUtilities.VerifyThrow(_propertyInfo != null, "Could not find property {0} on type {1} that the task factory indicated should exist.", Name, _taskType.FullName);
Instance\TaskFactories\TaskHostTask.cs (1)
279_taskType.Type.FullName,
Instance\TaskRegistry.cs (2)
1459factory = (ITaskFactory)AppDomain.CurrentDomain.CreateInstanceAndUnwrap(loadedType.Type.GetTypeInfo().Assembly.FullName, loadedType.Type.FullName); 1742paramType.FullName,
LoadedType.cs (1)
142if (String.Equals("Microsoft.Build.Tasks.Xaml.PartialClassGenerationTask", Type.FullName, StringComparison.OrdinalIgnoreCase))
ResourceUtilities.cs (1)
440param.GetType().FullName);
TaskLoader.cs (2)
135taskInstanceInOtherAppDomain = (ITask)taskAppDomain.CreateInstanceFromAndUnwrap(loadedType.Assembly.AssemblyFile, loadedType.Type.FullName); 158taskInstanceInOtherAppDomain = (ITask)taskAppDomain.CreateInstanceAndUnwrap(loadedType.Type.GetTypeInfo().Assembly.FullName, loadedType.Type.FullName);
TypeLoader.cs (3)
390if (_isDesiredType(publicType, null) && (typeName.Length == 0 || TypeLoader.IsPartialTypeNameMatch(publicType.FullName, typeName))) 393LoadedType loadedType = new(publicType, _assemblyLoadInfo, loadedAssembly, _context.LoadFromAssemblyPath(microsoftBuildFrameworkPath).GetType(typeof(ITaskItem).FullName), loadedViaMetadataLoadContext: true); 422_publicTypeNameToType.Add(publicType.FullName, publicType);
Utilities\NuGetFrameworkWrapper.cs (1)
228instance = (NuGetFrameworkWrapper)appDomain.CreateInstanceAndUnwrap(Assembly.GetExecutingAssembly().FullName, typeof(NuGetFrameworkWrapper).FullName);
Microsoft.Build.CommandLine.UnitTests (3)
ValidateAssemblyLoadContext.cs (2)
26if (thisLoadContext.GetType().FullName == typeof(MSBuildLoadContext).FullName)
XMake_Tests.cs (1)
2704<UsingTask TaskName=""" + typeof(MessageImportanceCheckingTask).FullName + @""" AssemblyFile=""" + Assembly.GetExecutingAssembly().Location + @"""/>
Microsoft.Build.Engine.OM.UnitTests (5)
Construction\UsingTaskParameterElement_Tests.cs (3)
69Assert.Equal(typeof(String).FullName, parameter.ParameterType); 148Assert.Equal(typeof(String).FullName, parameter.ParameterType); 190Assert.Equal(typeof(String).FullName, parameter.ParameterType);
ErrorUtilities.cs (1)
107ThrowInternalError("This type does not implement ToString() properly {0}", param.GetType().FullName!);
ResourceUtilities.cs (1)
440param.GetType().FullName);
Microsoft.Build.Engine.UnitTests (52)
BackEnd\BinaryTranslator_Tests.cs (1)
283Assert.True(TranslationHelpers.CompareExceptions(remote, deserializedValue, out string diffReason, true), $"Exception type {exceptionType.FullName} not properly de/serialized: {diffReason}");
BackEnd\BuildManager_Tests.cs (1)
4398TaskName=""" + typeof(LogTaskInputsCheckingTask).FullName + @"""
BackEnd\SdkResolverLoader_Tests.cs (2)
49resolvers.Select(i => i.GetType().FullName).ShouldBe(new[] { typeof(DefaultSdkResolver).FullName });
BackEnd\TaskExecutionHost_Tests.cs (1)
1246AssemblyLoadInfo loadInfo = AssemblyLoadInfo.Create(typeof(TaskBuilderTestTask.TaskBuilderTestTaskFactory).GetTypeInfo().FullName, null);
BackEnd\TaskRegistry_Tests.cs (32)
1242element.TaskFactory = typeof(NullTaskTypeTaskFactory).FullName; 1304ProjectUsingTaskParameterElement filledOutAttributesParameter = parameterGroup.AddParameter("ParameterWithAllAttributesHardCoded", bool.TrueString, bool.TrueString, typeof(Int32).FullName); 1398string type = typeof(int[]).FullName; 1401type = typeof(String[]).FullName; 1404type = typeof(ITaskItem[]).FullName; 1407type = typeof(DateTime[]).FullName; 1422string type = typeof(ArrayList[]).FullName; 1439string type = typeof(int).FullName; 1442type = typeof(String).FullName; 1445type = typeof(ITaskItem).FullName; 1448type = typeof(DateTime).FullName; 1467string type = type = typeof(DerivedFromITaskItem).FullName + "," + typeof(DerivedFromITaskItem).GetTypeInfo().Assembly.FullName; 1486string type = typeof(ArrayList).FullName; 1510string type = typeof(int).FullName; 1513type = typeof(String).FullName; 1516type = typeof(ITaskItem).FullName; 1522type = typeof(DerivedFromITaskItem).FullName + "," + typeof(DerivedFromITaskItem).GetTypeInfo().Assembly.FullName; 1526type = typeof(ITaskItem[]).FullName; 1529type = typeof(DateTime).FullName; 1532type = typeof(String[]).FullName; 1535type = typeof(DateTime[]).FullName; 1541type = typeof(DerivedFromITaskItem[]).FullName + "," + typeof(DerivedFromITaskItem).GetTypeInfo().Assembly.FullName; 1557string type = typeof(ArrayList).FullName; 1572string type = typeof(String).FullName; 1587string type = typeof(String).FullName; 1604string type = typeof(String).FullName; 1619string type = typeof(String).FullName; 1634string type = typeof(String).FullName; 1651string type = typeof(String).FullName; 1927parameterGroup.AddParameter("n1", "false", "true", typeof(string).FullName); 1944parameterGroup.AddParameter("n2", "true", "false", typeof(bool).FullName); 1962parameterGroup.AddParameter("n3", "false", "true", typeof(int).FullName);
BackEnd\TranslationHelpers.cs (2)
125diffReason = $"Exception types are different ({left.GetType().FullName} vs {right.GetType().FullName}).";
Construction\ElementLocation_Tests.cs (10)
45Assert.Contains("RegularElementLocation", location.GetType().FullName); 58Assert.Contains("RegularElementLocation", location.GetType().FullName); 71Assert.Contains("RegularElementLocation", location.GetType().FullName); 172Assert.Contains("RegularElementLocation", location.GetType().FullName); 190Assert.Contains("SmallElementLocation", deserializedLocation.GetType().FullName); 203Assert.Contains("SmallElementLocation", location.GetType().FullName); 248Assert.Contains("SmallElementLocation", location.GetType().FullName); 261Assert.Contains("SmallElementLocation", location.GetType().FullName); 274Assert.Contains("SmallElementLocation", location.GetType().FullName); 292Assert.Contains("SmallElementLocation", location.GetType().FullName);
TerminalLoggerConfiguration_Tests.cs (1)
39_cmd = $"{projectFile.Path} -target:Hello -logger:{typeof(MockLogger).FullName},{typeof(MockLogger).Assembly.Location};ReportTelemetry";
TestComparers\TaskRegistryComparers.cs (2)
105Assert.Equal(x.PropertyType.FullName, y.PropertyType.FullName);
Microsoft.Build.Framework (7)
BuildException\BuildExceptionSerializationHelper.cs (2)
58EscapeHatches.ThrowInternalError($"Type {exceptionType.FullName} is not recognized as a build exception type."); 73return exceptionType.FullName ?? exceptionType.ToString();
LazyFormattedBuildEventArgs.cs (2)
194if (param != null && param.ToString() == param.GetType().FullName) 196throw new InvalidOperationException(string.Format("Invalid type for message formatting argument, was {0}", param.GetType().FullName));
TaskPropertyInfo.cs (1)
31IsValueTypeOutputParameter = elementType.GetTypeInfo().IsValueType || elementType.FullName.Equals("System.String");
Telemetry\BuildCheckTelemetry.cs (1)
28string? exceptionType = exception.GetType().FullName;
Traits.cs (1)
580param.GetType().FullName);
Microsoft.Build.Framework.UnitTests (1)
ResourceUtilities.cs (1)
440param.GetType().FullName);
Microsoft.Build.Tasks.Core (15)
ErrorUtilities.cs (1)
107ThrowInternalError("This type does not implement ToString() properly {0}", param.GetType().FullName!);
GenerateResource.cs (1)
3815_logger.LogErrorWithCodeFromResources(null, fileName, 0, 0, 0, 0, "GenerateResource.OnlyStringsSupported", key, v?.GetType().FullName);
ManifestUtil\RSAPKCS1SHA256SignatureDescription.cs (4)
17KeyAlgorithm = typeof(RSACryptoServiceProvider).FullName; 19DigestAlgorithm = typeof(SHA256).FullName; 23FormatterAlgorithm = typeof(RSAPKCS1SignatureFormatter).FullName; 24DeformatterAlgorithm = typeof(RSAPKCS1SignatureDeformatter).FullName;
ResourceHandling\LiveObjectResource.cs (1)
26public string TypeFullName => Value.GetType().FullName;
ResourceHandling\StringResource.cs (1)
14public new string TypeFullName => typeof(string).FullName;
ResourceUtilities.cs (1)
440param.GetType().FullName);
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (3)
176?? exportedTypes.Where(i => i.FullName != null).FirstOrDefault(type => type.FullName.Equals(taskName, StringComparison.OrdinalIgnoreCase) || type.FullName.EndsWith(taskName, StringComparison.OrdinalIgnoreCase));
system.design\stronglytypedresourcebuilder.cs (2)
93TypeFullName = type.FullName; 304var toolArg = new CodeAttributeArgument(new CodePrimitiveExpression(typeof(StronglyTypedResourceBuilder).FullName));
WriteCodeFragment.cs (1)
517.OrderBy(c => string.Join(",", c.Select(t => t.FullName)))
Microsoft.Build.Utilities.Core (3)
ErrorUtilities.cs (1)
107ThrowInternalError("This type does not implement ToString() properly {0}", param.GetType().FullName!);
ResourceUtilities.cs (1)
440param.GetType().FullName);
ToolTask.cs (1)
1354LogPrivate.LogErrorWithCodeFromResources("ToolTask.ValidateParametersFailed", this.GetType().FullName);
Microsoft.Cci.Extensions (6)
Comparers\CciComparers.cs (2)
57throw new NotSupportedException("Comparer not supported for type " + typeof(T).FullName); 77throw new NotSupportedException("Comparer not supported for type " + typeof(T).FullName);
Extensions\MemberExtensions.cs (2)
128if (attribute.Type.FullName() != typeof(EditorBrowsableAttribute).FullName) 154if (attribute.Type.FullName() != typeof(ObsoleteAttribute).FullName)
Extensions\TypeExtensions.cs (2)
151throw new NotSupportedException(string.Format("Unknown IReference '{0}' so we cannot get assembly reference!", reference.GetType().FullName)); 418string.Format("Unexpected type reference that we may need to unwrap {0}", (reference != null ? reference.GetType().FullName : "null")));
Microsoft.CodeAnalysis (13)
CommandLine\ReportAnalyzerUtil.cs (1)
141consoleOutput.WriteLine(GetColumnEntry(executionTime, percentage, " " + timingInfo.Generator.GetGeneratorType().FullName, culture));
Compilation\DeterministicKeyBuilder.cs (1)
105writer.Write("fullName", type.FullName);
InternalUtilities\ExceptionUtilities.cs (1)
21string output = string.Format("Unexpected value '{0}' of type '{1}'", o, (o != null) ? o.GetType().FullName : "<unknown>");
InternalUtilities\FatalError.cs (1)
78var targetType = assembly.GetType(typeof(FatalError).FullName!, throwOnError: true)!;
InternalUtilities\XmlUtilities.cs (1)
85catch (Exception e) when (e.GetType().FullName == "System.Xml.XPath.XPathException")
SourceGeneration\GeneratorDriver.cs (1)
443return Path.Combine(baseDirectory ?? "", type.Assembly.GetName().Name ?? string.Empty, type.FullName!);
SourceGeneration\GeneratorTimerExtensions.cs (2)
36eventSource.StartSingleGeneratorRunTime(type.FullName!, type.Assembly.Location, id); 37return new RunTimer(t => eventSource.StopSingleGeneratorRunTime(type.FullName!, type.Assembly.Location, t.Ticks, id), adjustRunTime);
SourceGeneration\Nodes\BatchNode.cs (1)
16private static readonly string? s_tableType = typeof(ImmutableArray<TInput>).FullName;
SourceGeneration\Nodes\CombineNode.cs (1)
16private static readonly string? s_tableType = typeof((TInput1, TInput2)).FullName;
SourceGeneration\Nodes\InputNode.cs (1)
22private static readonly string? s_tableType = typeof(T).FullName;
SourceGeneration\Nodes\SourceOutputNode.cs (1)
18private static readonly string? s_tableType = typeof(TOutput).FullName;
SourceGeneration\Nodes\TransformNode.cs (1)
18private static readonly string? s_tableType = typeof(TOutput).FullName;
Microsoft.CodeAnalysis.CodeStyle (66)
src\Analyzers\Core\Analyzers\ForEachCast\AbstractForEachCastDiagnosticAnalyzer.cs (1)
143semanticModel.Compilation.GetBestTypeByMetadataName(typeof(Enumerable).FullName!) != null;
src\Analyzers\Core\Analyzers\Helpers\HashCodeAnalyzer\HashCodeAnalyzer.cs (1)
41var equalityComparerType = compilation.GetBestTypeByMetadataName(typeof(EqualityComparer<>).FullName!);
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
160_iNotifyCompletionType = compilation.GetBestTypeByMetadataName(typeof(INotifyCompletion).FullName!);
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.cs (1)
54var iCustomMarshaler = context.Compilation.GetTypeByMetadataName(typeof(ICustomMarshaler).FullName!);
src\Analyzers\Core\Analyzers\SimplifyInterpolation\AbstractSimplifyInterpolationHelpers.cs (1)
187=> semanticModel.Compilation.GetTypeByMetadataName(typeof(T).FullName!);
src\Analyzers\Core\Analyzers\SimplifyLinqExpression\AbstractSimplifyLinqExpressionDiagnosticAnalyzer.cs (1)
71enumerableType = compilation.GetTypeByMetadataName(typeof(Enumerable)?.FullName!);
src\Analyzers\Core\Analyzers\UseCoalesceExpression\AbstractUseCoalesceExpressionForNullableTernaryConditionalCheckDiagnosticAnalyzer.cs (1)
109var nullableType = semanticModel.Compilation.GetTypeByMetadataName(typeof(Nullable<>).FullName!);
src\Analyzers\Core\Analyzers\ValidateFormatString\AbstractValidateFormatStringDiagnosticAnalyzer.cs (1)
73var formatProviderType = startContext.Compilation.GetTypeByMetadataName(typeof(System.IFormatProvider).FullName!);
src\Compilers\Core\Portable\InternalUtilities\ExceptionUtilities.cs (1)
21string output = string.Format("Unexpected value '{0}' of type '{1}'", o, (o != null) ? o.GetType().FullName : "<unknown>");
src\Compilers\Core\Portable\InternalUtilities\FatalError.cs (1)
78var targetType = assembly.GetType(typeof(FatalError).FullName!, throwOnError: true)!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ICompilationExtensions.cs (54)
73=> compilation.GetTypeByMetadataName(typeof(Array).FullName!); 76=> compilation.GetTypeByMetadataName(typeof(Attribute).FullName!); 79=> compilation.GetTypeByMetadataName(typeof(Exception).FullName!); 82=> compilation.GetTypeByMetadataName(typeof(System.Diagnostics.DebuggerDisplayAttribute).FullName!); 85=> compilation.GetTypeByMetadataName(typeof(StructLayoutAttribute).FullName!); 100=> compilation.GetTypeByMetadataName(typeof(ThreadStaticAttribute).FullName!); 103=> compilation.GetTypeByMetadataName(typeof(FormattableString).FullName!); 106=> compilation.GetTypeByMetadataName(typeof(EventArgs).FullName!); 109=> compilation.GetTypeByMetadataName(typeof(NotImplementedException).FullName!); 112=> compilation.GetTypeByMetadataName(typeof(EqualityComparer<>).FullName!); 115=> compilation.GetTypeByMetadataName(typeof(Action).FullName!); 121=> compilation.GetTypeByMetadataName(typeof(EditorBrowsableAttribute).FullName!); 124=> compilation.GetTypeByMetadataName(typeof(EditorBrowsableState).FullName!); 127=> compilation.GetTypeByMetadataName(typeof(Task).FullName!); 130=> compilation.GetTypeByMetadataName(typeof(Task<>).FullName!); 139=> compilation.GetTypeByMetadataName(typeof(System.Collections.IEnumerable).FullName!); 142=> compilation.GetTypeByMetadataName(typeof(IEnumerable<>).FullName!); 145=> compilation.GetTypeByMetadataName(typeof(IEnumerator<>).FullName!); 148=> compilation.GetTypeByMetadataName(typeof(IList<>).FullName!); 151=> compilation.GetTypeByMetadataName(typeof(IReadOnlyList<>).FullName!); 154=> compilation.GetTypeByMetadataName(typeof(ISet<>).FullName!); 157=> compilation.GetTypeByMetadataName(typeof(IReadOnlySet<>).FullName!); 166=> compilation.GetTypeByMetadataName(typeof(ImmutableArray<>).FullName!); 169=> compilation.GetTypeByMetadataName(typeof(SerializableAttribute).FullName!); 172=> compilation.GetTypeByMetadataName(typeof(CoClassAttribute).FullName!); 175=> compilation.GetTypeByMetadataName(typeof(ComAliasNameAttribute).FullName!); 178=> compilation.GetTypeByMetadataName(typeof(SuppressMessageAttribute).FullName!); 181=> compilation.GetTypeByMetadataName(typeof(TupleElementNamesAttribute).FullName!); 187=> compilation.GetTypeByMetadataName(typeof(DynamicAttribute).FullName!); 190=> compilation.GetTypeByMetadataName(typeof(Lazy<>).FullName!); 193=> compilation.GetTypeByMetadataName(typeof(ISerializable).FullName!); 196=> compilation.GetTypeByMetadataName(typeof(SerializationInfo).FullName!); 199=> compilation.GetTypeByMetadataName(typeof(StreamingContext).FullName!); 202=> compilation.GetTypeByMetadataName(typeof(OnDeserializingAttribute).FullName!); 205=> compilation.GetTypeByMetadataName(typeof(OnDeserializedAttribute).FullName!); 208=> compilation.GetTypeByMetadataName(typeof(OnSerializingAttribute).FullName!); 211=> compilation.GetTypeByMetadataName(typeof(OnSerializedAttribute).FullName!); 214=> compilation.GetTypeByMetadataName(typeof(ComRegisterFunctionAttribute).FullName!); 217=> compilation.GetTypeByMetadataName(typeof(ComUnregisterFunctionAttribute).FullName!); 220=> compilation.GetTypeByMetadataName(typeof(ConditionalAttribute).FullName!); 223=> compilation.GetTypeByMetadataName(typeof(ObsoleteAttribute).FullName!); 232=> compilation.GetTypeByMetadataName(typeof(IDisposable).FullName!); 235=> compilation.GetTypeByMetadataName(typeof(NotNullAttribute).FullName!); 238=> compilation.GetTypeByMetadataName(typeof(MaybeNullAttribute).FullName!); 241=> compilation.GetTypeByMetadataName(typeof(MaybeNullWhenAttribute).FullName!); 244=> compilation.GetTypeByMetadataName(typeof(AllowNullAttribute).FullName!); 247=> compilation.GetTypeByMetadataName(typeof(DisallowNullAttribute).FullName!); 250=> compilation.GetTypeByMetadataName(typeof(DataMemberAttribute).FullName!); 253=> compilation.GetTypeByMetadataName(typeof(DataContractAttribute).FullName!); 259=> compilation.GetTypeByMetadataName(typeof(CancellationToken).FullName!); 265=> compilation.GetTypeByMetadataName(typeof(List<>).FullName!); 268=> compilation.GetTypeByMetadataName(typeof(ReadOnlySpan<>).FullName!); 271=> compilation.GetTypeByMetadataName(typeof(Span<>).FullName!); 274=> compilation.GetTypeByMetadataName(typeof(InterpolatedStringHandlerAttribute).FullName!);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs (1)
714&& attributeData.AttributeClass.ToNameDisplayString() == typeof(ReferenceAssemblyAttribute).FullName)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\TaskExtensions.cs (1)
74exception.Data["ContinuationFunction"] = (methodInfo?.DeclaringType?.FullName ?? "?") + "::" + (methodInfo?.Name ?? "?");
Microsoft.CodeAnalysis.CodeStyle.Fixes (7)
src\Analyzers\Core\CodeFixes\AddObsoleteAttribute\AbstractAddObsoleteAttributeCodeFixProvider.cs (1)
61var attribute = compilation.GetTypeByMetadataName(typeof(ObsoleteAttribute).FullName!);
src\Analyzers\Core\CodeFixes\ForEachCast\AbstractForEachCastCodeFixProvider.cs (1)
67var enumerableType = semanticModel.Compilation.GetBestTypeByMetadataName(typeof(Enumerable).FullName!);
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_DisposePattern.cs (1)
206var gcType = compilation.GetTypeByMetadataName(typeof(GC).FullName!);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (1)
448var type = compilation.GetTypeByMetadataName(typeof(ArgumentNullException).FullName!);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
223var iequatableType = compilation.GetTypeByMetadataName(typeof(IEquatable<>).FullName);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SemanticsFactsService\AbstractSemanticFactsService.cs (2)
109? GetIDisposableInterfaceAndDisposeMethod(typeof(IAsyncDisposable).FullName!, nameof(IAsyncDisposable.DisposeAsync)) 110: GetIDisposableInterfaceAndDisposeMethod(typeof(IDisposable).FullName!, nameof(IDisposable.Dispose));
Microsoft.CodeAnalysis.CSharp (1)
Errors\ErrorFacts.cs (1)
194s_resourceManager = new System.Resources.ResourceManager(typeof(CSharpResources).FullName, typeof(ErrorCode).GetTypeInfo().Assembly);
Microsoft.CodeAnalysis.CSharp.CodeStyle (7)
src\Analyzers\CSharp\Analyzers\InlineDeclaration\CSharpInlineDeclarationDiagnosticAnalyzer.cs (1)
50var expressionType = compilation.GetTypeByMetadataName(typeof(Expression<>).FullName!);
src\Analyzers\CSharp\Analyzers\SimplifyLinqExpression\CSharpSimplifyLinqTypeCheckAndCastDiagnosticAnalyzer.cs (1)
31var enumerableType = context.Compilation.GetTypeByMetadataName(typeof(Enumerable).FullName!);
src\Analyzers\CSharp\Analyzers\UseIndexOrRangeOperator\CSharpUseIndexOperatorDiagnosticAnalyzer.InfoCache.cs (1)
45var indexType = compilation.GetBestTypeByMetadataName(typeof(Index).FullName!);
src\Analyzers\CSharp\Analyzers\UseIndexOrRangeOperator\CSharpUseRangeOperatorDiagnosticAnalyzer.InfoCache.cs (1)
67var rangeType = compilation.GetBestTypeByMetadataName(typeof(Range).FullName!);
src\Analyzers\CSharp\Analyzers\UseLocalFunction\CSharpUseLocalFunctionDiagnosticAnalyzer.cs (1)
64var expressionType = compilation.GetTypeByMetadataName(typeof(Expression<>).FullName!);
src\Analyzers\CSharp\Analyzers\UseUtf8StringLiteral\UseUtf8StringLiteralDiagnosticAnalyzer.cs (2)
52if (context.Compilation.GetBestTypeByMetadataName(typeof(ReadOnlySpan<>).FullName!) is null) 55var expressionType = context.Compilation.GetTypeByMetadataName(typeof(System.Linq.Expressions.Expression<>).FullName!);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (13)
src\Analyzers\CSharp\CodeFixes\Iterator\CSharpAddYieldCodeFixProvider.cs (6)
118var ienumerableSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerable).FullName!); 119var ienumeratorSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerator).FullName!); 120var ienumerableGenericSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerable<>).FullName!); 121var ienumeratorGenericSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerator<>).FullName!); 191var ienumerableSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerable).FullName!); 192var ienumeratorSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerator).FullName!);
src\Analyzers\CSharp\CodeFixes\Iterator\CSharpChangeToIEnumerableCodeFixProvider.cs (2)
116ienumerableSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerable).FullName!); 117ienumerableGenericSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerable<>).FullName!);
src\Analyzers\CSharp\CodeFixes\ReplaceDefaultLiteral\CSharpReplaceDefaultLiteralCodeFixProvider.cs (2)
92else if (type.Equals(semanticModel.Compilation.GetTypeByMetadataName(typeof(CancellationToken).FullName!))) 123var flagsAttribute = compilation.GetTypeByMetadataName(typeof(FlagsAttribute).FullName!);
src\Analyzers\CSharp\CodeFixes\UseExpressionBodyForLambda\UseExpressionBodyForLambdaCodeActionHelpers.cs (1)
102var taskType = semanticModel.Compilation.GetTypeByMetadataName(typeof(Task).FullName!);
src\Analyzers\CSharp\CodeFixes\UseUtf8StringLiteral\UseUtf8StringLiteralCodeFixProvider.cs (1)
48var readOnlySpanType = semanticModel.Compilation.GetBestTypeByMetadataName(typeof(ReadOnlySpan<>).FullName!);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
1258: this.Compilation.GetTypeByMetadataName(typeof(IAsyncEnumerable<>).FullName);
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
CommandLineTests.cs (1)
9454Assert.Contains(typeof(DoNothingGenerator).FullName, output, StringComparison.Ordinal);
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (5)
Completion\ArgumentProviders\ArgumentProviderOrderTests.cs (2)
47string.Join(Environment.NewLine, expectedOrder.Select(x => x.FullName)), 48string.Join(Environment.NewLine, actualOrder.Select(x => x.FullName)));
Completion\CompletionProviders\CompletionProviderOrderTests.cs (2)
79string.Join(Environment.NewLine, expectedOrder.Select(x => x.FullName)), 80string.Join(Environment.NewLine, actualOrder.Select(x => x.FullName)));
Completion\CompletionServiceTests.cs (1)
60item.ProviderName = typeof(ThirdPartyCompletionProvider).FullName;
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
CodeGen\CodeGenIncrementTests.cs (2)
133string source = string.Format(NUMERIC_INCREMENT_TEMPLATE, typeof(char).FullName, "'a'", "'b'"); 1010string source = string.Format(CultureInfo.InvariantCulture, NUMERIC_INCREMENT_TEMPLATE, type.FullName, value, valuePlusOne);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (5)
Diagnostics\DiagnosticSuppressorTests.cs (5)
411Diagnostic("AD0001").WithArguments(suppressor.ToString(), typeof(NotImplementedException).FullName, new NotImplementedException().Message, context).WithLocation(1, 1), 455Diagnostic("AD0001").WithArguments(suppressor.ToString(), typeof(NotImplementedException).FullName, new NotImplementedException().Message, context).WithLocation(1, 1), 507typeof(ArgumentException).FullName, 560typeof(System.ArgumentException).FullName, 613typeof(System.ArgumentException).FullName,
Microsoft.CodeAnalysis.CSharp.Features (20)
ConvertLinq\CSharpConvertLinqQueryToForEachProvider.cs (1)
371=> Equals(typeSymbol.OriginalDefinition, _semanticModel.Compilation.GetTypeByMetadataName(typeof(List<>).FullName));
src\Analyzers\CSharp\Analyzers\InlineDeclaration\CSharpInlineDeclarationDiagnosticAnalyzer.cs (1)
50var expressionType = compilation.GetTypeByMetadataName(typeof(Expression<>).FullName!);
src\Analyzers\CSharp\Analyzers\SimplifyLinqExpression\CSharpSimplifyLinqTypeCheckAndCastDiagnosticAnalyzer.cs (1)
31var enumerableType = context.Compilation.GetTypeByMetadataName(typeof(Enumerable).FullName!);
src\Analyzers\CSharp\Analyzers\UseIndexOrRangeOperator\CSharpUseIndexOperatorDiagnosticAnalyzer.InfoCache.cs (1)
45var indexType = compilation.GetBestTypeByMetadataName(typeof(Index).FullName!);
src\Analyzers\CSharp\Analyzers\UseIndexOrRangeOperator\CSharpUseRangeOperatorDiagnosticAnalyzer.InfoCache.cs (1)
67var rangeType = compilation.GetBestTypeByMetadataName(typeof(Range).FullName!);
src\Analyzers\CSharp\Analyzers\UseLocalFunction\CSharpUseLocalFunctionDiagnosticAnalyzer.cs (1)
64var expressionType = compilation.GetTypeByMetadataName(typeof(Expression<>).FullName!);
src\Analyzers\CSharp\Analyzers\UseUtf8StringLiteral\UseUtf8StringLiteralDiagnosticAnalyzer.cs (2)
52if (context.Compilation.GetBestTypeByMetadataName(typeof(ReadOnlySpan<>).FullName!) is null) 55var expressionType = context.Compilation.GetTypeByMetadataName(typeof(System.Linq.Expressions.Expression<>).FullName!);
src\Analyzers\CSharp\CodeFixes\Iterator\CSharpAddYieldCodeFixProvider.cs (6)
118var ienumerableSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerable).FullName!); 119var ienumeratorSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerator).FullName!); 120var ienumerableGenericSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerable<>).FullName!); 121var ienumeratorGenericSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerator<>).FullName!); 191var ienumerableSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerable).FullName!); 192var ienumeratorSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerator).FullName!);
src\Analyzers\CSharp\CodeFixes\Iterator\CSharpChangeToIEnumerableCodeFixProvider.cs (2)
116ienumerableSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerable).FullName!); 117ienumerableGenericSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerable<>).FullName!);
src\Analyzers\CSharp\CodeFixes\ReplaceDefaultLiteral\CSharpReplaceDefaultLiteralCodeFixProvider.cs (2)
92else if (type.Equals(semanticModel.Compilation.GetTypeByMetadataName(typeof(CancellationToken).FullName!))) 123var flagsAttribute = compilation.GetTypeByMetadataName(typeof(FlagsAttribute).FullName!);
src\Analyzers\CSharp\CodeFixes\UseExpressionBodyForLambda\UseExpressionBodyForLambdaCodeActionHelpers.cs (1)
102var taskType = semanticModel.Compilation.GetTypeByMetadataName(typeof(Task).FullName!);
src\Analyzers\CSharp\CodeFixes\UseUtf8StringLiteral\UseUtf8StringLiteralCodeFixProvider.cs (1)
48var readOnlySpanType = semanticModel.Compilation.GetBestTypeByMetadataName(typeof(ReadOnlySpan<>).FullName!);
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
InteractiveSessionTests.cs (1)
1575Diagnostic(ErrorCode.ERR_BadAccess, "Z").WithArguments(typeof(PrivateClass).FullName.Replace("+", ".") + ".Z()"));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (13)
Semantics\ScriptSemanticsTests.cs (1)
914var typeName = typeof(ScriptTestFixtures).FullName;
Semantics\SimpleLambdaParametersWithModifiersTests.cs (10)
132compilation.GetTypeByMetadataName(typeof(CLSCompliantAttribute).FullName).GetPublicSymbol()); 168compilation.GetTypeByMetadataName(typeof(CLSCompliantAttribute).FullName).GetPublicSymbol()); 203compilation.GetTypeByMetadataName(typeof(CLSCompliantAttribute).FullName).GetPublicSymbol()))); 234Assert.Equal(compilation.GetTypeByMetadataName(typeof(ReadOnlySpan<>).FullName).GetPublicSymbol(), symbol.Parameters.Single().Type.OriginalDefinition); 262Assert.Equal(compilation.GetTypeByMetadataName(typeof(ReadOnlySpan<>).FullName).GetPublicSymbol(), symbol.Parameters.First().Type.OriginalDefinition); 293Assert.Equal(compilation.GetTypeByMetadataName(typeof(ReadOnlySpan<>).FullName).GetPublicSymbol(), symbol.Parameters.First().Type.OriginalDefinition); 328Assert.Equal(compilation.GetTypeByMetadataName(typeof(ReadOnlySpan<>).FullName).GetPublicSymbol(), symbol.Parameters.Single().Type.OriginalDefinition); 357Assert.Equal(compilation.GetTypeByMetadataName(typeof(ReadOnlySpan<>).FullName).GetPublicSymbol(), symbol.Parameters.Single().Type.OriginalDefinition); 1162Assert.Equal(compilation.GetTypeByMetadataName(typeof(ReadOnlySpan<>).FullName).GetPublicSymbol(), symbol.Parameters.Single().Type.OriginalDefinition); 1191Assert.Equal(compilation.GetTypeByMetadataName(typeof(ReadOnlySpan<>).FullName).GetPublicSymbol(), symbol.Parameters.Single().Type.OriginalDefinition);
SourceGeneration\GeneratorDriverTests.cs (2)
537Path.Combine(generator.GetType().Assembly.GetName().Name!, generator.GetType().FullName!, "source.cs"), 538Path.Combine(generator2.GetType().Assembly.GetName().Name!, generator2.GetType().FullName!, "source.cs")
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\TypeResolutionTests.cs (1)
141string testType1 = typeof(C<,>).DeclaringType.FullName;
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
1258: this.Compilation.GetTypeByMetadataName(typeof(IAsyncEnumerable<>).FullName);
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.cs (1)
988var gcHandleType = _emptyCompilation.GetTypeByMetadataName(typeof(GCHandle).FullName);
Microsoft.CodeAnalysis.EditorFeatures (3)
Classification\Syntactic\SyntacticClassificationTaggerProvider.Tagger.cs (1)
29var tagComputer = _tagComputer ?? throw new ObjectDisposedException(GetType().FullName);
Editor\EditorLayerExtensionManager.cs (1)
113Log(functionId, $"Name: {provider.GetType().FullName} Assembly Version: {provider.GetType().Assembly.GetName().Version}");
RenameTracking\RenameTrackingTaggerProvider.cs (1)
83text.Container.GetType().FullName));
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Threading\StaTaskScheduler.cs (1)
32var hook = (XunitDisposeHook)defaultDomain.CreateInstanceFromAndUnwrap(typeof(XunitDisposeHook).Assembly.CodeBase, typeof(XunitDisposeHook).FullName, ignoreCase: false, BindingFlags.CreateInstance, binder: null, args: null, culture: null, activationAttributes: null);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities2 (1)
Intellisense\TestState.vb (1)
81Single(Function(e As ICompletionPresenterProvider) e.GetType().FullName = "Microsoft.CodeAnalysis.Editor.UnitTests.IntelliSense.MockCompletionPresenterProvider")
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (13)
CodeActions\CodeChangeProviderMetadataTests.cs (7)
30var exportedProviders = FindComposedPartsWithExport(configuration, providerType.FullName).ToArray(); 40failureMessage.AppendLine(providerPart.Definition.Type.FullName); 57var exportedProviders = FindComposedPartsWithExportForLanguage(configuration, providerType.FullName, language); 78var providerNames = string.Join(", ", namedGroup.Select(exportedProvider => exportedProvider.Part.Definition.Type.FullName)); 94var exportedProviders = FindComposedPartsWithExport(configuration, providerType.FullName).ToArray(); 105failureMessage.AppendLine(providerPart.Definition.Type.FullName); 121var exportedProviders = FindComposedPartsWithExport(configuration, providerType.FullName);
CodeAnalysisResources.cs (1)
27s_codeAnalysisResourceManager ??= new ResourceManager(typeof(CodeAnalysisResources).FullName, typeof(Compilation).Assembly);
CodeGeneration\CodeGenerationTests.cs (3)
670=> !type.IsArray ? GetTypeSymbol(compilation, type.FullName) : GetTypeSymbol(compilation, type.GetElementType().FullName, type.GetArrayRank()); 720=> GetTypeSymbol(type.FullName);
Completion\CompletionServiceTests.cs (1)
61var item = Assert.Single(completions.ItemsList, item => item.ProviderName == typeof(DebugAssertTestCompletionProvider).FullName);
Options\GlobalOptionsTests.cs (1)
129Assert.False(Equals(value, defaultValue), $"{type.FullName}.{property.Name} not initialized from global options");
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
Lightup\ISmartRenameSessionFactoryWrapper.cs (1)
43throw new InvalidCastException($"Cannot cast '{instance.GetType().FullName}' to '{WrappedTypeName}'");
Lightup\ISmartRenameSessionWrapper.cs (1)
115throw new InvalidCastException($"Cannot cast '{instance.GetType().FullName}' to '{WrappedTypeName}'");
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (1)
src\Compilers\Core\Portable\InternalUtilities\ExceptionUtilities.cs (1)
21string output = string.Format("Unexpected value '{0}' of type '{1}'", o, (o != null) ? o.GetType().FullName : "<unknown>");
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (2)
src\Compilers\Core\Portable\InternalUtilities\ExceptionUtilities.cs (1)
21string output = string.Format("Unexpected value '{0}' of type '{1}'", o, (o != null) ? o.GetType().FullName : "<unknown>");
src\Compilers\Core\Portable\InternalUtilities\FatalError.cs (1)
78var targetType = assembly.GetType(typeof(FatalError).FullName!, throwOnError: true)!;
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (6)
Debugger\Engine\DkmClrType.cs (3)
296var argumentType = typedArg.ArgumentType.FullName; 329string uiSideVisualizerTypeName = argValueTypeBuilder[0].FullName; 337debuggeeSideVisualizerTypeName = debuggeeSideType.FullName;
Debugger\MemberInfo\TypeImpl.cs (1)
65get { return this.Type.FullName; }
src\Compilers\Core\Portable\InternalUtilities\ExceptionUtilities.cs (1)
21string output = string.Format("Unexpected value '{0}' of type '{1}'", o, (o != null) ? o.GetType().FullName : "<unknown>");
src\Compilers\Core\Portable\InternalUtilities\FatalError.cs (1)
78var targetType = assembly.GetType(typeof(FatalError).FullName!, throwOnError: true)!;
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp.CSharp (6)
Completion\OmniSharpCompletionProviderNames.cs (6)
11internal static string ObjectCreationCompletionProvider = typeof(ObjectCreationCompletionProvider).FullName!; 12internal static string OverrideCompletionProvider = typeof(OverrideCompletionProvider).FullName!; 13internal static string PartialMethodCompletionProvider = typeof(PartialMethodCompletionProvider).FullName!; 14internal static string InternalsVisibleToCompletionProvider = typeof(InternalsVisibleToCompletionProvider).FullName!; 15internal static string TypeImportCompletionProvider = typeof(TypeImportCompletionProvider).FullName!; 16internal static string ExtensionMethodImportCompletionProvider = typeof(ExtensionMethodImportCompletionProvider).FullName!;
Microsoft.CodeAnalysis.Features (37)
Completion\ArgumentProvider.cs (1)
14=> Name = GetType().FullName!;
Completion\CompletionProvider.cs (1)
22=> Name = GetType().FullName!;
Completion\Providers\AbstractInternalsVisibleToCompletionProvider.cs (1)
129var internalsVisibleToAttributeSymbol = semanticModel.Compilation.GetTypeByMetadataName(typeof(InternalsVisibleToAttribute).FullName!);
Completion\Providers\EmbeddedLanguageCompletionProvider.cs (1)
18Name = GetType().FullName!;
ConvertForEachToFor\AbstractConvertForEachToForCodeRefactoringProvider.cs (4)
38[typeof(IList<>).FullName!, typeof(IReadOnlyList<>).FullName!, typeof(IList).FullName!]; 254if (collectionType.OriginalDefinition.Equals(model.Compilation.GetTypeByMetadataName(typeof(ImmutableArray<>).FullName!)))
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (2)
5099var layoutAttribute = model.Compilation.GetTypeByMetadataName(typeof(StructLayoutAttribute).FullName!); 6760=> method.Parameters is [var parameter] && SymbolEqualityComparer.Default.Equals(parameter.Type, compilation.GetTypeByMetadataName(typeof(StringBuilder).FullName!));
EmbeddedLanguages\DateAndTime\LanguageServices\DateAndTimeLanguageDetector.cs (2)
160_dateTimeType ??= _compilation.GetTypeByMetadataName(typeof(DateTime).FullName!); 161_dateTimeOffsetType ??= _compilation.GetTypeByMetadataName(typeof(DateTimeOffset).FullName!);
EmbeddedLanguages\ExportEmbeddedLanguageFeatureServiceAttribute.cs (1)
57$"{nameof(contractType)} must be an interface and derived from {typeof(IEmbeddedLanguageFeatureService).FullName}");
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexLanguageDetector.cs (1)
36var regexType = compilation.GetTypeByMetadataName(typeof(Regex).FullName!);
GenerateComparisonOperators\GenerateComparisonOperatorsCodeRefactoringProvider.cs (1)
62var comparableType = compilation.GetTypeByMetadataName(typeof(IComparable<>).FullName!);
GenerateConstructors\AbstractGenerateConstructorsCodeRefactoringProvider.cs (1)
233var argumentNullExceptionType = typeof(ArgumentNullException).FullName;
GenerateEqualsAndGetHashCodeFromMembers\AbstractGenerateEqualsAndGetHashCodeService.cs (1)
183var valueTupleType = compilation.GetTypeByMetadataName(typeof(ValueTuple).FullName!);
GenerateEqualsAndGetHashCodeFromMembers\GenerateEqualsAndGetHashCodeAction.cs (1)
102var equatableType = semanticModel.Compilation.GetTypeByMetadataName(typeof(IEquatable<>).FullName!);
GenerateEqualsAndGetHashCodeFromMembers\GenerateEqualsAndGetHashCodeFromMembersCodeRefactoringProvider.cs (1)
143var equatableTypeOpt = semanticModel.Compilation.GetTypeByMetadataName(typeof(IEquatable<>).FullName!);
InitializeParameter\AbstractAddParameterCheckCodeRefactoringProvider.cs (1)
543var typeSymbol = compilation.GetTypeByMetadataName(type.FullName!);
InitializeParameter\AbstractInitializeParameterCodeRefactoringProvider.cs (1)
90var argumentNullExceptionType = typeof(ArgumentNullException).FullName;
IntroduceParameter\IntroduceParameterDocumentRewriter.cs (1)
605!parameter.Type.Equals(compilation.GetTypeByMetadataName(typeof(CancellationToken)?.FullName!));
MetadataAsSource\DecompilationMetadataAsSourceFileProvider.cs (1)
91&& attribute.AttributeClass.ToNameDisplayString() == typeof(SuppressIldasmAttribute).FullName);
MetadataAsSource\MetadataAsSourceHelpers.cs (1)
110attribute.AttributeClass.ToNameDisplayString() == typeof(ReferenceAssemblyAttribute).FullName)
SignatureHelp\CommonSignatureHelpUtilities.cs (1)
155var ienumerableType = compilation.GetTypeByMetadataName(typeof(IEnumerable).FullName!);
Snippets\SnippetProviders\AbstractConsoleSnippetProvider.cs (1)
91=> compilation.GetBestTypeByMetadataName(typeof(Console).FullName!);
src\Analyzers\Core\Analyzers\ForEachCast\AbstractForEachCastDiagnosticAnalyzer.cs (1)
143semanticModel.Compilation.GetBestTypeByMetadataName(typeof(Enumerable).FullName!) != null;
src\Analyzers\Core\Analyzers\Helpers\HashCodeAnalyzer\HashCodeAnalyzer.cs (1)
41var equalityComparerType = compilation.GetBestTypeByMetadataName(typeof(EqualityComparer<>).FullName!);
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
160_iNotifyCompletionType = compilation.GetBestTypeByMetadataName(typeof(INotifyCompletion).FullName!);
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.cs (1)
54var iCustomMarshaler = context.Compilation.GetTypeByMetadataName(typeof(ICustomMarshaler).FullName!);
src\Analyzers\Core\Analyzers\SimplifyInterpolation\AbstractSimplifyInterpolationHelpers.cs (1)
187=> semanticModel.Compilation.GetTypeByMetadataName(typeof(T).FullName!);
src\Analyzers\Core\Analyzers\SimplifyLinqExpression\AbstractSimplifyLinqExpressionDiagnosticAnalyzer.cs (1)
71enumerableType = compilation.GetTypeByMetadataName(typeof(Enumerable)?.FullName!);
src\Analyzers\Core\Analyzers\UseCoalesceExpression\AbstractUseCoalesceExpressionForNullableTernaryConditionalCheckDiagnosticAnalyzer.cs (1)
109var nullableType = semanticModel.Compilation.GetTypeByMetadataName(typeof(Nullable<>).FullName!);
src\Analyzers\Core\Analyzers\ValidateFormatString\AbstractValidateFormatStringDiagnosticAnalyzer.cs (1)
73var formatProviderType = startContext.Compilation.GetTypeByMetadataName(typeof(System.IFormatProvider).FullName!);
src\Analyzers\Core\CodeFixes\AddObsoleteAttribute\AbstractAddObsoleteAttributeCodeFixProvider.cs (1)
61var attribute = compilation.GetTypeByMetadataName(typeof(ObsoleteAttribute).FullName!);
src\Analyzers\Core\CodeFixes\ForEachCast\AbstractForEachCastCodeFixProvider.cs (1)
67var enumerableType = semanticModel.Compilation.GetBestTypeByMetadataName(typeof(Enumerable).FullName!);
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_DisposePattern.cs (1)
206var gcType = compilation.GetTypeByMetadataName(typeof(GC).FullName!);
Microsoft.CodeAnalysis.Features.UnitTests (1)
EditAndContinue\CompileTimeSolutionProviderTests.cs (1)
35var sourceGeneratedPathPrefix = Path.Combine(TempRoot.Root, typeof(TestSourceGenerator).Assembly.GetName().Name!, typeof(TestSourceGenerator).FullName);
Microsoft.CodeAnalysis.InteractiveHost (4)
Interactive\Core\InteractiveHost.LazyRemoteService.cs (1)
138var pipeName = typeof(InteractiveHost).FullName + Guid.NewGuid();
src\Compilers\Core\Portable\InternalUtilities\ExceptionUtilities.cs (1)
21string output = string.Format("Unexpected value '{0}' of type '{1}'", o, (o != null) ? o.GetType().FullName : "<unknown>");
src\Compilers\Core\Portable\InternalUtilities\FatalError.cs (1)
78var targetType = assembly.GetType(typeof(FatalError).FullName!, throwOnError: true)!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\TaskExtensions.cs (1)
74exception.Data["ContinuationFunction"] = (methodInfo?.DeclaringType?.FullName ?? "?") + "::" + (methodInfo?.Name ?? "?");
Microsoft.CodeAnalysis.LanguageServer (1)
Logging\RoslynLogger.cs (1)
202var declaringTypeName = method?.DeclaringType?.FullName;
Microsoft.CodeAnalysis.LanguageServer.Protocol (12)
Handler\CodeActions\CodeActionResolveHelper.cs (1)
59logFunction($"Skipping code action operation for '{data.UniqueIdentifier}'. It was a '{option.GetType().FullName}'");
LspServices\AbstractExportLspServiceAttribute.cs (2)
62Contract.ThrowIfNull(serviceType.FullName); 63TypeName = serviceType.FullName;
LspServices\LspServices.cs (4)
91Contract.ThrowIfNull(service, $"Missing required LSP service {typeof(T).FullName}"); 123var typeName = type.FullName; 133if (typeName == typeof(ILspServices).FullName) 199var typeName = typeof(T).FullName;
Protocol\Converters\StringEnumConverter.cs (1)
30throw new InvalidOperationException(string.Format(CultureInfo.InvariantCulture, LanguageServerProtocolResources.StringEnumMissingConstructor, typeof(TStringEnumType).FullName));
src\LanguageServer\Microsoft.CommonLanguageServerProtocol.Framework\MethodHandlerDetails.cs (2)
94throw new InvalidOperationException($"Provided handler type {handlerType.FullName} does not implement {nameof(IMethodHandler)}"); 110throw new InvalidOperationException($"{handlerType.FullName} is missing {nameof(LanguageServerEndpointAttribute)}");
src\LanguageServer\Microsoft.CommonLanguageServerProtocol.Framework\TypeRef.cs (2)
108var typeName = type.FullName ?? throw new ArgumentException($"{nameof(type)} has null {nameof(type.FullName)} property.", nameof(type));
Microsoft.CodeAnalysis.LanguageServer.UnitTests (1)
ExportProviderBuilderTests.cs (1)
93var type = Assert.Single(assembly.GetTypes(), t => t.FullName?.Contains("ExportedType") == true);
Microsoft.CodeAnalysis.Rebuild.UnitTests (4)
DeterministicKeyBuilderTests.cs (4)
786""fullName"": ""{typeof(Analyzer).FullName}"", 791""fullName"": ""{typeof(Analyzer2).FullName}"", 812""fullName"": ""{typeof(Generator).FullName}"", 817""fullName"": ""{typeof(Generator2).FullName}"",
Microsoft.CodeAnalysis.Remote.ServiceHub (2)
src\VisualStudio\Core\Def\Watson\FaultReporter.cs (2)
212var methodName = method.DeclaringType.FullName + "." + method.Name; 247var declaringTypeName = method?.DeclaringType?.FullName;
Microsoft.CodeAnalysis.Scripting (5)
Hosting\CommonMemberFilter.cs (1)
23if (method.DeclaringType?.FullName.StartsWith("Submission#0").ToThreeState() == ThreeState.True)
Hosting\ObjectFormatter\CommonObjectFormatter.Visitor.cs (2)
723int backtick = type.FullName.IndexOf('`'); 729var nonGenericName = type.FullName[0..backtick];
Hosting\ObjectFormatter\CommonTypeNameFormatter.cs (1)
69return typeInfo.FullName.Replace('+', '.');
Hosting\ObjectFormatter\ObjectFormatterHelpers.cs (1)
95|| targetTypeName != null && type.FullName == targetTypeName;
Microsoft.CodeAnalysis.Test.Utilities (2)
Assert\TestExceptionUtilities.cs (1)
15string output = string.Format("Unexpected value '{0}' of type '{1}'", o, (o != null) ? o.GetType().FullName : "<unknown>");
Diagnostics\DiagnosticExtensions.cs (1)
412return new AnalyzerImageReference(ImmutableArray.Create(analyzer), display: analyzer.GetType().FullName);
Microsoft.CodeAnalysis.UnitTests (10)
AnalyzerAssemblyLoaderTests.cs (1)
155util.Exec(TestOutputHelper, alc, TestFixture, kind, method.DeclaringType!.FullName!, method.Name, externalResolvers ?? [], state);
Analyzers\AnalyzerFileReferenceTests.cs (9)
369var typeNames = generators.Select(g => g.GetGeneratorType().FullName); 407var typeNames = generators.Select(g => g.GetGeneratorType().FullName); 429var typeNames = generators.Select(g => g.GetGeneratorType().FullName); 519var csharpAnalyzers = reference.GetAnalyzers(LanguageNames.CSharp).Select(a => a.GetType().FullName).ToArray(); 526var vbAnalyzers = reference.GetAnalyzers(LanguageNames.VisualBasic).Select(a => a.GetType().FullName).ToArray(); 534var allAnalyzers = reference.GetAnalyzersForAllLanguages().Select(a => a.GetType().FullName).ToArray(); 552var csharpGenerators = reference.GetGenerators(LanguageNames.CSharp).Select(g => g.GetGeneratorType().FullName).ToArray(); 565var vbGenerators = reference.GetGenerators(LanguageNames.VisualBasic).Select(g => g.GetGeneratorType().FullName).ToArray(); 574var allGenerators = reference.GetGeneratorsForAllLanguages().Select(g => g.GetGeneratorType().FullName).ToArray();
Microsoft.CodeAnalysis.VisualBasic (1)
Errors\ErrorFactories.vb (1)
90s_resourceManager = New Resources.ResourceManager(GetType(VBResources).FullName, GetType(ERRID).GetTypeInfo().Assembly)
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (1)
CommandLineTests.vb (1)
8968Assert.Contains(GetType(DoNothingGenerator).FullName, output, StringComparison.Ordinal)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (1)
SymbolsTests\AssemblyAndNamespaceTests.vb (1)
443Assert.Equal("Compilation: " & GetType(VisualBasicCompilation).FullName, ext.ToString())
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.vb (1)
1065Dim gcHandleType = _emptyCompilation.GetTypeByMetadataName(GetType(GCHandle).FullName)
Microsoft.CodeAnalysis.Workspaces (71)
CodeActions\CodeAction.cs (1)
378=> throw new NotSupportedException(GetType().FullName);
CodeFixesAndRefactorings\FixAllLogger.cs (2)
68m[providerKey] = fixAllState.Provider.GetType().FullName!; 74m[providerKey] = fixAllState.Provider.GetType().FullName!.GetHashCode().ToString();
Recommendations\AbstractRecommendationServiceRunner.cs (1)
191var expressionSymbol = _context.SemanticModel.Compilation.GetTypeByMetadataName(typeof(Expression<>).FullName);
Shared\Extensions\TelemetryExtensions.cs (2)
18Contract.ThrowIfNull(type.FullName); 24var suffix = Roslyn.Utilities.Hash.GetFNVHashCode(type.FullName);
src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerAssemblyLoader.cs (1)
108throw new ObjectDisposedException(this.GetType().FullName);
src\Compilers\Core\Portable\InternalUtilities\ExceptionUtilities.cs (1)
21string output = string.Format("Unexpected value '{0}' of type '{1}'", o, (o != null) ? o.GetType().FullName : "<unknown>");
src\Compilers\Core\Portable\InternalUtilities\FatalError.cs (1)
78var targetType = assembly.GetType(typeof(FatalError).FullName!, throwOnError: true)!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ICompilationExtensions.cs (54)
73=> compilation.GetTypeByMetadataName(typeof(Array).FullName!); 76=> compilation.GetTypeByMetadataName(typeof(Attribute).FullName!); 79=> compilation.GetTypeByMetadataName(typeof(Exception).FullName!); 82=> compilation.GetTypeByMetadataName(typeof(System.Diagnostics.DebuggerDisplayAttribute).FullName!); 85=> compilation.GetTypeByMetadataName(typeof(StructLayoutAttribute).FullName!); 100=> compilation.GetTypeByMetadataName(typeof(ThreadStaticAttribute).FullName!); 103=> compilation.GetTypeByMetadataName(typeof(FormattableString).FullName!); 106=> compilation.GetTypeByMetadataName(typeof(EventArgs).FullName!); 109=> compilation.GetTypeByMetadataName(typeof(NotImplementedException).FullName!); 112=> compilation.GetTypeByMetadataName(typeof(EqualityComparer<>).FullName!); 115=> compilation.GetTypeByMetadataName(typeof(Action).FullName!); 121=> compilation.GetTypeByMetadataName(typeof(EditorBrowsableAttribute).FullName!); 124=> compilation.GetTypeByMetadataName(typeof(EditorBrowsableState).FullName!); 127=> compilation.GetTypeByMetadataName(typeof(Task).FullName!); 130=> compilation.GetTypeByMetadataName(typeof(Task<>).FullName!); 139=> compilation.GetTypeByMetadataName(typeof(System.Collections.IEnumerable).FullName!); 142=> compilation.GetTypeByMetadataName(typeof(IEnumerable<>).FullName!); 145=> compilation.GetTypeByMetadataName(typeof(IEnumerator<>).FullName!); 148=> compilation.GetTypeByMetadataName(typeof(IList<>).FullName!); 151=> compilation.GetTypeByMetadataName(typeof(IReadOnlyList<>).FullName!); 154=> compilation.GetTypeByMetadataName(typeof(ISet<>).FullName!); 157=> compilation.GetTypeByMetadataName(typeof(IReadOnlySet<>).FullName!); 166=> compilation.GetTypeByMetadataName(typeof(ImmutableArray<>).FullName!); 169=> compilation.GetTypeByMetadataName(typeof(SerializableAttribute).FullName!); 172=> compilation.GetTypeByMetadataName(typeof(CoClassAttribute).FullName!); 175=> compilation.GetTypeByMetadataName(typeof(ComAliasNameAttribute).FullName!); 178=> compilation.GetTypeByMetadataName(typeof(SuppressMessageAttribute).FullName!); 181=> compilation.GetTypeByMetadataName(typeof(TupleElementNamesAttribute).FullName!); 187=> compilation.GetTypeByMetadataName(typeof(DynamicAttribute).FullName!); 190=> compilation.GetTypeByMetadataName(typeof(Lazy<>).FullName!); 193=> compilation.GetTypeByMetadataName(typeof(ISerializable).FullName!); 196=> compilation.GetTypeByMetadataName(typeof(SerializationInfo).FullName!); 199=> compilation.GetTypeByMetadataName(typeof(StreamingContext).FullName!); 202=> compilation.GetTypeByMetadataName(typeof(OnDeserializingAttribute).FullName!); 205=> compilation.GetTypeByMetadataName(typeof(OnDeserializedAttribute).FullName!); 208=> compilation.GetTypeByMetadataName(typeof(OnSerializingAttribute).FullName!); 211=> compilation.GetTypeByMetadataName(typeof(OnSerializedAttribute).FullName!); 214=> compilation.GetTypeByMetadataName(typeof(ComRegisterFunctionAttribute).FullName!); 217=> compilation.GetTypeByMetadataName(typeof(ComUnregisterFunctionAttribute).FullName!); 220=> compilation.GetTypeByMetadataName(typeof(ConditionalAttribute).FullName!); 223=> compilation.GetTypeByMetadataName(typeof(ObsoleteAttribute).FullName!); 232=> compilation.GetTypeByMetadataName(typeof(IDisposable).FullName!); 235=> compilation.GetTypeByMetadataName(typeof(NotNullAttribute).FullName!); 238=> compilation.GetTypeByMetadataName(typeof(MaybeNullAttribute).FullName!); 241=> compilation.GetTypeByMetadataName(typeof(MaybeNullWhenAttribute).FullName!); 244=> compilation.GetTypeByMetadataName(typeof(AllowNullAttribute).FullName!); 247=> compilation.GetTypeByMetadataName(typeof(DisallowNullAttribute).FullName!); 250=> compilation.GetTypeByMetadataName(typeof(DataMemberAttribute).FullName!); 253=> compilation.GetTypeByMetadataName(typeof(DataContractAttribute).FullName!); 259=> compilation.GetTypeByMetadataName(typeof(CancellationToken).FullName!); 265=> compilation.GetTypeByMetadataName(typeof(List<>).FullName!); 268=> compilation.GetTypeByMetadataName(typeof(ReadOnlySpan<>).FullName!); 271=> compilation.GetTypeByMetadataName(typeof(Span<>).FullName!); 274=> compilation.GetTypeByMetadataName(typeof(InterpolatedStringHandlerAttribute).FullName!);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs (1)
714&& attributeData.AttributeClass.ToNameDisplayString() == typeof(ReferenceAssemblyAttribute).FullName)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\TaskExtensions.cs (1)
74exception.Data["ContinuationFunction"] = (methodInfo?.DeclaringType?.FullName ?? "?") + "::" + (methodInfo?.Name ?? "?");
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (1)
448var type = compilation.GetTypeByMetadataName(typeof(ArgumentNullException).FullName!);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
223var iequatableType = compilation.GetTypeByMetadataName(typeof(IEquatable<>).FullName);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SemanticsFactsService\AbstractSemanticFactsService.cs (2)
109? GetIDisposableInterfaceAndDisposeMethod(typeof(IAsyncDisposable).FullName!, nameof(IAsyncDisposable.DisposeAsync)) 110: GetIDisposableInterfaceAndDisposeMethod(typeof(IDisposable).FullName!, nameof(IDisposable.Dispose));
Telemetry\TelemetryFeatureName.cs (1)
41=> new(type.Assembly.FullName?.StartsWith("Microsoft.", StringComparison.Ordinal) == true ? type.FullName! : "External",
Workspace\Solution\SourceGeneratorIdentity.cs (1)
36assemblyName.Name!, analyzerReference.FullPath, assemblyName.Version!, generatorType.FullName!);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (3)
src\Compilers\Core\Portable\InternalUtilities\ExceptionUtilities.cs (1)
21string output = string.Format("Unexpected value '{0}' of type '{1}'", o, (o != null) ? o.GetType().FullName : "<unknown>");
src\Compilers\Core\Portable\InternalUtilities\FatalError.cs (1)
78var targetType = assembly.GetType(typeof(FatalError).FullName!, throwOnError: true)!;
src\Compilers\Core\Portable\InternalUtilities\XmlUtilities.cs (1)
85catch (Exception e) when (e.GetType().FullName == "System.Xml.XPath.XPathException")
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (2)
Options\OptionsTestInfo.cs (1)
60var accessor = type.FullName + "." + unmangledName;
Workspaces\TestWorkspace_XmlConsumption.cs (1)
193var documentFilePath = Path.Combine(projectOutputDir, "obj", typeof(SingleFileTestGenerator).Assembly.GetName().Name, typeof(SingleFileTestGenerator).FullName, name);
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
SolutionTests\SolutionWithSourceGeneratorTests.cs (1)
70Assert.Equal(Path.Combine(generatedFilesOutputDir, generatorType.Assembly.GetName().Name!, generatorType.FullName!, "Test.generated.cs"), generatedTree.FilePath);
Microsoft.CommonLanguageServerProtocol.Framework.Package (4)
MethodHandlerDetails.cs (2)
94throw new InvalidOperationException($"Provided handler type {handlerType.FullName} does not implement {nameof(IMethodHandler)}"); 110throw new InvalidOperationException($"{handlerType.FullName} is missing {nameof(LanguageServerEndpointAttribute)}");
TypeRef.cs (2)
108var typeName = type.FullName ?? throw new ArgumentException($"{nameof(type)} has null {nameof(type.FullName)} property.", nameof(type));
Microsoft.CSharp (5)
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (5)
872(type.BaseType.FullName == "System.MulticastDelegate" || 873type.BaseType.FullName == "System.Delegate") && 874type.FullName != "System.MulticastDelegate") 951string typeName = type.FullName; 954typeName = type.GetGenericTypeDefinition().FullName;
Microsoft.DotNet.Internal.DependencyInjection.Testing (5)
DependencyInjectionValidation.cs (5)
139msgBuilder.Append(ctor.DeclaringType.FullName); 220return serviceRoot.FullName == "Microsoft.Extensions.Options.IConfigureOptions`1" && 244switch (parameterRoot.FullName) 260return s_exemptTypes.Contains(type.FullName) || s_exemptNamespaces.Any(n => type.FullName.StartsWith(n));
Microsoft.DotNet.RemoteExecutor (2)
RemoteExecutor.cs (2)
457string metadataArgs = PasteArguments.Paste(new string[] { a.FullName, t.FullName, method.Name, options.ExceptionFile }, pasteFirstArgumentUsingArgV0Rules: false); 478options, a.FullName, t.FullName, method.Name, toDispose);
Microsoft.DotNet.XUnitAssert.Tests (4)
EventAssertsTests.cs (4)
84 $"Actual: typeof({typeof(DerivedObject).FullName})", 149 $"Actual: typeof({typeof(DerivedObject).FullName})", 599 $"Actual: typeof({typeof(DerivedObject).FullName})", 664 $"Actual: typeof({typeof(DerivedObject).FullName})",
Microsoft.DotNet.XUnitExtensions (1)
SkippedTestMessageBus.cs (1)
38if (exceptionType == typeof(SkipTestException).FullName)
Microsoft.Extensions.AI (5)
ChatCompletion\FunctionInvokingChatClient.cs (1)
686_ = activity.SetTag("error.type", e.GetType().FullName)
ChatCompletion\OpenTelemetryChatClient.cs (2)
328tags.Add(OpenTelemetryConsts.Error.Type, error.GetType().FullName); 356.AddTag(OpenTelemetryConsts.Error.Type, error.GetType().FullName)
Embeddings\OpenTelemetryEmbeddingGenerator.cs (2)
202tags.Add(OpenTelemetryConsts.Error.Type, error.GetType().FullName); 222.AddTag(OpenTelemetryConsts.Error.Type, error.GetType().FullName)
Microsoft.Extensions.AI.Abstractions (1)
src\Shared\JsonSchemaExporter\NullabilityInfoContext\NullabilityInfoHelpers.cs (1)
29throw new MissingMemberException(type.FullName, member.Name);
Microsoft.Extensions.Caching.Hybrid (2)
Internal\DefaultHybridCache.Stampede.cs (2)
99$"All calls to {nameof(HybridCache)} with the same key should use the same data type; the same key is being used for '{existingType.FullName}' and '{newType.FullName}' data")
Microsoft.Extensions.Caching.Memory (1)
MemoryCache.cs (1)
646static void Throw() => throw new ObjectDisposedException(typeof(MemoryCache).FullName);
Microsoft.Extensions.Compliance.Testing (1)
FakeTaxonomy.cs (1)
16public static string TaxonomyName => typeof(FakeTaxonomy).FullName!;
Microsoft.Extensions.DependencyInjection (7)
ServiceLookup\CallSiteFactory.cs (6)
117throw new ArgumentException(SR.Format(SR.TrimmingAnnotationsDoNotMatch, implementationType.FullName, serviceType.FullName)); 124throw new ArgumentException(SR.Format(SR.TrimmingAnnotationsDoNotMatch_NewConstraint, implementationType.FullName, serviceType.FullName)); 133if (attributeData.AttributeType.FullName == "System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute" && 135attributeData.ConstructorArguments[0].ArgumentType.FullName == "System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes")
src\libraries\Common\src\Extensions\TypeNameHelper\TypeNameHelper.cs (1)
87string name = options.FullName ? type.FullName! : type.Name;
Microsoft.Extensions.DependencyInjection.Abstractions (3)
ServiceDescriptor.cs (3)
1017string debugText = $@"Lifetime = {Lifetime}, ServiceType = ""{ServiceType.FullName}"""; 1025debugText += $@", KeyedImplementationType = ""{KeyedImplementationType.FullName}"""; 1040debugText += $@", ImplementationType = ""{ImplementationType.FullName}""";
Microsoft.Extensions.Diagnostics.Abstractions (1)
src\libraries\Common\src\Extensions\TypeNameHelper\TypeNameHelper.cs (1)
87string name = options.FullName ? type.FullName! : type.Name;
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (4)
DefaultHealthCheckServiceTest.cs (1)
326Assert.Equal(actual.LoggerName, typeof(DefaultHealthCheckService).FullName);
DependencyInjection\ServiceCollectionExtensionsTest.cs (3)
26Assert.Collection(services.OrderBy(s => s.ServiceType.FullName), 56Assert.Collection(services.OrderBy(s => s.ServiceType.FullName).ThenBy(s => s.ImplementationType!.FullName),
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
ResourceMonitorService.cs (1)
118Log.HandlePublishUtilizationException(_logger, e, publisher.GetType().FullName!);
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (1)
ResourceMonitoringServiceTests.cs (1)
32private static readonly string _publisherUnableToPublishErrorMessage = $"Publisher `{typeof(FaultPublisher).FullName}` was unable to publish utilization statistics.";
Microsoft.Extensions.Features (2)
FeatureCollection.cs (2)
129$"{typeof(TFeature).FullName} does not exist in the feature collection " + 130$"and because it is a struct the method can't return null. Use 'featureCollection[typeof({typeof(TFeature).FullName})] is not null' to check if the feature exists.");
Microsoft.Extensions.Http (3)
DependencyInjection\HttpClientBuilderExtensions.cs (1)
774$"The HttpClient factory already has a registered client with the name '{name}', bound to the type '{otherType.FullName}'. " +
DependencyInjection\SocketsHttpHandlerBuilderExtensions.cs (1)
36string message = SR.Format(SR.SocketsHttpHandlerBuilder_PrimaryHandlerIsInvalid, nameof(b.PrimaryHandler), typeof(SocketsHttpHandler).FullName, Environment.NewLine, b.PrimaryHandler?.ToString() ?? "(null)");
src\libraries\Common\src\Extensions\TypeNameHelper\TypeNameHelper.cs (1)
87string name = options.FullName ? type.FullName! : type.Name;
Microsoft.Extensions.Http.Diagnostics (1)
Logging\Internal\HttpClientLogger.cs (1)
234Log.EnrichmentError(_logger, e, enricher.GetType().FullName, request.Method, logRecord.Host, logRecord.Path);
Microsoft.Extensions.Http.Diagnostics.Tests (1)
Logging\AcceptanceTests.cs (1)
79Assert.StartsWith($"An error occurred in enricher '{typeof(TestEnricher).FullName}'", firstLogRecord.Message);
Microsoft.Extensions.Identity.Core (2)
src\Shared\ThrowHelpers\ObjectDisposedThrowHelper.cs (2)
50throw new ObjectDisposedException(instance?.GetType().FullName); 56throw new ObjectDisposedException(type?.FullName);
Microsoft.Extensions.Localization (4)
ResourceManagerStringLocalizerFactory.cs (4)
80ArgumentThrowHelper.ThrowIfNullOrEmpty(typeInfo.FullName); 84return typeInfo.FullName; 90return baseNamespace + "." + resourcesRelativePath + TrimPrefix(typeInfo.FullName, baseNamespace + "."); 118/// <see cref="Type.FullName"/> of the specified <see cref="Type"/>.
Microsoft.Extensions.Localization.Abstractions (1)
IStringLocalizerFactory.cs (1)
15/// <see cref="Type.FullName"/> of the specified <see cref="Type"/>.
Microsoft.Extensions.Logging (7)
FilterLoggingBuilderExtensions.cs (4)
129AddRule(builder, type: typeof(T).FullName, filter: (type, name, level) => categoryLevelFilter(name, level)); 148AddRule(builder, type: typeof(T).FullName, filter: (type, name, level) => levelFilter(level)); 169AddRule(builder, type: typeof(T).FullName, category: category, level: level); 190AddRule(builder, type: typeof(T).FullName, category: category, filter: (type, name, level) => levelFilter(level));
LoggerFactory.cs (1)
240messageLoggers.Add(new MessageLogger(loggerInformation.Logger, loggerInformation.Category, loggerInformation.ProviderType.FullName, minLevel, filter));
LoggerRuleSelector.cs (1)
27if (IsBetter(rule, current, providerType.FullName, category)
src\libraries\Common\src\Extensions\ProviderAliasUtilities\ProviderAliasUtilities.cs (1)
22if (attributeData.AttributeType.FullName == AliasAttributeTypeFullName &&
Microsoft.Extensions.Logging.Abstractions (1)
src\libraries\Common\src\Extensions\TypeNameHelper\TypeNameHelper.cs (1)
87string name = options.FullName ? type.FullName! : type.Name;
Microsoft.Extensions.Logging.AzureAppServices (1)
ConfigurationBasedLevelSwitcher.cs (1)
25options.Rules.Add(new LoggerFilterRule(_provider.FullName, null, GetLogLevel(), null));
Microsoft.Extensions.Logging.Configuration (2)
LoggerProviderConfigurationFactory.cs (1)
23string fullName = providerType.FullName!;
src\libraries\Common\src\Extensions\ProviderAliasUtilities\ProviderAliasUtilities.cs (1)
22if (attributeData.AttributeType.FullName == AliasAttributeTypeFullName &&
Microsoft.Extensions.Logging.EventSource (5)
ExceptionInfo.cs (1)
22TypeName = exception.GetType().FullName;
LoggingEventSource.cs (4)
410return new[] { new LoggerFilterRule(typeof(EventSourceLoggerProvider).FullName, null, defaultLevel, null) }; 416return new[] { new LoggerFilterRule(typeof(EventSourceLoggerProvider).FullName, null, LogLevel.None, null) }; 429rules.Add(new LoggerFilterRule(typeof(EventSourceLoggerProvider).FullName, null, LogLevel.None, null)); 456rules.Add(new LoggerFilterRule(typeof(EventSourceLoggerProvider).FullName, loggerName, level, null));
Microsoft.Extensions.Logging.Generators (2)
src\libraries\Common\src\Roslyn\GetBestTypeByMetadataName.cs (2)
89type.IsArray || type.FullName is null 91: GetBestTypeByMetadataName(compilation, type.FullName);
Microsoft.Extensions.ObjectPool.DependencyInjection (2)
ObjectPoolServiceCollectionExtensions.cs (2)
72return services.Configure<DependencyInjectionPoolOptions>(typeof(TService).FullName, configure); 113var options = provider.GetService<IOptionsFactory<DependencyInjectionPoolOptions>>()?.Create(typeof(TService).FullName!) ?? new DependencyInjectionPoolOptions();
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)
src\libraries\Common\src\Roslyn\GetBestTypeByMetadataName.cs (2)
89type.IsArray || type.FullName is null 91: GetBestTypeByMetadataName(compilation, type.FullName);
Microsoft.Extensions.Telemetry (3)
Logging\ExtendedLoggerFactory.cs (1)
236messageLoggers.Add(new MessageLogger(loggerInformation.Logger, loggerInformation.Category, loggerInformation.ProviderType.FullName, minLevel, filter));
Logging\Import\LoggerRuleSelector.cs (1)
32if (IsBetter(rule, current, providerType.FullName, category)
Logging\Import\ProviderAliasUtilities.cs (1)
25if (attributeData.AttributeType.FullName == AliasAttributeTypeFullName &&
Microsoft.Extensions.Telemetry.Tests (3)
Logging\ExtendedLoggerFactoryTests.cs (3)
471Assert.StartsWith(loggerProvider.ScopeProvider!.GetType().FullName, scope!.GetType().FullName); 483Assert.Contains("LoggerExternalScopeProvider+Scope", scope!.GetType().FullName);
Microsoft.Gen.Logging (2)
src\Generators\Shared\RoslynExtensions.cs (2)
102type.IsArray || type.FullName is null 104: GetBestTypeByMetadataName(compilation, type.FullName);
Microsoft.Gen.Metrics (2)
src\Generators\Shared\RoslynExtensions.cs (2)
102type.IsArray || type.FullName is null 104: GetBestTypeByMetadataName(compilation, type.FullName);
Microsoft.Interop.ComInterfaceGenerator (2)
src\libraries\Common\src\Roslyn\GetBestTypeByMetadataName.cs (2)
89type.IsArray || type.FullName is null 91: GetBestTypeByMetadataName(compilation, type.FullName);
Microsoft.Interop.LibraryImportGenerator (3)
LibraryImportGenerator.cs (1)
536IdentifierName(typeof(T).FullName),
src\libraries\Common\src\Roslyn\GetBestTypeByMetadataName.cs (2)
89type.IsArray || type.FullName is null 91: GetBestTypeByMetadataName(compilation, type.FullName);
Microsoft.Interop.LibraryImportGenerator.Downlevel (3)
DownlevelLibraryImportGenerator.cs (1)
378ParseTypeName(typeof(CharSet).FullName),
src\libraries\Common\src\Roslyn\GetBestTypeByMetadataName.cs (2)
89type.IsArray || type.FullName is null 91: GetBestTypeByMetadataName(compilation, type.FullName);
Microsoft.Interop.SourceGeneration (2)
src\libraries\Common\src\Roslyn\GetBestTypeByMetadataName.cs (2)
89type.IsArray || type.FullName is null 91: GetBestTypeByMetadataName(compilation, type.FullName);
Microsoft.JSInterop (2)
Infrastructure\TaskGenericsUtil.cs (2)
47?? throw new ArgumentException($"The type '{taskType.FullName}' is not inherited from '{typeof(Task).FullName}'.");
Microsoft.Maui (5)
Handlers\HybridWebView\HybridWebViewHandler.cs (1)
243 throw new InvalidOperationException($"The method {requestMethodName} couldn't be found on the {nameof(jsInvokeTarget)} of type {jsInvokeTarget.GetType().FullName}.");
Hosting\ImageSources\ImageSourceServiceProvider.cs (1)
12 static readonly string ImageSourceInterface = typeof(IImageSource).FullName!;
HotReload\HotReloadHelper.cs (3)
70 if (!replacedViews.TryGetValue(view.GetType().FullName!, out var newViewType)) 84 if (!replacedViews.TryGetValue(viewType.FullName!, out var newViewType) || viewType == newViewType) 217 RegisterReplacedView(t.FullName ?? "", t);
Microsoft.Maui.Controls (10)
Binding.cs (1)
138 ? $"Cannot apply relative binding to {bindObj.GetType().FullName} because it is not a superclass of Element."
DataTemplate.cs (3)
21 _idString = GetType().FullName + _id; 30 _idString = type.FullName; 37 _idString = GetType().FullName + _id;
MergedStyle.cs (2)
49 Application.Current?.FindMauiContext()?.CreateLogger<Style>()?.LogWarning("Style TargetType {FullName} is not compatible with element target type {TargetType}", value.TargetType.FullName, TargetType); 162 Target.SetDynamicResource(implicitStyleProperty, type.FullName);
ResourceDictionary.cs (1)
346 Add(style.TargetType.FullName, style);
TypedBinding.cs (1)
189 ? $"Cannot apply relative binding to {bindObj.GetType().FullName} because it is not a superclass of Element."
ViewExtensions.cs (1)
301 throw new ArgumentException($"Unable to find {nameof(IAnimationManager)} for '{animatable.GetType().FullName}'.", nameof(animatable));
Visuals\VisualTypeConverter.cs (1)
123 string fullName = visual.FullName;
Microsoft.Maui.Controls.Build.Tasks (2)
SetPropertiesVisitor.cs (1)
1348 return varValue.VariableType.FullName == typeof(DynamicResource).FullName;
XmlTypeExtensions.cs (1)
26 if (ca.AttributeType.FullName == typeof(XmlnsDefinitionAttribute).FullName)
Microsoft.Maui.Controls.SourceGen (2)
CodeBehindGenerator.cs (2)
186 INamedTypeSymbol? xmlnsDefinitonAttribute = compilation.GetTypesByMetadataName(typeof(XmlnsDefinitionAttribute).FullName) 190 INamedTypeSymbol? internalsVisibleToAttribute = compilation.GetTypeByMetadataName(typeof(InternalsVisibleToAttribute).FullName);
Microsoft.Maui.Controls.Xaml (7)
ApplyPropertiesVisitor.cs (1)
291 attributes.FirstOrDefault(cad => ContentPropertyAttribute.ContentPropertyTypes.Contains(cad.AttributeType.FullName));
CreateValuesVisitor.cs (5)
84 throw new XamlParseException($"The Property {ctorargname} is required to create a {type.FullName} object.", node); 216 parameter.CustomAttributes.First(ca => ca.AttributeType.FullName == "Microsoft.Maui.Controls.ParameterAttribute") 280 throw new MissingMemberException($"No static method found for {nodeType.FullName}::{factoryMethod} ({string.Join(", ", types.Select(t => t.FullName))})"); 319 throw new XamlParseException($"The Property {propname} is required to create a {ctorInfo.DeclaringType.FullName} object.", enode as IXmlLineInfo);
XamlLoader.cs (1)
362 if (ContainsXClass(xaml, type.FullName))
Microsoft.ML.AutoML (1)
Utils\SweepableParamAttributes.cs (1)
96var name = type.FullName?.Replace("+", ".");
Microsoft.ML.AutoML.Tests (1)
MetricsUtil.cs (1)
49type.FullName, false,
Microsoft.ML.Core (6)
ComponentModel\ComponentCatalog.cs (4)
289throw Contracts.Except("Loadable class '{0}' does not derive from '{1}'", LoadNames[0], typeof(TRes).FullName); 299throw Contracts.Except("Loadable class '{0}' does not derive from '{1}'", LoadNames[0], typeof(TRes).FullName); 1013throw env.Except("Loadable class '{0}' does not derive from '{1}'", name, typeof(TRes).FullName); 1139throw env.Except($"Unable to locate an extension for the contract '{contractName}'. Ensure you have called {nameof(ComponentCatalog)}.{nameof(ComponentCatalog.RegisterAssembly)} with the Assembly that contains a class decorated with a '{attributeType.FullName}'.");
EntryPoints\EntryPointModuleAttribute.cs (1)
22: base(null, typeof(void), loaderType, null, new[] { typeof(SignatureEntryPointModule) }, loaderType.FullName)
EntryPoints\ModuleArgs.cs (1)
376var name = type.FullName?.Replace("+", ".");
Microsoft.ML.Data (9)
DataView\DataViewConstructionUtils.cs (2)
300throw Host.ExceptNotSupp("Type '{0}' is not yet supported.", outputType.FullName); 965throw Contracts.ExceptNotImpl("Type '{0}' is not yet supported.", typeT.FullName);
DataView\InternalSchemaDefinition.cs (1)
241userType.FullName);
DataView\TypedCursor.cs (2)
115col.ColumnName, realColType, col.MemberInfo.Name, col.FieldOrPropertyType.FullName); 415throw Ch.ExceptNotImpl("Type '{0}' is not yet supported.", column.OutputType.FullName);
TrainCatalog.cs (1)
122while (!type!.FullName!.StartsWith("Microsoft.ML.Data.TransformerChain`1[", StringComparison.Ordinal))
Utilities\ComponentCreation.cs (2)
296throw env.Except("Couldn't find a {0} class that accepts {1} as arguments.", typeof(TRes).Name, typeof(TArgs).FullName); 298throw env.Except("Found too many {0} classes that accept {1} as arguments.", typeof(TRes).Name, typeof(TArgs).FullName);
Utils\ApiUtils.cs (1)
60throw Contracts.ExceptNotSupp("Type '{0}' is not supported.", t.FullName);
Microsoft.ML.DataView (3)
DataViewSchema.cs (3)
304throw new ArgumentException($"{nameof(type)}.{nameof(type.RawType)} must be of type '{typeof(TValue).FullName}'.", nameof(type)); 345throw new ArgumentException($"{nameof(type)}.{nameof(type.RawType)} must be of type '{typeof(TValue).FullName}'.", nameof(type)); 369throw new ArgumentException($"{nameof(getter)} must be of type '{typeof(ValueGetter<TValue>).FullName}'", nameof(getter));
Microsoft.ML.SearchSpace.Tests (1)
SearchSpaceTest.cs (1)
304NamerFactory.AdditionalInformation = typeof(TOption).FullName;
Microsoft.ML.Transforms (4)
LambdaTransform.cs (2)
73throw env.Except($"The class with contract '{contractName}' must derive from '{typeof(CustomMappingFactory<,>).FullName}' or from '{typeof(StatefulCustomMappingFactory<,,>).FullName}'.");
StatefulFilterTransform.cs (2)
42private static string RegistrationName { get { return string.Format(RegistrationNameTemplate, typeof(TSrc).FullName, typeof(TDst).FullName); } }
Microsoft.TestUtilities (1)
XUnit\SkippedTestMessageBus.cs (1)
34if (exceptionType == typeof(SkipTestException).FullName)
Microsoft.VisualBasic.Core (4)
Microsoft\VisualBasic\CompilerServices\LateBinding.vb (2)
482If Not objType.IsCOMObject OrElse objType.FullName = "System.__ComObject" Then 486If objType.BaseType.FullName = "System.__ComObject" Then
Microsoft\VisualBasic\Conversion.vb (2)
167Throw VbMakeException(New ArgumentException(SR.Format(SR.Argument_NotNumericType2, NameOf(Number), Number.GetType().FullName)), vbErrors.TypeMismatch) 240Throw VbMakeException(New ArgumentException(SR.Format(SR.Argument_NotNumericType2, NameOf(Number), Number.GetType().FullName)), vbErrors.TypeMismatch)
Microsoft.VisualBasic.Tests (1)
Microsoft\VisualBasic\MyServices\ClipboardProxyTests.cs (1)
155typeof(DataWithObjectField).FullName == typeName.FullName
Microsoft.VisualStudio.LanguageServices (6)
ErrorReporting\VisualStudioErrorReportingService.ExceptionFormatting.cs (1)
136var fullName = declaringType.FullName.Replace('+', '.');
LanguageClient\LogHubLspLogger.cs (1)
30Contract.Fail($"{GetType().FullName} was double disposed");
LanguageClient\VisualStudioLogHubLoggerFactory.cs (1)
43var logId = new LogId(logName, new ServiceMoniker(typeof(AbstractLanguageServer<>).FullName));
Utilities\ComEventSink.cs (1)
29throw new InvalidOperationException("Could not find connection point for " + typeof(T).FullName);
Watson\FaultReporter.cs (2)
212var methodName = method.DeclaringType.FullName + "." + method.Name; 247var declaringTypeName = method?.DeclaringType?.FullName;
Microsoft.VisualStudio.LanguageServices.Test.Utilities2 (1)
CodeModel\CodeModelTestHelpers.vb (1)
202Assert.True(result IsNot Nothing, $"Created external code element was not of type, {GetType(T).FullName}")
Microsoft.VisualStudio.LanguageServices.UnitTests (2)
CodeModel\AbstractCodeElementTests`1.vb (2)
519Assert.True(element IsNot Nothing, $"Could not cast {GetType(TCodeElement).FullName} to {GetType(EnvDTE.CodeElement).FullName}.")
MSBuild (9)
ErrorUtilities.cs (1)
107ThrowInternalError("This type does not implement ToString() properly {0}", param.GetType().FullName!);
LoadedType.cs (1)
142if (String.Equals("Microsoft.Build.Tasks.Xaml.PartialClassGenerationTask", Type.FullName, StringComparison.OrdinalIgnoreCase))
ReflectableTaskPropertyInfo.cs (1)
81ErrorUtilities.VerifyThrow(_propertyInfo != null, "Could not find property {0} on type {1} that the task factory indicated should exist.", Name, _taskType.FullName);
ResourceUtilities.cs (1)
440param.GetType().FullName);
TaskLoader.cs (2)
135taskInstanceInOtherAppDomain = (ITask)taskAppDomain.CreateInstanceFromAndUnwrap(loadedType.Assembly.AssemblyFile, loadedType.Type.FullName); 158taskInstanceInOtherAppDomain = (ITask)taskAppDomain.CreateInstanceAndUnwrap(loadedType.Type.GetTypeInfo().Assembly.FullName, loadedType.Type.FullName);
TypeLoader.cs (3)
390if (_isDesiredType(publicType, null) && (typeName.Length == 0 || TypeLoader.IsPartialTypeNameMatch(publicType.FullName, typeName))) 393LoadedType loadedType = new(publicType, _assemblyLoadInfo, loadedAssembly, _context.LoadFromAssemblyPath(microsoftBuildFrameworkPath).GetType(typeof(ITaskItem).FullName), loadedViaMetadataLoadContext: true); 422_publicTypeNameToType.Add(publicType.FullName, publicType);
MSBuildTaskHost (9)
BuildExceptionSerializationHelper.cs (2)
58EscapeHatches.ThrowInternalError($"Type {exceptionType.FullName} is not recognized as a build exception type."); 73return exceptionType.FullName ?? exceptionType.ToString();
D\a\_work\1\s\bin\repo\msbuild\src\Shared\ErrorUtilities.cs\ErrorUtilities.cs (1)
107ThrowInternalError("This type does not implement ToString() properly {0}", param.GetType().FullName!);
LoadedType.cs (1)
142if (String.Equals("Microsoft.Build.Tasks.Xaml.PartialClassGenerationTask", Type.FullName, StringComparison.OrdinalIgnoreCase))
ResourceUtilities.cs (1)
440param.GetType().FullName);
TaskLoader.cs (2)
135taskInstanceInOtherAppDomain = (ITask)taskAppDomain.CreateInstanceFromAndUnwrap(loadedType.Assembly.AssemblyFile, loadedType.Type.FullName); 158taskInstanceInOtherAppDomain = (ITask)taskAppDomain.CreateInstanceAndUnwrap(loadedType.Type.GetTypeInfo().Assembly.FullName, loadedType.Type.FullName);
Traits.cs (1)
580param.GetType().FullName);
TypeLoader.cs (1)
321_publicTypeNameToType.Add(publicType.FullName, publicType);
Mvc.Analyzers.Test (12)
CodeAnalysisExtensionsTest.cs (12)
25var attribute = compilation.GetTypeByMetadataName(typeof(ProducesResponseTypeAttribute).FullName); 53var attribute = compilation.GetTypeByMetadataName(typeof(ProducesResponseTypeAttribute).FullName); 90var attribute = compilation.GetTypeByMetadataName(typeof(ProducesResponseTypeAttribute).FullName); 127var attribute = compilation.GetTypeByMetadataName(typeof(ProducesResponseTypeAttribute).FullName); 164var attribute = compilation.GetTypeByMetadataName(typeof(ProducesResponseTypeAttribute).FullName); 209var attribute = compilation.GetTypeByMetadataName(typeof(ProducesResponseTypeAttribute).FullName); 252var attribute = compilation.GetTypeByMetadataName(typeof(ProducesResponseTypeAttribute).FullName); 279var attribute = compilation.GetTypeByMetadataName(typeof(ApiConventionTypeAttribute).FullName); 306var attribute = compilation.GetTypeByMetadataName(typeof(ApiConventionTypeAttribute).FullName); 349var attribute = compilation.GetTypeByMetadataName(typeof(ApiConventionTypeAttribute).FullName); 397var attribute = compilation.GetTypeByMetadataName(typeof(ApiConventionTypeAttribute).FullName); 435var attribute = compilation.GetTypeByMetadataName(typeof(ApiConventionTypeAttribute).FullName);
Mvc.Api.Analyzers.Test (36)
ActualApiResponseMetadataFactoryTest.cs (7)
28var attribute = compilation.GetTypeByMetadataName(typeof(TestActionResultUsingStatusCodesConstants).FullName).GetAttributes()[0]; 42var attribute = compilation.GetTypeByMetadataName(typeof(TestActionResultUsingHttpStatusCodeCast).FullName).GetAttributes()[0]; 277var typeName = typeof(TryGetActualResponseMetadataController).FullName; 298var typeName = typeof(TryGetActualResponseMetadataController).FullName; 318var typeName = typeof(TryGetActualResponseMetadataController).FullName; 345var typeName = typeof(TryGetActualResponseMetadataController).FullName; 447return controllerType.FullName;
ApiControllerFactsTest.cs (5)
52var type = compilation.GetTypeByMetadataName(typeof(ApiConventionAnalyzerTest_IndexModel).FullName); 68var type = compilation.GetTypeByMetadataName(typeof(ApiConventionAnalyzerTest_NotApiController).FullName); 84var type = compilation.GetTypeByMetadataName(typeof(ApiConventionAnalyzerTest_NotAction).FullName); 100var type = compilation.GetTypeByMetadataName(typeof(ApiConventionAnalyzerTest_Valid).FullName); 116var type = compilation.GetTypeByMetadataName(typeof(IsApiControllerAction_ReturnsTrue_IfAttributeIsDeclaredOnAssemblyController).FullName);
MvcFactsTest.cs (8)
11private static readonly string ControllerAttribute = typeof(ControllerAttribute).FullName; 12private static readonly string NonControllerAttribute = typeof(NonControllerAttribute).FullName; 13private static readonly string NonActionAttribute = typeof(NonActionAttribute).FullName; 68var typeSymbol = compilation.GetTypeByMetadataName(type.FullName); 82var typeSymbol = compilation.GetTypeByMetadataName(type.FullName); 152var typeSymbol = compilation.GetTypeByMetadataName(type.FullName); 184var typeSymbol = compilation.GetTypeByMetadataName(typeof(NotDisposableWithDisposeThatIsNotInterfaceContract).FullName); 199var typeSymbol = compilation.GetTypeByMetadataName(type.FullName);
SymbolApiConventionMatcherTest.cs (6)
11private static readonly string BaseTypeName = typeof(Base).FullName; 12private static readonly string DerivedTypeName = typeof(Derived).FullName; 13private static readonly string TestControllerName = typeof(TestController).FullName; 14private static readonly string TestConventionName = typeof(TestConvention).FullName; 274var typeSymbol = compilation.GetTypeByMetadataName(type.FullName); 275var conventionTypeSymbol = compilation.GetTypeByMetadataName(conventionType.FullName);
SymbolApiResponseMetadataProviderTest.cs (10)
295var controller = compilation.GetTypeByMetadataName(type.FullName); 317var controller = compilation.GetTypeByMetadataName(type.FullName); 405var expected = compilation.GetTypeByMetadataName(typeof(ProblemDetails).FullName); 407var type = compilation.GetTypeByMetadataName(typeof(GetErrorResponseType_ReturnsProblemDetails_IfNoAttributeIsDiscoveredController).FullName); 423var expected = compilation.GetTypeByMetadataName(typeof(GetErrorResponseType_ReturnsTypeDefinedAtAssemblyModel).FullName); 425var type = compilation.GetTypeByMetadataName(typeof(GetErrorResponseType_ReturnsTypeDefinedAtAssemblyController).FullName); 441var expected = compilation.GetTypeByMetadataName(typeof(GetErrorResponseType_ReturnsTypeDefinedAtControllerModel).FullName); 443var type = compilation.GetTypeByMetadataName(typeof(GetErrorResponseType_ReturnsTypeDefinedAtControllerController).FullName); 459var expected = compilation.GetTypeByMetadataName(typeof(GetErrorResponseType_ReturnsTypeDefinedAtActionModel).FullName); 461var type = compilation.GetTypeByMetadataName(typeof(GetErrorResponseType_ReturnsTypeDefinedAtActionController).FullName);
Mvc.RoutingWebSite (1)
Controllers\RouteDataController.cs (1)
38var routers = RouteData.Routers.Select(r => r.GetType().FullName).ToArray();
PresentationBuildTasks (64)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (17)
1091_ccRoot.CodeClass.BaseTypes.Add(KnownTypes.Types[(int)KnownElements.IStyleConnector].FullName); 1479ctmTarget.CustomAttributes.Add(new CodeAttributeDeclaration(typeof(EditorBrowsableAttribute).FullName, caa)); 1836CodeFieldReferenceExpression cfre = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(desc.MemberInfo.DeclaringType.FullName), desc.MemberInfo.Name); 1854CodeMethodInvokeExpression cmie = new CodeMethodInvokeExpression(new CodeTypeReferenceExpression(desc.MemberInfo.DeclaringType.FullName), desc.MemberInfo.Name); 1871CodeObjectCreateExpression coce = new CodeObjectCreateExpression(desc.MemberInfo.DeclaringType.FullName); 1915ThrowCompilerException(nameof(SR.RoutedEventNotRegistered), miEvent.DeclaringType.FullName, eventName, eventHandler); 1918CodeTypeReferenceExpression ctreEvent = new CodeTypeReferenceExpression(miEvent.DeclaringType.FullName); 1927string eventTargetName = eventTarget != null ? eventTarget.FullName : cc.LocalElementFullName; 1995string eventTargetName = eventTarget != null ? eventTarget.FullName : cc.LocalElementFullName; 2201((CodeContext)_codeContexts.Peek()).ElementType.FullName, 2289_typeArgsList[i] = currTypeArg.FullName; 2312genericName = t.FullName; 2337ctrConstructedType = new CodeTypeReference(t.FullName); 2412typeParam.FullName, 2427ctrConstructedType = new CodeTypeReference(t.FullName); 3035ThrowCompilerException(nameof(SR.SubSubClassingNotAllowed), elementType.FullName); 3218cmmMain.CustomAttributes.Add(new CodeAttributeDeclaration(typeof(STAThreadAttribute).FullName));
MS\Internal\MarkupCompiler\ParserExtension.cs (2)
287localTagFullName = ownerTagType.FullName; 618xamlClrEventNode.EventMember.ReflectedType.FullName,
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\BamlMapTable.cs (5)
958declaringType.FullName, 963declaringType.FullName, 1329string.Empty : serializerType.FullName; 1413string converterOrSerializerTypeFullName = converterOrSerializerType.FullName; 1529targetType.FullName,
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\BamlRecordWriter.cs (3)
1085typeValue.FullName, 1090typeValue.FullName, 1422string converterTypeFullName = xamlTextNode.ConverterType.FullName;
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\MarkupExtensionParser.cs (4)
635string declaringTypeFullName = data.DeclaringType.FullName; 1535parentType.FullName, lineNumber, linePosition); 1553typeValueFullName = typeValue.FullName; 1679typeFullName = declaringType.FullName;
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\StyleXamlParser.cs (4)
294localTagFullName = ownerTagType.FullName; 483targetType.FullName, 1241KnownTypes.Types[(int)KnownElements.EventSetter].FullName, 1253xamlClrEventNode.EventMember.ReflectedType.FullName,
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\TemplateXamlParser.cs (6)
331localTagFullName = ownerTagType.FullName; 539targetType.FullName, 727_templateKeyType.FullName, 1374xamlClrEventNode.EventMember.ReflectedType.FullName, 1435_templateKeyType.FullName, 1637_templateKeyType.FullName,
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlNodes.cs (1)
1178_serializerType.FullName;
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlParser.cs (1)
993typeFullName = baseType.FullName;
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (15)
800typeValueFullName = typeValue.FullName; 1807declaringTypeFullName = declaringType.FullName; 1861declaringTypeFullName = declaringType.FullName; 2317assemblyName, elementType.FullName, xmlLang, 3498WriteNameProperty(propertyName, propertyMember, assembly, parentType.FullName, attribValue, BamlAttributeUsage.RuntimeName); 4243WriteElementStart(startElementAssemblyName, propertyType.FullName, 4587ThrowException(nameof(SR.ParserInvalidContentPropertyAttribute), elementType.FullName, 4630propertyAssemblyName, propertyDeclaringType.FullName, contentPropertyName); 4661ThrowException(nameof(SR.ParserCannotAddAnyChildren), parentType.FullName); 4675arrayType.FullName, 4676objectType.FullName); 4778ThrowException(nameof(SR.ParserDefaultConverterElement), elementType.FullName, textValue); 4796ThrowException(nameof(SR.ParserDefaultConverterElement), elementType.FullName, textValue); 5249_xmlReader.GetType().FullName); 6864public string FullName { get { return $"{_ownerType.FullName}.{_name}"; } }
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlTypeMapper.cs (3)
776string fullName = owner.IsGenericType ? $"{owner.Namespace}.{owner.Name}" : owner.FullName; 1318ThrowException(nameof(SR.ParserEventDelegateTypeNotAccessible), ei.EventHandlerType.FullName, $"{objectType.Name}.{localName}"); 1477ThrowException(nameof(SR.ParserEventDelegateTypeNotAccessible), ei.EventHandlerType.FullName, $"{owner.Name}.{localName}");
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XmlnsCache.cs (1)
222if(string.Equals(cinfo.ReflectedType.FullName, fullClrName, StringComparison.Ordinal))
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\SystemResourceKey.cs (1)
404targetType.FullName == "System.Windows.SystemParameters";
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\ReflectionHelper.cs (1)
172type = reflectionAssembly.GetType(type.FullName);
PresentationCore (34)
MS\Internal\FontFace\CompositeFontParser.cs (1)
193catch (Exception x) when(string.Equals(x.GetType().FullName, "System.Security.XmlSyntaxException", StringComparison.OrdinalIgnoreCase))
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\WindowsRuntime\ReflectionHelper.cs (3)
312string constructorName = $"{type.FullName}.{type.Name}()"; 337string constructorName = $"{type.FullName}.{type.Name}({typeof(TArg1).Name})"; 364string constructorName = $"{type.FullName}.{type.Name}({typeof(TArg1).Name},{typeof(TArg2).Name})";
src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\PerfService.cs (1)
51type.FullName,
System\Windows\BinaryFormat\BinaryFormatWriter.cs (10)
67new ClassInfo(1, typeof(decimal).FullName!, DecimalMemberNames), 90new ClassInfo(1, typeof(DateTime).FullName!, s_dateTimeMemberNames), 105new ClassInfo(1, typeof(TimeSpan).FullName!, new string[] { "_ticks" }), 117new ClassInfo(1, typeof(nint).FullName!, new string[] { "value" }), 129new ClassInfo(1, typeof(nuint).FullName!, new string[] { "value" }), 142new ClassInfo(1, typeof(PointF).FullName!, PointMemberNames), 159new ClassInfo(1, typeof(RectangleF).FullName!, RectangleMemberNames), 225new ClassInfo(1, type.FullName!, s_primitiveMemberName), 275$"System.Collections.Generic.List`1[[{typeof(T).FullName}, {TypeInfo.MscorlibAssemblyName}]]", 371new ClassInfo(1, typeof(ArrayList).FullName!, ListMemberNames),
System\Windows\DataFormats.cs (1)
237public static readonly string StringFormat = typeof(string).FullName;
System\Windows\dataobject.cs (11)
109SetData(format.FullName, data); 201return GetData(format.FullName); 213dataPresent = GetDataPresent(format.FullName); 1504else if (IsFormatEqual(format, typeof(BitmapSource).FullName)) 2399return GetData(format.FullName); 2414return GetDataPresent(format.FullName); 2497SetData(format.FullName, data); 2752else if (IsFormatEqual(format, typeof(BitmapSource).FullName)) 3306return GetData(format.FullName); 3321return GetDataPresent(format.FullName); 3432SetData(format.FullName, data);
System\Windows\Media\Animation\AnimationStorage.cs (3)
493target.GetType().FullName, 494((AnimationClock)sender).Timeline.GetType().FullName), 990d.GetType().FullName));
System\Windows\UIElement.cs (4)
673throw new InvalidOperationException(SR.Format(SR.UIElement_Layout_PositiveInfinityReturned, this.GetType().FullName)); 677throw new InvalidOperationException(SR.Format(SR.UIElement_Layout_NaNReturned, this.GetType().FullName)); 803(parent == null ? "" : parent.GetType().FullName), 804this.GetType().FullName));
PresentationFramework (111)
MS\Internal\Data\EnumerableCollectionView.cs (1)
583TraceData.CollectionChangedWithoutNotification(SourceCollection.GetType().FullName));
MS\Internal\LayoutDump.cs (7)
299writer.WriteAttributeString("Type", page.GetType().FullName); 740writer.WriteAttributeString("Type", paragraph.Element.GetType().FullName); 762writer.WriteAttributeString("Type", paragraph.Element.GetType().FullName); 780writer.WriteAttributeString("Type", paragraph.Element.GetType().FullName); 798writer.WriteAttributeString("Type", paragraph.Element.GetType().FullName); 815writer.WriteAttributeString("Type", paragraph.Element.GetType().FullName); 862writer.WriteAttributeString("Type", paragraph.Element.GetType().FullName);
MS\Internal\Printing\Win32PrintDialog.cs (1)
106if (String.Equals(e.GetType().FullName, "System.Printing.PrintingNotSupportedException", StringComparison.Ordinal))
MS\Internal\WindowsRuntime\Generated\WinRT.cs (1)
273public ActivationFactory() : base(typeof(T).Namespace, typeof(T).FullName) { }
MS\Internal\WindowsRuntime\Generated\WinRT\ComWrappersSupport.cs (2)
156if (type.FullName.StartsWith("ABI.")) 158type = Projections.FindCustomPublicTypeForAbiType(type) ?? type.Assembly.GetType(type.FullName.Substring("ABI.".Length)) ?? type;
MS\Internal\WindowsRuntime\Generated\WinRT\ExceptionHelpers.cs (1)
182message = ex.GetType().FullName;
MS\Internal\WindowsRuntime\Generated\WinRT\GuidGenerator.cs (3)
73return $"enum({TypeExtensions.RemoveNamespacePrefix(type.FullName)};{(isFlags ? "u4" : "i4")})"; 78return $"struct({TypeExtensions.RemoveNamespacePrefix(type.FullName)};{String.Join(";", args)})"; 92return $"rc({TypeExtensions.RemoveNamespacePrefix(type.FullName)};{GetSignature(iface)})";
MS\Internal\WindowsRuntime\Generated\WinRT\Interop\ExceptionErrorInfo.cs (1)
63desc = _exception.GetType().FullName;
MS\Internal\WindowsRuntime\Generated\WinRT\Projections.cs (1)
194throw new ArgumentException($"The provided type '{runtimeClass.FullName}' is not a WinRT projected runtime class.", nameof(runtimeClass));
MS\Internal\WindowsRuntime\Generated\WinRT\TypeExtensions.cs (5)
22var helper = $"ABI.{type.FullName}"; 23string helperTypeName2 = $"MS.Internal.WindowsRuntime.ABI.{type.FullName}"; 24if (type.FullName.StartsWith("MS.Internal.WindowsRuntime.")) 26helper = $"MS.Internal.WindowsRuntime.ABI.{RemoveNamespacePrefix(type.FullName)}"; 36throw new InvalidOperationException($"Target type is not a projected type: {type.FullName}.");
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\WindowsRuntime\ReflectionHelper.cs (3)
312string constructorName = $"{type.FullName}.{type.Name}()"; 337string constructorName = $"{type.FullName}.{type.Name}({typeof(TArg1).Name})"; 364string constructorName = $"{type.FullName}.{type.Name}({typeof(TArg1).Name},{typeof(TArg2).Name})";
System\Windows\Application.cs (3)
1681throw new InvalidOperationException(SR.Format(SR.CannotCallRunMultipleTimes, this.GetType().FullName)); 1688throw new ArgumentException(SR.Format(SR.WindowPassedShouldBeOnApplicationThread, window.GetType().FullName, this.GetType().FullName));
System\Windows\ComponentResourceKey.cs (1)
126string.Create(null, stackalloc char[256], $"TargetType={((_typeInTargetAssembly != null) ? _typeInTargetAssembly.FullName : "null")} ID={((_resourceId != null) ? _resourceId.ToString() : "null")}");
System\Windows\Controls\DataErrorValidationRule.cs (2)
92idei.GetType().FullName, 93ex.GetType().FullName,
System\Windows\Controls\ItemContainerGenerator.cs (1)
1134c, indent, sourceType.FullName));
System\Windows\CornerRadiusConverter.cs (1)
135throw new ArgumentException(SR.Format(SR.CannotConvertType, typeof(CornerRadius), destinationType.FullName));
System\Windows\Data\BindingExpressionBase.cs (1)
937target.GetType().FullName, dp.Name, AvTrace.GetHashCodeHelper(target)),
System\Windows\Data\BindingGroup.cs (1)
574TraceData.BindingGroupWrongProperty(name, context.GetType().FullName));
System\Windows\Data\MultiBinding.cs (1)
57throw new ArgumentException(SR.Format(SR.ChildHasWrongType, this.GetType().Name, "BindingBase", value.GetType().FullName), nameof(value));
System\Windows\Data\PriorityBinding.cs (1)
54throw new ArgumentException(SR.Format(SR.ChildHasWrongType, this.GetType().Name, "BindingBase", value.GetType().FullName), nameof(value));
System\Windows\Data\XmlNamespaceMappingCollection.cs (1)
51throw new ArgumentException(SR.Format(SR.RequiresXmlNamespaceMapping, value.GetType().FullName), nameof(value));
System\Windows\Documents\Serialization\SerializerDescriptor.cs (1)
97sd._factoryInterfaceName = factoryType.FullName;
System\Windows\FrameworkTemplate.cs (1)
1127throw new InvalidOperationException(SR.Format(SR.TemplateMustBeFE, new object[] { rootObject.GetType().FullName }));
System\Windows\Markup\BamlMapTable.cs (8)
371object key = GetAttributeInfoKey(info.OwnerType.FullName, info.Name); 496info.TypeFullName = info.Type.FullName; 834propName = $"{attributeInfo.OwnerType.FullName}.{attributeInfo.Name}"; 958declaringType.FullName, 963declaringType.FullName, 1329string.Empty : serializerType.FullName; 1413string converterOrSerializerTypeFullName = converterOrSerializerType.FullName; 1529targetType.FullName,
System\Windows\Markup\BamlReader.cs (1)
2204_typeConverterName = converter.FullName;
System\Windows\Markup\BamlRecordReader.cs (26)
862ThrowException(nameof(SR.ParserNoElementCreate2), elementType.FullName); 1468ThrowException(nameof(SR.ParserNoDPOnOwner), paramString, ownerType.FullName); 1646paramInfo.ParameterType.FullName), 2115ThrowException(nameof(SR.ParserCannotConvertPropertyValue), "Property", typeof(DependencyProperty).FullName); 2161string message = SR.Format(SR.ParserCannotConvertPropertyValue, propertyName, propertyType.FullName); 2213string message = SR.Format(SR.ParserCannotConvertPropertyValue, propertyDefinition.Name, propertyDefinition.PropertyType.FullName); 2404valueTypeName = typeof(StaticExtension).FullName; 2407valueTypeName = typeof(DynamicResourceExtension).FullName; 2410valueTypeName = typeof(StaticResourceExtension).FullName; 2492string message = SR.Format(SR.ParserCannotConvertPropertyValue, propertyDefinition.Name, propertyDefinition.PropertyType.FullName); 2665ThrowExceptionWithLine(SR.Format(SR.ParserCannotSetValue, element.GetType().FullName, propertyDefinition.Name, valueType.Name), e); 2907ThrowExceptionWithLine(SR.Format(SR.ParserCannotSetValue, element.GetType().FullName, propertyDefinition.AttributeInfo.Name, attribValue), e); 3454CurrentContext.ExpectedType.FullName); 3466ThrowException(nameof(SR.ParserCantCreateInstanceType), CurrentContext.ExpectedType.FullName); 3484parent.GetType().FullName, 3519attribInfo.OwnerType.FullName, 3543CurrentContext.ExpectedType.FullName, bamlTextRecord.Value); 3728ThrowExceptionWithLine(SR.Format(SR.ParserCannotSetValue, currentTarget.GetType().FullName, attribInfo.Name, o), e); 3754o.GetType().FullName); 3866ThrowExceptionWithLine(SR.Format(SR.ParserCannotSetValue, parentObject.GetType().FullName, memberInfo.Name, o), e); 4233$"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."); 4239ThrowException(nameof(SR.ParserCantCreateInstanceType), context.ExpectedType.FullName); 4755string typeName = parentType == null ? String.Empty : parentType.FullName; 4760ThrowException( nameof(SR.ParserCannotAddAnyChildren2), typeName, currentObject.GetType().FullName ); 4773string typeName = parentType == null ? String.Empty : parentType.FullName; 4778ThrowException( nameof(SR.ParserCannotAddAnyChildren2), typeName, currentObject.GetType().FullName );
System\Windows\Markup\BamlRecordWriter.cs (3)
1085typeValue.FullName, 1090typeValue.FullName, 1422string converterTypeFullName = xamlTextNode.ConverterType.FullName;
System\Windows\Markup\BamlWriter.cs (2)
113typeFullName = baseType.FullName; 395typeValue.FullName,
System\Windows\Markup\DependencyPropertyConverter.cs (5)
157throw new NotSupportedException(SR.Format(SR.ParserCannotConvertPropertyValue, "Property", typeof(DependencyProperty).FullName)); 180throw new NotSupportedException(SR.Format(SR.ParserCannotConvertPropertyValue, "Property", typeof(DependencyProperty).FullName)); 204throw new NotSupportedException(SR.Format(SR.ParserCannotConvertPropertyValue, "Property", typeof(DependencyProperty).FullName)); 224throw new NotSupportedException(SR.Format(SR.ParserCannotConvertPropertyValue, "Property", typeof(DependencyProperty).FullName)); 234throw new NotSupportedException(SR.Format(SR.ParserCannotConvertPropertyValue, "Property", typeof(DependencyProperty).FullName));
System\Windows\Markup\MarkupExtensionParser.cs (4)
635string declaringTypeFullName = data.DeclaringType.FullName; 1535parentType.FullName, lineNumber, linePosition); 1553typeValueFullName = typeValue.FullName; 1679typeFullName = declaringType.FullName;
System\Windows\Markup\Primitives\MarkupWriter.cs (1)
693throw new InvalidOperationException(SR.Format(SR.UnserializableKeyValue, property.Value.GetType().FullName));
System\Windows\Markup\RestrictiveXamlXmlReader.cs (1)
187if (type is null || SafeTypesFromRegistry.Contains("*") || _safeTypesSet.Contains(type) || SafeTypesFromRegistry.Contains(type.FullName))
System\Windows\Markup\SetterTriggerConditionValueConverter.cs (3)
98throw new NotSupportedException(SR.Format(SR.ParserCannotConvertPropertyValue, "Value", typeof(Object).FullName)); 160throw new NotSupportedException(SR.Format(SR.ParserCannotConvertPropertyValue, "Value", typeof(Object).FullName)); 165throw new NotSupportedException(SR.Format(SR.ParserCannotConvertPropertyValue, "Value", typeof(Object).FullName));
System\Windows\Markup\XamlNodes.cs (1)
1178_serializerType.FullName;
System\Windows\Markup\XamlTypeMapper.cs (10)
457ThrowException(nameof(SR.ParserOwnerEventMustBePublic), owner.FullName ); 516string message = SR.Format(SR.ParserCannotConvertPropertyValueString, value, propName, propType.FullName); 597message = SR.Format(SR.ParserDefaultConverterProperty, propType.FullName, propName, value); 603message = SR.Format(SR.ParserDefaultConverterElement, propType.FullName, value); 609string message = TypeConverterFailure( value, propName, propType.FullName ); 620string message = TypeConverterFailure( value, propName, propType.FullName ); 776string fullName = owner.IsGenericType ? $"{owner.Namespace}.{owner.Name}" : owner.FullName; 798object key = MapTable.GetAttributeInfoKey(ownerType.FullName, infoRecord.Name); 1318ThrowException(nameof(SR.ParserEventDelegateTypeNotAccessible), ei.EventHandlerType.FullName, $"{objectType.Name}.{localName}"); 1477ThrowException(nameof(SR.ParserEventDelegateTypeNotAccessible), ei.EventHandlerType.FullName, $"{owner.Name}.{localName}");
System\Windows\PropertyPath.cs (1)
562(accessor != null) ? accessor.GetType().FullName : "null"));
System\Windows\PropertyPathConverter.cs (2)
103throw new ArgumentException(SR.Format(SR.CannotConvertType, source.GetType().FullName, typeof(PropertyPath))); 134throw new ArgumentException(SR.Format(SR.CannotConvertType, typeof(PropertyPath), destinationType.FullName));
System\Windows\StyleHelper.cs (1)
1599throw new InvalidOperationException(SR.Format(SR.CrossThreadAccessOfUnshareableFreezable, freezable.GetType().FullName));
System\Windows\ThicknessConverter.cs (1)
135throw new ArgumentException(SR.Format(SR.CannotConvertType, typeof(Thickness), destinationType.FullName));
Roslyn.VisualStudio.DiagnosticsWindow (1)
Panels\TelemetryPanel.xaml.cs (1)
121typeDiscovered.AppendLine($"Found: {type.FullName}: {telemetryId.ToString()}");
SemanticSearch.BuildTask (1)
src\Compilers\Core\Portable\InternalUtilities\ExceptionUtilities.cs (1)
21string output = string.Format("Unexpected value '{0}' of type '{1}'", o, (o != null) ? o.GetType().FullName : "<unknown>");
Sockets.FunctionalTests (1)
src\Servers\Kestrel\test\FunctionalTests\ResponseTests.cs (1)
473var logger = LoggerFactory.CreateLogger($"{ typeof(ResponseTests).FullName}.{ nameof(ConnectionClosedWhenResponseDoesNotSatisfyMinimumDataRate)}");
System.CodeDom (16)
Microsoft\CSharp\CSharpCodeGenerator.cs (2)
616throw new ArgumentException(SR.Format(SR.InvalidElementType, e.GetType().FullName), nameof(e)); 1242throw new ArgumentException(SR.Format(SR.InvalidElementType, e.GetType().FullName), nameof(e));
Microsoft\VisualBasic\VBCodeGenerator.cs (1)
1615if (e.ReturnType.BaseType.Length == 0 || string.Equals(e.ReturnType.BaseType, typeof(void).FullName, StringComparison.OrdinalIgnoreCase))
src\libraries\Common\src\System\CodeDom\CodeTypeReference.cs (1)
133typeName = typeof(void).FullName!;
System\CodeDom\CodeMemberMethod.cs (1)
26get => _returnType ??= new CodeTypeReference(typeof(void).FullName);
System\CodeDom\Compiler\CodeDomProvider.cs (2)
23AddCompilerInfo(new CompilerInfo(new CompilerParameters() { WarningLevel = 4 }, typeof(CSharpCodeProvider).FullName) 30AddCompilerInfo(new CompilerInfo(new CompilerParameters() { WarningLevel = 4 }, typeof(VBCodeProvider).FullName)
System\CodeDom\Compiler\CodeGenerator.cs (2)
619throw new ArgumentException(SR.Format(SR.InvalidElementType, e.GetType().FullName), nameof(e)); 962throw new ArgumentException(SR.Format(SR.InvalidElementType, e.GetType().FullName), nameof(e));
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)); 461throw new ArgumentException(SR.Format(SR.InvalidElementType, e.GetType().FullName), nameof(e)); 655string message = SR.Format(SR.InvalidTypeName, typeName, propertyName, e.GetType().FullName); 664string message = SR.Format(SR.InvalidLanguageIdentifier, identifier, propertyName, e.GetType().FullName); 779throw new ArgumentException(SR.Format(SR.InvalidElementType, e.GetType().FullName), nameof(e)); 950throw new ArgumentException(SR.Format(SR.InvalidElementType, e.GetType().FullName), nameof(e));
System.Collections.Immutable (1)
Validation\Requires.cs (1)
145throw new ObjectDisposedException(disposed!.GetType().FullName);
System.ComponentModel.Annotations (8)
System\ComponentModel\DataAnnotations\AssociatedMetadataTypeTypeDescriptor.cs (1)
163mainType.FullName,
System\ComponentModel\DataAnnotations\CompareAttribute.cs (1)
45throw new ArgumentException(SR.Format(SR.Common_PropertyNotFound, validationContext.ObjectType.FullName, OtherProperty));
System\ComponentModel\DataAnnotations\EnumDataTypeAttribute.cs (1)
30throw new InvalidOperationException(SR.Format(SR.EnumDataTypeAttribute_TypeNeedsToBeAnEnum, EnumType.FullName));
System\ComponentModel\DataAnnotations\LocalizableString.cs (1)
151string exceptionMessage = SR.Format(SR.LocalizableString_LocalizationFailed, _propertyName, _resourceType.FullName, _propertyValue);
System\ComponentModel\DataAnnotations\RangeAttribute.cs (2)
224type.FullName, 225comparableType.FullName));
System\ComponentModel\DataAnnotations\ValidationAttribute.cs (2)
284_errorMessageResourceType.FullName, 292_errorMessageResourceType.FullName));
System.ComponentModel.Composition (17)
Microsoft\Internal\GenerationServices.cs (1)
156SR.Format(SR.InvalidMetadataValue, value.GetType().FullName));
System\ComponentModel\Composition\MetadataViewGenerator.cs (1)
190$"_proxy_{viewType.FullName}_{Guid.NewGuid()}",
System\ComponentModel\Composition\MetadataViewProvider.cs (4)
41throw new NotSupportedException(SR.Format(SR.NotSupportedInterfaceMetadataView, metadataViewType.FullName), ex); 53metadataViewType.FullName)); 61metadataViewType.FullName, 62proxyType.FullName));
System\ComponentModel\Composition\ReflectionModel\ImportingItem.cs (1)
102type.FullName),
System\ComponentModel\Composition\ReflectionModel\ImportingMember.cs (4)
160ImportType.ActualType.FullName), 198collection!.GetType().FullName), 228collection.GetType().FullName), 245collection.GetType().FullName),
System\ComponentModel\Composition\ReflectionModel\ImportType.cs (1)
205throw ExceptionBuilder.ExportFactory_TooManyGenericParameters(genericType.FullName!);
System\ComponentModel\Composition\ReflectionModel\ReflectionComposablePart.cs (5)
279Definition.GetPartType().FullName), 327Definition.GetPartType().FullName, 438Definition.GetPartType().FullName), 493Definition.GetPartType().FullName, 552Definition.GetPartType().FullName),
System.ComponentModel.Composition.Registration (8)
src\libraries\Common\src\System\Composition\Diagnostics\CompositionTrace.cs (8)
19type.FullName); 32type.FullName); 51member.Name, type.FullName); 70member.Name, type.FullName); 89member.Name, type.FullName); 104type.FullName); 123member.Name, type.FullName); 138type.FullName);
System.ComponentModel.Primitives (6)
System\ComponentModel\Component.cs (2)
127return GetType().FullName!; 130return s.Name + " [" + GetType().FullName + "]";
System\ComponentModel\Design\Serialization\DesignerSerializerAttribute.cs (1)
77_typeId = GetType().FullName + baseType;
System\ComponentModel\DesignerAttribute.cs (1)
108_typeId = GetType().FullName + baseType;
System\ComponentModel\DesignerCategoryAttribute.cs (1)
67public override object TypeId => GetType().FullName + Category;
System\ComponentModel\EditorAttribute.cs (1)
91_typeId = GetType().FullName + baseType;
System.ComponentModel.TypeConverter (86)
System\ComponentModel\Design\HelpKeywordAttribute.cs (1)
76HelpKeyword = t.FullName;
System\ComponentModel\Design\Serialization\RootDesignerSerializerAttribute.cs (1)
88_typeId = string.Concat(GetType().FullName, baseType);
System\ComponentModel\Design\ServiceContainer.cs (4)
85throw new ArgumentException(SR.Format(SR.ErrorInvalidServiceInstance, serviceType.FullName)); 90throw new ArgumentException(SR.Format(SR.ErrorServiceExists, serviceType.FullName), nameof(serviceType)); 127throw new ArgumentException(SR.Format(SR.ErrorServiceExists, serviceType.FullName), nameof(serviceType)); 256public int GetHashCode(Type obj) => obj.FullName!.GetHashCode();
System\ComponentModel\LicenseException.cs (3)
26public LicenseException(Type? type) : this(type, null, SR.Format(SR.LicExceptionTypeOnly, type?.FullName)) 33public LicenseException(Type? type, object? instance) : this(type, null, SR.Format(SR.LicExceptionTypeAndInstance, type?.FullName, instance?.GetType().FullName))
System\ComponentModel\LicenseProviderAttribute.cs (2)
82typeName = _licenseProviderType.FullName; 84return GetType().FullName + typeName;
System\ComponentModel\LicFileLicenseProvider.cs (2)
38return type.FullName + " is a licensed component."; 82string licenseFile = moduleDir + "\\" + type.FullName + ".lic";
System\ComponentModel\MarshalByValueComponent.cs (2)
165return s.Name + " [" + GetType().FullName + "]"; 167return GetType().FullName;
System\ComponentModel\ProvidePropertyAttribute.cs (1)
64public override object TypeId => GetType().FullName + PropertyName;
System\ComponentModel\ReflectEventDescriptor.cs (3)
89Debug.Assert(type.IsSubclassOf(typeof(Delegate)), $"Not a valid ReflectEvent: {componentClass.FullName}. {name} {type.FullName}"); 368Debug.Fail($"Missing event accessors for {_componentClass.FullName}. {Name}");
System\ComponentModel\ReflectPropertyDescriptor.cs (4)
88Debug.WriteLine($"Creating ReflectPropertyDescriptor for {componentClass?.FullName}.{name}"); 107Debug.Fail($"Property '{name}' on component {componentClass?.FullName} failed to init."); 343throw new InvalidOperationException(SR.Format(SR.ErrorMissingPropertyAccessors, _componentClass.FullName + "." + Name)); 931name ??= component.GetType().FullName;
System\ComponentModel\ReflectTypeDescriptionProvider.ReflectedTypeData.cs (3)
155internal string? GetClassName() => _type.FullName; 376Debug.Fail($"Editor {editor.GetType().FullName} is not an instance of {editorBaseType.FullName} but it is in that base types table.");
System\ComponentModel\ToolboxItemFilterAttribute.cs (1)
81public override object TypeId => _typeId ??= GetType().FullName + FilterString;
System\ComponentModel\TypeConverter.cs (3)
194string? valueTypeName = value == null ? (SR.UsingResourceKeys() ? "(null)" : SR.Null) : value.GetType().FullName; 204string? valueTypeName = value == null ? (SR.UsingResourceKeys() ? "(null)" : SR.Null) : value.GetType().FullName; 205throw new NotSupportedException(SR.Format(SR.ConvertToException, GetType().Name, valueTypeName, destinationType.FullName));
System\ComponentModel\TypeDescriptor.cs (54)
2095throw new ArgumentException(SR.Format(SR.TypeDescriptorExpectedElementType, typeof(Attribute).FullName)); 2108throw new ArgumentException(SR.Format(SR.TypeDescriptorExpectedElementType, typeof(PropertyDescriptor).FullName)); 2121throw new ArgumentException(SR.Format(SR.TypeDescriptorExpectedElementType, typeof(EventDescriptor).FullName)); 3446if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3448if (attrs == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetAttributes")); 3469if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3470string? name = desc.GetClassName() ?? _instance.GetType().FullName; 3491if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3512if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3514if (converter == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetConverter")); 3534if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3536if (converter == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetConverter")); 3557if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3577if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3599if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3619if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3621if (events == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetEvents")); 3640if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptorFromRegisteredType")); 3642if (events == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetEventsFromRegisteredType")); 3667if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3669if (evts == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetEvents")); 3689if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3691if (properties == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetProperties")); 3710if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3712if (properties == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetProperties")); 3737if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3739if (properties == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetProperties")); 3761if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3809throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 3812throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetAttributes")); 3836throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 3837name = desc.GetClassName() ?? _objectType.FullName; 3861throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 3887throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 3890throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetConverter")); 3914throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 3917throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetConverterFromRegisteredType")); 3942throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 3968throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 3996throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 4021throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 4024throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetEvents")); 4048throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptorFromRegisteredType")); 4051throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetEventsFromRegisteredType")); 4076throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 4079throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetEvents")); 4104throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 4108throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetProperties")); 4132throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 4137throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetPropertiesFromRegisteredType")); 4162throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 4165throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetProperties")); 4189throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 4213throw new InvalidOperationException(SR.Format(SR.TypeIsNotRegistered, type.FullName));
System\ComponentModel\TypeListConverter.cs (2)
55if (value.Equals(t.FullName)) 80return ((Type)value).FullName;
System.Composition.Convention (8)
src\libraries\Common\src\System\Composition\Diagnostics\CompositionTrace.cs (8)
19type.FullName); 32type.FullName); 51member.Name, type.FullName); 70member.Name, type.FullName); 89member.Name, type.FullName); 104type.FullName); 123member.Name, type.FullName); 138type.FullName);
System.Configuration.ConfigurationManager (13)
System\Configuration\ApplicationSettingsBase.cs (2)
406SettingChangingEventArgs e = new SettingChangingEventArgs(propertyName, this.GetType().FullName, SettingsKey, value, false); 550_context["GroupName"] = type.FullName;
System\Configuration\ConfigurationElement.cs (1)
868tw.WriteLine("Type: " + GetType().FullName);
System\Configuration\SubclassTypeValidator.cs (2)
33throw new ArgumentException(SR.Format(SR.Subclass_validator_error, ((Type)value).FullName, 34_base.FullName));
System\Configuration\TypeUtil.cs (2)
164SR.Format(SR.Config_type_doesnt_inherit_from_type, type.FullName, baseType.FullName));
System\Diagnostics\ListenerElementsCollection.cs (4)
47defaultListener.TypeName = typeof(DefaultTraceListener).FullName; 59if (listenerElement.Name.Equals("Default") && listenerElement.TypeName.Equals(typeof(DefaultTraceListener).FullName)) 157if (Name.Equals("Default") && TypeName.Equals(typeof(DefaultTraceListener).FullName)) 165&& compareToElem.TypeName.Equals(typeof(DefaultTraceListener).FullName);
System\Diagnostics\TraceConfiguration.cs (1)
124if (sourceTypeName == currentType.FullName)
System\Diagnostics\TraceUtils.cs (1)
46throw new ConfigurationErrorsException(SR.Format(SR.Incorrect_base_type, className, baseType.FullName));
System.Data.Common (31)
src\libraries\Common\src\System\Data\Common\AdapterUtil.cs (2)
292return ADP.Argument(SR.Format(SR.SqlConvert_ConvertFailed, fromType.FullName, toType.FullName), innerException);
System\Data\Common\DbProviderFactories.cs (1)
173throw ADP.Argument(SR.Format(SR.ADP_DbProviderFactories_NotAFactoryType, providerFactoryClass.FullName));
System\Data\Common\SqlUDTStorage.cs (1)
183typeName = XSDSchema.XsdtoClr(xsdTypeName).FullName!;
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\Filter\FilterException.cs (1)
328return ExceptionBuilder._Argument(SR.Format(SR.Expr_UnsupportedType, type.FullName));
System\Data\Filter\FunctionNode.cs (3)
424Debug.Assert((argumentValues[0] is string) || (argumentValues[0] is SqlString), $"Invalid first argument {argumentValues[0].GetType().FullName} in {s_funcs[_info]._name}"); 425Debug.Assert(argumentValues[1] is int, $"Invalid second argument {argumentValues[1].GetType().FullName} in {s_funcs[_info]._name}"); 426Debug.Assert(argumentValues[2] is int, $"Invalid third argument {argumentValues[2].GetType().FullName} in {s_funcs[_info]._name}");
System\Data\Merger.cs (2)
480SR.Format(SR.DataMerge_MissingConstraint, src.GetType().FullName, src.ConstraintName), 506SR.Format(SR.DataMerge_MissingConstraint, src.GetType().FullName, src.ConstraintName),
System\Data\TypeLimiter.cs (1)
214throw new ObjectDisposedException(GetType().FullName);
System\Data\XDRSchema.cs (1)
490throw ExceptionBuilder.CannotConvert(strDefault, type.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\XMLSchema.cs (7)
64throw ExceptionBuilder.CannotConvert(value, type.FullName); 311throw ExceptionBuilder.CannotConvert(value, type.FullName); 2088throw ExceptionBuilder.CannotConvert(defValue, type.FullName); 2190throw ExceptionBuilder.CannotConvert(defValue, type.FullName); 2337throw ExceptionBuilder.CannotConvert(defValue, type.FullName); 2354throw ExceptionBuilder.CannotConvert(strDefault, type.FullName); 2556throw ExceptionBuilder.CannotConvert(strDefault, type.FullName);
System.Data.Odbc (5)
Common\System\Data\Common\AdapterUtil.Odbc.cs (2)
370return Argument(SR.GetString(SR.ADP_UnknownDataType, dataType.FullName!)); 378return Argument(SR.GetString(SR.ADP_UnknownDataTypeCode, ((int)typeCode).ToString(CultureInfo.InvariantCulture), dataType.FullName!));
src\libraries\Common\src\System\Data\Common\AdapterUtil.cs (2)
292return ADP.Argument(SR.Format(SR.SqlConvert_ConvertFailed, fromType.FullName, toType.FullName), innerException);
System\Data\Odbc\OdbcMetaDataFactory.cs (1)
282dataTypesRow[dataTypeColumn] = typeMap._type.FullName;
System.Diagnostics.TraceSource (1)
System\Diagnostics\TraceUtils.cs (1)
24throw new ArgumentException(SR.Format(SR.AttributeNotSupported, key, parent.GetType().FullName));
System.Formats.Asn1 (1)
System\Formats\Asn1\AsnDecoder.Enumerated.cs (1)
261backingType.FullName));
System.Formats.Nrbf (1)
System\Formats\Nrbf\SerializationRecord.cs (1)
113if (type.FullName == typeName.FullName)
System.Linq.Expressions (2)
System\Linq\Expressions\ExpressionStringBuilder.cs (1)
793Out(node.NodeType == ExpressionType.Extension ? node.GetType().FullName : node.NodeType.ToString());
System\Linq\Expressions\Strings.cs (1)
17=> SR.Format(SR.LiftingInExpressionRequiresDynamicCode, type.FullName);
System.Net.Http (3)
src\libraries\Common\src\System\Net\DebugSafeHandleZeroOrMinusOneIsInvalid.cs (1)
19_trace = "WARNING! GC-ed >>" + this.GetType().FullName + "<< (should be explicitly closed) \r\n";
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
161if (toString == null || toString == value.GetType().FullName)
System\Net\Http\DiagnosticsHelper.cs (1)
100_ => exception.GetType().FullName!
System.Net.HttpListener (1)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
161if (toString == null || toString == value.GetType().FullName)
System.Net.Mail (2)
src\libraries\Common\src\System\Net\DebugSafeHandleZeroOrMinusOneIsInvalid.cs (1)
19_trace = "WARNING! GC-ed >>" + this.GetType().FullName + "<< (should be explicitly closed) \r\n";
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
161if (toString == null || toString == value.GetType().FullName)
System.Net.NameResolution (2)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
161if (toString == null || toString == value.GetType().FullName)
System\Net\NameResolutionTelemetry.cs (1)
152_ => exception.GetType().FullName!
System.Net.Ping (1)
System\Net\NetworkInformation\Ping.cs (1)
102throw new ObjectDisposedException(GetType().FullName);
System.Net.Primitives (4)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
161if (toString == null || toString == value.GetType().FullName)
System\Net\IPEndPoint.cs (3)
160throw new ArgumentException(SR.Format(SR.net_InvalidAddressFamily, socketAddress.Family.ToString(), GetType().FullName), nameof(socketAddress)); 166throw new ArgumentException(SR.Format(SR.net_InvalidSocketAddressSize, socketAddress.GetType().FullName, GetType().FullName), nameof(socketAddress));
System.Net.Quic (4)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
161if (toString == null || toString == value.GetType().FullName)
System\Net\Quic\QuicConnection.cs (2)
677Exception exception = ExceptionDispatchInfo.SetCurrentStackTrace(_disposed ? new ObjectDisposedException(GetType().FullName) : ThrowHelper.GetOperationAbortedException()); 863_acceptQueue.Writer.TryComplete(ExceptionDispatchInfo.SetCurrentStackTrace(new ObjectDisposedException(GetType().FullName)));
System\Net\Quic\QuicListener.cs (1)
433_acceptQueue.Writer.TryComplete(ExceptionDispatchInfo.SetCurrentStackTrace(new ObjectDisposedException(GetType().FullName)));
System.Net.Requests (1)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
161if (toString == null || toString == value.GetType().FullName)
System.Net.Security (3)
src\libraries\Common\src\System\Net\DebugSafeHandleZeroOrMinusOneIsInvalid.cs (1)
19_trace = "WARNING! GC-ed >>" + this.GetType().FullName + "<< (should be explicitly closed) \r\n";
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
161if (toString == null || toString == value.GetType().FullName)
System\Net\Security\NetSecurityTelemetry.cs (1)
348activity.SetTag("error.type", exception.GetType().FullName);
System.Net.Sockets (8)
src\libraries\Common\src\System\Net\DebugSafeHandleMinusOneIsInvalid.cs (1)
19_trace = "WARNING! GC-ed >>" + this.GetType().FullName + "<< (should be explicitly closed) \r\n";
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
161if (toString == null || toString == value.GetType().FullName)
System\Net\Sockets\Socket.Unix.cs (1)
167throw new ObjectDisposedException(GetType().FullName);
System\Net\Sockets\SocketPal.Unix.cs (4)
1900throw new ArgumentException(SR.Format(SR.net_sockets_select, socket?.GetType().FullName ?? "null", typeof(Socket).FullName), nameof(socketList)); 2007throw new ArgumentException(SR.Format(SR.net_sockets_select, socket?.GetType().FullName ?? "null", typeof(Socket).FullName), nameof(socketList));
System\Net\Sockets\TCPListener.cs (1)
303throw new ObjectDisposedException(typeof(Socket).FullName);
System.Net.WebSockets (1)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
161if (toString == null || toString == value.GetType().FullName)
System.Net.WebSockets.Client (2)
System\Net\WebSockets\ClientWebSocket.cs (2)
111throw new ObjectDisposedException(GetType().FullName); 141throw new ObjectDisposedException(GetType().FullName);
System.Private.CoreLib (42)
src\libraries\System.Private.CoreLib\src\System\Convert.cs (2)
219throw new InvalidCastException(SR.Format(SR.InvalidCast_FromTo, value.GetType().FullName, targetType.FullName));
src\libraries\System.Private.CoreLib\src\System\Diagnostics\DiagnosticMethodInfo.cs (1)
36return declaringType?.FullName;
src\libraries\System.Private.CoreLib\src\System\Diagnostics\StackTrace.cs (1)
258string fullName = declaringType.FullName!;
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (4)
3084string.Equals(attributeType.FullName, reflectedAttributeType.FullName, StringComparison.Ordinal) || 3111if (reflectionOnly && ret.FullName != typeof(EventSource).FullName ||
src\libraries\System.Private.CoreLib\src\System\Reflection\Assembly.cs (1)
35typeinfos[i] = types[i].GetTypeInfo() ?? throw new NotSupportedException(SR.Format(SR.NotSupported_NoTypeInfo, types[i].FullName));
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyName.cs (1)
179throw new MissingMethodException(readerType.FullName, "GetAssemblyName");
src\libraries\System.Private.CoreLib\src\System\Reflection\CustomAttributeData.cs (1)
52vsb.Append(Constructor.DeclaringType!.FullName);
src\libraries\System.Private.CoreLib\src\System\Reflection\CustomAttributeTypedArgument.cs (3)
43return typed ? $"{Value}" : $"({ArgumentType.FullName}){Value}"; 55return $"typeof({((Type)Value!).FullName})"; 64result.Append(elementType.IsEnum ? elementType.FullName : elementType.Name);
src\libraries\System.Private.CoreLib\src\System\Reflection\ModifiedFunctionPointerType.cs (1)
74if (type.FullName!.StartsWith(CallingConventionTypePrefix, StringComparison.Ordinal))
src\libraries\System.Private.CoreLib\src\System\Reflection\ModifiedType.cs (1)
93public override string? FullName => _unmodifiedType.FullName;
src\libraries\System.Private.CoreLib\src\System\Reflection\TypeDelegator.cs (1)
55public override string? FullName => typeImpl.FullName;
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.Core.cs (2)
88throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResType_SerBlobMismatch, type.FullName, graph.GetType().FullName));
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (2)
490throw new InvalidOperationException(SR.Format(SR.InvalidOperation_ResourceNotString_Type, FindType(typeIndex).FullName)); 502typeString = FindType(typeCode - ResourceTypeCode.StartOfUserTypes).FullName;
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncMethodBuilderCore.cs (1)
97sb.AppendLine(stateMachineType.FullName);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComSourceInterfacesAttribute.cs (10)
19Value = sourceInterface.FullName!; 24Value = sourceInterface1.FullName + "\0" + sourceInterface2.FullName; 29Value = sourceInterface1.FullName + "\0" + sourceInterface2.FullName + "\0" + sourceInterface3.FullName; 34Value = sourceInterface1.FullName + "\0" + sourceInterface2.FullName + "\0" + sourceInterface3.FullName + "\0" + sourceInterface4.FullName;
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (1)
1087return type.FullName;
src\libraries\System.Private.CoreLib\src\System\Runtime\Serialization\SerializationInfo.cs (2)
36_rootTypeName = type.FullName!; 89_rootTypeName = type.FullName!;
src\libraries\System.Private.CoreLib\src\System\Threading\CancellationTokenSource.cs (1)
309return Task.FromException(new ObjectDisposedException(GetType().FullName, SR.CancellationTokenSource_Disposed));
src\libraries\System.Private.CoreLib\src\System\Threading\Timer.cs (1)
526string? typeName = _timerCallback.Method.DeclaringType?.FullName;
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (2)
458throw new ObjectDisposedException(instance?.GetType().FullName); 464throw new ObjectDisposedException(type?.FullName);
src\System\Reflection\Emit\RuntimeModuleBuilder.cs (1)
208string typeName = type.FullName!;
src\System\Reflection\RtFieldInfo.cs (1)
60internal string FullName => DeclaringType!.FullName + "." + Name;
src\System\Runtime\InteropServices\Marshal.CoreCLR.cs (1)
46throw new ArgumentException(SR.Format(SR.Argument_OffsetOfFieldNotFound, t.FullName), nameof(fieldName));
System.Private.DataContractSerialization (11)
src\libraries\Common\src\System\CodeDom\CodeTypeReference.cs (1)
133typeName = typeof(void).FullName!;
System\Runtime\Serialization\CollectionDataContract.cs (3)
1323Array.Sort(parentInterfaceTypes, (x, y) => string.Compare(x.FullName, y.FullName)); 1350interfaceType.GetInterfaces().Where(t => t.FullName!.StartsWith("System.Collections.Generic.IEnumerable")).FirstOrDefault() ??
System\Runtime\Serialization\DataContract.cs (2)
1435GenericInfo genericInfo = new GenericInfo(DataContract.GetXmlName(Globals.TypeOfNullable), Globals.TypeOfNullable.FullName!); 1675return !type.IsGenericTypeDefinition && type.ContainsGenericParameters ? type.Namespace + "." + type.Name : type.FullName!;
System\Runtime\Serialization\SchemaImporter.cs (2)
1122GenericInfo genericInfo = new GenericInfo(DataContract.GetXmlName(Globals.TypeOfKeyValue), Globals.TypeOfKeyValue.FullName); 1140genericInfo = new GenericInfo(DataContract.GetXmlName(Globals.TypeOfNullable), Globals.TypeOfNullable.FullName);
System\Runtime\Serialization\XmlDataContract.cs (2)
275bool memberAccessFlag = RequiresMemberAccessForCreate(null) && !(type.FullName == "System.Xml.Linq.XElement"); 303if (!ctor.IsPublic && type.FullName == "System.Xml.Linq.XElement")
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (1)
462throw new SerializationException(SR.Format(SR.RequiredMemberMustBeEmitted, memberName, type.FullName));
System.Private.Windows.Core (32)
System\Private\Windows\BinaryFormat\BinaryFormatWriter.cs (15)
60new ClassInfo(1, typeof(decimal).FullName!, s_decimalMemberNames), 85new ClassInfo(1, typeof(DateTime).FullName!, s_dateTimeMemberNames), 102new ClassInfo(1, typeof(TimeSpan).FullName!, s_ticksName), 114new ClassInfo(1, typeof(nint).FullName!, s_valueName), 126new ClassInfo(1, typeof(nuint).FullName!, s_valueName), 139new ClassInfo(1, typeof(Point).FullName!, s_pointMemberNames), 158new ClassInfo(1, typeof(Rectangle).FullName!, s_rectangleMemberNames), 181new ClassInfo(1, typeof(Size).FullName!, s_sizeMemberNames), 200new ClassInfo(1, typeof(PointF).FullName!, s_pointMemberNames), 219new ClassInfo(1, typeof(RectangleF).FullName!, s_rectangleMemberNames), 242new ClassInfo(1, typeof(SizeF).FullName!, s_sizeMemberNames), 261new ClassInfo(1, typeof(Color).FullName!, s_colorMemberNames), 332new ClassInfo(1, type.FullName!, s_primitiveMemberName), 382$"System.Collections.Generic.List`1[[{typeof(T).FullName}, {TypeInfo.MscorlibAssemblyName}]]", 477new ClassInfo(1, typeof(ArrayList).FullName!, s_listMemberNames),
System\Private\Windows\BinaryFormat\Deserializer\PendingSerializationInfo.cs (1)
78throw new SerializationException(string.Format(SR.Serialization_MissingCtor, type.FullName));
System\Private\Windows\Ole\BinaryFormatUtilities.cs (4)
36throw new SerializationException(string.Format(SR.UnexpectedTypeForClipboardFormat, data.GetType().FullName)); 106if (record.TypeName.FullName == typeof(NotSupportedException).FullName 126typeof(T).FullName)); 175if (record.TypeName.FullName == typeof(NotSupportedException).FullName
System\Private\Windows\Ole\ClipboardCore.cs (1)
164type.FullName,
System\Private\Windows\Ole\Composition.cs (1)
104ManagedDataObject.TryGetData(typeof(T).FullName.OrThrowIfNull(), out data);
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (4)
410typeof(T).FullName)); 511public object? GetData(Type format) => GetData(format.FullName.OrThrowIfNull()); 512public bool GetDataPresent(Type format) => GetDataPresent(format.FullName.OrThrowIfNull()); 621typeof(T).FullName.OrThrowIfNull(),
System\Private\Windows\Ole\DataStore.cs (4)
80public object? GetData(Type format) => GetData(format.FullName!); 99SetData(format.FullName.OrThrowIfNull(), data); 115public bool GetDataPresent(Type format) => GetDataPresent(format.FullName!); 198TryGetDataInternal(typeof(T).FullName!, autoConvert: false, out data);
System\TypeExtensions.cs (2)
91if (type.FullName == typeName.FullName) 270return type.FullName.OrThrowIfNull();
System.Private.Windows.Core.TestUtilities (3)
BinarySerialization.cs (2)
22string? fullName = type.FullName; 53throw new NotSupportedException($"Serializable attribute is not expected on {type.FullName}");
NoAssertContext.cs (1)
110: base(typeof(NoAssertListener).FullName)
System.Private.Xml (215)
System\Xml\Serialization\Compilation.cs (5)
183XmlSerializationEventSource.Log.XmlSerializerExpired(serializerName, type.FullName!); 351throw new InvalidOperationException(SR.Format(SR.XmlPregenTypeDynamic, types[i]!.FullName)); 356writer.Write(typeof(XmlSerializerVersionAttribute).FullName); 535MissingMethodException missingMethod = new MissingMethodException($"{type.FullName}::{methodName}"); 603throw new InvalidOperationException(SR.Format(SR.XmlTypeInBadLoadContext, t.FullName));
System\Xml\Serialization\Mappings.cs (6)
1241throw new InvalidOperationException(SR.Format(SR.XmlSerializableRootDupName, _getSchemaMethod!.DeclaringType!.FullName, e.Name, elementNs)); 1294throw new InvalidOperationException(SR.Format(SR.XmlGetSchemaEmptyTypeName, _type!.FullName, _getSchemaMethod.Name)); 1299throw new InvalidOperationException(SR.Format(SR.XmlGetSchemaMethodReturnType, _type!.Name, _getSchemaMethod.Name, nameof(XmlSchemaProviderAttribute), typeof(XmlQualifiedName).FullName)); 1327throw new InvalidOperationException(SR.Format(SR.XmlGetSchemaInclude, _xsiType.Namespace, _getSchemaMethod.DeclaringType!.FullName, _getSchemaMethod.Name)); 1337throw new InvalidOperationException(SR.Format(SR.XmlGetSchemaTypeMissing, _getSchemaMethod.DeclaringType!.FullName, _getSchemaMethod.Name, _xsiType.Name, _xsiType.Namespace)); 1350if (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 (1)
955bool isDoc = specialMapping.TypeDesc.FullName == typeof(XmlDocument).FullName;
System\Xml\Serialization\SchemaImporter.cs (1)
97throw new InvalidOperationException(SR.Format(SR.XmlInvalidBaseType, structMapping.TypeDesc!.FullName, baseType.FullName, typeDescToChange.BaseTypeDesc.FullName));
System\Xml\Serialization\SoapAttributeOverrides.cs (1)
32throw new InvalidOperationException(SR.Format(SR.XmlMultipleAttributeOverrides, type.FullName, member));
System\Xml\Serialization\SoapReflectionImporter.cs (3)
185throw new InvalidOperationException(SR.Format(SR.XmlInvalidTypeAttributes, model.Type.FullName)); 751throw new InvalidOperationException(SR.Format(SR.XmlInvalidDefaultEnumValue, a.SoapDefaultValue.GetType().FullName, fieldTypeDesc.FullName)); 755throw new InvalidOperationException(SR.Format(SR.XmlInvalidDefaultValue, strValue, a.SoapDefaultValue.GetType().FullName));
System\Xml\Serialization\Types.cs (16)
124: this(type!.Name, type.FullName!, dataType, TypeKind.Primitive, (TypeDesc?)null, flags, formatterName) 766exception = new InvalidOperationException(SR.Format(SR.XmlTypeInaccessible, type.FullName)); 771exception = new InvalidOperationException(SR.Format(SR.XmlTypeStatic, type.FullName)); 789exception ??= new NotSupportedException(SR.Format(SR.XmlSerializerUnsupportedType, type.FullName)); 807exception ??= new NotSupportedException(SR.Format(SR.XmlUnsupportedRank, type.FullName)); 815arrayElementType = GetCollectionElementType(type, memberInfo == null ? null : $"{memberInfo.DeclaringType!.FullName}.{memberInfo.Name}"); 826exception ??= new NotSupportedException(SR.Format(SR.XmlSerializerUnsupportedType, type.FullName)); 881exception = new NotSupportedException(SR.Format(SR.XmlUnsupportedInterface, type.FullName)); 885exception = new NotSupportedException(SR.Format(SR.XmlUnsupportedInterfaceDetails, $"{memberInfo.DeclaringType!.FullName}.{memberInfo.Name}", type.FullName)); 893exception ??= new NotSupportedException(SR.Format(SR.XmlSerializerUnsupportedType, type.FullName)); 1298throw new InvalidOperationException(SR.Format(SR.XmlNoAddMethod, type.FullName, currentType, "IEnumerable")); 1315throw new NotSupportedException(SR.Format(SR.XmlUnsupportedIDictionary, type.FullName)); 1319throw new NotSupportedException(SR.Format(SR.XmlUnsupportedIDictionaryDetails, memberInfo, type.FullName)); 1349throw new InvalidOperationException(SR.Format(SR.XmlNoDefaultAccessors, type.FullName)); 1354throw new InvalidOperationException(SR.Format(SR.XmlNoAddMethod, type.FullName, indexer.PropertyType, "ICollection"));
System\Xml\Serialization\XmlAttributeOverrides.cs (1)
42throw new InvalidOperationException(SR.Format(SR.XmlAttributeSetAgain, type.FullName, member));
System\Xml\Serialization\Xmlcustomformatter.cs (1)
75throw new XmlException(SR.Format(SR.XmlUnsupportedDefaultType, type.FullName));
System\Xml\Serialization\XmlMapping.cs (1)
117return $"{type.FullName}:{(root == null ? string.Empty : root.GetKey())}:{ns ?? string.Empty}";
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)); 877throw new InvalidOperationException(SR.Format(SR.XmlIllegalMultipleText, model.Type.FullName)); 884throw new InvalidOperationException(SR.Format(SR.XmlMultipleXmlns, model.Type.FullName)); 931throw new InvalidOperationException(SR.Format(SR.XmlMultipleXmlns, model.Type.FullName)); 1434throw new InvalidOperationException(SR.Format(SR.XmlChoiceIdentifierType, identifierName, memberName, type.GetElementType()!.FullName)); 1441throw new InvalidOperationException(SR.Format(SR.XmlChoiceIdentifierArrayType, identifierName, memberName, type.FullName)); 1686throw new InvalidOperationException(SR.Format(SR.XmlIllegalAnyElement, arrayElementType.FullName)); 1862throw new InvalidOperationException(SR.Format(SR.XmlXmlnsInvalidType, accessorName, accessorType.FullName, typeof(System.Xml.Serialization.XmlSerializerNamespaces).FullName)); 1927throw new InvalidOperationException(SR.Format(SR.XmlIllegalAnyElement, accessorType.FullName)); 2112XmlArrayItemAttribute? item = (XmlArrayItemAttribute?)arrayTypes[type.FullName, ns]; 2119arrayTypes[type.FullName, ns] = items[i]; 2159throw new InvalidOperationException(SR.Format(SR.XmlInvalidDefaultValue, strValue, a.XmlDefaultValue.GetType().FullName)); 2198throw new InvalidOperationException(SR.Format(SR.XmlInternalErrorDetails, "Bad accessor type " + accessor.GetType().FullName));
System\Xml\Serialization\XmlSchemaExporter.cs (1)
876if (value.GetType() != typeof(string)) throw new InvalidOperationException(SR.Format(SR.XmlInternalErrorDetails, SR.Format(SR.XmlInvalidDefaultValue, value, value.GetType().FullName)));
System\Xml\Serialization\XmlSchemaImporter.cs (3)
71throw new InvalidOperationException(SR.Format(SR.XmlBadBaseElement, name.Name, name.Namespace, baseType.FullName)); 124throw new InvalidOperationException(SR.Format(SR.XmlBadBaseType, typeName.Name, typeName.Namespace, baseType.FullName)); 1738if (sourceTypeDesc != null && sourceTypeDesc.FullName != typeof(string).FullName)
System\Xml\Serialization\XmlSchemas.cs (1)
262throw new InvalidOperationException(SR.Format(SR.XmlInternalErrorDetails, "XmlSchemas.Find: Invalid object type " + type.FullName));
System\Xml\Serialization\XmlSerializationGeneratedCode.cs (18)
103_writer.Write(typeof(Hashtable).FullName); 108_writer.Write(typeof(Hashtable).FullName); 123_writer.Write(typeof(Hashtable).FullName); 125_writer.Write(typeof(Hashtable).FullName); 170_writer.Write(typeof(bool).FullName); 172_writer.Write(typeof(Type).FullName); 209_writer.Write(typeof(System.Xml.Serialization.XmlSerializer).FullName); 214_writer.Write(typeof(System.Xml.Serialization.XmlSerializationReader).FullName); 224_writer.Write(typeof(System.Xml.Serialization.XmlSerializationWriter).FullName); 254_writer.Write(typeof(bool).FullName); 256_writer.Write(typeof(XmlReader).FullName); 279_writer.Write(typeof(System.Xml.Serialization.XmlSerializationWriter).FullName); 299_writer.Write(typeof(System.Xml.Serialization.XmlSerializationReader).FullName); 336_writer.Write(typeof(System.Xml.Serialization.XmlSerializer).FullName); 338_writer.Write(typeof(Type).FullName); 371_writer.Write(typeof(System.Xml.Serialization.XmlSerializerImplementation).FullName); 376_writer.Write(typeof(System.Xml.Serialization.XmlSerializationReader).FullName); 382_writer.Write(typeof(System.Xml.Serialization.XmlSerializationWriter).FullName);
System\Xml\Serialization\XmlSerializationReader.cs (50)
1326return new InvalidCastException(SR.Format(SR.XmlInvalidNullCast, type.FullName)); 1328return new InvalidCastException(SR.Format(SR.XmlInvalidCast, value.GetType().FullName, type.FullName)); 1330return new InvalidCastException(SR.Format(SR.XmlInvalidCastWithId, value.GetType().FullName, type.FullName, id)); 1547throw new InvalidOperationException(SR.Format(SR.XmlInvalidArrayRef, id, o.GetType().FullName, i.ToString(CultureInfo.InvariantCulture))); 1666throw new NotSupportedException(SR.Format(SR.XmlRpcArrayOfValueTypes, elementType.FullName)); 2237Writer.Write(typeof(System.Xml.Serialization.XmlSerializationReader).FullName); 2409Writer.Write(typeof(XmlSerializationReadCallback).FullName); 2759item = typeof(Array).FullName!; 2776Writer.Write($"{RaCodeGen.GetReflectionVariable(typeof(Array).FullName!, "0")}[ci , i]"); 2860Writer.Write(typeof(XmlConvert).FullName); 2903Writer.Write(typeof(Hashtable).FullName); 2910Writer.Write(typeof(Hashtable).FullName); 2924Writer.Write(typeof(Hashtable).FullName); 2926Writer.Write(typeof(Hashtable).FullName); 3006Writer.Write(typeof(Enum).FullName); 3135Writer.Write(typeof(Array).FullName); 3229Writer.Write(typeof(XmlQualifiedName).FullName); 3276Writer.Write(typeof(XmlQualifiedName).FullName); 3596Writer.Write(typeof(XmlSerializationCollectionFixupCallback).FullName); 3629Writer.Write(typeof(XmlQualifiedName).FullName); 3635Writer.Write(typeof(XmlQualifiedName).FullName); 3757Writer.Write(typeof(XmlAttribute).FullName); 3760Writer.Write(typeof(XmlAttribute).FullName); 3809Writer.Write(typeof(XmlAttribute).FullName); 3814Writer.Write(typeof(XmlAttribute).FullName); 3885Writer.Write(typeof(XmlSerializationFixupCallback).FullName); 4016Writer.Write(typeof(XmlNodeType).FullName); 4046Writer.Write(typeof(XmlNodeType).FullName); 4049Writer.Write(typeof(XmlNodeType).FullName); 4052Writer.Write(typeof(XmlNodeType).FullName); 4055Writer.Write(typeof(XmlNodeType).FullName); 4810bool isDoc = special.TypeDesc.FullName == typeof(XmlDocument).FullName; 4823Writer.Write(typeof(XmlQualifiedName).FullName); 4834Writer.Write(typeof(IXmlSerializable).FullName); 4903Writer.Write(typeof(IXmlSerializable).FullName); 4925WriteQuotedCSharpString(derived.Type.FullName); 4927WriteQuotedCSharpString(head.Type.FullName); 4939WriteQuotedCSharpString(head.Type!.FullName); 4954Writer.Write(typeof(XmlNodeType).FullName); 4956Writer.Write(typeof(XmlNodeType).FullName); 4980Writer.Write(typeof(XmlNodeType).FullName); 4987Writer.Write(typeof(XmlConvert).FullName); 5001Writer.Write(typeof(ArrayList).FullName); 5005Writer.Write(typeof(ArrayList).FullName); 5008Writer.Write(typeof(ArrayList).FullName); 5012Writer.Write(typeof(ArrayList).FullName); 5029Writer.Write(typeof(Type).FullName); 5096Writer.Write(exceptionType.FullName);
System\Xml\Serialization\XmlSerializationReaderILGen.cs (4)
3178bool isDoc = special.TypeDesc.FullName == typeof(XmlDocument).FullName; 3323ilg.Ldstr(GetCSharpString(derived.Type.FullName)); 3324ilg.Ldstr(GetCSharpString(head.Type.FullName)); 3339ilg.Ldstr(GetCSharpString(head.Type!.FullName));
System\Xml\Serialization\XmlSerializationWriter.cs (65)
500if (_objectsInUse.ContainsKey(o)) throw new InvalidOperationException(SR.Format(SR.XmlCircularReference, o.GetType().FullName)); 658if (!_objectsInUse.ContainsKey(o)) throw new InvalidOperationException(SR.Format(SR.XmlInternalErrorDetails, "missing stack object of type " + o.GetType().FullName)); 820if (typeof(IXmlSerializable).IsAssignableFrom(type)) return new InvalidOperationException(SR.Format(SR.XmlInvalidSerializable, type.FullName)); 822if (!typeDesc.IsStructLike) return new InvalidOperationException(SR.Format(SR.XmlInvalidUseOfType, type.FullName)); 823return new InvalidOperationException(SR.Format(SR.XmlUnxpectedType, type.FullName)); 860return new InvalidOperationException(SR.Format(SR.XmlIllegalAnyElement, type.FullName)); 1284if (!typeof(IEnumerable).IsAssignableFrom(type)) throw new InvalidOperationException(SR.Format(SR.XmlInternalErrorDetails, "not array like type " + type.FullName)); 1634_writer.WriteLine($"static {typeof(Type).FullName} {typeVariable} = {elementTypeVariable}.MakeArrayType();"); 1639_writer.Write($"static {typeof(Type).FullName} {typeVariable} = {assemblyVariable}.GetType("); 1640WriteQuotedCSharpString(type.FullName); 1652_writer.WriteLine($"static {typeof(Type).FullName} {typeVariable} = typeof(System.Nullable<>).MakeGenericType(new {typeof(Type).FullName}[] {{{parameterTypeVariable}}});"); 1657_writer.Write($"static {typeof(Type).FullName} {typeVariable} = {assemblyVariable}.GetType("); 1658WriteQuotedCSharpString(type.FullName); 1686"object", "string", typeof(Type).FullName, 1687typeof(FieldInfo).FullName, typeof(PropertyInfo).FullName)); 1689WriteDefaultIndexerInit(typeof(IList), typeof(Array).FullName!, false, false); 1764_writer.Write($"static {typeof(Assembly).FullName} {assemblyVariable} = ResolveDynamicAssembly("); 1803_writer.Write($"static {typeof(MethodInfo).FullName} {methodVariable} = {typeVariable}.GetMethod("); 1807string bindingFlags = typeof(BindingFlags).FullName!; 1822_writer.Write($"new {typeof(Type).FullName}[] {{ "); 1849_writer.Write(typeof(Type[]).FullName); 1914return $"{typeof(Convert).FullName}.ToInt64({variable})"; 1915return $"(({typeof(long).FullName}){variable})"; 1981string typeFullName = arrayTypeDesc.IsCollection ? arrayTypeDesc.CSharpName : typeof(Array).FullName!; 2014createInstance.Append(typeof(Activator).FullName); 2018string bindingFlags = typeof(BindingFlags).FullName!; 2094typeName = typeof(IEnumerable).FullName!; 2096typeName = typeof(ICollection).FullName!; 2098typeName = typeof(Array).FullName!; 2254Writer.Write(typeof(System.Xml.Serialization.XmlSerializationWriter).FullName); 2350Writer.Write(typeof(System.Xml.Serialization.XmlSerializationWriteCallback).FullName); 2427Writer.Write(typeof(XmlConvert).FullName); 2635string source = $"(({typeof(System.Xml.Serialization.XmlSerializerNamespaces).FullName})p[{xmlnsMember}])"; 2921Writer.Write(typeof(long).FullName); 3114Writer.Write(typeof(Type).FullName); 3194if (mapping.TypeDesc.UseReflection) methodInvoke = $"(({typeof(bool).FullName}){methodInvoke})"; 3203if (mapping.TypeDesc.UseReflection) memberGet = $"(({typeof(bool).FullName}){memberGet})"; 3235if (mapping.TypeDesc.UseReflection) methodInvoke = $"(({typeof(bool).FullName}){methodInvoke})"; 3244if (mapping.TypeDesc.UseReflection) memberGet = $"(({typeof(bool).FullName}){memberGet})"; 3322Writer.Write(typeof(StringBuilder).FullName); 3324Writer.Write(typeof(StringBuilder).FullName); 3333Writer.Write(typeof(IEnumerator).FullName); 3337Writer.Write(typeof(IEnumerable).FullName); 3346Writer.Write(typeof(IEnumerator).FullName); 3363Writer.Write(typeof(IEnumerator).FullName); 3386Writer.Write(typeof(ICollection).FullName); 3540Writer.Write(typeof(IEnumerator).FullName); 3545Writer.Write(typeof(IEnumerable).FullName); 3556Writer.Write(typeof(IEnumerator).FullName); 3577Writer.Write(typeof(IEnumerator).FullName); 3605Writer.Write(typeof(ICollection).FullName); 3738string fullTypeName = typeof(XmlElement).FullName!; 4000Writer.Write(typeof(ICollection).FullName); 4148Writer.Write(typeof(XmlNode).FullName); 4180Writer.Write(cast.FullName); 4216Type? type = Type.GetType(mapping.TypeDesc!.Type!.FullName!); 4224Type? type = Type.GetType(mapping.TypeDesc!.Type!.FullName!); 4309Writer.Write(type.FullName); 4343Writer.Write(type.FullName); 4351Writer.Write(type.FullName); 4355Writer.Write(((DateTimeOffset)value).Offset.GetType().FullName); 4363Writer.Write(type.FullName); 4377throw new InvalidOperationException(SR.Format(SR.XmlUnsupportedDefaultType, type.FullName));
System\Xml\Serialization\XmlSerializationWriterILGen.cs (2)
396string source = string.Create(CultureInfo.InvariantCulture, $"(({typeof(XmlSerializerNamespaces).FullName})p[{xmlnsMember}])"); 2390if (type.FullName == "System.Xml.Linq.XElement")
System\Xml\Serialization\XmlSerializer.cs (4)
685throw new InvalidOperationException(SR.Format(SR.XmlPregenTypeDynamic, type.FullName)); 697throw new ArgumentException(SR.Format(SR.XmlPregenOrphanType, type.FullName, nameOrLocation), nameof(types)); 932throw new InvalidOperationException(SR.Format(SR.XmlUnxpectedType, _primitiveType!.FullName)); 1014throw new InvalidOperationException(SR.Format(SR.XmlUnxpectedType, _primitiveType!.FullName));
System\Xml\Xsl\Runtime\EarlyBoundInfo.cs (1)
28Debug.Assert(_constrInfo != null, $"The early bound object type {ebType.FullName} must have a public default constructor");
System\Xml\Xsl\XslException.cs (1)
83string result = this.GetType().FullName!;
System\Xml\Xslt\XslCompiledTransform.cs (2)
188if (generatedCodeAttr != null && generatedCodeAttr.Tool == typeof(XslCompiledTransform).FullName) 219throw new ArgumentException(SR.Format(SR.Xslt_NotCompiledStylesheet, compiledStylesheet.FullName), nameof(compiledStylesheet));
System.Reflection.Context (2)
System\Reflection\Context\Delegation\DelegatingType.cs (2)
23throw new InvalidOperationException(SR.Format(SR.InvalidOperation_NoTypeInfoForThisType, type.FullName)); 64get { return _typeInfo.FullName; }
System.Reflection.DispatchProxy (4)
System\Reflection\DispatchProxyGenerator.cs (4)
181throw new ArgumentException(SR.Format(SR.InterfaceType_Must_Be_Interface, interfaceType.FullName), interfaceParameter); 187throw new ArgumentException(SR.Format(SR.BaseType_Cannot_Be_Sealed, baseType.FullName), proxyParameter); 193throw new ArgumentException(SR.Format(SR.BaseType_Cannot_Be_Abstract, baseType.FullName), proxyParameter); 199throw new ArgumentException(SR.Format(SR.BaseType_Must_Have_Default_Ctor, baseType.FullName), proxyParameter);
System.Reflection.Emit (8)
System\Reflection\Emit\EventBuilderImpl.cs (1)
56if (con.ReflectedType!.FullName == "System.Runtime.CompilerServices.SpecialNameAttribute")
System\Reflection\Emit\FieldBuilderImpl.cs (1)
56switch (con.ReflectedType!.FullName)
System\Reflection\Emit\MethodBuilderImpl.cs (1)
176switch (con.ReflectedType!.FullName)
System\Reflection\Emit\ModuleBuilderImpl.cs (2)
74return _coreTypes[index] ?? (_coreTypes[index] = _coreAssembly.GetType(s_coreTypes[index].FullName!, throwOnError: true)!); 100_coreTypes[i] = _coreAssembly.GetType(s_coreTypes[i].FullName!, throwOnError: false)!;
System\Reflection\Emit\ParameterBuilderImpl.cs (1)
41switch (con.ReflectedType!.FullName)
System\Reflection\Emit\PropertyBuilderImpl.cs (1)
67if (con.ReflectedType!.FullName == "System.Runtime.CompilerServices.SpecialNameAttribute")
System\Reflection\Emit\TypeBuilderImpl.cs (1)
475switch (con.ReflectedType!.FullName)
System.Reflection.Metadata (2)
System\Reflection\Internal\Utilities\ExceptionUtilities.cs (2)
10if (value?.GetType().FullName != null) 12return new InvalidOperationException(SR.Format(SR.UnexpectedValue, value, value.GetType().FullName));
System.Reflection.MetadataLoadContext (3)
System\Reflection\TypeLoading\CustomAttributes\CustomAttributeHelpers.cs (1)
19throw new MissingMemberException(attributeType.FullName, name);
System\Reflection\TypeLoading\Types\RoDefinitionType.cs (1)
47string? declaringTypeFullName = declaringType.FullName;
System\Reflection\TypeLoading\Types\RoModifiedFunctionPointerType.cs (1)
74if (type.FullName!.StartsWith(CallingConventionTypePrefix, StringComparison.Ordinal))
System.Resources.Extensions (22)
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (2)
490throw new InvalidOperationException(SR.Format(SR.InvalidOperation_ResourceNotString_Type, FindType(typeIndex).FullName)); 502typeString = FindType(typeCode - ResourceTypeCode.StartOfUserTypes).FullName;
System\Resources\Extensions\BinaryFormat\Deserializer\PendingSerializationInfo.cs (1)
80throw new SerializationException(SR.Format(SR.Serialization_MissingCtor, type.FullName));
System\Resources\Extensions\DeserializingResourceReader.cs (2)
231throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResType_SerBlobMismatch, type.FullName, value.GetType().FullName));
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\Caching\MemoryCache.cs (1)
861string cacheName = $"{this.GetType().FullName}({_name})";
System.Runtime.Serialization.Formatters (7)
System\Runtime\Serialization\FormatterServices.cs (5)
36throw new SerializationException(SR.Format(SR.Serialization_NonSerType, type.FullName, type.Assembly.FullName)); 58throw new SerializationException(SR.Format(SR.Serialization_NonSerType, parentType.FullName, parentType.Module.Assembly.FullName)); 62string typeName = classNamesUnique ? parentType.Name : parentType.FullName!; 355return type.FullName!; 358var builder = new StringBuilder(type.GetGenericTypeDefinition().FullName).Append('[');
System\Runtime\Serialization\ObjectManager.cs (2)
187throw new SerializationException(SR.Format(SR.Serialization_NotCyclicallyReferenceableSurrogate, surrogate.GetType().FullName)); 810throw new SerializationException(SR.Format(SR.Serialization_ConstructorNotFound, t.FullName));
System.Runtime.Serialization.Schema (3)
System\Runtime\Serialization\Schema\CodeExporter.cs (3)
517CodeAttributeDeclaration debuggerStepThroughAttribute = new CodeAttributeDeclaration(typeof(System.Diagnostics.DebuggerStepThroughAttribute).FullName!); 518CodeAttributeDeclaration generatedCodeAttribute = new CodeAttributeDeclaration(typeof(GeneratedCodeAttribute).FullName!); 1436return !type.IsGenericTypeDefinition && type.ContainsGenericParameters ? type.Namespace + "." + type.Name : type.FullName!;
System.Security.Cryptography (3)
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (1)
875$"Unexpected cipher characteristics by {cipher.GetType().FullName}, KeySize={cipher.KeySize}, BlockSize={cipher.BlockSize}");
System\Security\Cryptography\CryptoConfigForwarder.cs (1)
37throw new MissingMethodException(t.FullName, CreateFromNameMethodName);
System\Security\Cryptography\X509Certificates\CertificateRequest.cs (1)
530Debug.Fail($"Key was of no known type: {_key?.GetType().FullName ?? "null"}");
System.Security.Cryptography.Pkcs (2)
Internal\Cryptography\Pal\AnyOS\ManagedPal.cs (1)
88Debug.Fail($"Unknown key type requested: {typeof(T).FullName}");
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (1)
875$"Unexpected cipher characteristics by {cipher.GetType().FullName}, KeySize={cipher.KeySize}, BlockSize={cipher.BlockSize}");
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\SignedXmlDebugLog.cs (1)
326validationMethod.DeclaringType!.FullName,
System.Security.Permissions (3)
System\Security\Permissions\PrincipalPermission.cs (3)
83throw new ArgumentException(SR.Format(SR.Argument_WrongType, GetType().FullName), nameof(target)); 126throw new ArgumentException(SR.Format(SR.Argument_WrongType, GetType().FullName), nameof(target)); 182throw new ArgumentException(SR.Format(SR.Argument_WrongType, GetType().FullName), nameof(other));
System.Text.Json (7)
src\libraries\System.Text.Json\Common\ReflectionExtensions.cs (1)
216return genericTypeDef.FullName!;
System\ReflectionExtensions.cs (1)
66if (attribute.GetType().FullName == fullName)
System\Text\Json\Serialization\Converters\Value\UnsupportedTypeConverter.cs (1)
15public string ErrorMessage => _errorMessage ?? SR.Format(SR.SerializeTypeInstanceNotSupported, typeof(T).FullName);
System\Text\Json\Serialization\JsonSerializer.Read.HandlePropertyName.cs (1)
135if (jsonPropertyInfo.PropertyType.FullName == JsonTypeInfo.JsonObjectTypeName)
System\Text\Json\Serialization\Metadata\FSharpCoreReflectionProxy.cs (1)
218if (attributeType.FullName == CompilationMappingAttributeTypeName)
System\Text\Json\ThrowHelper.cs (1)
66throw new ArgumentOutOfRangeException(nameof(typeToConvert), SR.Format(SR.SerializerConverterFactoryInvalidArgument, typeToConvert.FullName));
System\Text\Json\ThrowHelper.Serialization.cs (1)
791throw new InvalidOperationException(SR.Format(SR.JsonPropertyInfoBoundToDifferentParent, propertyInfo.Name, propertyInfo.DeclaringTypeInfo.Type.FullName));
System.Text.Json.SourceGeneration (13)
Helpers\KnownTypeSymbols.cs (9)
276factoryTypeFullName = typeof(ImmutableArray).FullName; 283factoryTypeFullName = typeof(ImmutableList).FullName; 290factoryTypeFullName = typeof(ImmutableStack).FullName; 297factoryTypeFullName = typeof(ImmutableQueue).FullName; 304factoryTypeFullName = typeof(ImmutableHashSet).FullName; 310factoryTypeFullName = typeof(ImmutableSortedSet).FullName; 331factoryTypeFullName = typeof(ImmutableDictionary).FullName; 337factoryTypeFullName = typeof(ImmutableSortedDictionary).FullName; 346=> GetOrResolveType(type.FullName!, ref field);
Helpers\RoslynExtensions.cs (2)
24Debug.Assert(type.FullName != null); 25return compilation.GetBestTypeByMetadataName(type.FullName);
src\libraries\Common\src\Roslyn\GetBestTypeByMetadataName.cs (2)
89type.IsArray || type.FullName is null 91: GetBestTypeByMetadataName(compilation, type.FullName);
System.Text.RegularExpressions.Generator (2)
src\libraries\Common\src\Roslyn\GetBestTypeByMetadataName.cs (2)
89type.IsArray || type.FullName is null 91: GetBestTypeByMetadataName(compilation, type.FullName);
System.Threading.RateLimiting (1)
System\Threading\RateLimiting\TimerAwaitable.cs (1)
114throw new ObjectDisposedException(GetType().FullName);
System.Transactions.Local (1)
System\Transactions\TransactionState.cs (1)
2023serializationInfo.FullTypeName = serializableTx.GetType().FullName!;
System.Windows.Forms (44)
System\Resources\ResXDataNode.cs (3)
89throw new InvalidOperationException(string.Format(SR.NotSerializableType, name, valueType.FullName)); 243throw new InvalidOperationException(string.Format(SR.NotSerializableType, _name, valueType.FullName)); 366Debug.WriteLine($"Converter for {type.FullName} doesn't support string conversion");
System\Resources\ResXResourceReader.cs (2)
429&& readerTypeName.Equals(readerType.FullName) 430&& writerTypeName.Equals(writerType.FullName))
System\Resources\ResXSerializationBinder.cs (1)
90typeName = string.Equals(parsed.FullName, serializedType.FullName, StringComparison.Ordinal)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (5)
736string streamName = _control.GetType().FullName!; 1012GetType().FullName!, 1092using BSTR bstrSource = new(_control.GetType().FullName!); 1169$"No type converter for property '{currentProperty.Name}' on class {_control.GetType().FullName}"); 1553$"No type converter for property '{currentProperty.Name}' on class {_control.GetType().FullName}");
System\Windows\Forms\ActiveX\Control_ActiveXControlInterfaces.cs (1)
260(USERCLASSTYPE)dwFormOfType == USERCLASSTYPE.USERCLASSTYPE_FULL ? GetType().FullName : GetType().Name);
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormatWriter.cs (2)
30new ClassInfo(1, typeof(Bitmap).FullName!, s_dataMemberName), 46new ClassInfo(1, typeof(ImageListStreamer).FullName!, s_dataMemberName),
System\Windows\Forms\ComponentModel\COM2Interop\COM2IManagedPerPropertyBrowsingHandler.cs (4)
122Debug.Assert(typeof(Attribute).IsAssignableFrom(type), $"Attribute type {type.FullName} does not derive from Attribute"); 142Debug.Assert(typeof(Attribute).IsAssignableFrom(type), $"Attribute type {type.FullName} does not derive from Attribute"); 170Debug.Fail($"Attribute {type.FullName} did not have a initializer specified and has no default constructor"); 188Debug.Fail($"Attribute {type.FullName} did not have a initializer specified and has no default constructor");
System\Windows\Forms\Control.ControlNativeWindow.cs (1)
76return _control.GetType().FullName!;
System\Windows\Forms\Control.cs (1)
9154Debug.WriteLineIf(CoreSwitches.PerfTrack.Enabled, $"RecreateHandle: {GetType().FullName} [Text={Text}]");
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckableControlBaseAdapter.cs (1)
55Debug.Fail($"Unexpected control type '{Control.GetType().FullName}'");
System\Windows\Forms\Controls\ListView\ColumnHeaderConverter.cs (1)
72throw new ArgumentException(string.Format(SR.NoDefaultConstructor, t.FullName));
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (2)
1697throw new ArgumentException(string.Format(SR.PropertyGridNoBitmap, tab.GetType().FullName)); 1702throw new ArgumentException(string.Format(SR.PropertyGridTabName, tab.GetType().FullName));
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\AttributeTypeSorter.cs (1)
37Debug.Fail($"Attribute '{attribute.GetType().FullName}' does not have a typeid.");
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
2267public override string ToString() => $"{GetType().FullName} {PropertyLabel}";
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\ImmutablePropertyDescriptorGridEntry.cs (1)
79string.Format(SR.ExceptionCreatingObject, InstanceParentGridEntry?.PropertyType?.FullName, e),
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiSelectRootGridEntry.PropertyDescriptorComparer.cs (2)
36result = string.Compare(a1.PropertyType.FullName, a2.PropertyType.FullName, true, CultureInfo.CurrentCulture);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiSelectRootGridEntry.PropertyMerger.cs (2)
274string entryName = $"{basePropertyDescriptor.Name} {basePropertyDescriptor.PropertyType.FullName}"; 286string sortString = $"{propertyDescriptor.Name} {propertyDescriptor.PropertyType.FullName}";
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (1)
114typeName = componentType is null ? TypeDescriptor.GetClassName(owner) : componentType.FullName;
System\Windows\Forms\Controls\TabControl\TabPage.cs (1)
487throw new ArgumentException(string.Format(SR.TabControlTabPageNotOnTabControl, value.GetType().FullName));
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (2)
623LoadSettings(targetForm, targetForm.GetType().FullName!); 646SaveSettings(sourceForm, sourceForm.GetType().FullName!);
System\Windows\Forms\DataBinding\BindingSource.cs (2)
1572_itemType is null ? "(null)" : _itemType.FullName)); 1611_itemType is null ? "(null)" : _itemType.FullName));
System\Windows\Forms\DataBinding\CurrencyManager.cs (1)
188throw new ArgumentException(string.Format(SR.ListManagerSetDataSource, tempList.GetType().FullName), nameof(dataSource));
System\Windows\Forms\NativeWindow.cs (1)
468$"Handle created of type '{cp.ClassName}' with caption '{cp.Caption}' from NativeWindow of type '{GetType().FullName}'");
System\Windows\Forms\OLE\DataObject.cs (4)
90SetData(typeof(T), DataObjectCore.TryJsonSerialize(typeof(T).FullName.OrThrowIfNull(), data)); 157public virtual object? GetData(Type format) => format is null ? null : GetData(format.FullName!); 163public virtual bool GetDataPresent(Type format) => format is not null && GetDataPresent(format.FullName!); 206TryGetDataInternal(typeof(T).FullName!, resolver: null, autoConvert: true, out data);
System\Windows\Forms\OLE\DataObjectExtensions.cs (1)
19dataObject.GetType().FullName));
System.Windows.Forms.Design (54)
System\ComponentModel\Design\BinaryEditor.cs (2)
66Debug.Fail($"No conversion from {value?.GetType().FullName ?? "null"} to byte[]"); 91Debug.Fail($"No conversion from byte[] to {value?.GetType().FullName ?? "null"}");
System\ComponentModel\Design\CollectionEditor.cs (1)
126itemType.FullName));
System\ComponentModel\Design\DesignerActionPanel.cs (1)
673list.GetType().FullName));
System\ComponentModel\Design\DesignerActionPanel.MethodLine.cs (1)
36public override string FocusId => $"METHOD:{_actionList!.GetType().FullName}.{_methodItem!.MemberName}";
System\ComponentModel\Design\DesignerActionPanel.PropertyLine.cs (1)
23public sealed override string FocusId => $"PROPERTY:{_actionList!.GetType().FullName}.{PropertyItem!.MemberName}";
System\ComponentModel\Design\DesignerHost.cs (7)
194if (_rootComponent is not null && string.Equals(component.GetType().FullName, _rootComponentClassName, StringComparison.OrdinalIgnoreCase)) 198component.GetType().FullName, 250throw new InvalidOperationException(string.Format(SR.DesignerHostNoTopLevelDesigner, component.GetType().FullName)) 398if (string.Equals(reflectType.FullName, component.GetType().FullName, StringComparison.Ordinal)) 705helpService.RemoveContextAttribute("Keyword", $"Designer_{designer.GetType().FullName}"); 1106helpService.AddContextAttribute("Keyword", $"Designer_{rootDesigner.GetType().FullName}", HelpKeywordType.F1Keyword);
System\ComponentModel\Design\DesignSurface.cs (1)
552loaderHost.EndLoad(_type.FullName!, true, null);
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ComponentListCodeDomSerializer.cs (1)
309string.Format(SR.SerializerNoSerializerForComponent, type.FullName), manager));
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (3)
311failures.Add(string.Format(SR.CodeDomDesignerLoaderDocumentFailureTypeDesignerNotInstalled, typeDeclaration.Name, baseType.FullName)); 315failures.Add(string.Format(SR.CodeDomDesignerLoaderDocumentFailureTypeNotDesignable, typeDeclaration.Name, baseType.FullName)); 798Debug.Assert(_rootSerializer is not null || _typeSerializer is not null, $"What are we saving right now? Base component has no serializer: {LoaderHost.RootComponent.GetType().FullName}");
System\ComponentModel\Design\Serialization\CodeDomSerializer.cs (1)
254throw new NotSupportedException(string.Format(SR.SerializerMemberTypeNotSerializable, member.GetType().FullName));
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (10)
131Error(manager, string.Format(SR.TypeNotFoundInTargetFramework, instance.GetType().FullName), SR.SerializerUndeclaredName); 156Error(manager, string.Format(SR.TypeNotFoundInTargetFramework, type.FullName), SR.SerializerUndeclaredName); 317Error(manager, string.Format(SR.TypeNotFoundInTargetFramework, type.FullName), SR.SerializerUndeclaredName); 507Error(manager, string.Format(SR.SerializerNoSuchEvent, targetObject.GetType().FullName, statement.Event.EventName), SR.SerializerNoSuchEvent); 600Error(manager, string.Format(SR.SerializerNoSuchField, lhs.GetType().FullName, fieldReferenceEx.FieldName), SR.SerializerNoSuchField); 1242Error(manager, string.Format(SR.SerializerNoSuchEvent, targetObject.GetType().FullName, eventName), SR.SerializerNoSuchEvent); 1530string? typeName = targetAsType is not null ? targetAsType.FullName : GetReflectionTypeHelper(manager, target).FullName; 1631Error(manager, string.Format(SR.SerializerNoSuchProperty, lhs.GetType().FullName, propertyReferenceEx.PropertyName), SR.SerializerNoSuchProperty); 2423manager.ReportError(string.Format(SR.SerializerNoSerializerForComponent, value is null ? "(null)" : value.GetType().FullName));
System\ComponentModel\Design\Serialization\CollectionCodeDomSerializer.cs (1)
43Debug.Fail($"Collection of type {modified.GetType().FullName} doesn't return an enumerator");
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (2)
316string fullName = typeof(ISupportInitialize).FullName!; 336string fullName = typeof(IPersistComponentSettings).FullName!;
System\ComponentModel\Design\Serialization\DesignerSerializationManager.cs (1)
392SerializationException ex = new(string.Format(SR.SerializationManagerNoMatchingCtor, type.FullName, argTypes))
System\ComponentModel\Design\Serialization\PropertyMemberCodeDomSerializer.cs (2)
139name ??= value.GetType().FullName; 217manager.ReportError(new CodeDomSerializerException(string.Format(SR.SerializerNoSerializerForComponent, property.PropertyType.FullName), manager));
System\ComponentModel\Design\Serialization\TypeCodeDomSerializer.cs (3)
76Error(manager, string.Format(SR.SerializerTypeAbstract, baseType.FullName), SR.SerializerTypeAbstract); 265typeName = comp.GetType().FullName; 296manager.ReportError(new CodeDomSerializerException(string.Format(SR.SerializerNoSerializerForComponent, type.FullName), manager));
System\Drawing\Design\ToolboxItem.cs (2)
552TypeName = type.FullName; 752throw new ArgumentException(string.Format(SR.ToolboxItemInvalidPropertyType, propertyName, expectedType.FullName), nameof(value));
System\Resources\Tools\StronglyTypedResourceBuilder.cs (1)
444CodeAttributeArgument toolArg = new(new CodePrimitiveExpression(typeof(StronglyTypedResourceBuilder).FullName));
System\Windows\Forms\Design\CollectionEditVerbManager.cs (1)
197Debug.Assert(itemsEditor is not null, $"Didn't get a collection editor for type '{_targetProperty.PropertyType.FullName}'");
System\Windows\Forms\Design\ControlDesigner.cs (1)
2482typeName = owner.GetType().FullName;
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
1047string.Equals(descriptor.TypeName, type_.FullName, StringComparison.OrdinalIgnoreCase))
System\Windows\Forms\Design\DesignerFrame.cs (3)
420Debug.Assert(_overlayList.IndexOf(control) == -1, $"Duplicate overlay in overlay service: {control.GetType().FullName}"); 438Debug.Assert(_overlayList.IndexOf(control) != -1, $"Control is not in overlay service: {control.GetType().FullName}"); 449Debug.Assert(_overlayList.IndexOf(control) == -1, $"Duplicate overlay in overlay service: {control.GetType().FullName}");
System\Windows\Forms\Design\DocumentDesigner.AxToolboxItem.cs (1)
201Debug.Assert(attrs is not null && attrs.Length == 1, $"Invalid number of GuidAttributes found on: {t.FullName}");
System\Windows\Forms\Design\EditorServiceContext.cs (1)
149Debug.Assert(itemsEditor is not null, $"Didn't get a collection editor for type '{_targetProperty!.PropertyType.FullName}'");
System\Windows\Forms\Design\OleDragDropHandler.ComponentDataObject.cs (3)
160return GetData(t.FullName!); 187return GetDataPresent(format.FullName!, false); 296SetData(format.FullName!, data);
System\Windows\Forms\Design\SplitContainerDesigner.cs (1)
232Debug.Assert(_splitContainer is not null, $"Component must be a non-null SplitContainer, it is a: {component.GetType().FullName}");
System\Windows\Forms\Design\TabControlDesigner.cs (1)
215Debug.Assert(control is not null, "Component must be a tab control, it is a: " + component.GetType().FullName);
System.Windows.Forms.Design.Tests (18)
EnsureDesignerTests.cs (2)
22Assert.True(forwardedTypes.Contains(designer.FullName), $"{designer.FullName} must be type forwarded");
EnsureEditorsTests.cs (3)
35Assert.True(forwardedTypes.Contains(editor.FullName), $"{editor.FullName} must be type forwarded"); 174Assert.Contains(attributes, editor => editor.EditorTypeName.StartsWith($"{expectedEditorType.FullName}, ", StringComparison.Ordinal));
SerializableAttributeTests.cs (1)
15typeof(OleDragDropHandler.CfCodeToolboxItem).FullName,
System\ComponentModel\Design\DesignerHostTests.cs (3)
1666host.Container.Add(component, component.GetType().FullName); 1667Assert.Equal(component.GetType().FullName, host.RootComponentClassName); 2419Assert.Equal(typeof(int), host.GetType(typeof(int).FullName));
System\ComponentModel\Design\DesignSurfaceTests.cs (4)
88Assert.Equal(typeof(RootDesignerComponent).FullName, surface.Host.RootComponentClassName); 110Assert.Equal(typeof(RootDesignerComponent).FullName, surface.Host.RootComponentClassName); 157Assert.Equal(typeof(RootDesignerComponent).FullName, surface.Host.RootComponentClassName); 936Assert.Equal(typeof(RootDesignerComponent).FullName, host.RootComponentClassName);
System\ComponentModel\Design\Serialization\DesignerSerializationManagerTests.cs (3)
1129Assert.Equal(typeof(int), manager.GetRuntimeType(typeof(int).FullName)); 1523Assert.Equal(typeof(int), manager.GetType(typeof(int).FullName)); 1613Assert.Equal(typeof(int), iManager.GetType(typeof(int).FullName));
System\ComponentModel\Design\SiteNestedContainerTests.cs (2)
583container.Add(component, component.GetType().FullName); 584Assert.Equal(component.GetType().FullName, host.RootComponentClassName);
System.Windows.Forms.Primitives (1)
System\ServiceExtensions.cs (1)
88?? throw new InvalidOperationException(string.Format(SR.General_MissingService, typeof(TInterface).FullName))
System.Windows.Forms.Primitives.TestUtilities (1)
PlatformDetection.Windows.cs (1)
124if (e.GetType().FullName.Equals("System.EntryPointNotFoundException", StringComparison.Ordinal))
System.Windows.Forms.Tests (109)
SerializableAttributeTests.cs (11)
17{ typeof(JsonData<>).FullName }, 19{ typeof(AxHost.State).FullName }, 21{ typeof(ImageListStreamer).FullName }, 22{ typeof(LinkArea).FullName }, 23{ typeof(ListViewGroup).FullName }, 24{ typeof(ListViewItem).FullName }, 25{ typeof(ListViewItem.ListViewSubItem).FullName }, 27{ typeof(OwnerDrawPropertyBag).FullName }, 28{ typeof(Padding).FullName }, 29{ typeof(TreeNode).FullName }, 30{ typeof(TableLayoutSettings).FullName },
System\Resources\ResXSerializationBinderTests.cs (7)
20binder.BindToType(typeof(Button).Assembly.FullName!, typeof(Button).FullName!).Should().Be(typeof(Button)); 30binder.BindToType(typeof(MyClass).Assembly.FullName!, typeof(MyClass).FullName!).Should().Be(typeof(MyClass)); 40binder.BindToType(typeof(Form).Assembly.FullName!, typeof(Form).FullName!).Should().Be(typeof(Form)); 76if (typeName == $"{typeof(Button).FullName}, {typeof(Button).Assembly.FullName}") 81else if (typeName == typeof(MyClass).FullName) 88TypeName parsed = TypeName.Parse($"{typeof(Form).FullName}, {typeof(Form).Assembly.FullName}"); 90string formNoVersionFullyQualifiedName = $"{typeof(Form).FullName}, {new AssemblyNameInfo(
System\Windows\Forms\AxHost.PropertyBagStreamTests.cs (2)
70string name = value.GetType().FullName!; 73HRESULT hr = bag.Write(value.GetType().FullName!, variant); // CodeQL[SM02229] : Testing legacy feature. This is a safe use of VARIANT because the data is trusted and the types are controlled and validated.
System\Windows\Forms\AxSystemMonitorTests.cs (1)
62TypeInfo assemblyTypeInfo = assembly.GetType(assemblyType.FullName).GetTypeInfo();
System\Windows\Forms\AxWebBrowserTests.cs (1)
52TypeInfo assemblyTypeInfo = assembly.GetType(assemblyType.FullName).GetTypeInfo();
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (2)
122root.TypeName.FullName.Should().Be(typeof(Bitmap).FullName); 178root.TypeName.FullName.Should().Be(typeof(ImageListStreamer).FullName);
System\Windows\Forms\BinaryFormatUtilitiesTests.cs (6)
604(typeof(TestData).FullName!, typeof(TestData)), 605(typeof(TestDataBase.InnerData).FullName!, typeof(TestDataBase.InnerData)), 644(typeof(Font).FullName, typeof(Font)), 645(typeof(FontStyle).FullName, typeof(FontStyle)), 646(typeof(FontFamily).FullName, typeof(FontFamily)), 647(typeof(GraphicsUnit).FullName, typeof(GraphicsUnit)),
System\Windows\Forms\ClipboardTests.cs (8)
277Clipboard.ContainsData(data.GetType().FullName).Should().BeTrue(); 290Clipboard.ContainsData(data.GetType().FullName).Should().BeTrue(); 304Clipboard.ContainsData(data.GetType().FullName).Should().BeTrue(); 319Clipboard.ContainsData(data.GetType().FullName).Should().BeTrue(); 333Clipboard.ContainsData(data.GetType().FullName).Should().BeTrue(); 778if (typeof(TestData).FullName == fullName) 783if (typeof(TestData1).FullName == fullName) 1329string format = typeof(SerializableTestData).FullName!;
System\Windows\Forms\ComponentModel\Com2Interop\ComNativeDescriptorTests.cs (6)
53Assert.Equal("Windows.Win32.System.Com.IDispatch+Interface", handleProperty.ComponentType.FullName); 56Assert.Equal("System.Int32", handleProperty.PropertyType.FullName); 71Assert.Equal("Windows.Win32.System.Com.IDispatch+Interface", typeProperty.ComponentType.FullName); 73Assert.Equal("System.Int16", typeProperty.PropertyType.FullName); 136Assert.Equal("Windows.Win32.System.Com.IDispatch+Interface", urlProperty.ComponentType.FullName); 138Assert.Equal("System.String", urlProperty.PropertyType.FullName);
System\Windows\Forms\DataObjectTests.ClipboardTests.cs (8)
84if (string.IsNullOrWhiteSpace(format) || format == typeof(Bitmap).FullName || format.StartsWith("FileName", StringComparison.Ordinal)) 93theoryData.Add(typeof(Bitmap).FullName!, null, false, true); 94theoryData.Add(typeof(Bitmap).FullName!, "input", false, true); 137if (string.IsNullOrWhiteSpace(format) || format == typeof(Bitmap).FullName || format.StartsWith("FileName", StringComparison.Ordinal)) 149theoryData.Add(typeof(Bitmap).FullName!, false, null, false, false); 150theoryData.Add(typeof(Bitmap).FullName!, false, "input", false, false); 151theoryData.Add(typeof(Bitmap).FullName!, true, null, false, true); 152theoryData.Add(typeof(Bitmap).FullName!, true, "input", false, true);
System\Windows\Forms\DataObjectTests.cs (32)
365string formatName = format?.FullName ?? "(null)"; 413DataObjectOverridesTryGetDataCore dataObject = new(typeof(string).FullName!, resolver: null, autoConvert: true); 424DataObjectOverridesTryGetDataCore dataObject = new(typeof(string).FullName!, resolver: null, autoConvert: true); 691theoryData.Add(typeof(int), result, 1, result, typeof(int).FullName); 1160{ new(), typeof(object).FullName }, 1161{ new Bitmap(10, 10), typeof(Bitmap).FullName }, 1186string format = data1.GetType().FullName; 1206dataObject.GetData(data2.GetType().FullName, autoConvert: false).Should().Be(data2); 1207dataObject.GetData(data2.GetType().FullName, autoConvert: true).Should().Be(data2); 1211dataObject.GetDataPresent(data2.GetType().FullName, autoConvert: false).Should().BeTrue(); 1212dataObject.GetDataPresent(data2.GetType().FullName, autoConvert: true).Should().BeTrue(); 1246if (string.IsNullOrWhiteSpace(format) || format == typeof(Bitmap).FullName || format.StartsWith("FileName", StringComparison.Ordinal)) 1255theoryData.Add(typeof(Bitmap).FullName, null, false, true); 1256theoryData.Add(typeof(Bitmap).FullName, "input", false, true); 1343dataObject.GetData(typeof(Bitmap).FullName, autoConvert: true).Should().BeSameAs(image); 1344dataObject.GetData(typeof(Bitmap).FullName, autoConvert: false).Should().BeNull(); 1351dataObject.GetDataPresent(typeof(Bitmap).FullName, autoConvert: true).Should().BeTrue(); 1352dataObject.GetDataPresent(typeof(Bitmap).FullName, autoConvert: false).Should().BeFalse(); 1388if (string.IsNullOrWhiteSpace(format) || format == typeof(Bitmap).FullName || format.StartsWith("FileName", StringComparison.Ordinal)) 1400theoryData.Add(typeof(Bitmap).FullName, false, null, false, false); 1401theoryData.Add(typeof(Bitmap).FullName, false, "input", false, false); 1402theoryData.Add(typeof(Bitmap).FullName, true, null, false, true); 1403theoryData.Add(typeof(Bitmap).FullName, true, "input", false, true); 1496dataObject.GetData(typeof(Bitmap).FullName, autoConvert: true).Should().BeSameAs(image); 1497dataObject.GetData(typeof(Bitmap).FullName, autoConvert: false).Should().BeNull(); 1504dataObject.GetDataPresent(typeof(Bitmap).FullName, autoConvert: true).Should().BeTrue(); 1505dataObject.GetDataPresent(typeof(Bitmap).FullName, autoConvert: false).Should().BeFalse(); 1677dataObject.GetData(typeof(Bitmap).FullName, autoConvert: true).Should().BeSameAs(image); 1678dataObject.GetData(typeof(Bitmap).FullName, autoConvert: false).Should().BeNull(); 1685dataObject.GetDataPresent(typeof(Bitmap).FullName, autoConvert: true).Should().BeTrue(); 1686dataObject.GetDataPresent(typeof(Bitmap).FullName, autoConvert: false).Should().BeFalse(); 2901data.GetFormats().Should().BeEquivalentTo([typeof(Bitmap).FullName, nameof(Bitmap), customFormat]);
System\Windows\Forms\Design\DesignerAttributeTests.cs (9)
58yield return new[] { type.FullName, attribute }; 62yield return new[] { $"{type.FullName}, property {property.Name}", attribute }; 86_output.WriteLine($"{annotatedType.FullName}: {attribute.DesignerTypeName} --> {type?.FullName}"); 104_output.WriteLine($"{annotatedType.FullName}: {attribute.SerializerTypeName} --> {type?.FullName}"); 121_output.WriteLine($"{type.FullName}: {property} --> {propertyInfo?.Name}"); 141_output.WriteLine($"{type.FullName}: {attribute.Name} --> {propertyInfo?.Name}"); 151_output.WriteLine($"{type.FullName}: {attribute.Name} --> {eventInfo?.Name}");
System\Windows\Forms\FeatureSupportTests.cs (3)
74yield return new object[] { typeof(IFeatureSupportClass).FullName, nameof(IFeatureSupportClass.s_field), null }; 107yield return new object[] { typeof(IFeatureSupportClass).FullName, nameof(IFeatureSupportClass.s_field), false }; 133yield return new object[] { typeof(IFeatureSupportClass).FullName, nameof(IFeatureSupportClass.s_field), new Version(1, 2, 3, 4), false };
System\Windows\Forms\NativeToWinFormsAdapterTests.cs (5)
484(typeof(SimpleTestData).FullName!, typeof(SimpleTestData)), 485(typeof(SimpleTestDataBase).FullName!, typeof(SimpleTestDataBase)), 542(typeof(TestData).FullName!, typeof(TestData)), 543(typeof(InnerData).FullName!, typeof(InnerData)), 544(typeof(AbstractBase).FullName!, typeof(AbstractBase)),
System\Windows\Forms\ToolStripComboBoxTests.cs (1)
379_toolStripComboBox.ToString().Should().Be($"{_toolStripComboBox.GetType().FullName}, Items.Count: 2");
System\Windows\Forms\TypeNameComparerTests.cs (7)
17{ TypeName.Parse($"{typeof(int).FullName}, {typeof(int).Assembly.FullName}"), typeof(int) }, 19{ TypeName.Parse($"{typeof(int[]).FullName}, {typeof(int[]).Assembly.FullName}"), typeof(int[]) }, 21{ TypeName.Parse($"{typeof(List<int>).FullName}, {typeof(List<int>).Assembly.FullName}"), typeof(List<int>) }, 23{ TypeName.Parse($"{typeof(TestType).FullName}, {typeof(TestType).Assembly.FullName}"), typeof(TestType) }, 48TypeName.Parse($"{typeof(TestType).FullName}, {typeof(int).Assembly.FullName}") 94TypeName.Parse($"{typeof(int).FullName}, {typeof(int).Assembly.FullName}")).Should().BeTrue(); 104comparer.GetHashCode(TypeName.Parse($"{typeof(int).FullName}, {typeof(int).Assembly.FullName}")).Should().Be(hash);
System.Windows.Forms.UI.IntegrationTests (1)
DesignBehaviorsTests.cs (1)
49TypeName = typeof(SampleControl).FullName,
System.Xaml (11)
System\Windows\Markup\StaticExtension.cs (1)
61typeNameForError = type.FullName;
System\Windows\Markup\ValueSerializer.cs (3)
245text = value.GetType().FullName; 248return new NotSupportedException(SR.Format(SR.ConvertToException, base.GetType().Name, text, destinationType.FullName)); 263text = value.GetType().FullName;
System\Xaml\InfosetObjects\XamlObjectWriter.cs (3)
2239if (rootInstanceType.FullName != className) 2247if (rootInstanceType.FullName != className) 2249throw ctx.WithLineInfo(new XamlObjectWriterException(SR.Format(SR.XClassMustMatchRootInstance, className, rootInstanceType.FullName)));
System\Xaml\RefOnly\LooseTypeExtensions.cs (2)
31if (t1.FullName != t2.FullName)
System\Xaml\Schema\XamlTypeInvoker.cs (1)
315throw new MissingMethodException(SR.Format(SR.NoDefaultConstructor, underlyingType.FullName));
System\Xaml\XamlObjectReader.cs (1)
2655throw new XamlObjectReaderException(SR.Format(SR.ObjectReader_TypeNotVisible, clrType.FullName));
UIAutomationClientSideProviders (7)
MS\Internal\AutomationProxies\WindowsEditBox.cs (1)
344throw new InvalidOperationException(SR.Format(SR.EditControlsHaveNoChildren, GetType().FullName));
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (5)
38throw new InvalidOperationException(SR.Format(SR.InvalidTextRangeOffset, GetType().FullName)); 1066throw new InvalidOperationException(SR.Format(SR.InvalidTextRangeOffset, GetType().FullName)); 1078throw new InvalidOperationException(SR.Format(SR.InvalidRangeEndpoint, GetType().FullName)); 1112throw new InvalidOperationException(SR.Format(SR.InvalidTextRangeOffset, GetType().FullName)); 1143throw new InvalidOperationException(SR.Format(SR.InvalidTextRangeOffset, GetType().FullName));
MS\Internal\AutomationProxies\WindowsRichEdit.cs (1)
261throw new InvalidOperationException(SR.Format(SR.RichEditTextPatternHasNoChildren, GetType().FullName));
VBCSCompiler.UnitTests (1)
NamedPipeTestUtil.cs (1)
27var sharedServerFullName = typeof(NamedPipeServerStream).FullName + "+SharedServer";
WindowsFormsIntegration (1)
System\Windows\Integration\PropertyMap.cs (1)
141throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, SR.WFI_PropertyDoesntExist, propertyName, SourceObject.GetType().FullName));
WinFormsControlsTest (2)
CollectionEditors.cs (1)
40label1.Text = sender.GetType().FullName;
PictureBoxes.cs (1)
55MessageBox.Show(e.Error.Message, $"{e.Error.GetType().FullName} occurred");
xunit.assert (3)
Sdk\ArgumentFormatter.cs (1)
512 result = fullTypeName ? typeInfo.FullName : typeInfo.Name;
Sdk\AssertHelper.cs (1)
198 type.GetTypeInfo().CustomAttributes.Any(a => a.AttributeType.FullName == "System.Runtime.CompilerServices.CompilerGeneratedAttribute");
Sdk\CollectionTracker.cs (1)
807 return item?.GetType().FullName;
xunit.console (2)
ConsoleRunner.cs (2)
166Console.WriteLine($"Type {type.FullName} in assembly {dllFile} appears to be a runner reporter, but does not have an empty constructor."); 421Console.WriteLine($"{e.GetType().FullName}: {e.Message}");