10 overrides of FullName
System.Private.CoreLib (6)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\SymbolType.cs (1)
359public override string? FullName => TypeNameBuilder.ToString(this, TypeNameBuilder.Format.FullName);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\TypeBuilderInstantiation.cs (1)
106public override string? FullName => field ??= TypeNameBuilder.ToString(this, TypeNameBuilder.Format.FullName);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\ModifiedType.cs (1)
94public override string? FullName => _unmodifiedType.FullName;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\SignatureType.cs (1)
80public sealed override string? FullName => null;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\TypeDelegator.cs (1)
55public override string? FullName => typeImpl.FullName;
System\RuntimeType.NativeAot.cs (1)
842public override string? FullName => GetRuntimeTypeInfo().FullName;
System.Private.Reflection.Execution (1)
Internal\Reflection\Execution\TypeLoader\ConstraintValidatorSupport.cs (1)
143public override string FullName { get { Debug.Assert(false); throw NotImplemented.ByDesign; } }
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingType.cs (1)
62public override string? FullName
System.Reflection.Emit (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\SymbolType.cs (1)
359public override string? FullName => TypeNameBuilder.ToString(this, TypeNameBuilder.Format.FullName);
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Types\RoType.cs (1)
116public sealed override string? FullName => field ??= ComputeFullName();
3391 references to FullName
aspire (5)
Acquisition\InstallationDiscovery.cs (1)
286throw new NotSupportedException($"Unsupported peer probe result type '{probe?.GetType().FullName ?? "(null)"}'.");
Commands\RunCommand.cs (1)
652runActivity?.SetTag(TelemetryConstants.Tags.ErrorType, ex.GetType().FullName);
Telemetry\AspireCliTelemetry.cs (1)
203[TelemetryConstants.Tags.ExceptionType] = exception.GetType().FullName,
Tui\TerminalViewerApp.cs (2)
272_logger.LogDebug(ex, "Embedded CTS teardown failed ({ExceptionType}).", ex.GetType().FullName); 290_logger.LogDebug(ex, "Embedded terminal dispose failed ({ExceptionType}).", ex.GetType().FullName);
Aspire.Cli.Tests (4)
Configuration\ConfigurationHelperTests.cs (1)
278Assert.True(ex is null or InvalidOperationException, $"Unexpected exception type: {ex?.GetType().FullName}");
Telemetry\AspireCliTelemetryTests.cs (1)
127Assert.Equal(typeof(InvalidOperationException).FullName, eventTags[TelemetryConstants.Tags.ExceptionType]);
tests\Shared\Logging\TestSink.cs (2)
56return context.LoggerName?.Equals(typeof(T).FullName) == true; 61return context.LoggerName?.Equals(typeof(T).FullName) == true;
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 (7)
Model\GenAI\GenAIVisualizerDialogViewModel.cs (2)
147sb.AppendLine(CultureInfo.InvariantCulture, $"{current.GetType().FullName}: {current.Message}"); 576Error description: {ex.GetType().FullName}: {ex.Message}
Otlp\Storage\SqliteTelemetryRepository.Traces.Reads.cs (1)
310throw new InvalidOperationException($"Unsupported span type filter: {filter.GetType().FullName}");
ServiceClient\TracingSqliteConnection.cs (1)
136activity?.SetTag("error.type", exception.GetType().FullName);
Telemetry\TelemetryErrorRecorder.cs (2)
36$"{exception.GetType().FullName}: {exception.Message}", 40[TelemetryPropertyKeys.ExceptionType] = new AspireTelemetryProperty(exception.GetType().FullName!),
Terminal\TerminalWebSocketProxy.cs (1)
454var exType = exception?.GetType().FullName ?? "(none)";
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 (14)
Integration\FrontendBrowserTokenAuthTests.cs (4)
302var log = testSink.Writes.Single(s => s.LoggerName == typeof(FrontendCompositeAuthenticationHandler).FullName && s.EventId.Name == "AuthenticationSchemeNotAuthenticatedWithFailure"); 372var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName && w.LogLevel >= LogLevel.Information).ToList(); 448var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName).ToList(); 476var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName).ToList();
Integration\FrontendOpenIdConnectAuthTests.cs (1)
89var log = testSink.Writes.Single(s => s.LoggerName == typeof(FrontendCompositeAuthenticationHandler).FullName && s.EventId.Name == "AuthenticationSchemeNotAuthenticatedWithFailure");
Integration\StartupTests.cs (5)
463if (w.LoggerName != typeof(DashboardWebApplication).FullName) 686var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName && w.LogLevel >= LogLevel.Information).ToList(); 746var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName && w.LogLevel >= LogLevel.Information).ToList(); 806.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName && w.LogLevel >= LogLevel.Warning) 868var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName && w.LogLevel >= LogLevel.Information).ToList();
Model\DashboardDataSourceTests.cs (1)
900Assert.Equal(typeof(DashboardRunStore).FullName, warning.LoggerName);
Model\DashboardSqliteDatabaseTests.cs (1)
136Assert.Equal(typeof(SqliteException).FullName, activity.GetTagItem("error.type"));
tests\Shared\Logging\TestSink.cs (2)
56return context.LoggerName?.Equals(typeof(T).FullName) == true; 61return context.LoggerName?.Equals(typeof(T).FullName) == true;
Aspire.Hosting (7)
Ats\CollectionExports.cs (1)
202=> key as string ?? throw new InvalidOperationException($"Aspire.Hosting/Dict.toObject only supports string-key dictionaries, but found key type '{key?.GetType().FullName ?? "null"}'.");
DeveloperCertificateService.cs (1)
366_ => throw new InvalidOperationException($"Unsupported private key type: {privateKey.GetType().FullName}.")
Diagnostics\ProfilingTelemetry.cs (4)
820[Tags.ExceptionType] = exception?.GetType().FullName, 931public void SetAppHostComponentType(Type componentType) => SetTag(Tags.AppHostComponentType, componentType.FullName); 935SetTag(Tags.AppHostEventType, eventType.FullName); 1012[Tags.ExceptionType] = exception.GetType().FullName,
DistributedApplication.cs (1)
674throw new InvalidOperationException($"The registered {nameof(IDistributedApplicationPipeline)} implementation '{pipeline.GetType().FullName}' does not support executing the '{WellKnownPipelineSteps.BeforeStart}' step during startup.");
Aspire.Hosting.Azure.Kubernetes (2)
AksPreviewIngressProfileInjector.cs (2)
176if (ipInstance.GetType().FullName != IngressProfileTypeFullName) 178throw new InvalidOperationException($"Expected IngressProfile to be a {IngressProfileTypeFullName} but found {ipInstance.GetType().FullName}.");
Aspire.Hosting.CodeGeneration.Java (1)
JavaLanguageSupport.cs (1)
236upToDateCheckType.FullName != expectedTypeName ||
Aspire.Hosting.CodeGeneration.TypeScript.Tests (10)
AtsTypeScriptCodeGeneratorTests.cs (10)
360if (collected.Add(iface.FullName ?? iface.Name)) 368if (type.BaseType != null && type.BaseType.FullName != "System.Object") 423while (currentType != null && currentType.FullName != "System.Object") 425baseTypes.Add(currentType.FullName ?? currentType.Name); 1152Assert.Contains(typeof(TestTypes.NameCollisionOne.SameNameResource).FullName!, exception.Message); 1153Assert.Contains(typeof(TestTypes.NameCollisionTwo.SameNameResource).FullName!, exception.Message); 1264TypeId = $"{resourceType.Assembly.GetName().Name}/{resourceType.FullName}", 1661_ => $"{type.Assembly.GetName().Name}/{type.FullName}" 1791.FirstOrDefault(a => a.GetType().FullName == "Aspire.Hosting.AspireUnionAttribute"); 1807Assert.Contains("ReferenceExpression", types[1].FullName ?? types[1].Name);
Aspire.Hosting.EntityFrameworkCore.Tests (109)
AddEFMigrationsTests.cs (18)
19var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!); 25Assert.Equal(typeof(TestDbContext).FullName, migrations.Resource.DbContextTypeName); 47var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!); 53Assert.Equal(typeof(TestDbContext).FullName, migrations.Resource.DbContextTypeName); 76project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!); 92var migrations1 = project.AddEFMigrations("migrations1", typeof(TestDbContext).FullName!); 93var migrations2 = project.AddEFMigrations("migrations2", typeof(AnotherDbContext).FullName!); 96Assert.Equal(typeof(TestDbContext).FullName, migrations1.Resource.DbContextTypeName); 97Assert.Equal(typeof(AnotherDbContext).FullName, migrations2.Resource.DbContextTypeName); 120project.AddEFMigrations("migrations1", typeof(TestDbContext).FullName!); 124project.AddEFMigrations("migrations2", typeof(TestDbContext).FullName!); 156project.AddEFMigrations(null!, typeof(TestDbContext).FullName!); 168project.AddEFMigrations("", typeof(TestDbContext).FullName!); 189var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!); 202var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!); 214var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!); 224var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!); 246project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
EFMigrationCommandsTests.cs (15)
17var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!); 32var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!); 47var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!); 62var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!); 80var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!); 94var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!); 108var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!); 136var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!); 139Assert.Equal(typeof(TestDbContext).FullName, migrations.Resource.DbContextTypeName); 147var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!); 162var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!); 178var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!); 194var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!); 221var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!); 251var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!);
EFMigrationConfigurationTests.cs (22)
16var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 29var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 40var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 51var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 62var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 73var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!); 83var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!); 93var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 105var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 123var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 129Assert.Equal(typeof(TestDbContext).FullName, migrations.Resource.DbContextTypeName); 137var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!); 158var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!); 173var migrations = startupProject.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 186var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!); 196var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!); 206var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 218var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 230var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 242var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 254var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 266var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
EFMigrationPipelineTests.cs (47)
22var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 39var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 54var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 74var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!); 89var m1 = project.AddEFMigrations("aaa-migrations", typeof(TestDbContext).FullName!) 91var m2 = project.AddEFMigrations("bbb-migrations", typeof(AnotherDbContext).FullName!) 113var m1 = project.AddEFMigrations("aaa-migrations", typeof(TestDbContext).FullName!) 116var m2 = project.AddEFMigrations("bbb-migrations", typeof(AnotherDbContext).FullName!) 145var m1 = projectA.AddEFMigrations("aaa-migrations", typeof(TestDbContext).FullName!) 147var m2 = projectB.AddEFMigrations("bbb-migrations", typeof(TestDbContext).FullName!) 167var m1 = project.AddEFMigrations("aaa-migrations", typeof(TestDbContext).FullName!) 169var m2 = project.AddEFMigrations("bbb-migrations", typeof(AnotherDbContext).FullName!) 191var m1 = project.AddEFMigrations("aaa-migrations", typeof(TestDbContext).FullName!) 194_ = project.AddEFMigrations("bbb-migrations", typeof(AnotherDbContext).FullName!); 195var m3 = project.AddEFMigrations("ccc-migrations", typeof(ThirdDbContext).FullName!) 216var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 234var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 253var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 266var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 278var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!); 293var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 308var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 320var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 335var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 348var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 361var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 373var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 384var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!); 400var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 419var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 438var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 451var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 470var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 490var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 506var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 523var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 537var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 556var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 571var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 591var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 610var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 628var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 650var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 671var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 690var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 701var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 713var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!)
EFMigrationWaitForTests.cs (7)
17var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!); 34var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!); 53var migrations1 = project.AddEFMigrations("migrations1", typeof(TestDbContext).FullName!); 54var migrations2 = project.AddEFMigrations("migrations2", typeof(AnotherDbContext).FullName!); 71var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!) 85var migrations = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!); 100_ = project.AddEFMigrations("mymigrations", typeof(TestDbContext).FullName!);
Aspire.Hosting.Foundry (1)
HostedAgent\AzureHostedAgentResource.cs (1)
358logger.LogWarning("Environment variable '{Key}' for resource '{Name}' has unknown value of type '{type}' and will be skipped.", key, resource.Name, value.GetType().FullName);
Aspire.Hosting.Keycloak.Tests (2)
KeycloakResourceBuilderTests.cs (2)
135Assert.Equal("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", rmq.Resource.AdminPasswordParameter.Default?.GetType().FullName); 145Assert.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)
20Assert.Equal("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", nats.Resource.PasswordParameter!.Default?.GetType().FullName); 30Assert.NotEqual("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", nats.Resource.PasswordParameter!.Default?.GetType().FullName);
Aspire.Hosting.Oracle.Tests (2)
AddOracleTests.cs (2)
21Assert.Equal("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", orcl.Resource.PasswordParameter.Default?.GetType().FullName); 31Assert.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)
31Assert.Equal("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", qd.Resource.ApiKeyParameter.Default?.GetType().FullName); 41Assert.NotEqual("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", qd.Resource.ApiKeyParameter.Default?.GetType().FullName);
Aspire.Hosting.RabbitMQ.Tests (2)
AddRabbitMQTests.cs (2)
20Assert.Equal("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", rmq.Resource.PasswordParameter.Default?.GetType().FullName); 30Assert.NotEqual("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", rmq.Resource.PasswordParameter.Default?.GetType().FullName);
Aspire.Hosting.Radius (1)
RadiusInfrastructure.cs (1)
59.CreateLogger(typeof(RadiusInfrastructure).FullName!);
Aspire.Hosting.RemoteHost (50)
Ats\AtsMarshaller.cs (1)
337return typeToConvert.FullName == "Aspire.Hosting.ApplicationModel.ReferenceExpression";
Ats\CapabilityDispatcher.cs (1)
889var unionAttribute = attributes.FirstOrDefault(static attribute => attribute.AttributeType.FullName is "Aspire.Hosting.AspireUnionAttribute");
Ats\HandleRegistry.cs (2)
99$"Handle '{handleId}' contains {obj.GetType().FullName}, expected {typeof(T).FullName}");
Ats\PolyglotCapabilityInvocationException.cs (4)
140var message = exception.GetType().FullName == "Aspire.Hosting.DistributedApplicationException" 375string.Equals(type.GetGenericTypeDefinition().FullName, HostingTypeNames.ResourceBuilderInterface, StringComparison.Ordinal)); 434return type.FullName switch 451if (constraint.FullName == "Aspire.Hosting.ApplicationModel.IResource")
Ats\ReferenceExpressionRef.cs (7)
323?? throw new InvalidOperationException($"Failed to create '{builderType.FullName}'."); 334?? throw new InvalidOperationException($"'{builder.GetType().FullName}' is missing AppendLiteral(string)."); 347?? throw new InvalidOperationException($"'{builder.GetType().FullName}' is missing AppendValueProvider(object, string)."); 355?? throw new InvalidOperationException($"'{builder.GetType().FullName}' is missing Build()."); 358?? throw new InvalidOperationException($"'{builder.GetType().FullName}.Build()' returned null."); 376?? throw new InvalidOperationException($"'{referenceExpressionType.FullName}' is missing CreateConditional(...)."); 379?? throw new InvalidOperationException($"'{referenceExpressionType.FullName}.CreateConditional(...)' returned null.");
AtsCapabilityScanner.cs (31)
97var fullName = enumType.FullName ?? enumType.Name; 465diagnostics.Add(AtsDiagnostic.Error(ex.Message, $"{type.FullName}.{method.Name}")); 1108$"DTO property '{type.FullName}.{prop.Name}' is a get-only mutable collection. Add an init accessor so System.Text.Json replaces the collection during DTO deserialization; otherwise collection values can be merged with initializer defaults.", 1109$"{type.FullName}.{prop.Name}")); 1193$"{type.FullName}.{field.Name}")); 1203docMemberName: $"F:{type.FullName}.{field.Name}", 1222$"{type.FullName}.{property.Name}")); 1230$"{type.FullName}.{property.Name}")); 1240docMemberName: $"P:{type.FullName}.{property.Name}", 1266$"Skipping [AspireValue] on '{declaringType.FullName}.{memberName}'. Exported values must serialize to copied shapes. Mutable lists, mutable dictionaries, handles, and DTOs containing them are not supported.", 1267$"{declaringType.FullName}.{memberName}")); 1275$"Skipping [AspireValue] on '{declaringType.FullName}.{memberName}'. Exported value path segment '{invalidSegment}' is not a valid guest SDK identifier.", 1276$"{declaringType.FullName}.{memberName}")); 1293$"Skipping [AspireValue] on '{declaringType.FullName}.{memberName}': {ex.Message}", 1294$"{declaringType.FullName}.{memberName}")); 1548var fullName = contextType.FullName ?? contextType.Name; 1602var propTypeFullName = propType.FullName ?? propType.Name; 1603var propGenericDef = propType.IsGenericType ? propType.GetGenericTypeDefinition().FullName : null; 1607propType.GetGenericArguments().Skip(1).FirstOrDefault()?.FullName == "System.Object"; 1918SourceLocation = $"{contextType.FullName}.{method.Name}", 1928diagnostics.Add(AtsDiagnostic.Error(ex.Message, $"{contextType.FullName}.{method.Name}")); 1981var methodLocation = $"{method.DeclaringType?.FullName ?? method.DeclaringType?.Name ?? "Unknown"}.{method.Name}"; 2057$"Capability '{capabilityId}' skipped: parameter '{param.Name}' has unmapped type '{param.ParameterType.FullName}'", 2246var genericDefFullName = genericDef.FullName ?? ""; 2395return AtsConstants.EnumTypeId(type.FullName ?? type.Name); 2723TypeId = AtsConstants.EnumTypeId(type.FullName ?? type.Name), 3014var baseFullName = currentBase.FullName; 3044var baseFullName = baseType.FullName; 3145var genericDefName = genericDef.FullName; 3305var typeName = memberType.FullName ?? memberType.Name; 3875return (type.FullName ?? type.Name).Replace('+', '.');
CodeGeneration\CodeGenerationDiagnostic.cs (1)
189OriginalExceptionType = exception.GetType().FullName ?? exception.GetType().Name,
CodeGeneration\CodeGeneratorResolver.cs (1)
144: "Verify the assembly contains a non-abstract type that implements " + typeof(ICodeGenerator).FullName + ".");
Diagnostics\RemoteHostProfilingTelemetry.cs (1)
453[Tags.ExceptionType] = exception.GetType().FullName,
Language\LanguageSupportResolver.cs (1)
129: "Verify the assembly contains a non-abstract type that implements " + typeof(ILanguageSupport).FullName + ".");
Aspire.Hosting.RemoteHost.Tests (12)
AtsCapabilityScannerTests.cs (2)
658&& diagnostic.Location == $"{typeof(GetOnlyCollectionDto).FullName}.{nameof(GetOnlyCollectionDto.Items)}"); 662&& diagnostic.Location == $"{typeof(GetOnlyCollectionDto).FullName}.{nameof(GetOnlyCollectionDto.Metadata)}");
AtsContextFilterTests.cs (5)
136type => Assert.Equal(AtsConstants.EnumTypeId(typeof(TestMode).FullName!), type.TypeId)); 163Assert.Contains(filteredContext.EnumTypes, type => type.TypeId == AtsConstants.EnumTypeId(typeof(DistributedApplicationOperation).FullName!)); 434TypeId = AtsConstants.EnumTypeId(typeof(TestMode).FullName!), 453TypeId = AtsConstants.EnumTypeId(typeof(TestMode).FullName!), 469TypeId = AtsConstants.EnumTypeId(typeof(DistributedApplicationOperation).FullName!),
CodeGenerationDiagnosticBuilderTests.cs (5)
37Assert.Equal(typeof(TypeLoadException).FullName, diagnostic.OriginalExceptionType); 56Assert.Equal(typeof(TypeLoadException).FullName, diagnostic.OriginalExceptionType); 68Assert.Equal(typeof(MissingMethodException).FullName, diagnostic.OriginalExceptionType); 82Assert.Equal(typeof(TypeLoadException).FullName, diagnostic.OriginalExceptionType); 95Assert.Equal(typeof(TypeLoadException).FullName, diagnostic.OriginalExceptionType);
Aspire.Hosting.SqlServer.Tests (2)
AddSqlServerTests.cs (2)
21Assert.Equal("Aspire.Hosting.ApplicationModel.UserSecretsParameterDefault", sql.Resource.PasswordParameter.Default?.GetType().FullName); 31Assert.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)
Backchannel\AuxiliaryBackchannelTests.cs (1)
606l.Category == typeof(AuxiliaryBackchannelService).FullName &&
Backchannel\BackchannelContractTests.cs (1)
132.Any(m => m.FullName == "System.Runtime.CompilerServices.IsExternalInit");
DcpVisibilityTests.cs (1)
14var dcpNamespaceTypes = types.Where(t => t.FullName!.Contains("Dcp", StringComparison.OrdinalIgnoreCase));
Aspire.Hosting.TestUtilities (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.Yarp (2)
ConfigurationBuilder\IYarpConfigurationBuilder.cs (1)
283_ => throw new ArgumentException($"Unsupported YARP route target type '{target.GetType().FullName}'.", nameof(target)),
ConfigurationBuilder\YarpConfigurationBuilder.cs (1)
70$"Destination must be an IValueProvider, string, or Uri. Got: {dest?.GetType().FullName ?? "null"}",
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)
269connectAttemptActivity.AddTag("exception.type", ex.GetType().FullName);
Aspire.StackExchange.Redis (2)
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\Implementation\RedisProfilerEntryToActivityConverter.cs (1)
269var methodName = classType.FullName + ".get_" + field.Name;
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\Shared\PropertyFetcher.cs (1)
120$"Type: {declaringType.FullName} is a value type. PropertyFetcher can only operate on reference payload types.")
Aspire.TypeSystem (8)
AtsTypeMapping.cs (1)
33return DeriveTypeId(assemblyName, type.FullName ?? type.Name);
AttributeDataReader.cs (1)
165return string.Equals(data.AttributeType.FullName, attributeFullName, StringComparison.Ordinal);
HostingTypeHelpers.cs (6)
71string.Equals(type?.FullName, HostingTypeNames.DistributedApplicationBuilder, StringComparison.Ordinal); 77string.Equals(type?.FullName, HostingTypeNames.DistributedApplication, StringComparison.Ordinal); 86if (string.Equals(type.FullName, fullName, StringComparison.Ordinal)) 92string.Equals(type.GetGenericTypeDefinition().FullName, fullName, StringComparison.Ordinal)) 99if (string.Equals(implementedInterface.FullName, fullName, StringComparison.Ordinal)) 105string.Equals(implementedInterface.GetGenericTypeDefinition().FullName, fullName, StringComparison.Ordinal))
CodeStyleConfigFileGenerator (2)
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FatalError.cs (1)
84var targetType = assembly.GetType(typeof(FatalError).FullName!, throwOnError: true)!;
src\roslyn\src\Dependencies\Contracts\ExceptionUtilities.cs (1)
23string 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);
dotnet (5)
Commands\MSBuild\MSBuildForwardingApp.cs (2)
45string loggerTypeFullName = loggerType.FullName!; // not-null because these are part of the same assembly 46string forwardingLoggerTypeFullName = forwardingLoggerType.FullName!; // not-null because these are part of the same assembly
Commands\Run\CSharpCompilerCommand.cs (1)
143.FirstOrDefault(attr => attr.AttributeType.FullName == "Microsoft.CodeAnalysis.CommitHashAttribute")?
Commands\Run\FileBasedAppRunPlan.cs (1)
300Reporter.Verbose.WriteLine($"Failed to deserialize cache entry ({path}): {exception.GetType().FullName}: {exception.Message}");
Commands\Test\MTP\IPC\HttpTestHostGateway.cs (1)
183Logger.LogTrace($"The dotnet test HTTP gateway rejected a malformed protocol frame of type '{ex.GetType().FullName}'.");
dotnet-aot (1)
src\sdk\src\Cli\dotnet\Commands\Run\FileBasedAppRunPlan.cs (1)
300Reporter.Verbose.WriteLine($"Failed to deserialize cache entry ({path}): {exception.GetType().FullName}: {exception.Message}");
dotnet-format (1)
Analyzers\AnalyzerFormatter.cs (1)
345if (analyzer.GetType().FullName?.EndsWith("NamingStyleDiagnosticAnalyzer") == true)
dotnet-Microsoft.XmlSerializer.Generator (4)
Sgen.cs (2)
303Console.Out.WriteLine(FormatMessage(parsableerrors, true, SR.Format(SR.InfoIgnoreType, type.FullName))); 462Console.Out.WriteLine(FormatMessage(parsableerrors, true, SR.Format(SR.InfoIgnoreType, type.FullName)));
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (2)
125throw new ObjectDisposedException(instance?.GetType().FullName); 131throw new ObjectDisposedException(type?.FullName);
dotnet-svcutil-lib (331)
CodeDomFixup\CodeDomHelpers.cs (1)
27Type namespaceHelper = typeof(ServiceContractGenerator).GetTypeInfo().Assembly.GetType(typeof(ServiceContractGenerator).FullName + "+NamespaceHelper");
CodeDomFixup\CodeDomVisitors\AttributeFixer.cs (1)
16private static readonly string s_excludeFromCodeCoverageAttributeFullName = typeof(ExcludeFromCodeCoverageAttribute).FullName;
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)
939if (specifiedTypes.TryGetValue(type.FullName, out Type foundType)) 941foundTypeName = 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\Microsoft\VBCodeProvider.cs (1)
2081if (e.ReturnType.BaseType.Length == 0 || string.Compare(e.ReturnType.BaseType, typeof(void).FullName, StringComparison.OrdinalIgnoreCase) == 0)
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");
dotnet-svcutil.xmlserializer (2)
Microsoft\Tools\ServiceModel\SvcUtil\Options.cs (2)
484if (specifiedTypes.TryGetValue(type.FullName, out foundType)) 485foundTypeName = type.FullName;
EventSourceGenerator (2)
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (2)
125throw new ObjectDisposedException(instance?.GetType().FullName); 131throw new ObjectDisposedException(type?.FullName);
GenerateDocumentationAndConfigFiles (69)
CodeFixerExtensions.cs (1)
57Console.WriteLine($"Error creating instance of {typeInfo.FullName} in {analyzerFileReference.FullPath}\r\n{ex.Message}\r\n{ex}");
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FatalError.cs (1)
84var targetType = assembly.GetType(typeof(FatalError).FullName!, throwOnError: true)!;
src\roslyn\src\Dependencies\Contracts\ExceptionUtilities.cs (1)
23string output = string.Format("Unexpected value '{0}' of type '{1}'", o, (o != null) ? o.GetType().FullName : "<unknown>");
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (61)
79=> compilation.GetTypeByMetadataName(typeof(ArgumentException).FullName!); 82=> compilation.GetTypeByMetadataName(typeof(ArgumentNullException).FullName!); 85=> compilation.GetTypeByMetadataName(typeof(ArgumentOutOfRangeException).FullName!); 88=> compilation.GetTypeByMetadataName(typeof(Array).FullName!); 91=> compilation.GetTypeByMetadataName(typeof(Attribute).FullName!); 94=> compilation.GetTypeByMetadataName(typeof(BlockingCollection<>).FullName!); 97=> compilation.GetTypeByMetadataName(typeof(Collection<>).FullName!); 100=> compilation.GetTypeByMetadataName(typeof(Exception).FullName!); 103=> compilation.GetTypeByMetadataName(typeof(System.Diagnostics.DebuggerDisplayAttribute).FullName!); 106=> compilation.GetTypeByMetadataName(typeof(StructLayoutAttribute).FullName!); 121=> compilation.GetTypeByMetadataName(typeof(ThreadStaticAttribute).FullName!); 124=> compilation.GetTypeByMetadataName(typeof(FormattableString).FullName!); 127=> compilation.GetTypeByMetadataName(typeof(IFormattable).FullName!); 130=> compilation.GetTypeByMetadataName(typeof(EventArgs).FullName!); 133=> compilation.GetTypeByMetadataName(typeof(NotImplementedException).FullName!); 136=> compilation.GetTypeByMetadataName(typeof(EqualityComparer<>).FullName!); 139=> compilation.GetTypeByMetadataName(typeof(Action).FullName!); 145=> compilation.GetTypeByMetadataName(typeof(EditorBrowsableAttribute).FullName!); 148=> compilation.GetTypeByMetadataName(typeof(EditorBrowsableState).FullName!); 151=> compilation.GetTypeByMetadataName(typeof(Task).FullName!); 154=> compilation.GetTypeByMetadataName(typeof(Task<>).FullName!); 163=> compilation.GetTypeByMetadataName(typeof(ICollection<>).FullName!); 166=> compilation.GetTypeByMetadataName(typeof(System.Collections.IEnumerable).FullName!); 169=> compilation.GetTypeByMetadataName(typeof(IEnumerable<>).FullName!); 172=> compilation.GetTypeByMetadataName(typeof(IEnumerator<>).FullName!); 175=> compilation.GetTypeByMetadataName(typeof(IList<>).FullName!); 178=> compilation.GetTypeByMetadataName(typeof(IReadOnlyList<>).FullName!); 181=> compilation.GetTypeByMetadataName(typeof(ISet<>).FullName!); 184=> compilation.GetTypeByMetadataName(typeof(IReadOnlySet<>).FullName!); 193=> compilation.GetTypeByMetadataName(typeof(ImmutableArray<>).FullName!); 196=> compilation.GetTypeByMetadataName(typeof(SerializableAttribute).FullName!); 199=> compilation.GetTypeByMetadataName(typeof(CoClassAttribute).FullName!); 202=> compilation.GetTypeByMetadataName(typeof(ComAliasNameAttribute).FullName!); 205=> compilation.GetTypeByMetadataName(typeof(SuppressMessageAttribute).FullName!); 208=> compilation.GetTypeByMetadataName(typeof(TupleElementNamesAttribute).FullName!); 214=> compilation.GetTypeByMetadataName(typeof(DynamicAttribute).FullName!); 217=> compilation.GetTypeByMetadataName(typeof(Lazy<>).FullName!); 220=> compilation.GetTypeByMetadataName(typeof(ISerializable).FullName!); 223=> compilation.GetTypeByMetadataName(typeof(SerializationInfo).FullName!); 226=> compilation.GetTypeByMetadataName(typeof(StreamingContext).FullName!); 229=> compilation.GetTypeByMetadataName(typeof(OnDeserializingAttribute).FullName!); 232=> compilation.GetTypeByMetadataName(typeof(OnDeserializedAttribute).FullName!); 235=> compilation.GetTypeByMetadataName(typeof(OnSerializingAttribute).FullName!); 238=> compilation.GetTypeByMetadataName(typeof(OnSerializedAttribute).FullName!); 241=> compilation.GetTypeByMetadataName(typeof(ComRegisterFunctionAttribute).FullName!); 244=> compilation.GetTypeByMetadataName(typeof(ComUnregisterFunctionAttribute).FullName!); 247=> compilation.GetTypeByMetadataName(typeof(ConditionalAttribute).FullName!); 250=> compilation.GetTypeByMetadataName(typeof(ObsoleteAttribute).FullName!); 259=> compilation.GetTypeByMetadataName(typeof(IDisposable).FullName!); 262=> compilation.GetTypeByMetadataName(typeof(NotNullAttribute).FullName!); 265=> compilation.GetTypeByMetadataName(typeof(MaybeNullAttribute).FullName!); 268=> compilation.GetTypeByMetadataName(typeof(MaybeNullWhenAttribute).FullName!); 271=> compilation.GetTypeByMetadataName(typeof(AllowNullAttribute).FullName!); 274=> compilation.GetTypeByMetadataName(typeof(DisallowNullAttribute).FullName!); 277=> compilation.GetTypeByMetadataName(typeof(DataMemberAttribute).FullName!); 280=> compilation.GetTypeByMetadataName(typeof(DataContractAttribute).FullName!); 286=> compilation.GetTypeByMetadataName(typeof(CancellationToken).FullName!); 292=> compilation.GetTypeByMetadataName(typeof(List<>).FullName!); 295=> compilation.GetTypeByMetadataName(typeof(ReadOnlySpan<>).FullName!); 298=> compilation.GetTypeByMetadataName(typeof(Span<>).FullName!); 301=> compilation.GetTypeByMetadataName(typeof(InterpolatedStringHandlerAttribute).FullName!);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (1)
719&& attributeData.AttributeClass.ToNameDisplayString() == typeof(ReferenceAssemblyAttribute).FullName)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
243var iequatableType = compilation.GetTypeByMetadataName(typeof(IEquatable<>).FullName);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (1)
441var type = compilation.GetTypeByMetadataName(typeof(ArgumentNullException).FullName!);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SemanticsFactsService\AbstractSemanticFactsService.cs (2)
112? GetIDisposableInterfaceAndDisposeMethod(typeof(IAsyncDisposable).FullName!, nameof(IAsyncDisposable.DisposeAsync)) 113: GetIDisposableInterfaceAndDisposeMethod(typeof(IDisposable).FullName!, nameof(IDisposable.Dispose));
ILCompiler.Compiler (1)
Compiler\Dataflow\MethodBodyScanner.cs (1)
1223throw new NotImplementedException($"Unhandled dereference of ReferenceValue of type {referenceValue.GetType().FullName}");
illink (4)
ILLink.RoslynAnalyzer (2)
CompilationExtensions.cs (2)
176=> compilation.GetTypeByMetadataName(typeof(Task).FullName!); 178=> compilation.GetTypeByMetadataName(typeof(Task<>).FullName!);
Infrastructure.Common (1)
xunit\ConditionAttribute.cs (1)
74conditionMemberName, testMethodDeclaringType.FullName));
Microsoft.Analyzers.Extra.Tests (1)
RoslynTestUtils.cs (1)
445codeActionEquivalenceKey: fixer.GetType().FullName!,
Microsoft.Analyzers.Local.Tests (1)
RoslynTestUtils.cs (1)
446codeActionEquivalenceKey: fixer.GetType().FullName!,
Microsoft.AspNetCore (1)
WebApplicationBuilder.cs (1)
606var wireUpIndex = destinationDescriptions.IndexOf(typeof(WireSourcePipeline).FullName!);
Microsoft.AspNetCore.App.Analyzers (2)
src\aspnetcore\src\Shared\RoslynUtils\WellKnownTypes.cs (2)
55_missingTypeSymbol = compilation.GetTypeByMetadataName(typeof(MissingType).FullName!)!; 108result ??= _compilation.GetTypeByMetadataName(typeof(MissingType).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)
228Logger.EnteringOpenIdAuthenticationHandlerHandleSignOutAsync(GetType().FullName!); 391Logger.EnteringOpenIdAuthenticationHandlerHandleUnauthorizedAsync(GetType().FullName!); 640Logger.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 (52)
BindConverter.cs (2)
1899$"The type '{typeof(T).FullName}' does not have an associated {typeof(TypeConverter).Name} that supports " + 2128$"The type '{typeof(T).FullName}' does not have an associated {typeof(TypeConverter).Name} that supports " +
ComponentFactory.cs (1)
81throw new InvalidOperationException($"The component activator returned a null value for a component of type {componentType.FullName}.");
ComponentsActivitySource.cs (1)
125activity.SetTag("error.type", ex.GetType().FullName);
ComponentsMetrics.cs (1)
208var errorType = exception?.GetType().FullName;
DefaultComponentActivator.cs (1)
30throw new ArgumentException($"The type {componentType.FullName} does not implement {nameof(IComponent)}.", nameof(componentType));
DefaultComponentPropertyActivator.cs (3)
84$"'{propertyName}' on type '{type.FullName}'. The service provider " + 91$"'{propertyName}' on type '{type.FullName}'. There is no " + 98$"'{propertyName}' on type '{type.FullName}'. There is no " +
LayoutAttribute.cs (2)
25throw new ArgumentException($"Invalid layout type: {layoutType.FullName} " + 26$"does not implement {typeof(IComponent).FullName}.");
NavigationManager.cs (1)
245throw 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).");
PersistentState\PersistentServiceRegistration.cs (1)
12public string FullTypeName => typeof(TService).FullName!;
PersistentState\PersistentServicesRegistry.cs (4)
22private static readonly string _registryKey = typeof(PersistentServicesRegistry).FullName!; 210$"The type '{targetType.FullName}' declares a property matching the name '{propertyName}' that is not public. Persistent service properties must be public."); 216$"The type '{targetType.FullName}' declares a property matching the name '{propertyName}' that is not public. Persistent service properties must be public."); 240var typeName = keyType.FullName;
PersistentState\PersistentStateValueProviderKeyResolver.cs (1)
156private static string GetComponentType(ComponentState componentState) => componentState.Component.GetType().FullName!;
PersistentState\PersistentValueProviderComponentSubscription.cs (1)
235$"A public property '{propertyName}' on component type '{type.FullName}' with a public getter wasn't found.");
Reflection\ComponentProperties.cs (11)
192$"type '{target.GetType().FullName}'. The error was: {ex.Message}", ex); 213$"Object of type '{targetType.FullName}' has a property matching the name '{parameterName}', " + 220$"No writer was cached for the property '{propertyInfo.Name}' on type '{targetType.FullName}'."); 226$"Object of type '{targetType.FullName}' does not have a property " + 235$"The property '{parameterName}' on component type '{targetType.FullName}' cannot be set " + 243$"The property '{parameterName}' on component type '{targetType.FullName}' cannot be set " + 251$"The property '{parameterName}' on component type '{targetType.FullName}' cannot be set explicitly " + 271$"Multiple properties were found on component type '{targetType.FullName}' with " + 281$"The property '{propertyInfo.Name}' on component type '{targetType.FullName}' cannot be used " + 332$"The type '{targetType.FullName}' declares a parameter matching the name '{propertyName}' that is not public. Parameters must be public."); 344$"The type '{targetType.FullName}' declares more than one parameter matching the " +
Rendering\ComponentState.cs (1)
58_componentTypeName = component.GetType().FullName;
Rendering\RenderTreeBuilder.cs (2)
506throw new ArgumentException($"The component type must implement {typeof(IComponent).FullName}."); 817throw 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)
44throw new InvalidOperationException($"The event handler parameter type {declaredType.FullName} for event must inherit from {typeof(EventArgs).FullName}.");
RenderTree\Renderer.cs (3)
502receiverName ??= (callback.Receiver?.GetType() ?? callback.Delegate.Target?.GetType())?.FullName; 553receiverName ??= (callback.Receiver?.GetType() ?? callback.Delegate.Target?.GetType())?.FullName; 568receiverName ??= (callback.Receiver?.GetType() ?? callback.Delegate.Target?.GetType())?.FullName;
Routing\Router.cs (8)
148throw new InvalidOperationException($"The type {NotFoundPage.FullName} " + 149$"does not implement {typeof(IComponent).FullName}."); 155throw new InvalidOperationException($"The type {NotFoundPage.FullName} " + 156$"does not have a {typeof(RouteAttribute).FullName} applied to it."); 236activityHandle = RecordDiagnostics(endpointRouteData.PageType.FullName, endpointRouteData.Template); 265throw new InvalidOperationException($"The type {context.Handler.FullName} " + 266$"does not implement {typeof(IComponent).FullName}."); 269activityHandle = RecordDiagnostics(context.Handler.FullName, context.Entry.RoutePattern.RawText);
Routing\RouteTableFactory.cs (2)
216'{existingText}' in '{existing.Handler.FullName}' 217'{currentText}' in '{current.Handler.FullName}'
src\aspnetcore\src\Components\Shared\src\Reflection\PropertyGetter.cs (1)
30$"'{property.Name}' on type '{targetType.FullName}' because the property " +
src\aspnetcore\src\Components\Shared\src\Reflection\PropertySetter.cs (1)
26$"'{property.Name}' on type '{targetType.FullName}' because the property " +
src\aspnetcore\src\Http\Routing\src\ParameterPolicyActivator.cs (1)
64$"An error occurred while trying to create an instance of '{parameterPolicyType.FullName}'.",
src\aspnetcore\src\Http\Routing\src\Tree\TreeRouteBuilder.cs (1)
66_constraintLogger = loggerFactory.CreateLogger(typeof(RouteConstraintMatcher).FullName);
Microsoft.AspNetCore.Components.Endpoints (59)
Builder\RazorComponentEndpointDataSource.cs (1)
165throw new InvalidOperationException($"Unable to find a provider for the render mode: {renderMode.GetType().FullName}. This generally " +
CacheView\CacheViewService.cs (1)
67$"Component '{componentType.FullName}' cannot be used inside a CacheView because its output depends on per-request state ([CacheBehavior(CacheBehavior.Throw)]{(conditionVaryBy != CacheVaryBy.None ? $", [CacheCondition({FormatVaryByFlags(conditionVaryBy)})]" : "")}) that cannot be safely cached and replayed. " +
DependencyInjection\TempDataService.cs (1)
53var logger = httpContext.RequestServices.GetRequiredService<ILoggerFactory>().CreateLogger(typeof(TempDataService).FullName!);
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\PageComponentBuilder.cs (1)
91return $"Type = {PageType.FullName}, RouteTemplates = {string.Join(", ", RouteTemplates ?? Enumerable.Empty<string>())}";
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}'.");
Forms\DataAnnotationsLocalizer.cs (1)
135$"delegate returned null for type '{type.FullName}'. " +
Rendering\CacheViewTextWriter.cs (2)
106$"CacheView could not serialize the live cached component '{componentType.FullName}' from its parent's render tree."); 164$"The live cached component '{liveCachedComponentType.FullName}' cannot be used inside a CacheView because its RenderFragment parameter '{frame.AttributeName}' would be frozen to the first render's content (a live cached component's parameters are captured once and replayed). " +
Rendering\EndpointComponentState.cs (3)
21private static readonly string _cacheViewTypeName = typeof(CacheView).FullName!; 56var ancestorTypeName = parentComponentState.Component?.GetType().FullName ?? ""; 115$"Could not locate the CacheView in the render tree of its parent component '{parentState.Component?.GetType().FullName}' while computing its cache key.");
Rendering\EndpointHtmlRenderer.Streaming.cs (2)
325$"CacheView could not locate the live cached component '{liveCachedComponentType.FullName}' in its parent's render tree."); 416.CreateLogger(typeof(RenderFragmentSerializer).FullName!);
Rendering\SSRRenderModeBoundary.cs (1)
221_ => 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)}.");
Serialization\JsonStoredDataSerializer.cs (1)
135return $"{type.GetGenericTypeDefinition().FullName}[{string.Join(',', arguments)}]";
SessionCascadingValueSupplier.cs (1)
67throw new InvalidOperationException($"A property '{propertyName}' on component type '{type.FullName}' wasn't found.");
SessionEstablishmentHelper.cs (2)
26Log.SessionDoesNotExist(loggerFactory.CreateLogger(typeof(SessionEstablishmentHelper).FullName!)); 36Log.ResponseHasStarted(loggerFactory.CreateLogger(typeof(SessionEstablishmentHelper).FullName!));
src\aspnetcore\src\Components\Shared\src\Reflection\PropertyGetter.cs (1)
30$"'{property.Name}' on type '{targetType.FullName}' because the property " +
src\aspnetcore\src\Components\Shared\src\Reflection\PropertySetter.cs (1)
26$"'{property.Name}' on type '{targetType.FullName}' because the property " +
src\aspnetcore\src\Components\Shared\src\RenderFragmentSerializer.cs (4)
60node.KeyTypeName = frame.ElementKey.GetType().FullName; 102TypeName = frame.ComponentType?.FullName, 109node.KeyTypeName = frame.ComponentKey.GetType().FullName; 226TypeName = frame.AttributeValue?.GetType().FullName,
src\aspnetcore\src\Shared\ClosedGenericMatcher\ClosedGenericMatcher.cs (2)
78else if (StringComparer.Ordinal.Compare(@interface.FullName, bestMatch.FullName) < 0)
src\aspnetcore\src\Shared\Components\ComponentParameter.cs (1)
24TypeName = valueType?.FullName,
src\aspnetcore\src\Shared\Components\ServerComponentSerializer.cs (1)
46rootComponent.FullName ?? throw new InvalidOperationException("Cannot prerender component types with a null name"),
TempData\TempDataCascadingValueSupplier.cs (1)
50throw new InvalidOperationException($"A property '{propertyName}' on component type '{type.FullName}' wasn't found.");
Microsoft.AspNetCore.Components.QuickGrid (2)
Columns\ColumnBase.razor.cs (1)
121throw new InvalidOperationException($"Column '{displayName}' expects item type '{typeof(TGridItem).FullName}', which does not match the parent QuickGrid's item type.");
Infrastructure\AsyncQueryExecutorSupplier.cs (1)
57=> queryableProviderType.GetInterfaces().Any(x => string.Equals(x.FullName, "Microsoft.EntityFrameworkCore.Query.IAsyncQueryProvider", StringComparison.Ordinal)) == true;
Microsoft.AspNetCore.Components.Server (12)
Circuits\CircuitActivitySource.cs (1)
68activity.SetTag("error.type", ex.GetType().FullName);
Circuits\ComponentParameterDeserializer.cs (1)
53else if (definition.TypeName == typeof(SerializedRenderFragment).FullName
ProtectedBrowserStorage\ProtectedBrowserStorage.cs (1)
168=> $"{GetType().FullName}:{_storeName}:{key}";
src\aspnetcore\src\Components\Shared\src\RenderFragmentSerializer.cs (4)
60node.KeyTypeName = frame.ElementKey.GetType().FullName; 102TypeName = frame.ComponentType?.FullName, 109node.KeyTypeName = frame.ComponentKey.GetType().FullName; 226TypeName = frame.AttributeValue?.GetType().FullName,
src\aspnetcore\src\Components\Shared\src\RootComponentOperation.cs (1)
39return $"{ComponentType.FullName}({parameters})";
src\aspnetcore\src\Shared\Components\ComponentParameter.cs (1)
24TypeName = valueType?.FullName,
src\aspnetcore\src\Shared\Components\ServerComponentSerializer.cs (1)
46rootComponent.FullName ?? throw new InvalidOperationException("Cannot prerender component types with a null name"),
src\aspnetcore\src\submodules\MessagePack-CSharp\src\MessagePack.UnityClient\Assets\Scripts\MessagePack\MessagePackSerializationException.cs (1)
60internal static Exception ThrowUnexpectedNilWhileDeserializing<T>() => throw new MessagePackSerializationException("Unexpected nil encountered while deserializing " + typeof(T).FullName);
src\aspnetcore\src\submodules\MessagePack-CSharp\src\MessagePack.UnityClient\Assets\Scripts\MessagePack\Utilities.cs (1)
39throw 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.Testing (3)
Infrastructure\TestReadinessHostingStartup.cs (1)
67$"Could not find static method '{overrideMethodName}(IServiceCollection)' on type '{type.FullName}'.");
Playwright\UITest.cs (2)
40$"{GetType().FullName} must be annotated with UITestAttribute."); 68$"Could not determine assembly name for type '{typeof(TApp).FullName}'.");
Microsoft.AspNetCore.Components.WebAssembly (7)
Prerendering\WebAssemblyComponentParameterDeserializer.cs (1)
54else if (definition.TypeName == typeof(SerializedRenderFragment).FullName
src\aspnetcore\src\Components\Shared\src\RenderFragmentSerializer.cs (4)
60node.KeyTypeName = frame.ElementKey.GetType().FullName; 102TypeName = frame.ComponentType?.FullName, 109node.KeyTypeName = frame.ComponentKey.GetType().FullName; 226TypeName = frame.AttributeValue?.GetType().FullName,
src\aspnetcore\src\Components\Shared\src\RootComponentOperation.cs (1)
39return $"{ComponentType.FullName}({parameters})";
src\aspnetcore\src\Shared\Components\ComponentParameter.cs (1)
24TypeName = valueType?.FullName,
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.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.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!; 184handlerTag = exceptionHandler.GetType().FullName; 220handlerTag = _problemDetailsService.GetType().FullName;
src\aspnetcore\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.Grpc.JsonTranscoding (4)
Internal\Json\EnumConverter.cs (2)
67throw new InvalidOperationException($"Integer can't be converted to enum {typeof(TEnum).FullName}."); 77throw new InvalidOperationException($"Enum {typeof(TEnum).FullName} can't be converted to integer.");
src\aspnetcore\src\Grpc\JsonTranscoding\src\Shared\Server\InterceptorPipelineBuilder.cs (2)
100throw new InvalidOperationException($"Could not construct Interceptor instance for type {interceptorRegistration.Type.FullName}"); 159throw new InvalidOperationException($"Could not construct Interceptor instance for type {interceptorRegistration.Type.FullName}");
Microsoft.AspNetCore.Hosting (7)
Internal\ConfigureBuilder.cs (2)
49parameterInfo.ParameterType.FullName, 52MethodInfo.DeclaringType?.FullName), ex);
Internal\HostingApplicationDiagnostics.cs (1)
543activity.SetTag(HostingTelemetryHelpers.AttributeErrorType, exception.GetType().FullName);
Internal\HostingMetrics.cs (1)
89tags.TryAddTag(HostingTelemetryHelpers.AttributeErrorType, exception.GetType().FullName);
Internal\StartupLoader.cs (2)
348startupType.FullName)); 360startupType.FullName,
src\aspnetcore\src\Shared\TypeNameHelper\TypeNameHelper.cs (1)
83var name = options.FullName ? type.FullName! : type.Name;
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.Extensions (32)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Factories\CollectionConverterFactory.cs (1)
66throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'.");
src\aspnetcore\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\aspnetcore\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\aspnetcore\src\Components\Endpoints\src\FormMapping\Factories\ComplexType\ComplexTypeExpressionConverterFactoryOfT.cs (1)
27throw new InvalidOperationException($"Could not resolve metadata for type '{type.FullName}'.");
src\aspnetcore\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\aspnetcore\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\aspnetcore\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\aspnetcore\src\Components\Endpoints\src\FormMapping\Factories\FileConverterFactory.cs (1)
29throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'.");
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Factories\ParsableConverterFactory.cs (1)
25throw new InvalidOperationException($"Unable to create converter for '{type.FullName}'.");
src\aspnetcore\src\Components\Endpoints\src\FormMapping\FormDataMapperOptions.cs (1)
70throw new InvalidOperationException($"No converter registered for type '{type.FullName}'.");
src\aspnetcore\src\Shared\ClosedGenericMatcher\ClosedGenericMatcher.cs (2)
78else if (StringComparer.Ordinal.Compare(@interface.FullName, bestMatch.FullName) < 0)
src\aspnetcore\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\aspnetcore\src\Shared\ObjectMethodExecutor\ObjectMethodExecutorFSharpSupport.cs (1)
182var typeFullName = possibleFSharpType?.FullName;
src\aspnetcore\src\Shared\TypeNameHelper\TypeNameHelper.cs (1)
83var name = options.FullName ? type.FullName! : type.Name;
Microsoft.AspNetCore.Http.RequestDelegateGenerator (2)
src\aspnetcore\src\Shared\RoslynUtils\WellKnownTypes.cs (2)
55_missingTypeSymbol = compilation.GetTypeByMetadataName(typeof(MissingType).FullName!)!; 108result ??= _compilation.GetTypeByMetadataName(typeof(MissingType).FullName!)!;
Microsoft.AspNetCore.Http.Results (2)
src\aspnetcore\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.Identity (26)
SignInManager.cs (25)
187_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, signInResult, SignInType.Refresh, isPersistent, startTimestamp); 191_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result: null, SignInType.Refresh, isPersistent: null, startTimestamp, ex); 299_metrics?.SignInUserPrincipal(typeof(TUser).FullName!, AuthenticationScheme, authenticationProperties.IsPersistent); 303_metrics?.SignInUserPrincipal(typeof(TUser).FullName!, AuthenticationScheme, isPersistent: null, ex); 326_metrics?.SignOutUserPrincipal(typeof(TUser).FullName!, AuthenticationScheme); 330_metrics?.SignOutUserPrincipal(typeof(TUser).FullName!, AuthenticationScheme, ex); 414_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result, SignInType.Password, isPersistent, startTimestamp); 420_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result: null, SignInType.Password, isPersistent, startTimestamp, ex); 442_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, SignInResult.Failed, SignInType.Password, isPersistent, startTimestamp); 464_metrics?.CheckPasswordSignIn(typeof(TUser).FullName!, result); 470_metrics?.CheckPasswordSignIn(typeof(TUser).FullName!, result: null, ex); 655_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result, SignInType.Passkey, isPersistent: false, startTimestamp); 661_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result: null, SignInType.Passkey, isPersistent: false, startTimestamp, ex); 790_metrics?.RememberTwoFactorClient(typeof(TUser).FullName!, IdentityConstants.TwoFactorRememberMeScheme); 794_metrics?.RememberTwoFactorClient(typeof(TUser).FullName!, IdentityConstants.TwoFactorRememberMeScheme, ex); 808_metrics?.ForgetTwoFactorClient(typeof(TUser).FullName!, IdentityConstants.TwoFactorRememberMeScheme); 812_metrics?.ForgetTwoFactorClient(typeof(TUser).FullName!, IdentityConstants.TwoFactorRememberMeScheme, ex); 828_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result, SignInType.TwoFactorRecoveryCode, isPersistent: false, startTimestamp); 834_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result: null, SignInType.TwoFactorRecoveryCode, isPersistent: false, startTimestamp, ex); 910_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result, SignInType.TwoFactorAuthenticator, isPersistent, startTimestamp); 916_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result: null, SignInType.TwoFactorAuthenticator, isPersistent, startTimestamp, ex); 975_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result, SignInType.TwoFactor, isPersistent, startTimestamp); 981_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result: null, SignInType.TwoFactor, isPersistent, startTimestamp, ex); 1065_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result, SignInType.External, isPersistent, startTimestamp); 1071_metrics?.AuthenticateSignIn(typeof(TUser).FullName!, AuthenticationScheme, result: null, SignInType.External, isPersistent, startTimestamp, ex);
SignInManagerMetrics.cs (1)
198tags.Add("error.type", exception.GetType().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 (6)
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;
Tracing\EventSourceValidator.cs (2)
49$"Type '{eventSourceType.FullName}' does not derive from EventSource."); 102$"EventSource '{eventSourceType.FullName}' has event ID validation error(s):" +
Microsoft.AspNetCore.JsonPatch (4)
Internal\ListAdapter.cs (2)
273errorMessage = Resources.FormatPatchNotSupportedForArrays(listType.FullName); 282errorMessage = Resources.FormatPatchNotSupportedForNonGenericLists(listType.FullName);
src\aspnetcore\src\Shared\ClosedGenericMatcher\ClosedGenericMatcher.cs (2)
78else if (StringComparer.Ordinal.Compare(@interface.FullName, bestMatch.FullName) < 0)
Microsoft.AspNetCore.JsonPatch.SystemTextJson (4)
Internal\ListAdapter.cs (2)
201errorMessage = $"The type '{listType.FullName}' which is an array is not supported for json patch operations as it has a fixed size."; 209errorMessage = $"The type '{listType.FullName}' which is a non generic list is not supported for json patch operations. Only generic list types are supported.";
src\aspnetcore\src\Shared\ClosedGenericMatcher\ClosedGenericMatcher.cs (2)
78else if (StringComparer.Ordinal.Compare(@interface.FullName, bestMatch.FullName) < 0)
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\aspnetcore\src\Shared\ClosedGenericMatcher\ClosedGenericMatcher.cs (2)
78else if (StringComparer.Ordinal.Compare(@interface.FullName, bestMatch.FullName) < 0)
src\aspnetcore\src\Shared\TypeNameHelper\TypeNameHelper.cs (1)
83var name = options.FullName ? type.FullName! : type.Name;
Microsoft.AspNetCore.Mvc.ApiExplorer (3)
EndpointMetadataApiDescriptionProvider.cs (3)
473if (returnType.FullName is null) 478return returnType.FullName.StartsWith("System.Threading.Tasks.Task`1[", StringComparison.Ordinal) || 479returnType.FullName.StartsWith("System.Threading.Tasks.ValueTask`1[", StringComparison.Ordinal);
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)
158=> JsonInputSuccess(logger, modelType.FullName);
Formatters\TextOutputFormatter.cs (1)
118throw new InvalidOperationException(Resources.FormatOutputFormatterNoMediaType(GetType().FullName));
Infrastructure\DefaultOutputFormatterSelector.cs (2)
64typeof(MvcOptions).FullName, 66typeof(IOutputFormatter).FullName));
Infrastructure\ObjectResultExecutor.cs (1)
162var 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\aspnetcore\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\aspnetcore\src\Shared\ObjectMethodExecutor\ObjectMethodExecutorFSharpSupport.cs (1)
182var typeFullName = possibleFSharpType?.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.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)
202BufferingAsyncEnumerable(logger, asyncEnumerable.GetType().FullName);
NewtonsoftJsonResultExecutor.cs (2)
175BufferingAsyncEnumerable(logger, asyncEnumerable.GetType().FullName); 186var type = value == null ? "null" : value.GetType().FullName;
src\aspnetcore\src\Shared\ClosedGenericMatcher\ClosedGenericMatcher.cs (2)
78else if (StringComparer.Ordinal.Compare(@interface.FullName, bestMatch.FullName) < 0)
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)
65f.ImplementationType.FullName == "Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompilerProvider");
RuntimeCompilationFileProvider.cs (2)
47typeof(MvcRazorRuntimeCompilationOptions).FullName, 49typeof(IFileProvider).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.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.Testing (1)
WebApplicationFactory.cs (1)
347typeof(TEntryPoint).Assembly.EntryPoint!.DeclaringType!.FullName,
Microsoft.AspNetCore.Mvc.ViewFeatures (33)
DefaultDisplayTemplates.cs (2)
85"Collection", model.GetType().FullName, typeof(IEnumerable).FullName));
DefaultEditorTemplates.cs (2)
68"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.OpenApi (2)
src\aspnetcore\src\Shared\ObjectMethodExecutor\ObjectMethodExecutorFSharpSupport.cs (1)
182var typeFullName = possibleFSharpType?.FullName;
src\aspnetcore\src\Shared\TypeNameHelper\TypeNameHelper.cs (1)
83var name = options.FullName ? type.FullName! : type.Name;
Microsoft.AspNetCore.Owin (7)
OwinEnvironment.cs (2)
62_context.Items[typeof(HttpContext).FullName] = _context; // Store for lookup when we transition back out of OWIN 333throw 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.Razor.Utilities.Shared (1)
Utilities\Checksum.Builder.cs (1)
210SR.FormatUnsupported_type_0(value.GetType().FullName), nameof(value));
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\aspnetcore\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.Server.IIS (1)
src\aspnetcore\src\Shared\TypeNameHelper\TypeNameHelper.cs (1)
83var name = options.FullName ? type.FullName! : type.Name;
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)
150tags.TryAddTag(ErrorTypeAttributeName, exception.GetType().FullName); 341tags.TryAddTag(ErrorTypeAttributeName, exception.GetType().FullName);
Microsoft.AspNetCore.SignalR.Client.Core (13)
HubConnection.cs (7)
1323activity.SetTag("error.type", ex.GetType().FullName); 1445Log.PreparingBlockingInvocation(_logger, irq.InvocationId, methodName, irq.ResultType.FullName!, args.Length); 1458Log.IssuingInvocation(_logger, irq.InvocationId, irq.ResultType.FullName!, methodName, args); 1476Log.PreparingStreamingInvocation(_logger, irq.InvocationId, methodName, irq.ResultType.FullName!, args.Length); 1489Log.IssuingInvocation(_logger, irq.InvocationId, irq.ResultType.FullName!, methodName, args); 1565activity.SetTag("error.type", ex.GetType().FullName); 1676throw new InvalidOperationException($"Unexpected message type: {message.GetType().FullName}");
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)
135Activity.SetTag("error.type", exception.GetType().FullName); 166Activity.SetTag("error.type", typeof(OperationCanceledException).FullName); 210Activity.SetTag("error.type", exception.GetType().FullName); 231Activity.SetTag("error.type", typeof(OperationCanceledException).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; 283Log.UnsupportedMessageReceived(_logger, hubMessage.GetType().FullName!); 1017activity?.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\aspnetcore\src\Shared\ClosedGenericMatcher\ClosedGenericMatcher.cs (2)
78else if (StringComparer.Ordinal.Compare(@interface.FullName, bestMatch.FullName) < 0)
src\aspnetcore\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.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.Bcl.AsyncInterfaces (2)
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (2)
125throw new ObjectDisposedException(instance?.GetType().FullName); 131throw new ObjectDisposedException(type?.FullName);
Microsoft.Bcl.Numerics (2)
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (2)
125throw new ObjectDisposedException(instance?.GetType().FullName); 131throw new ObjectDisposedException(type?.FullName);
Microsoft.Build (47)
BackEnd\BuildManager\BuildManager.cs (4)
3318loggerClassName: typeof(BuildCheckForwardingLogger).FullName, 3338loggerClassName: typeof(InternalTelemetryForwardingLogger).FullName, 3395string configurableLoggerName = configurableLoggerType.FullName!; 3414l.ForwardingLoggerDescription.Name.Contains(typeof(CentralForwardingLogger).FullName!)
BackEnd\Components\Communications\TranslatorExtensions.cs (1)
74Assumed.True(typeof(T).IsAssignableFrom(type), $"{typeName} must be a {typeof(T).FullName}");
BackEnd\Components\Logging\LoggingService.cs (4)
815loggerTypes.Add(logger.GetType().FullName); 1042string loggerClassName = typeof(CentralForwardingLogger).FullName; 1658Assumed.NotNull(buildEventArgs, $"Unknown logging item in queue: {loggingEvent.GetType().FullName}"); 1968innerLogger.GetType().FullName == "Microsoft.Build.Logging.TerminalLogger"
BackEnd\Components\Logging\ProjectTelemetry.cs (1)
101string? baseTypeName = baseType.FullName;
BackEnd\Components\RequestBuilder\AssemblyLoadsTracker.cs (2)
37_initiator = initiator?.FullName; 104IsBuiltinType(initiatorType?.FullName)
BackEnd\Components\RequestBuilder\TaskRouter.cs (1)
76if (attr.GetType().FullName == attributeFullName)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (8)
690parameter.PropertyType.FullName, 1097parameterType.FullName, 1240if (String.Equals(returnClass.TaskFactory.TaskType.FullName, "Microsoft.Build.Tasks.MSBuild", StringComparison.OrdinalIgnoreCase)) 1245else if (String.Equals(returnClass.TaskFactory.TaskType.FullName, "Microsoft.Build.Tasks.CallTarget", StringComparison.OrdinalIgnoreCase)) 1328_taskLoggingContext?.TargetLoggingContext?.ProjectLoggingContext?.ProjectTelemetry?.AddTaskExecution(_taskFactoryWrapper.TaskFactory.GetType().FullName, isTaskHost); 1450parameterType.FullName, 1576parameterType.FullName, 1623parameterType.FullName,
Construction\ProjectUsingTaskParameterElement.cs (1)
91return String.IsNullOrEmpty(typeAttribute) ? typeof(String).FullName : typeAttribute;
Evaluation\Expander.Function.cs (5)
380ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable", _methodMethodName, _receiverType.FullName); 390ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionMethodUnavailable", _methodMethodName, _receiverType.FullName); 1024string typeFullName = $"{enumType.FullName}."; 1099string typeName = _receiverType.FullName; 1151return AvailableStaticMethods.GetTypeInformationFromTypeCache(receiverType.FullName, methodName) != null;
Evaluation\Expander\WellKnownFunctions.cs (2)
44File.AppendAllText(logFile, $"ReceiverType={receiverType?.FullName}; ObjectInstanceType={objectInstance?.GetType().FullName}; MethodName={methodName}({argSignature})\n");
Evaluation\IntrinsicFunctions.cs (1)
278string typeFullName = $"{typeof(RegistryView).FullName}.";
Instance\ProjectItemGroupTaskInstance.cs (1)
129var typeName = this.GetType().FullName;
Instance\ProjectOnErrorInstance.cs (1)
118var typeName = this.GetType().FullName;
Instance\ProjectPropertyGroupTaskInstance.cs (1)
128var typeName = this.GetType().FullName;
Instance\ProjectTaskInstance.cs (1)
361var typeName = this.GetType().FullName;
Instance\ProjectTaskOutputItemInstance.cs (1)
139var typeName = this.GetType().FullName;
Instance\ProjectTaskOutputPropertyInstance.cs (1)
139var typeName = this.GetType().FullName;
Instance\TaskFactories\AssemblyTaskFactory.cs (1)
346taskLoggingContext?.TargetLoggingContext?.ProjectLoggingContext?.ProjectTelemetry?.AddTaskExecution(GetType().FullName, isTaskHost: useTaskFactory);
Instance\TaskFactories\TaskHostTask.cs (3)
298MSBuildEventSource.Log.TaskHostDispatchStart(_taskType.Type.FullName); 338_taskType.Type.FullName, 434MSBuildEventSource.Log.TaskHostDispatchStop(_taskType.Type.FullName, _taskExecutionSucceeded);
Instance\TaskRegistry.cs (1)
1832paramType.FullName,
Logging\TerminalLogger\TerminalLogger.cs (1)
397LoggerDescription forwardingLoggerDescription = new LoggerDescription(tlForwardingType.FullName, tlForwardingType.Assembly.FullName, null, tlpArg, verbosity);
src\msbuild\src\Shared\ErrorUtilities.cs (1)
29InternalError.Throw($"This type does not implement ToString() properly {param.GetType().FullName!}");
src\msbuild\src\Shared\TypeLoader.cs (4)
448_desiredInterfaceName = desiredInterface.FullName; 602if (IsDesiredType(publicType) && (typeName.Length == 0 || IsPartialTypeNameMatch(publicType.FullName, typeName))) 619var taskItemType = context.LoadFromAssemblyPath(microsoftBuildFrameworkPath).GetType(typeof(ITaskItem).FullName); 739_publicTypeNameToType.Add(publicType.FullName, publicType);
Microsoft.Build.Framework (21)
BuildException\BuildExceptionSerializationHelper.cs (2)
56Assumed.True(IsSupportedExceptionType(exceptionType), $"Type {exceptionType.FullName} is not recognized as a build exception type."); 70return exceptionType.FullName ?? exceptionType.ToString();
LazyFormattedBuildEventArgs.cs (2)
194if (param != null && param.ToString() == param.GetType().FullName) 196throw new InvalidOperationException($"Invalid type for message formatting argument, was {param.GetType().FullName}");
Loader\LoadedType.cs (4)
209throw new MissingMethodException(Type.FullName, ".ctor"); 285if (String.Equals("Microsoft.Build.Tasks.Xaml.PartialClassGenerationTask", Type.FullName, StringComparison.OrdinalIgnoreCase)) 342string.Equals(parameters[0].ParameterType.FullName, TaskEnvironmentTypeFullName, StringComparison.Ordinal)) 379private static readonly string TaskEnvironmentTypeFullName = typeof(TaskEnvironment).FullName!;
ReflectableTaskPropertyInfo.cs (2)
93Multiple properties matching '{Name}' (case-insensitive) found on type '{_taskType.FullName}'. 101Assumed.NotNull(foundProperty, $"Could not find property {Name} on type {_taskType.FullName} that the task factory indicated should exist.");
src\msbuild\artifacts\.packages\microsoft.codeanalysis.contracts\5.0.0-1.25277.114\contentFiles\cs\net9.0\ErrorReporting\FatalError.cs (1)
81var targetType = assembly.GetType(typeof(FatalError).FullName!, throwOnError: true)!;
src\msbuild\artifacts\.packages\microsoft.codeanalysis.contracts\5.0.0-1.25277.114\contentFiles\cs\net9.0\ExceptionUtilities.cs (1)
23string output = string.Format("Unexpected value '{0}' of type '{1}'", o, (o != null) ? o.GetType().FullName : "<unknown>");
TaskParameterTypeRegistry.cs (2)
45/// Maps a type's <see cref="Type.FullName"/> (for example <c>System.Int32</c>, <c>System.Int32[]</c>, 122string? fullName = type.FullName;
TaskPropertyInfo.cs (1)
30IsValueTypeOutputParameter = elementType.IsValueType || elementType.FullName.Equals("System.String");
Telemetry\BuildCheckTelemetry.cs (1)
28string? exceptionType = exception.GetType().FullName;
Telemetry\CrashTelemetry.cs (3)
400ExceptionType = exception.GetType().FullName; 401InnerExceptionType = exception.InnerException?.GetType().FullName; 402InnermostExceptionType = GetInnermostException(exception)?.GetType().FullName;
Telemetry\CrashTelemetryRecorder.cs (1)
190: base(CrashTelemetry.TruncateMessage(original.Message) ?? original.GetType().FullName,
Utilities\MessageFormatter.cs (1)
224Assumed.NotEqual(argType.ToString(), arg.ToString(), StringComparison.Ordinal, $"Invalid resource arg type, was {argType.FullName}");
Microsoft.Build.Tasks.CodeAnalysis (2)
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FatalError.cs (1)
84var targetType = assembly.GetType(typeof(FatalError).FullName!, throwOnError: true)!;
src\roslyn\src\Dependencies\Contracts\ExceptionUtilities.cs (1)
23string output = string.Format("Unexpected value '{0}' of type '{1}'", o, (o != null) ? o.GetType().FullName : "<unknown>");
Microsoft.Build.Tasks.Core (14)
GenerateResource.cs (1)
3890_logger.LogErrorWithCodeFromResources(null, fileName, 0, 0, 0, 0, "GenerateResource.OnlyStringsSupported", key, v?.GetType().FullName);
ManifestUtil\RSAPKCS1SHA256SignatureDescription.cs (4)
16KeyAlgorithm = typeof(RSACryptoServiceProvider).FullName; 18DigestAlgorithm = typeof(SHA256).FullName; 22FormatterAlgorithm = typeof(RSAPKCS1SignatureFormatter).FullName; 23DeformatterAlgorithm = typeof(RSAPKCS1SignatureDeformatter).FullName;
ResourceHandling\LiveObjectResource.cs (1)
26public string TypeFullName => Value.GetType().FullName;
ResourceHandling\StringResource.cs (1)
14public new string TypeFullName => typeof(string).FullName;
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (3)
227?? exportedTypes.Where(i => i.FullName != null).FirstOrDefault(type => type.FullName.Equals(taskName, StringComparison.OrdinalIgnoreCase) || type.FullName.EndsWith(taskName, StringComparison.OrdinalIgnoreCase));
src\msbuild\src\Shared\ErrorUtilities.cs (1)
29InternalError.Throw($"This type does not implement ToString() properly {param.GetType().FullName!}");
system.design\stronglytypedresourcebuilder.cs (2)
122TypeFullName = type.FullName; 333var toolArg = new CodeAttributeArgument(new CodePrimitiveExpression(typeof(StronglyTypedResourceBuilder).FullName));
WriteCodeFragment.cs (1)
544.OrderBy(c => string.Join(",", c.Select(t => t.FullName)))
Microsoft.Build.Utilities.Core (2)
src\msbuild\src\Shared\ErrorUtilities.cs (1)
29InternalError.Throw($"This type does not implement ToString() properly {param.GetType().FullName!}");
ToolTask.cs (1)
1456LogPrivate.LogErrorWithCodeFromResources("ToolTask.ValidateParametersFailed", this.GetType().FullName);
Microsoft.CodeAnalysis (15)
CommandLine\ReportAnalyzerUtil.cs (3)
140foreach (var analyzer in group.OrderBy(a => a.GetType().FullName, StringComparer.OrdinalIgnoreCase)) 142consoleOutput.WriteLine($" {analyzer.GetType().FullName}"); 178consoleOutput.WriteLine(GetColumnEntry(executionTime, percentage, " " + timingInfo.Generator.GetGeneratorType().FullName, culture));
Compilation\DeterministicKeyBuilder.cs (1)
106writer.Write("fullName", type.FullName);
InternalUtilities\XmlUtilities.cs (1)
85catch (Exception e) when (e.GetType().FullName == "System.Xml.XPath.XPathException")
SourceGeneration\GeneratorDriver.cs (1)
665return 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\AbstractSourceOutputNode.cs (1)
18private static readonly string? s_tableType = typeof(TOutput).FullName;
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\TransformNode.cs (1)
18private static readonly string? s_tableType = typeof(TOutput).FullName;
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FatalError.cs (1)
84var targetType = assembly.GetType(typeof(FatalError).FullName!, throwOnError: true)!;
src\roslyn\src\Dependencies\Contracts\ExceptionUtilities.cs (1)
23string output = string.Format("Unexpected value '{0}' of type '{1}'", o, (o != null) ? o.GetType().FullName : "<unknown>");
Microsoft.CodeAnalysis.Analyzers (75)
MetaAnalyzers\CompareSymbolsCorrectlyAnalyzer.cs (1)
29private static readonly string s_symbolTypeFullName = typeof(ISymbol).FullName;
MetaAnalyzers\DiagnosticAnalyzerFieldsAnalyzer.cs (3)
35private static readonly string s_compilationTypeFullName = typeof(Compilation).FullName; 36private static readonly string s_symbolTypeFullName = typeof(ISymbol).FullName; 37private static readonly string s_operationTypeFullName = typeof(IOperation).FullName;
MetaAnalyzers\DiagnosticDescriptorCreationAnalyzer.cs (2)
1109var diagnosticSeverityType = compilation.GetOrCreateTypeByMetadataName(typeof(DiagnosticSeverity).FullName); 1110var ruleLevelType = compilation.GetOrCreateTypeByMetadataName(typeof(RuleLevel).FullName);
MetaAnalyzers\Fixers\ApplyDiagnosticAnalyzerAttributeFix.cs (1)
64var languageNamesFullName = typeof(LanguageNames).FullName;
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FatalError.cs (1)
84var targetType = assembly.GetType(typeof(FatalError).FullName!, throwOnError: true)!;
src\roslyn\src\Dependencies\Contracts\ExceptionUtilities.cs (1)
23string output = string.Format("Unexpected value '{0}' of type '{1}'", o, (o != null) ? o.GetType().FullName : "<unknown>");
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (61)
79=> compilation.GetTypeByMetadataName(typeof(ArgumentException).FullName!); 82=> compilation.GetTypeByMetadataName(typeof(ArgumentNullException).FullName!); 85=> compilation.GetTypeByMetadataName(typeof(ArgumentOutOfRangeException).FullName!); 88=> compilation.GetTypeByMetadataName(typeof(Array).FullName!); 91=> compilation.GetTypeByMetadataName(typeof(Attribute).FullName!); 94=> compilation.GetTypeByMetadataName(typeof(BlockingCollection<>).FullName!); 97=> compilation.GetTypeByMetadataName(typeof(Collection<>).FullName!); 100=> compilation.GetTypeByMetadataName(typeof(Exception).FullName!); 103=> compilation.GetTypeByMetadataName(typeof(System.Diagnostics.DebuggerDisplayAttribute).FullName!); 106=> compilation.GetTypeByMetadataName(typeof(StructLayoutAttribute).FullName!); 121=> compilation.GetTypeByMetadataName(typeof(ThreadStaticAttribute).FullName!); 124=> compilation.GetTypeByMetadataName(typeof(FormattableString).FullName!); 127=> compilation.GetTypeByMetadataName(typeof(IFormattable).FullName!); 130=> compilation.GetTypeByMetadataName(typeof(EventArgs).FullName!); 133=> compilation.GetTypeByMetadataName(typeof(NotImplementedException).FullName!); 136=> compilation.GetTypeByMetadataName(typeof(EqualityComparer<>).FullName!); 139=> compilation.GetTypeByMetadataName(typeof(Action).FullName!); 145=> compilation.GetTypeByMetadataName(typeof(EditorBrowsableAttribute).FullName!); 148=> compilation.GetTypeByMetadataName(typeof(EditorBrowsableState).FullName!); 151=> compilation.GetTypeByMetadataName(typeof(Task).FullName!); 154=> compilation.GetTypeByMetadataName(typeof(Task<>).FullName!); 163=> compilation.GetTypeByMetadataName(typeof(ICollection<>).FullName!); 166=> compilation.GetTypeByMetadataName(typeof(System.Collections.IEnumerable).FullName!); 169=> compilation.GetTypeByMetadataName(typeof(IEnumerable<>).FullName!); 172=> compilation.GetTypeByMetadataName(typeof(IEnumerator<>).FullName!); 175=> compilation.GetTypeByMetadataName(typeof(IList<>).FullName!); 178=> compilation.GetTypeByMetadataName(typeof(IReadOnlyList<>).FullName!); 181=> compilation.GetTypeByMetadataName(typeof(ISet<>).FullName!); 184=> compilation.GetTypeByMetadataName(typeof(IReadOnlySet<>).FullName!); 193=> compilation.GetTypeByMetadataName(typeof(ImmutableArray<>).FullName!); 196=> compilation.GetTypeByMetadataName(typeof(SerializableAttribute).FullName!); 199=> compilation.GetTypeByMetadataName(typeof(CoClassAttribute).FullName!); 202=> compilation.GetTypeByMetadataName(typeof(ComAliasNameAttribute).FullName!); 205=> compilation.GetTypeByMetadataName(typeof(SuppressMessageAttribute).FullName!); 208=> compilation.GetTypeByMetadataName(typeof(TupleElementNamesAttribute).FullName!); 214=> compilation.GetTypeByMetadataName(typeof(DynamicAttribute).FullName!); 217=> compilation.GetTypeByMetadataName(typeof(Lazy<>).FullName!); 220=> compilation.GetTypeByMetadataName(typeof(ISerializable).FullName!); 223=> compilation.GetTypeByMetadataName(typeof(SerializationInfo).FullName!); 226=> compilation.GetTypeByMetadataName(typeof(StreamingContext).FullName!); 229=> compilation.GetTypeByMetadataName(typeof(OnDeserializingAttribute).FullName!); 232=> compilation.GetTypeByMetadataName(typeof(OnDeserializedAttribute).FullName!); 235=> compilation.GetTypeByMetadataName(typeof(OnSerializingAttribute).FullName!); 238=> compilation.GetTypeByMetadataName(typeof(OnSerializedAttribute).FullName!); 241=> compilation.GetTypeByMetadataName(typeof(ComRegisterFunctionAttribute).FullName!); 244=> compilation.GetTypeByMetadataName(typeof(ComUnregisterFunctionAttribute).FullName!); 247=> compilation.GetTypeByMetadataName(typeof(ConditionalAttribute).FullName!); 250=> compilation.GetTypeByMetadataName(typeof(ObsoleteAttribute).FullName!); 259=> compilation.GetTypeByMetadataName(typeof(IDisposable).FullName!); 262=> compilation.GetTypeByMetadataName(typeof(NotNullAttribute).FullName!); 265=> compilation.GetTypeByMetadataName(typeof(MaybeNullAttribute).FullName!); 268=> compilation.GetTypeByMetadataName(typeof(MaybeNullWhenAttribute).FullName!); 271=> compilation.GetTypeByMetadataName(typeof(AllowNullAttribute).FullName!); 274=> compilation.GetTypeByMetadataName(typeof(DisallowNullAttribute).FullName!); 277=> compilation.GetTypeByMetadataName(typeof(DataMemberAttribute).FullName!); 280=> compilation.GetTypeByMetadataName(typeof(DataContractAttribute).FullName!); 286=> compilation.GetTypeByMetadataName(typeof(CancellationToken).FullName!); 292=> compilation.GetTypeByMetadataName(typeof(List<>).FullName!); 295=> compilation.GetTypeByMetadataName(typeof(ReadOnlySpan<>).FullName!); 298=> compilation.GetTypeByMetadataName(typeof(Span<>).FullName!); 301=> compilation.GetTypeByMetadataName(typeof(InterpolatedStringHandlerAttribute).FullName!);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (1)
719&& attributeData.AttributeClass.ToNameDisplayString() == typeof(ReferenceAssemblyAttribute).FullName)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
243var iequatableType = compilation.GetTypeByMetadataName(typeof(IEquatable<>).FullName);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (1)
441var type = compilation.GetTypeByMetadataName(typeof(ArgumentNullException).FullName!);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SemanticsFactsService\AbstractSemanticFactsService.cs (2)
112? GetIDisposableInterfaceAndDisposeMethod(typeof(IAsyncDisposable).FullName!, nameof(IAsyncDisposable.DisposeAsync)) 113: GetIDisposableInterfaceAndDisposeMethod(typeof(IDisposable).FullName!, nameof(IDisposable.Dispose));
Microsoft.CodeAnalysis.AnalyzerUtilities (64)
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FatalError.cs (1)
84var targetType = assembly.GetType(typeof(FatalError).FullName!, throwOnError: true)!;
src\roslyn\src\Dependencies\Contracts\ExceptionUtilities.cs (1)
23string output = string.Format("Unexpected value '{0}' of type '{1}'", o, (o != null) ? o.GetType().FullName : "<unknown>");
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (61)
79=> compilation.GetTypeByMetadataName(typeof(ArgumentException).FullName!); 82=> compilation.GetTypeByMetadataName(typeof(ArgumentNullException).FullName!); 85=> compilation.GetTypeByMetadataName(typeof(ArgumentOutOfRangeException).FullName!); 88=> compilation.GetTypeByMetadataName(typeof(Array).FullName!); 91=> compilation.GetTypeByMetadataName(typeof(Attribute).FullName!); 94=> compilation.GetTypeByMetadataName(typeof(BlockingCollection<>).FullName!); 97=> compilation.GetTypeByMetadataName(typeof(Collection<>).FullName!); 100=> compilation.GetTypeByMetadataName(typeof(Exception).FullName!); 103=> compilation.GetTypeByMetadataName(typeof(System.Diagnostics.DebuggerDisplayAttribute).FullName!); 106=> compilation.GetTypeByMetadataName(typeof(StructLayoutAttribute).FullName!); 121=> compilation.GetTypeByMetadataName(typeof(ThreadStaticAttribute).FullName!); 124=> compilation.GetTypeByMetadataName(typeof(FormattableString).FullName!); 127=> compilation.GetTypeByMetadataName(typeof(IFormattable).FullName!); 130=> compilation.GetTypeByMetadataName(typeof(EventArgs).FullName!); 133=> compilation.GetTypeByMetadataName(typeof(NotImplementedException).FullName!); 136=> compilation.GetTypeByMetadataName(typeof(EqualityComparer<>).FullName!); 139=> compilation.GetTypeByMetadataName(typeof(Action).FullName!); 145=> compilation.GetTypeByMetadataName(typeof(EditorBrowsableAttribute).FullName!); 148=> compilation.GetTypeByMetadataName(typeof(EditorBrowsableState).FullName!); 151=> compilation.GetTypeByMetadataName(typeof(Task).FullName!); 154=> compilation.GetTypeByMetadataName(typeof(Task<>).FullName!); 163=> compilation.GetTypeByMetadataName(typeof(ICollection<>).FullName!); 166=> compilation.GetTypeByMetadataName(typeof(System.Collections.IEnumerable).FullName!); 169=> compilation.GetTypeByMetadataName(typeof(IEnumerable<>).FullName!); 172=> compilation.GetTypeByMetadataName(typeof(IEnumerator<>).FullName!); 175=> compilation.GetTypeByMetadataName(typeof(IList<>).FullName!); 178=> compilation.GetTypeByMetadataName(typeof(IReadOnlyList<>).FullName!); 181=> compilation.GetTypeByMetadataName(typeof(ISet<>).FullName!); 184=> compilation.GetTypeByMetadataName(typeof(IReadOnlySet<>).FullName!); 193=> compilation.GetTypeByMetadataName(typeof(ImmutableArray<>).FullName!); 196=> compilation.GetTypeByMetadataName(typeof(SerializableAttribute).FullName!); 199=> compilation.GetTypeByMetadataName(typeof(CoClassAttribute).FullName!); 202=> compilation.GetTypeByMetadataName(typeof(ComAliasNameAttribute).FullName!); 205=> compilation.GetTypeByMetadataName(typeof(SuppressMessageAttribute).FullName!); 208=> compilation.GetTypeByMetadataName(typeof(TupleElementNamesAttribute).FullName!); 214=> compilation.GetTypeByMetadataName(typeof(DynamicAttribute).FullName!); 217=> compilation.GetTypeByMetadataName(typeof(Lazy<>).FullName!); 220=> compilation.GetTypeByMetadataName(typeof(ISerializable).FullName!); 223=> compilation.GetTypeByMetadataName(typeof(SerializationInfo).FullName!); 226=> compilation.GetTypeByMetadataName(typeof(StreamingContext).FullName!); 229=> compilation.GetTypeByMetadataName(typeof(OnDeserializingAttribute).FullName!); 232=> compilation.GetTypeByMetadataName(typeof(OnDeserializedAttribute).FullName!); 235=> compilation.GetTypeByMetadataName(typeof(OnSerializingAttribute).FullName!); 238=> compilation.GetTypeByMetadataName(typeof(OnSerializedAttribute).FullName!); 241=> compilation.GetTypeByMetadataName(typeof(ComRegisterFunctionAttribute).FullName!); 244=> compilation.GetTypeByMetadataName(typeof(ComUnregisterFunctionAttribute).FullName!); 247=> compilation.GetTypeByMetadataName(typeof(ConditionalAttribute).FullName!); 250=> compilation.GetTypeByMetadataName(typeof(ObsoleteAttribute).FullName!); 259=> compilation.GetTypeByMetadataName(typeof(IDisposable).FullName!); 262=> compilation.GetTypeByMetadataName(typeof(NotNullAttribute).FullName!); 265=> compilation.GetTypeByMetadataName(typeof(MaybeNullAttribute).FullName!); 268=> compilation.GetTypeByMetadataName(typeof(MaybeNullWhenAttribute).FullName!); 271=> compilation.GetTypeByMetadataName(typeof(AllowNullAttribute).FullName!); 274=> compilation.GetTypeByMetadataName(typeof(DisallowNullAttribute).FullName!); 277=> compilation.GetTypeByMetadataName(typeof(DataMemberAttribute).FullName!); 280=> compilation.GetTypeByMetadataName(typeof(DataContractAttribute).FullName!); 286=> compilation.GetTypeByMetadataName(typeof(CancellationToken).FullName!); 292=> compilation.GetTypeByMetadataName(typeof(List<>).FullName!); 295=> compilation.GetTypeByMetadataName(typeof(ReadOnlySpan<>).FullName!); 298=> compilation.GetTypeByMetadataName(typeof(Span<>).FullName!); 301=> compilation.GetTypeByMetadataName(typeof(InterpolatedStringHandlerAttribute).FullName!);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (1)
719&& attributeData.AttributeClass.ToNameDisplayString() == typeof(ReferenceAssemblyAttribute).FullName)
Microsoft.CodeAnalysis.CodeStyle (72)
src\4f5ad909b1ed0e10\AbstractUseCoalesceExpressionForNullableTernaryConditionalCheckDiagnosticAnalyzer.cs (1)
109var nullableType = semanticModel.Compilation.GetTypeByMetadataName(typeof(Nullable<>).FullName!);
src\9547feb31df4cc5d\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.cs (1)
54var iCustomMarshaler = context.Compilation.GetTypeByMetadataName(typeof(ICustomMarshaler).FullName!);
src\roslyn\src\Analyzers\Core\Analyzers\ForEachCast\AbstractForEachCastDiagnosticAnalyzer.cs (1)
142semanticModel.Compilation.GetBestTypeByMetadataName(typeof(Enumerable).FullName!) != null;
src\roslyn\src\Analyzers\Core\Analyzers\Helpers\HashCodeAnalyzer\HashCodeAnalyzer.cs (1)
33var equalityComparerType = compilation.GetBestTypeByMetadataName(typeof(EqualityComparer<>).FullName!);
src\roslyn\src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
161_iNotifyCompletionType = compilation.GetBestTypeByMetadataName(typeof(INotifyCompletion).FullName!);
src\roslyn\src\Analyzers\Core\Analyzers\SimplifyInterpolation\AbstractSimplifyInterpolationHelpers.cs (1)
248=> semanticModel.Compilation.GetTypeByMetadataName(typeof(T).FullName!);
src\roslyn\src\Analyzers\Core\Analyzers\SimplifyLinqExpression\AbstractSimplifyLinqExpressionDiagnosticAnalyzer.cs (1)
75enumerableType = compilation.GetTypeByMetadataName(typeof(Enumerable)?.FullName!);
src\roslyn\src\Analyzers\Core\Analyzers\ValidateFormatString\AbstractValidateFormatStringDiagnosticAnalyzer.cs (1)
73var formatProviderType = startContext.Compilation.GetTypeByMetadataName(typeof(System.IFormatProvider).FullName!);
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FatalError.cs (1)
84var targetType = assembly.GetType(typeof(FatalError).FullName!, throwOnError: true)!;
src\roslyn\src\Dependencies\Contracts\ExceptionUtilities.cs (1)
23string output = string.Format("Unexpected value '{0}' of type '{1}'", o, (o != null) ? o.GetType().FullName : "<unknown>");
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (61)
79=> compilation.GetTypeByMetadataName(typeof(ArgumentException).FullName!); 82=> compilation.GetTypeByMetadataName(typeof(ArgumentNullException).FullName!); 85=> compilation.GetTypeByMetadataName(typeof(ArgumentOutOfRangeException).FullName!); 88=> compilation.GetTypeByMetadataName(typeof(Array).FullName!); 91=> compilation.GetTypeByMetadataName(typeof(Attribute).FullName!); 94=> compilation.GetTypeByMetadataName(typeof(BlockingCollection<>).FullName!); 97=> compilation.GetTypeByMetadataName(typeof(Collection<>).FullName!); 100=> compilation.GetTypeByMetadataName(typeof(Exception).FullName!); 103=> compilation.GetTypeByMetadataName(typeof(System.Diagnostics.DebuggerDisplayAttribute).FullName!); 106=> compilation.GetTypeByMetadataName(typeof(StructLayoutAttribute).FullName!); 121=> compilation.GetTypeByMetadataName(typeof(ThreadStaticAttribute).FullName!); 124=> compilation.GetTypeByMetadataName(typeof(FormattableString).FullName!); 127=> compilation.GetTypeByMetadataName(typeof(IFormattable).FullName!); 130=> compilation.GetTypeByMetadataName(typeof(EventArgs).FullName!); 133=> compilation.GetTypeByMetadataName(typeof(NotImplementedException).FullName!); 136=> compilation.GetTypeByMetadataName(typeof(EqualityComparer<>).FullName!); 139=> compilation.GetTypeByMetadataName(typeof(Action).FullName!); 145=> compilation.GetTypeByMetadataName(typeof(EditorBrowsableAttribute).FullName!); 148=> compilation.GetTypeByMetadataName(typeof(EditorBrowsableState).FullName!); 151=> compilation.GetTypeByMetadataName(typeof(Task).FullName!); 154=> compilation.GetTypeByMetadataName(typeof(Task<>).FullName!); 163=> compilation.GetTypeByMetadataName(typeof(ICollection<>).FullName!); 166=> compilation.GetTypeByMetadataName(typeof(System.Collections.IEnumerable).FullName!); 169=> compilation.GetTypeByMetadataName(typeof(IEnumerable<>).FullName!); 172=> compilation.GetTypeByMetadataName(typeof(IEnumerator<>).FullName!); 175=> compilation.GetTypeByMetadataName(typeof(IList<>).FullName!); 178=> compilation.GetTypeByMetadataName(typeof(IReadOnlyList<>).FullName!); 181=> compilation.GetTypeByMetadataName(typeof(ISet<>).FullName!); 184=> compilation.GetTypeByMetadataName(typeof(IReadOnlySet<>).FullName!); 193=> compilation.GetTypeByMetadataName(typeof(ImmutableArray<>).FullName!); 196=> compilation.GetTypeByMetadataName(typeof(SerializableAttribute).FullName!); 199=> compilation.GetTypeByMetadataName(typeof(CoClassAttribute).FullName!); 202=> compilation.GetTypeByMetadataName(typeof(ComAliasNameAttribute).FullName!); 205=> compilation.GetTypeByMetadataName(typeof(SuppressMessageAttribute).FullName!); 208=> compilation.GetTypeByMetadataName(typeof(TupleElementNamesAttribute).FullName!); 214=> compilation.GetTypeByMetadataName(typeof(DynamicAttribute).FullName!); 217=> compilation.GetTypeByMetadataName(typeof(Lazy<>).FullName!); 220=> compilation.GetTypeByMetadataName(typeof(ISerializable).FullName!); 223=> compilation.GetTypeByMetadataName(typeof(SerializationInfo).FullName!); 226=> compilation.GetTypeByMetadataName(typeof(StreamingContext).FullName!); 229=> compilation.GetTypeByMetadataName(typeof(OnDeserializingAttribute).FullName!); 232=> compilation.GetTypeByMetadataName(typeof(OnDeserializedAttribute).FullName!); 235=> compilation.GetTypeByMetadataName(typeof(OnSerializingAttribute).FullName!); 238=> compilation.GetTypeByMetadataName(typeof(OnSerializedAttribute).FullName!); 241=> compilation.GetTypeByMetadataName(typeof(ComRegisterFunctionAttribute).FullName!); 244=> compilation.GetTypeByMetadataName(typeof(ComUnregisterFunctionAttribute).FullName!); 247=> compilation.GetTypeByMetadataName(typeof(ConditionalAttribute).FullName!); 250=> compilation.GetTypeByMetadataName(typeof(ObsoleteAttribute).FullName!); 259=> compilation.GetTypeByMetadataName(typeof(IDisposable).FullName!); 262=> compilation.GetTypeByMetadataName(typeof(NotNullAttribute).FullName!); 265=> compilation.GetTypeByMetadataName(typeof(MaybeNullAttribute).FullName!); 268=> compilation.GetTypeByMetadataName(typeof(MaybeNullWhenAttribute).FullName!); 271=> compilation.GetTypeByMetadataName(typeof(AllowNullAttribute).FullName!); 274=> compilation.GetTypeByMetadataName(typeof(DisallowNullAttribute).FullName!); 277=> compilation.GetTypeByMetadataName(typeof(DataMemberAttribute).FullName!); 280=> compilation.GetTypeByMetadataName(typeof(DataContractAttribute).FullName!); 286=> compilation.GetTypeByMetadataName(typeof(CancellationToken).FullName!); 292=> compilation.GetTypeByMetadataName(typeof(List<>).FullName!); 295=> compilation.GetTypeByMetadataName(typeof(ReadOnlySpan<>).FullName!); 298=> compilation.GetTypeByMetadataName(typeof(Span<>).FullName!); 301=> compilation.GetTypeByMetadataName(typeof(InterpolatedStringHandlerAttribute).FullName!);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (1)
719&& attributeData.AttributeClass.ToNameDisplayString() == typeof(ReferenceAssemblyAttribute).FullName)
Microsoft.CodeAnalysis.CodeStyle.Fixes (7)
src\roslyn\src\Analyzers\Core\CodeFixes\AddObsoleteAttribute\AbstractAddObsoleteAttributeCodeFixProvider.cs (1)
60var attribute = compilation.GetTypeByMetadataName(typeof(ObsoleteAttribute).FullName!);
src\roslyn\src\Analyzers\Core\CodeFixes\ForEachCast\AbstractForEachCastCodeFixProvider.cs (1)
62var enumerableType = semanticModel.Compilation.GetBestTypeByMetadataName(typeof(Enumerable).FullName!);
src\roslyn\src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_DisposePattern.cs (1)
201var gcType = compilation.GetTypeByMetadataName(typeof(GC).FullName!);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
243var iequatableType = compilation.GetTypeByMetadataName(typeof(IEquatable<>).FullName);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (1)
441var type = compilation.GetTypeByMetadataName(typeof(ArgumentNullException).FullName!);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SemanticsFactsService\AbstractSemanticFactsService.cs (2)
112? GetIDisposableInterfaceAndDisposeMethod(typeof(IAsyncDisposable).FullName!, nameof(IAsyncDisposable.DisposeAsync)) 113: 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\roslyn\src\Analyzers\CSharp\Analyzers\InlineDeclaration\CSharpInlineDeclarationDiagnosticAnalyzer.cs (1)
50var expressionType = compilation.GetTypeByMetadataName(typeof(Expression<>).FullName!);
src\roslyn\src\Analyzers\CSharp\Analyzers\SimplifyLinqExpression\CSharpSimplifyLinqTypeCheckAndCastDiagnosticAnalyzer.cs (1)
31var enumerableType = context.Compilation.GetTypeByMetadataName(typeof(Enumerable).FullName!);
src\roslyn\src\Analyzers\CSharp\Analyzers\UseIndexOrRangeOperator\CSharpUseIndexOperatorDiagnosticAnalyzer.InfoCache.cs (1)
45var indexType = compilation.GetBestTypeByMetadataName(typeof(Index).FullName!);
src\roslyn\src\Analyzers\CSharp\Analyzers\UseIndexOrRangeOperator\CSharpUseRangeOperatorDiagnosticAnalyzer.InfoCache.cs (1)
67var rangeType = compilation.GetBestTypeByMetadataName(typeof(Range).FullName!);
src\roslyn\src\Analyzers\CSharp\Analyzers\UseLocalFunction\CSharpUseLocalFunctionDiagnosticAnalyzer.cs (1)
64var expressionType = compilation.GetTypeByMetadataName(typeof(Expression<>).FullName!);
src\roslyn\src\Analyzers\CSharp\Analyzers\UseUtf8StringLiteral\UseUtf8StringLiteralDiagnosticAnalyzer.cs (2)
51if (context.Compilation.GetBestTypeByMetadataName(typeof(ReadOnlySpan<>).FullName!) is null) 54var expressionType = context.Compilation.GetTypeByMetadataName(typeof(System.Linq.Expressions.Expression<>).FullName!);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (12)
src\roslyn\src\Analyzers\CSharp\CodeFixes\Iterator\CSharpAddYieldCodeFixProvider.cs (6)
119var ienumerableSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerable).FullName!); 120var ienumeratorSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerator).FullName!); 121var ienumerableGenericSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerable<>).FullName!); 122var ienumeratorGenericSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerator<>).FullName!); 192var ienumerableSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerable).FullName!); 193var ienumeratorSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerator).FullName!);
src\roslyn\src\Analyzers\CSharp\CodeFixes\Iterator\CSharpChangeToIEnumerableCodeFixProvider.cs (2)
115ienumerableSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerable).FullName!); 116ienumerableGenericSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerable<>).FullName!);
src\roslyn\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\roslyn\src\Analyzers\CSharp\CodeFixes\UseExpressionBodyForLambda\UseExpressionBodyForLambdaCodeActionHelpers.cs (1)
102var taskType = semanticModel.Compilation.GetTypeByMetadataName(typeof(Task).FullName!);
src\roslyn\src\Analyzers\CSharp\CodeFixes\UseUtf8StringLiteral\UseUtf8StringLiteralCodeFixProvider.cs (1)
47var readOnlySpanType = semanticModel.Compilation.GetBestTypeByMetadataName(typeof(ReadOnlySpan<>).FullName!);
Microsoft.CodeAnalysis.CSharp.Features (22)
ConvertLinq\CSharpConvertLinqQueryToForEachProvider.cs (1)
371=> Equals(typeSymbol.OriginalDefinition, _semanticModel.Compilation.GetTypeByMetadataName(typeof(List<>).FullName));
Copilot\CSharpImplementNotImplementedExceptionDiagnosticAnalyzer.cs (1)
30var notImplementedExceptionType = context.Compilation.GetTypeByMetadataName(typeof(NotImplementedException).FullName!);
SolutionExplorer\CSharpSolutionExplorerSymbolTreeItemProvider.cs (1)
520Debug.Fail("Unhandled type: " + type.GetType().FullName);
src\roslyn\src\Analyzers\CSharp\Analyzers\InlineDeclaration\CSharpInlineDeclarationDiagnosticAnalyzer.cs (1)
50var expressionType = compilation.GetTypeByMetadataName(typeof(Expression<>).FullName!);
src\roslyn\src\Analyzers\CSharp\Analyzers\SimplifyLinqExpression\CSharpSimplifyLinqTypeCheckAndCastDiagnosticAnalyzer.cs (1)
31var enumerableType = context.Compilation.GetTypeByMetadataName(typeof(Enumerable).FullName!);
src\roslyn\src\Analyzers\CSharp\Analyzers\UseIndexOrRangeOperator\CSharpUseIndexOperatorDiagnosticAnalyzer.InfoCache.cs (1)
45var indexType = compilation.GetBestTypeByMetadataName(typeof(Index).FullName!);
src\roslyn\src\Analyzers\CSharp\Analyzers\UseIndexOrRangeOperator\CSharpUseRangeOperatorDiagnosticAnalyzer.InfoCache.cs (1)
67var rangeType = compilation.GetBestTypeByMetadataName(typeof(Range).FullName!);
src\roslyn\src\Analyzers\CSharp\Analyzers\UseLocalFunction\CSharpUseLocalFunctionDiagnosticAnalyzer.cs (1)
64var expressionType = compilation.GetTypeByMetadataName(typeof(Expression<>).FullName!);
src\roslyn\src\Analyzers\CSharp\Analyzers\UseUtf8StringLiteral\UseUtf8StringLiteralDiagnosticAnalyzer.cs (2)
51if (context.Compilation.GetBestTypeByMetadataName(typeof(ReadOnlySpan<>).FullName!) is null) 54var expressionType = context.Compilation.GetTypeByMetadataName(typeof(System.Linq.Expressions.Expression<>).FullName!);
src\roslyn\src\Analyzers\CSharp\CodeFixes\Iterator\CSharpAddYieldCodeFixProvider.cs (6)
119var ienumerableSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerable).FullName!); 120var ienumeratorSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerator).FullName!); 121var ienumerableGenericSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerable<>).FullName!); 122var ienumeratorGenericSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerator<>).FullName!); 192var ienumerableSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerable).FullName!); 193var ienumeratorSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerator).FullName!);
src\roslyn\src\Analyzers\CSharp\CodeFixes\Iterator\CSharpChangeToIEnumerableCodeFixProvider.cs (2)
115ienumerableSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerable).FullName!); 116ienumerableGenericSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerable<>).FullName!);
src\roslyn\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\roslyn\src\Analyzers\CSharp\CodeFixes\UseExpressionBodyForLambda\UseExpressionBodyForLambdaCodeActionHelpers.cs (1)
102var taskType = semanticModel.Compilation.GetTypeByMetadataName(typeof(Task).FullName!);
src\roslyn\src\Analyzers\CSharp\CodeFixes\UseUtf8StringLiteral\UseUtf8StringLiteralCodeFixProvider.cs (1)
47var readOnlySpanType = semanticModel.Compilation.GetBestTypeByMetadataName(typeof(ReadOnlySpan<>).FullName!);
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Performance\CSharpUseAsSpanInsteadOfRangeIndexer.Fixer.cs (1)
43throw new InvalidOperationException(node.GetType().FullName);
Microsoft.CodeAnalysis.Extensions.Package (64)
Compilation\CompilationExtensions.cs (61)
79=> compilation.GetTypeByMetadataName(typeof(ArgumentException).FullName!); 82=> compilation.GetTypeByMetadataName(typeof(ArgumentNullException).FullName!); 85=> compilation.GetTypeByMetadataName(typeof(ArgumentOutOfRangeException).FullName!); 88=> compilation.GetTypeByMetadataName(typeof(Array).FullName!); 91=> compilation.GetTypeByMetadataName(typeof(Attribute).FullName!); 94=> compilation.GetTypeByMetadataName(typeof(BlockingCollection<>).FullName!); 97=> compilation.GetTypeByMetadataName(typeof(Collection<>).FullName!); 100=> compilation.GetTypeByMetadataName(typeof(Exception).FullName!); 103=> compilation.GetTypeByMetadataName(typeof(System.Diagnostics.DebuggerDisplayAttribute).FullName!); 106=> compilation.GetTypeByMetadataName(typeof(StructLayoutAttribute).FullName!); 121=> compilation.GetTypeByMetadataName(typeof(ThreadStaticAttribute).FullName!); 124=> compilation.GetTypeByMetadataName(typeof(FormattableString).FullName!); 127=> compilation.GetTypeByMetadataName(typeof(IFormattable).FullName!); 130=> compilation.GetTypeByMetadataName(typeof(EventArgs).FullName!); 133=> compilation.GetTypeByMetadataName(typeof(NotImplementedException).FullName!); 136=> compilation.GetTypeByMetadataName(typeof(EqualityComparer<>).FullName!); 139=> compilation.GetTypeByMetadataName(typeof(Action).FullName!); 145=> compilation.GetTypeByMetadataName(typeof(EditorBrowsableAttribute).FullName!); 148=> compilation.GetTypeByMetadataName(typeof(EditorBrowsableState).FullName!); 151=> compilation.GetTypeByMetadataName(typeof(Task).FullName!); 154=> compilation.GetTypeByMetadataName(typeof(Task<>).FullName!); 163=> compilation.GetTypeByMetadataName(typeof(ICollection<>).FullName!); 166=> compilation.GetTypeByMetadataName(typeof(System.Collections.IEnumerable).FullName!); 169=> compilation.GetTypeByMetadataName(typeof(IEnumerable<>).FullName!); 172=> compilation.GetTypeByMetadataName(typeof(IEnumerator<>).FullName!); 175=> compilation.GetTypeByMetadataName(typeof(IList<>).FullName!); 178=> compilation.GetTypeByMetadataName(typeof(IReadOnlyList<>).FullName!); 181=> compilation.GetTypeByMetadataName(typeof(ISet<>).FullName!); 184=> compilation.GetTypeByMetadataName(typeof(IReadOnlySet<>).FullName!); 193=> compilation.GetTypeByMetadataName(typeof(ImmutableArray<>).FullName!); 196=> compilation.GetTypeByMetadataName(typeof(SerializableAttribute).FullName!); 199=> compilation.GetTypeByMetadataName(typeof(CoClassAttribute).FullName!); 202=> compilation.GetTypeByMetadataName(typeof(ComAliasNameAttribute).FullName!); 205=> compilation.GetTypeByMetadataName(typeof(SuppressMessageAttribute).FullName!); 208=> compilation.GetTypeByMetadataName(typeof(TupleElementNamesAttribute).FullName!); 214=> compilation.GetTypeByMetadataName(typeof(DynamicAttribute).FullName!); 217=> compilation.GetTypeByMetadataName(typeof(Lazy<>).FullName!); 220=> compilation.GetTypeByMetadataName(typeof(ISerializable).FullName!); 223=> compilation.GetTypeByMetadataName(typeof(SerializationInfo).FullName!); 226=> compilation.GetTypeByMetadataName(typeof(StreamingContext).FullName!); 229=> compilation.GetTypeByMetadataName(typeof(OnDeserializingAttribute).FullName!); 232=> compilation.GetTypeByMetadataName(typeof(OnDeserializedAttribute).FullName!); 235=> compilation.GetTypeByMetadataName(typeof(OnSerializingAttribute).FullName!); 238=> compilation.GetTypeByMetadataName(typeof(OnSerializedAttribute).FullName!); 241=> compilation.GetTypeByMetadataName(typeof(ComRegisterFunctionAttribute).FullName!); 244=> compilation.GetTypeByMetadataName(typeof(ComUnregisterFunctionAttribute).FullName!); 247=> compilation.GetTypeByMetadataName(typeof(ConditionalAttribute).FullName!); 250=> compilation.GetTypeByMetadataName(typeof(ObsoleteAttribute).FullName!); 259=> compilation.GetTypeByMetadataName(typeof(IDisposable).FullName!); 262=> compilation.GetTypeByMetadataName(typeof(NotNullAttribute).FullName!); 265=> compilation.GetTypeByMetadataName(typeof(MaybeNullAttribute).FullName!); 268=> compilation.GetTypeByMetadataName(typeof(MaybeNullWhenAttribute).FullName!); 271=> compilation.GetTypeByMetadataName(typeof(AllowNullAttribute).FullName!); 274=> compilation.GetTypeByMetadataName(typeof(DisallowNullAttribute).FullName!); 277=> compilation.GetTypeByMetadataName(typeof(DataMemberAttribute).FullName!); 280=> compilation.GetTypeByMetadataName(typeof(DataContractAttribute).FullName!); 286=> compilation.GetTypeByMetadataName(typeof(CancellationToken).FullName!); 292=> compilation.GetTypeByMetadataName(typeof(List<>).FullName!); 295=> compilation.GetTypeByMetadataName(typeof(ReadOnlySpan<>).FullName!); 298=> compilation.GetTypeByMetadataName(typeof(Span<>).FullName!); 301=> compilation.GetTypeByMetadataName(typeof(InterpolatedStringHandlerAttribute).FullName!);
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FatalError.cs (1)
84var targetType = assembly.GetType(typeof(FatalError).FullName!, throwOnError: true)!;
src\roslyn\src\Dependencies\Contracts\ExceptionUtilities.cs (1)
23string output = string.Format("Unexpected value '{0}' of type '{1}'", o, (o != null) ? o.GetType().FullName : "<unknown>");
Symbols\ITypeSymbolExtensions.cs (1)
719&& attributeData.AttributeClass.ToNameDisplayString() == typeof(ReferenceAssemblyAttribute).FullName)
Microsoft.CodeAnalysis.ExternalAccess.Extensions (8)
Internal\ExtensionMessageHandlerFactory.cs (2)
59throw new InvalidOperationException(string.Format(ExternalAccessExtensionsResources.Type_0_implements_interface_1_more_than_once, candidateType.FullName, unboundInterfaceType.Name)); 69?? throw new InvalidOperationException(string.Format(ExternalAccessExtensionsResources.Cannot_create_0, candidateType.FullName));
Internal\ExtensionMessageHandlerWrapper.cs (6)
24Name = handler.GetType().FullName ?? throw new ArgumentException(string.Format(ExternalAccessExtensionsResources.The_handler_of_type_0_must_have_a_full_name, handler.GetType().Name), nameof(handler)); 29_executeAsyncMethod = customMessageHandlerInterface.GetMethod(nameof(ExecuteAsync)) ?? throw new ArgumentException(string.Format(ExternalAccessExtensionsResources.The_interface_0_does_not_contain_a_method_named_1, customMessageHandlerInterface.FullName, nameof(ExecuteAsync)), nameof(customMessageHandlerInterface)); 45throw new InvalidOperationException(string.Format(ExternalAccessExtensionsResources.The_message_type_0_is_not_assignable_to_1, message?.GetType().FullName ?? "null", MessageType.FullName)); 54throw new InvalidOperationException(string.Format(ExternalAccessExtensionsResources.The_message_type_0_is_not_assignable_to_1, response?.GetType().FullName ?? "null", ResponseType.FullName));
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(ExtensionMemberImportCompletionProvider).FullName;
Microsoft.CodeAnalysis.Features (41)
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!)))
Copilot\ICopilotChangeAnalysisService.cs (1)
367=> codeFixCollection.Provider.GetType().FullName![RoslynPrefix.Length..];
Debugging\DebugInformationReaderProvider.cs (1)
69=> EditAndContinueDebugInfoReader.Create(_symReader ?? throw new ObjectDisposedException(GetType().FullName), _version);
Diagnostics\DiagnosticAnalyzerTelemetry.cs (1)
74var analyzerName = analyzerType.FullName;
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (2)
5457var layoutAttribute = model.Compilation.GetTypeByMetadataName(typeof(StructLayoutAttribute).FullName!); 7163=> method.Parameters is [var parameter] && SymbolEqualityComparer.Default.Equals(parameter.Type, compilation.GetTypeByMetadataName(typeof(StringBuilder).FullName!));
EmbeddedLanguages\DateAndTime\LanguageServices\DateAndTimeLanguageDetector.cs (2)
161_dateTimeType ??= _compilation.GetTypeByMetadataName(typeof(DateTime).FullName!); 162_dateTimeOffsetType ??= _compilation.GetTypeByMetadataName(typeof(DateTimeOffset).FullName!);
EmbeddedLanguages\ExportEmbeddedLanguageFeatureServiceAttribute.cs (1)
56$"{nameof(contractType)} must be an interface and derived from {typeof(IEmbeddedLanguageFeatureService).FullName}");
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexLanguageDetector.cs (1)
37var regexType = compilation.GetTypeByMetadataName(typeof(Regex).FullName!);
GenerateComparisonOperators\GenerateComparisonOperatorsCodeRefactoringProvider.cs (1)
61var comparableType = compilation.GetTypeByMetadataName(typeof(IComparable<>).FullName!);
GenerateConstructors\AbstractGenerateConstructorsCodeRefactoringProvider.cs (1)
234var argumentNullExceptionType = typeof(ArgumentNullException).FullName;
GenerateEqualsAndGetHashCodeFromMembers\AbstractGenerateEqualsAndGetHashCodeService.cs (1)
182var valueTupleType = compilation.GetTypeByMetadataName(typeof(ValueTuple).FullName!);
GenerateEqualsAndGetHashCodeFromMembers\GenerateEqualsAndGetHashCodeAction.cs (1)
102var equatableType = semanticModel.Compilation.GetTypeByMetadataName(typeof(IEquatable<>).FullName!);
GenerateEqualsAndGetHashCodeFromMembers\GenerateEqualsAndGetHashCodeFromMembersCodeRefactoringProvider.cs (1)
142var equatableTypeOpt = semanticModel.Compilation.GetTypeByMetadataName(typeof(IEquatable<>).FullName!);
InitializeParameter\AbstractAddParameterCheckCodeRefactoringProvider.cs (2)
442var flagsAttributeType = compilation.GetBestTypeByMetadataName(typeof(FlagsAttribute).FullName!); 944var fullName = type.FullName!;
InitializeParameter\AbstractInitializeParameterCodeRefactoringProvider.cs (1)
91var argumentNullExceptionType = typeof(ArgumentNullException).FullName;
IntroduceParameter\IntroduceParameterDocumentRewriter.cs (1)
621!parameter.Type.Equals(compilation.GetTypeByMetadataName(typeof(CancellationToken)?.FullName!));
MetadataAsSource\DecompilationMetadataAsSourceFileProvider.cs (1)
80&& attribute.AttributeClass.ToNameDisplayString() == typeof(SuppressIldasmAttribute).FullName);
MetadataAsSource\MetadataAsSourceHelpers.cs (1)
109attribute.AttributeClass.ToNameDisplayString() == typeof(ReferenceAssemblyAttribute).FullName)
SignatureHelp\CommonSignatureHelpUtilities.cs (1)
171var ienumerableType = compilation.GetTypeByMetadataName(typeof(IEnumerable).FullName!);
Snippets\SnippetProviders\AbstractConsoleSnippetProvider.cs (1)
83=> compilation.GetBestTypeByMetadataName(typeof(Console).FullName!);
src\4f5ad909b1ed0e10\AbstractUseCoalesceExpressionForNullableTernaryConditionalCheckDiagnosticAnalyzer.cs (1)
109var nullableType = semanticModel.Compilation.GetTypeByMetadataName(typeof(Nullable<>).FullName!);
src\9547feb31df4cc5d\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.cs (1)
54var iCustomMarshaler = context.Compilation.GetTypeByMetadataName(typeof(ICustomMarshaler).FullName!);
src\roslyn\src\Analyzers\Core\Analyzers\ForEachCast\AbstractForEachCastDiagnosticAnalyzer.cs (1)
142semanticModel.Compilation.GetBestTypeByMetadataName(typeof(Enumerable).FullName!) != null;
src\roslyn\src\Analyzers\Core\Analyzers\Helpers\HashCodeAnalyzer\HashCodeAnalyzer.cs (1)
33var equalityComparerType = compilation.GetBestTypeByMetadataName(typeof(EqualityComparer<>).FullName!);
src\roslyn\src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
161_iNotifyCompletionType = compilation.GetBestTypeByMetadataName(typeof(INotifyCompletion).FullName!);
src\roslyn\src\Analyzers\Core\Analyzers\SimplifyInterpolation\AbstractSimplifyInterpolationHelpers.cs (1)
248=> semanticModel.Compilation.GetTypeByMetadataName(typeof(T).FullName!);
src\roslyn\src\Analyzers\Core\Analyzers\SimplifyLinqExpression\AbstractSimplifyLinqExpressionDiagnosticAnalyzer.cs (1)
75enumerableType = compilation.GetTypeByMetadataName(typeof(Enumerable)?.FullName!);
src\roslyn\src\Analyzers\Core\Analyzers\ValidateFormatString\AbstractValidateFormatStringDiagnosticAnalyzer.cs (1)
73var formatProviderType = startContext.Compilation.GetTypeByMetadataName(typeof(System.IFormatProvider).FullName!);
src\roslyn\src\Analyzers\Core\CodeFixes\AddObsoleteAttribute\AbstractAddObsoleteAttributeCodeFixProvider.cs (1)
60var attribute = compilation.GetTypeByMetadataName(typeof(ObsoleteAttribute).FullName!);
src\roslyn\src\Analyzers\Core\CodeFixes\ForEachCast\AbstractForEachCastCodeFixProvider.cs (1)
62var enumerableType = semanticModel.Compilation.GetBestTypeByMetadataName(typeof(Enumerable).FullName!);
src\roslyn\src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_DisposePattern.cs (1)
201var gcType = compilation.GetTypeByMetadataName(typeof(GC).FullName!);
Microsoft.CodeAnalysis.Razor.Compiler (99)
CSharp\DefaultTagHelperDescriptorFactory.cs (1)
62if (!symbol.TryGetAttribute(typeof(EditorBrowsableAttribute).FullName!, out var editorBrowsableAttribute))
Language\BoundAttributeDescriptorBuilder.cs (15)
18{ typeof(byte).FullName!, "byte" }, 19{ typeof(sbyte).FullName!, "sbyte" }, 20{ typeof(int).FullName!, "int" }, 21{ typeof(uint).FullName!, "uint" }, 22{ typeof(short).FullName!, "short" }, 23{ typeof(ushort).FullName!, "ushort" }, 24{ typeof(long).FullName!, "long" }, 25{ typeof(ulong).FullName!, "ulong" }, 26{ typeof(float).FullName!, "float" }, 27{ typeof(double).FullName!, "double" }, 28{ typeof(char).FullName!, "char" }, 29{ typeof(bool).FullName!, "bool" }, 30{ typeof(object).FullName!, "object" }, 31{ typeof(string).FullName!, "string" }, 32{ typeof(decimal).FullName!, "decimal" }
Language\CodeGeneration\CodeWriter.WriteInterpolatedStringHandler.cs (1)
81Debug.Assert(!typeof(T).IsValueType, $"Handle {typeof(T).FullName} to avoid boxing to {nameof(IWriteableValue)}");
Language\Components\ComponentBindLoweringPass.cs (1)
22private static readonly string s_cultureInvariantText = $"global::{typeof(CultureInfo).FullName}.{nameof(CultureInfo.InvariantCulture)}";
Language\DefaultRazorIntermediateNodeLoweringPhase.cs (1)
253throw new InvalidOperationException(Resources.FormatUnexpectedDirectiveKind(typeof(DirectiveKind).FullName));
Language\RazorDiagnostic.cs (1)
78throw new NotSupportedException(SR.FormatUnsupported_type_0(enumType.FullName));
Language\RazorProjectEngine.cs (1)
319method.ReturnType = $"global::{typeof(Task).FullName}";
Language\TagHelpers\Producers\BindTagHelperProducer.cs (17)
315a.TypeName = typeof(object).FullName; 323parameter.TypeName = typeof(string).FullName; 334parameter.TypeName = typeof(string).FullName; 345parameter.TypeName = typeof(CultureInfo).FullName; 353parameter.TypeName = typeof(object).FullName; 362parameter.TypeName = typeof(Delegate).FullName; 370parameter.TypeName = typeof(Delegate).FullName; 522parameter.TypeName = typeof(object).FullName; 531parameter.TypeName = typeof(Delegate).FullName; 539parameter.TypeName = typeof(Delegate).FullName; 589attribute.AsDictionary("@bind-", typeof(object).FullName); 600parameter.TypeName = typeof(string).FullName; 608parameter.TypeName = typeof(string).FullName; 618parameter.TypeName = typeof(CultureInfo).FullName; 626parameter.TypeName = typeof(object).FullName; 635parameter.TypeName = typeof(Delegate).FullName; 643parameter.TypeName = typeof(Delegate).FullName;
Language\TagHelpers\Producers\ComponentTagHelperProducer.cs (2)
487pb.TypeName = typeof(Type).FullName; 689b.TypeName = typeof(string).FullName;
Language\TagHelpers\Producers\EventHandlerTagHelperProducer.cs (2)
212parameter.TypeName = typeof(bool).FullName; 226parameter.TypeName = typeof(bool).FullName;
Language\TagHelpers\Producers\FormNameTagHelperProducer.cs (1)
68attribute.TypeName = typeof(string).FullName;
Language\TagHelpers\Producers\KeyTagHelperProducer.cs (1)
65attribute.TypeName = typeof(object).FullName;
Language\TagHelpers\Producers\RefTagHelperProducer.cs (1)
65attribute.TypeName = typeof(object).FullName;
Language\TagHelpers\Producers\SplatTagHelperProducer.cs (1)
65attribute.TypeName = typeof(object).FullName;
Language\TypeNameObject.cs (2)
64var fullName = typeof(T).FullName!; 136var fullName = type.FullName!;
Mvc.Version1_X\MvcViewDocumentClassifierPass.cs (1)
45method.ReturnType = $"global::{typeof(System.Threading.Tasks.Task).FullName}";
Mvc.Version1_X\ViewComponentTagHelperDescriptorFactory.cs (15)
25[typeof(byte).FullName] = "byte", 26[typeof(sbyte).FullName] = "sbyte", 27[typeof(int).FullName] = "int", 28[typeof(uint).FullName] = "uint", 29[typeof(short).FullName] = "short", 30[typeof(ushort).FullName] = "ushort", 31[typeof(long).FullName] = "long", 32[typeof(ulong).FullName] = "ulong", 33[typeof(float).FullName] = "float", 34[typeof(double).FullName] = "double", 35[typeof(char).FullName] = "char", 36[typeof(bool).FullName] = "bool", 37[typeof(object).FullName] = "object", 38[typeof(string).FullName] = "string", 39[typeof(decimal).FullName] = "decimal",
Mvc.Version2_X\MvcViewDocumentClassifierPass.cs (1)
45method.ReturnType = $"global::{typeof(System.Threading.Tasks.Task).FullName}";
Mvc.Version2_X\RazorPageDocumentClassifierPass.cs (1)
76method.ReturnType = $"global::{typeof(System.Threading.Tasks.Task).FullName}";
Mvc.Version2_X\ViewComponentTagHelperDescriptorFactory.cs (15)
25[typeof(byte).FullName] = "byte", 26[typeof(sbyte).FullName] = "sbyte", 27[typeof(int).FullName] = "int", 28[typeof(uint).FullName] = "uint", 29[typeof(short).FullName] = "short", 30[typeof(ushort).FullName] = "ushort", 31[typeof(long).FullName] = "long", 32[typeof(ulong).FullName] = "ulong", 33[typeof(float).FullName] = "float", 34[typeof(double).FullName] = "double", 35[typeof(char).FullName] = "char", 36[typeof(bool).FullName] = "bool", 37[typeof(object).FullName] = "object", 38[typeof(string).FullName] = "string", 39[typeof(decimal).FullName] = "decimal",
Mvc\MvcViewDocumentClassifierPass.cs (1)
64method.ReturnType = $"global::{typeof(System.Threading.Tasks.Task).FullName}";
Mvc\RazorPageDocumentClassifierPass.cs (1)
95method.ReturnType = $"global::{typeof(System.Threading.Tasks.Task).FullName}";
Mvc\ViewComponentTagHelperDescriptorFactory.cs (15)
25[typeof(byte).FullName] = "byte", 26[typeof(sbyte).FullName] = "sbyte", 27[typeof(int).FullName] = "int", 28[typeof(uint).FullName] = "uint", 29[typeof(short).FullName] = "short", 30[typeof(ushort).FullName] = "ushort", 31[typeof(long).FullName] = "long", 32[typeof(ulong).FullName] = "ulong", 33[typeof(float).FullName] = "float", 34[typeof(double).FullName] = "double", 35[typeof(char).FullName] = "char", 36[typeof(bool).FullName] = "bool", 37[typeof(object).FullName] = "object", 38[typeof(string).FullName] = "string", 39[typeof(decimal).FullName] = "decimal",
Mvc\ViewComponentTagHelperTargetExtensionBase.cs (1)
20private static readonly string s_taskTypeName = $"global::{typeof(Task).FullName}";
Microsoft.CodeAnalysis.ResxSourceGenerator (64)
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FatalError.cs (1)
84var targetType = assembly.GetType(typeof(FatalError).FullName!, throwOnError: true)!;
src\roslyn\src\Dependencies\Contracts\ExceptionUtilities.cs (1)
23string output = string.Format("Unexpected value '{0}' of type '{1}'", o, (o != null) ? o.GetType().FullName : "<unknown>");
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (61)
79=> compilation.GetTypeByMetadataName(typeof(ArgumentException).FullName!); 82=> compilation.GetTypeByMetadataName(typeof(ArgumentNullException).FullName!); 85=> compilation.GetTypeByMetadataName(typeof(ArgumentOutOfRangeException).FullName!); 88=> compilation.GetTypeByMetadataName(typeof(Array).FullName!); 91=> compilation.GetTypeByMetadataName(typeof(Attribute).FullName!); 94=> compilation.GetTypeByMetadataName(typeof(BlockingCollection<>).FullName!); 97=> compilation.GetTypeByMetadataName(typeof(Collection<>).FullName!); 100=> compilation.GetTypeByMetadataName(typeof(Exception).FullName!); 103=> compilation.GetTypeByMetadataName(typeof(System.Diagnostics.DebuggerDisplayAttribute).FullName!); 106=> compilation.GetTypeByMetadataName(typeof(StructLayoutAttribute).FullName!); 121=> compilation.GetTypeByMetadataName(typeof(ThreadStaticAttribute).FullName!); 124=> compilation.GetTypeByMetadataName(typeof(FormattableString).FullName!); 127=> compilation.GetTypeByMetadataName(typeof(IFormattable).FullName!); 130=> compilation.GetTypeByMetadataName(typeof(EventArgs).FullName!); 133=> compilation.GetTypeByMetadataName(typeof(NotImplementedException).FullName!); 136=> compilation.GetTypeByMetadataName(typeof(EqualityComparer<>).FullName!); 139=> compilation.GetTypeByMetadataName(typeof(Action).FullName!); 145=> compilation.GetTypeByMetadataName(typeof(EditorBrowsableAttribute).FullName!); 148=> compilation.GetTypeByMetadataName(typeof(EditorBrowsableState).FullName!); 151=> compilation.GetTypeByMetadataName(typeof(Task).FullName!); 154=> compilation.GetTypeByMetadataName(typeof(Task<>).FullName!); 163=> compilation.GetTypeByMetadataName(typeof(ICollection<>).FullName!); 166=> compilation.GetTypeByMetadataName(typeof(System.Collections.IEnumerable).FullName!); 169=> compilation.GetTypeByMetadataName(typeof(IEnumerable<>).FullName!); 172=> compilation.GetTypeByMetadataName(typeof(IEnumerator<>).FullName!); 175=> compilation.GetTypeByMetadataName(typeof(IList<>).FullName!); 178=> compilation.GetTypeByMetadataName(typeof(IReadOnlyList<>).FullName!); 181=> compilation.GetTypeByMetadataName(typeof(ISet<>).FullName!); 184=> compilation.GetTypeByMetadataName(typeof(IReadOnlySet<>).FullName!); 193=> compilation.GetTypeByMetadataName(typeof(ImmutableArray<>).FullName!); 196=> compilation.GetTypeByMetadataName(typeof(SerializableAttribute).FullName!); 199=> compilation.GetTypeByMetadataName(typeof(CoClassAttribute).FullName!); 202=> compilation.GetTypeByMetadataName(typeof(ComAliasNameAttribute).FullName!); 205=> compilation.GetTypeByMetadataName(typeof(SuppressMessageAttribute).FullName!); 208=> compilation.GetTypeByMetadataName(typeof(TupleElementNamesAttribute).FullName!); 214=> compilation.GetTypeByMetadataName(typeof(DynamicAttribute).FullName!); 217=> compilation.GetTypeByMetadataName(typeof(Lazy<>).FullName!); 220=> compilation.GetTypeByMetadataName(typeof(ISerializable).FullName!); 223=> compilation.GetTypeByMetadataName(typeof(SerializationInfo).FullName!); 226=> compilation.GetTypeByMetadataName(typeof(StreamingContext).FullName!); 229=> compilation.GetTypeByMetadataName(typeof(OnDeserializingAttribute).FullName!); 232=> compilation.GetTypeByMetadataName(typeof(OnDeserializedAttribute).FullName!); 235=> compilation.GetTypeByMetadataName(typeof(OnSerializingAttribute).FullName!); 238=> compilation.GetTypeByMetadataName(typeof(OnSerializedAttribute).FullName!); 241=> compilation.GetTypeByMetadataName(typeof(ComRegisterFunctionAttribute).FullName!); 244=> compilation.GetTypeByMetadataName(typeof(ComUnregisterFunctionAttribute).FullName!); 247=> compilation.GetTypeByMetadataName(typeof(ConditionalAttribute).FullName!); 250=> compilation.GetTypeByMetadataName(typeof(ObsoleteAttribute).FullName!); 259=> compilation.GetTypeByMetadataName(typeof(IDisposable).FullName!); 262=> compilation.GetTypeByMetadataName(typeof(NotNullAttribute).FullName!); 265=> compilation.GetTypeByMetadataName(typeof(MaybeNullAttribute).FullName!); 268=> compilation.GetTypeByMetadataName(typeof(MaybeNullWhenAttribute).FullName!); 271=> compilation.GetTypeByMetadataName(typeof(AllowNullAttribute).FullName!); 274=> compilation.GetTypeByMetadataName(typeof(DisallowNullAttribute).FullName!); 277=> compilation.GetTypeByMetadataName(typeof(DataMemberAttribute).FullName!); 280=> compilation.GetTypeByMetadataName(typeof(DataContractAttribute).FullName!); 286=> compilation.GetTypeByMetadataName(typeof(CancellationToken).FullName!); 292=> compilation.GetTypeByMetadataName(typeof(List<>).FullName!); 295=> compilation.GetTypeByMetadataName(typeof(ReadOnlySpan<>).FullName!); 298=> compilation.GetTypeByMetadataName(typeof(Span<>).FullName!); 301=> compilation.GetTypeByMetadataName(typeof(InterpolatedStringHandlerAttribute).FullName!);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (1)
719&& attributeData.AttributeClass.ToNameDisplayString() == typeof(ReferenceAssemblyAttribute).FullName)
Microsoft.CodeAnalysis.Scripting (3)
Hosting\CommonMemberFilter.cs (1)
23if (method.DeclaringType?.FullName.StartsWith("Submission#0").ToThreeState() == ThreeState.True)
Hosting\ObjectFormatter\CommonTypeNameFormatter.cs (1)
68return typeInfo.FullName.Replace('+', '.');
Hosting\ObjectFormatter\ObjectFormatterHelpers.cs (1)
94|| targetTypeName != null && type.FullName == targetTypeName;
Microsoft.CodeAnalysis.VisualBasic (1)
Errors\ErrorFactories.vb (1)
90s_resourceManager = New Resources.ResourceManager(GetType(VBResources).FullName, GetType(ERRID).GetTypeInfo().Assembly)
Microsoft.CodeAnalysis.VisualBasic.Features (2)
SolutionExplorer\VisualBasicSolutionExplorerSymbolTreeItemProvider.vb (2)
395Debug.Fail("Unhandled type: " + typeSyntax.GetType().FullName) 412Debug.Fail("Unhandled type: " + element.GetType().FullName)
Microsoft.CodeAnalysis.Workspaces (77)
CodeActions\CodeAction.cs (1)
381=> throw new NotSupportedException(GetType().FullName);
CodeFixesAndRefactorings\FixAllLogger.cs (2)
67m[providerKey] = fixAllState.Provider.GetType().FullName!; 73m[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);
SourceGeneration\SourceGeneratorExtensions.cs (1)
26return generator.GetGeneratorType().FullName == "Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator";
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FatalError.cs (1)
84var targetType = assembly.GetType(typeof(FatalError).FullName!, throwOnError: true)!;
src\roslyn\src\Dependencies\Contracts\ExceptionUtilities.cs (1)
23string output = string.Format("Unexpected value '{0}' of type '{1}'", o, (o != null) ? o.GetType().FullName : "<unknown>");
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (61)
79=> compilation.GetTypeByMetadataName(typeof(ArgumentException).FullName!); 82=> compilation.GetTypeByMetadataName(typeof(ArgumentNullException).FullName!); 85=> compilation.GetTypeByMetadataName(typeof(ArgumentOutOfRangeException).FullName!); 88=> compilation.GetTypeByMetadataName(typeof(Array).FullName!); 91=> compilation.GetTypeByMetadataName(typeof(Attribute).FullName!); 94=> compilation.GetTypeByMetadataName(typeof(BlockingCollection<>).FullName!); 97=> compilation.GetTypeByMetadataName(typeof(Collection<>).FullName!); 100=> compilation.GetTypeByMetadataName(typeof(Exception).FullName!); 103=> compilation.GetTypeByMetadataName(typeof(System.Diagnostics.DebuggerDisplayAttribute).FullName!); 106=> compilation.GetTypeByMetadataName(typeof(StructLayoutAttribute).FullName!); 121=> compilation.GetTypeByMetadataName(typeof(ThreadStaticAttribute).FullName!); 124=> compilation.GetTypeByMetadataName(typeof(FormattableString).FullName!); 127=> compilation.GetTypeByMetadataName(typeof(IFormattable).FullName!); 130=> compilation.GetTypeByMetadataName(typeof(EventArgs).FullName!); 133=> compilation.GetTypeByMetadataName(typeof(NotImplementedException).FullName!); 136=> compilation.GetTypeByMetadataName(typeof(EqualityComparer<>).FullName!); 139=> compilation.GetTypeByMetadataName(typeof(Action).FullName!); 145=> compilation.GetTypeByMetadataName(typeof(EditorBrowsableAttribute).FullName!); 148=> compilation.GetTypeByMetadataName(typeof(EditorBrowsableState).FullName!); 151=> compilation.GetTypeByMetadataName(typeof(Task).FullName!); 154=> compilation.GetTypeByMetadataName(typeof(Task<>).FullName!); 163=> compilation.GetTypeByMetadataName(typeof(ICollection<>).FullName!); 166=> compilation.GetTypeByMetadataName(typeof(System.Collections.IEnumerable).FullName!); 169=> compilation.GetTypeByMetadataName(typeof(IEnumerable<>).FullName!); 172=> compilation.GetTypeByMetadataName(typeof(IEnumerator<>).FullName!); 175=> compilation.GetTypeByMetadataName(typeof(IList<>).FullName!); 178=> compilation.GetTypeByMetadataName(typeof(IReadOnlyList<>).FullName!); 181=> compilation.GetTypeByMetadataName(typeof(ISet<>).FullName!); 184=> compilation.GetTypeByMetadataName(typeof(IReadOnlySet<>).FullName!); 193=> compilation.GetTypeByMetadataName(typeof(ImmutableArray<>).FullName!); 196=> compilation.GetTypeByMetadataName(typeof(SerializableAttribute).FullName!); 199=> compilation.GetTypeByMetadataName(typeof(CoClassAttribute).FullName!); 202=> compilation.GetTypeByMetadataName(typeof(ComAliasNameAttribute).FullName!); 205=> compilation.GetTypeByMetadataName(typeof(SuppressMessageAttribute).FullName!); 208=> compilation.GetTypeByMetadataName(typeof(TupleElementNamesAttribute).FullName!); 214=> compilation.GetTypeByMetadataName(typeof(DynamicAttribute).FullName!); 217=> compilation.GetTypeByMetadataName(typeof(Lazy<>).FullName!); 220=> compilation.GetTypeByMetadataName(typeof(ISerializable).FullName!); 223=> compilation.GetTypeByMetadataName(typeof(SerializationInfo).FullName!); 226=> compilation.GetTypeByMetadataName(typeof(StreamingContext).FullName!); 229=> compilation.GetTypeByMetadataName(typeof(OnDeserializingAttribute).FullName!); 232=> compilation.GetTypeByMetadataName(typeof(OnDeserializedAttribute).FullName!); 235=> compilation.GetTypeByMetadataName(typeof(OnSerializingAttribute).FullName!); 238=> compilation.GetTypeByMetadataName(typeof(OnSerializedAttribute).FullName!); 241=> compilation.GetTypeByMetadataName(typeof(ComRegisterFunctionAttribute).FullName!); 244=> compilation.GetTypeByMetadataName(typeof(ComUnregisterFunctionAttribute).FullName!); 247=> compilation.GetTypeByMetadataName(typeof(ConditionalAttribute).FullName!); 250=> compilation.GetTypeByMetadataName(typeof(ObsoleteAttribute).FullName!); 259=> compilation.GetTypeByMetadataName(typeof(IDisposable).FullName!); 262=> compilation.GetTypeByMetadataName(typeof(NotNullAttribute).FullName!); 265=> compilation.GetTypeByMetadataName(typeof(MaybeNullAttribute).FullName!); 268=> compilation.GetTypeByMetadataName(typeof(MaybeNullWhenAttribute).FullName!); 271=> compilation.GetTypeByMetadataName(typeof(AllowNullAttribute).FullName!); 274=> compilation.GetTypeByMetadataName(typeof(DisallowNullAttribute).FullName!); 277=> compilation.GetTypeByMetadataName(typeof(DataMemberAttribute).FullName!); 280=> compilation.GetTypeByMetadataName(typeof(DataContractAttribute).FullName!); 286=> compilation.GetTypeByMetadataName(typeof(CancellationToken).FullName!); 292=> compilation.GetTypeByMetadataName(typeof(List<>).FullName!); 295=> compilation.GetTypeByMetadataName(typeof(ReadOnlySpan<>).FullName!); 298=> compilation.GetTypeByMetadataName(typeof(Span<>).FullName!); 301=> compilation.GetTypeByMetadataName(typeof(InterpolatedStringHandlerAttribute).FullName!);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (1)
719&& attributeData.AttributeClass.ToNameDisplayString() == typeof(ReferenceAssemblyAttribute).FullName)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
243var iequatableType = compilation.GetTypeByMetadataName(typeof(IEquatable<>).FullName);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (1)
441var type = compilation.GetTypeByMetadataName(typeof(ArgumentNullException).FullName!);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SemanticsFactsService\AbstractSemanticFactsService.cs (2)
112? GetIDisposableInterfaceAndDisposeMethod(typeof(IAsyncDisposable).FullName!, nameof(IAsyncDisposable.DisposeAsync)) 113: GetIDisposableInterfaceAndDisposeMethod(typeof(IDisposable).FullName!, nameof(IDisposable.Dispose));
Telemetry\TelemetryFeatureName.cs (1)
42=> new(type.Assembly.FullName?.StartsWith("Microsoft.", StringComparison.Ordinal) == true ? type.FullName! : "External",
Workspace\Solution\SourceGeneratorIdentity.cs (1)
35assemblyName.Name!, analyzerReference.FullPath, assemblyName.Version!, generatorType.FullName!);
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\MSBuildProjectLoader.cs (1)
323if (logger?.GetType().FullName != "Microsoft.Build.Logging.BinaryLogger")
Microsoft.CodeAnalysis.Workspaces.MSBuild.Contracts (2)
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FatalError.cs (1)
84var targetType = assembly.GetType(typeof(FatalError).FullName!, throwOnError: true)!;
src\roslyn\src\Dependencies\Contracts\ExceptionUtilities.cs (1)
23string output = string.Format("Unexpected value '{0}' of type '{1}'", o, (o != null) ? o.GetType().FullName : "<unknown>");
Microsoft.CSharp (5)
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (5)
892(type.BaseType.FullName == "System.MulticastDelegate" || 893type.BaseType.FullName == "System.Delegate") && 894type.FullName != "System.MulticastDelegate") 971string typeName = type.FullName; 974typeName = type.GetGenericTypeDefinition().FullName;
Microsoft.DotNet.Build.Tasks.Packaging (2)
NuGetPack.cs (2)
349Log.LogMessage(LogImportance.Low, $"{type.FullName} does not contain property {deterministicTimestampPropertyName}. Not setting {nameof(deterministicTimestamp)}."); 355Log.LogWarning($"{type.FullName}.{deterministicTimestampPropertyName} is not writable.");
Microsoft.DotNet.Cli.Telemetry (1)
Implementation\AzureMonitorLogSerializer.cs (1)
180TypeName = BreezeSchema.Truncate(exception.GetType().FullName, BreezeSchema.ExceptionTypeNameMaxLength),
Microsoft.DotNet.Cli.Utils (1)
Extensions\TypeExtensions.cs (1)
17var typeName = type.FullName ?? string.Empty;
Microsoft.DotNet.HotReload.WebAssembly.Browser (3)
src\sdk\src\Dotnet.Watch\HotReloadAgent\HotReloadAgent.cs (1)
173var exceptionType = types.FirstOrDefault(static t => t.FullName == "System.Runtime.CompilerServices.HotReloadException");
src\sdk\src\Dotnet.Watch\HotReloadAgent\MetadataUpdateHandlerInvoker.cs (2)
160if (attr.AttributeType.FullName != "System.Reflection.Metadata.MetadataUpdateHandlerAttribute") 295=> $"{method.DeclaringType!.FullName}.{method.Name}";
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.TemplateLocator (1)
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\WorkloadResolver.cs (1)
129throw new WorkloadManifestCompositionException(Strings.DuplicateManifestID, manifestProvider.GetType().FullName, readableManifest.ManifestId, readableManifest.ManifestPath, existingManifest.ManifestPath);
Microsoft.Extensions.AI (10)
ChatCompletion\OpenTelemetryChatClient.cs (1)
411tags.Add(OpenTelemetryConsts.Error.Type, error.GetType().FullName);
ChatCompletion\OpenTelemetryImageGenerator.cs (1)
221tags.Add(OpenTelemetryConsts.Error.Type, error.GetType().FullName);
Common\FunctionInvocationProcessor.cs (1)
210_ = activity.SetTag(OpenTelemetryConsts.Error.Type, e.GetType().FullName)
Common\OpenTelemetryLog.cs (1)
29.AddTag(OpenTelemetryConsts.Error.Type, error.GetType().FullName)
Common\OtelMessageSerializer.cs (1)
245Type = content.GetType().FullName!,
Embeddings\OpenTelemetryEmbeddingGenerator.cs (1)
207tags.Add(OpenTelemetryConsts.Error.Type, error.GetType().FullName);
Files\OpenTelemetryHostedFileClient.cs (1)
455tags.Add(OpenTelemetryConsts.Error.Type, error.GetType().FullName);
Realtime\OpenTelemetryRealtimeClientSession.cs (1)
753tags.Add(OpenTelemetryConsts.Error.Type, error.GetType().FullName);
SpeechToText\OpenTelemetrySpeechToTextClient.cs (1)
255tags.Add(OpenTelemetryConsts.Error.Type, error.GetType().FullName);
TextToSpeech\OpenTelemetryTextToSpeechClient.cs (1)
254tags.Add(OpenTelemetryConsts.Error.Type, error.GetType().FullName);
Microsoft.Extensions.AI.Abstractions (3)
parent\parent\parent\eng\MSBuild\parent\parent\src\LegacySupport\NullabilityInfoContext\NullabilityInfoHelpers.cs (1)
29throw new MissingMemberException(type.FullName, member.Name);
Utilities\AIJsonUtilities.Schema.Create.cs (2)
910paramType.GetGenericTypeDefinition().FullName != "Microsoft.FSharp.Core.FSharpOption`1") 917if (attr.GetType().FullName == "Microsoft.FSharp.Core.OptionalArgumentAttribute")
Microsoft.Extensions.AI.Evaluation (3)
CompositeEvaluator.cs (2)
54$"The '{nameof(evaluator.EvaluationMetricNames)}' property on '{evaluator.GetType().FullName}' returned an empty collection. An evaluator must advertise the names of the metrics that it supports."); 151$"The '{nameof(e.EvaluationMetricNames)}' property on '{e.GetType().FullName}' returned an empty collection. An evaluator must advertise the names of the metrics that it supports.");
EvaluationResult.cs (1)
144throw new KeyNotFoundException($"Metric '{metricName}' of type '{typeof(T).FullName}' was not found.");
Microsoft.Extensions.AI.OpenAI.Tests (2)
OpenAIRealtimeClientSessionTests.cs (1)
94$"Expected OperationCanceledException or WebSocketException but got {ex.GetType().FullName}");
OpenAIRealtimeClientTests.cs (1)
61$"Expected OperationCanceledException or WebSocketException but got {ex.GetType().FullName}");
Microsoft.Extensions.AI.Tests (10)
ChatCompletion\OpenTelemetryChatClientTests.cs (1)
1052Assert.Equal(expectedException.GetType().FullName, activity.GetTagItem("error.type"));
Embeddings\OpenTelemetryEmbeddingGeneratorTests.cs (1)
132Assert.Equal(expectedException.GetType().FullName, activity.GetTagItem("error.type"));
Files\OpenTelemetryHostedFileClientTests.cs (5)
286Assert.Equal(typeof(InvalidOperationException).FullName, activity.GetTagItem("error.type")); 331Assert.Equal(typeof(InvalidOperationException).FullName, activity.GetTagItem("error.type")); 412Assert.Equal(typeof(InvalidOperationException).FullName, activity.GetTagItem("error.type")); 447Assert.Equal(typeof(InvalidOperationException).FullName, activity.GetTagItem("error.type")); 482Assert.Equal(typeof(InvalidOperationException).FullName, activity.GetTagItem("error.type"));
Image\OpenTelemetryImageGeneratorTests.cs (1)
205Assert.Equal(expectedException.GetType().FullName, activity.GetTagItem("error.type"));
SpeechToText\OpenTelemetrySpeechToTextClientTests.cs (1)
203Assert.Equal(expectedException.GetType().FullName, activity.GetTagItem("error.type"));
TextToSpeech\OpenTelemetryTextToSpeechClientTests.cs (1)
183Assert.Equal(expectedException.GetType().FullName, activity.GetTagItem("error.type"));
Microsoft.Extensions.Caching.Hybrid (2)
Internal\DefaultHybridCache.Stampede.cs (2)
101$"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)
764static 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.Configuration.Binder.SourceGeneration (7)
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.
Specs\Types\TypeSpec.cs (1)
33/// <see cref="System.Type.FullName"/> like rendering of the type name.
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (2)
125throw new ObjectDisposedException(instance?.GetType().FullName); 131throw new ObjectDisposedException(type?.FullName);
src\runtime\src\libraries\Common\src\Roslyn\GetBestTypeByMetadataName.cs (2)
89type.IsArray || type.FullName is null 91: GetBestTypeByMetadataName(compilation, type.FullName);
Microsoft.Extensions.DataIngestion (1)
IngestionPipeline.cs (1)
124activity?.SetTag(ErrorTypeTagName, ex.GetType().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\runtime\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)
1039string debugText = $@"Lifetime = {Lifetime}, ServiceType = ""{ServiceType.FullName}"""; 1047debugText += $@", KeyedImplementationType = ""{KeyedImplementationType.FullName}"""; 1062debugText += $@", ImplementationType = ""{ImplementationType.FullName}""";
Microsoft.Extensions.DependencyInjection.AutoActivation.Tests (2)
AcceptanceTest.cs (1)
344Assert.Contains(typeof(IFakeService).FullName!, exception.Message);
AcceptanceTest.Keyed.cs (1)
338Assert.Contains(typeof(IFakeService).FullName!, exception.Message);
Microsoft.Extensions.Diagnostics.Abstractions (1)
src\runtime\src\libraries\Common\src\Extensions\TypeNameHelper\TypeNameHelper.cs (1)
87string name = options.FullName ? type.FullName! : type.Name;
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
ResourceMonitorService.cs (1)
117_logger.HandlePublishUtilizationException(e, publisher.GetType().FullName!);
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (1)
ResourceMonitoringServiceTests.cs (1)
31private static readonly string _publisherUnableToPublishErrorMessage = $"Publisher `{typeof(FaultPublisher).FullName}` was unable to publish utilization statistics.";
Microsoft.Extensions.DotNetDeltaApplier (3)
src\sdk\src\Dotnet.Watch\HotReloadAgent\HotReloadAgent.cs (1)
173var exceptionType = types.FirstOrDefault(static t => t.FullName == "System.Runtime.CompilerServices.HotReloadException");
src\sdk\src\Dotnet.Watch\HotReloadAgent\MetadataUpdateHandlerInvoker.cs (2)
160if (attr.AttributeType.FullName != "System.Reflection.Metadata.MetadataUpdateHandlerAttribute") 295=> $"{method.DeclaringType!.FullName}.{method.Name}";
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\runtime\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)
229Log.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 (65)
UserManager.cs (64)
492_metrics?.CreateUser(typeof(TUser).FullName!, result, startTimeStamp); 497_metrics?.CreateUser(typeof(TUser).FullName!, result: null, startTimeStamp, ex); 542_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.Update, startTimeStamp, ex); 565_metrics?.DeleteUser(typeof(TUser).FullName!, result, startTimeStamp); 571_metrics?.DeleteUser(typeof(TUser).FullName!, result: null, startTimeStamp, ex); 648_metrics?.CreateUser(typeof(TUser).FullName!, result, startTimeStamp); 654_metrics?.CreateUser(typeof(TUser).FullName!, result: null, startTimeStamp, ex); 736_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.SetUserName, startTimeStamp, ex); 766_metrics?.CheckPassword(typeof(TUser).FullName!, userMissing, result); 778_metrics?.CheckPassword(typeof(TUser).FullName!, userMissing: null, result: null, ex); 837_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.AddPassword, startTimeStamp); 842_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.AddPassword, startTimeStamp, ex); 884_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.ChangePassword, startTimeStamp); 889_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.ChangePassword, startTimeStamp, ex); 935_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.RemovePassword, startTimeStamp, ex); 1006_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.UpdateSecurityStamp, startTimeStamp, ex); 1046_metrics?.UpdateUser(typeof(TUser).FullName!, failureResult, UserUpdateType.ResetPassword, startTimeStamp); 1053_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.ResetPassword, startTimeStamp); 1104_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.RemoveLogin, startTimeStamp, ex); 1124_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.AddLogin, startTimeStamp); 1129_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.AddLogin, startTimeStamp, ex); 1204_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.AddClaims, startTimeStamp, ex); 1235_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.ReplaceClaim, startTimeStamp, ex); 1278_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.RemoveClaims, startTimeStamp, ex); 1313_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.AddToRoles, startTimeStamp); 1318_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.AddToRoles, startTimeStamp, ex); 1353_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.AddToRoles, startTimeStamp); 1358_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.AddToRoles, startTimeStamp, ex); 1403_metrics?.UpdateUser(typeof(TUser).FullName!, failureResult, UserUpdateType.RemoveFromRoles, startTimeStamp); 1444_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.RemoveFromRoles, startTimeStamp); 1449_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.RemoveFromRoles, startTimeStamp, ex); 1541_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.SetEmail, startTimeStamp, ex); 1628_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.ConfirmEmail, startTimeStamp); 1633_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.ConfirmEmail, startTimeStamp, ex); 1702_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.ChangeEmail, startTimeStamp, ex); 1762_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.SetPhoneNumber, startTimestamp, ex); 1784_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.ChangePhoneNumber, startTimestamp); 1789_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.ChangePhoneNumber, startTimestamp, ex); 1886_metrics?.VerifyToken(typeof(TUser).FullName!, result, purpose); 1896_metrics?.VerifyToken(typeof(TUser).FullName!, result: null, purpose, ex); 1924_metrics?.GenerateToken(typeof(TUser).FullName!, purpose); 1929_metrics?.GenerateToken(typeof(TUser).FullName!, purpose, ex); 1993_metrics?.VerifyToken(typeof(TUser).FullName!, result, "TwoFactor"); 2003_metrics?.VerifyToken(typeof(TUser).FullName!, result: null, "TwoFactor", ex); 2028_metrics?.GenerateToken(typeof(TUser).FullName!, "TwoFactor"); 2033_metrics?.GenerateToken(typeof(TUser).FullName!, "TwoFactor", ex); 2079_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.SetTwoFactorEnabled, startTimestamp, ex); 2129_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.SetLockoutEnabled, startTimestamp, ex); 2177_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.SetLockoutEndDate, startTimestamp); 2182_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.SetLockoutEndDate, startTimestamp, ex); 2232_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.IncrementAccessFailed, startTimestamp, ex); 2248_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.ResetAccessFailedCount, startTimestamp); 2253_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.ResetAccessFailedCount, startTimestamp, ex); 2362_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.SetAuthenticationToken, startTimestamp, ex); 2390_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.RemoveAuthenticationToken, startTimestamp, ex); 2427_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.ResetAuthenticatorKey, startTimestamp, ex); 2470_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.GenerateNewTwoFactorRecoveryCodes, startTimestamp, ex); 2580_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.RedeemTwoFactorRecoveryCode, startTimestamp); 2585_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.RedeemTwoFactorRecoveryCode, startTimestamp, ex); 2630_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.AddOrUpdatePasskey, startTimestamp); 2635_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.AddOrUpdatePasskey, startTimestamp, ex); 2716_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.RemovePasskey, startTimestamp); 2721_metrics?.UpdateUser(typeof(TUser).FullName!, result: null, UserUpdateType.RemovePasskey, startTimestamp, ex); 3009_metrics?.UpdateUser(typeof(TUser).FullName!, result, updateType, startTimestamp);
UserManagerMetrics.cs (1)
230var value = exception?.GetType().FullName ?? result?.Errors.FirstOrDefault()?.Code;
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)
207AddRule(builder, type: typeof(T).FullName, filter: (type, name, level) => categoryLevelFilter(name, level)); 240AddRule(builder, type: typeof(T).FullName, filter: (type, name, level) => levelFilter(level)); 261AddRule(builder, type: typeof(T).FullName, category: category, level: level); 296AddRule(builder, type: typeof(T).FullName, category: category, filter: (type, name, level) => levelFilter(level));
LoggerFactory.cs (1)
248messageLoggers.Add(new MessageLogger(loggerInformation.Logger, loggerInformation.Category, loggerInformation.ProviderType.FullName, minLevel, filter));
LoggerRuleSelector.cs (1)
27if (IsBetter(rule, current, providerType.FullName, category)
src\runtime\src\libraries\Common\src\Extensions\ProviderAliasUtilities\ProviderAliasUtilities.cs (1)
22if (attributeData.AttributeType.FullName == AliasAttributeTypeFullName &&
Microsoft.Extensions.Logging.Abstractions (1)
src\runtime\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\runtime\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)
428return new[] { new LoggerFilterRule(typeof(EventSourceLoggerProvider).FullName, null, defaultLevel, null) }; 434return new[] { new LoggerFilterRule(typeof(EventSourceLoggerProvider).FullName, null, LogLevel.None, null) }; 447rules.Add(new LoggerFilterRule(typeof(EventSourceLoggerProvider).FullName, null, LogLevel.None, null)); 474rules.Add(new LoggerFilterRule(typeof(EventSourceLoggerProvider).FullName, loggerName, level, null));
Microsoft.Extensions.Logging.Generators (4)
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (2)
125throw new ObjectDisposedException(instance?.GetType().FullName); 131throw new ObjectDisposedException(type?.FullName);
src\runtime\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\runtime\src\libraries\Common\src\Roslyn\GetBestTypeByMetadataName.cs (2)
89type.IsArray || type.FullName is null 91: GetBestTypeByMetadataName(compilation, type.FullName);
Microsoft.Extensions.ServiceDiscovery (1)
parent\parent\Shared\FxPolyfills\ObjectDisposedException.cs (1)
16throw new ObjectDisposedException(instance?.GetType().FullName);
Microsoft.Extensions.ServiceDiscovery.Abstractions (1)
parent\parent\Shared\FxPolyfills\ObjectDisposedException.cs (1)
16throw new ObjectDisposedException(instance?.GetType().FullName);
Microsoft.Extensions.Telemetry (3)
Logging\ExtendedLoggerFactory.cs (1)
257messageLoggers.Add(new MessageLogger(loggerInformation.Logger, loggerInformation.Category, loggerInformation.ProviderType.FullName, minLevel, filter));
Logging\Import\LoggerRuleSelector.cs (1)
31if (IsBetter(rule, current, providerType.FullName, category)
Logging\Import\ProviderAliasUtilities.cs (1)
24if (attributeData.AttributeType.FullName == AliasAttributeTypeFullName &&
Microsoft.Extensions.Telemetry.Tests (3)
Logging\ExtendedLoggerFactoryTests.cs (3)
472Assert.StartsWith(loggerProvider.ScopeProvider!.GetType().FullName, scope!.GetType().FullName); 484Assert.Contains("LoggerExternalScopeProvider+Scope", scope!.GetType().FullName);
Microsoft.Extensions.Validation.ValidationsGenerator (2)
src\aspnetcore\src\Shared\RoslynUtils\WellKnownTypes.cs (2)
55_missingTypeSymbol = compilation.GetTypeByMetadataName(typeof(MissingType).FullName!)!; 108result ??= _compilation.GetTypeByMetadataName(typeof(MissingType).FullName!)!;
Microsoft.Extensions.VectorData.Abstractions (2)
ProviderServices\CollectionModelBuilder.cs (2)
125?? throw new InvalidOperationException($"Property '{property.ModelName}' not found on CLR type '{recordType.FullName}'."); 222_ => throw new ArgumentException($"Unknown type '{definitionProperty.GetType().FullName}' in vector store record definition.")
Microsoft.Extensions.VectorData.ConformanceTests (1)
TestSuiteImplementationTests.cs (1)
29.Select(t => t.FullName)
Microsoft.Gen.BuildMetadata (2)
RoslynExtensions.cs (2)
101type.IsArray || type.FullName is null 103: GetBestTypeByMetadataName(compilation, type.FullName);
Microsoft.Gen.Logging (2)
RoslynExtensions.cs (2)
101type.IsArray || type.FullName is null 103: GetBestTypeByMetadataName(compilation, type.FullName);
Microsoft.Gen.Metrics (2)
RoslynExtensions.cs (2)
101type.IsArray || type.FullName is null 103: GetBestTypeByMetadataName(compilation, type.FullName);
Microsoft.Interop.ComInterfaceGenerator (4)
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (2)
125throw new ObjectDisposedException(instance?.GetType().FullName); 131throw new ObjectDisposedException(type?.FullName);
src\runtime\src\libraries\Common\src\Roslyn\GetBestTypeByMetadataName.cs (2)
89type.IsArray || type.FullName is null 91: GetBestTypeByMetadataName(compilation, type.FullName);
Microsoft.Interop.JavaScript.JSImportGenerator (2)
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (2)
125throw new ObjectDisposedException(instance?.GetType().FullName); 131throw new ObjectDisposedException(type?.FullName);
Microsoft.Interop.LibraryImportGenerator (5)
LibraryImportGenerator.cs (1)
499AliasQualifiedName("global", IdentifierName(typeof(T).FullName)),
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (2)
125throw new ObjectDisposedException(instance?.GetType().FullName); 131throw new ObjectDisposedException(type?.FullName);
src\runtime\src\libraries\Common\src\Roslyn\GetBestTypeByMetadataName.cs (2)
89type.IsArray || type.FullName is null 91: GetBestTypeByMetadataName(compilation, type.FullName);
Microsoft.Interop.LibraryImportGenerator.Downlevel (5)
DownlevelLibraryImportGenerator.cs (1)
433AliasQualifiedName("global", IdentifierName(typeof(T).FullName)),
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (2)
125throw new ObjectDisposedException(instance?.GetType().FullName); 131throw new ObjectDisposedException(type?.FullName);
src\runtime\src\libraries\Common\src\Roslyn\GetBestTypeByMetadataName.cs (2)
89type.IsArray || type.FullName is null 91: GetBestTypeByMetadataName(compilation, type.FullName);
Microsoft.Interop.SourceGeneration (4)
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (2)
125throw new ObjectDisposedException(instance?.GetType().FullName); 131throw new ObjectDisposedException(type?.FullName);
src\runtime\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 (13)
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;
FlyoutPage\FlyoutPage.cs (1)
390 return $"{GetType().FullName}: {debugText}";
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);
Page\Page.cs (1)
964 return $"{this.GetType().FullName}: {debugText}";
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));
VisualElement\VisualElement.cs (1)
2471 return $"{GetType().FullName}: {debugText}";
Visuals\VisualTypeConverter.cs (1)
123 string fullName = visual.FullName;
Microsoft.Maui.Controls.Build.Tasks (2)
SetPropertiesVisitor.cs (1)
1349 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.NET.Build.Containers (1)
Resources\Resource.cs (1)
24internal static readonly ResourceManager Manager = new(typeof(Strings).FullName!, typeof(Resource).GetTypeInfo().Assembly);
Microsoft.NET.Build.Tasks (1)
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\WorkloadResolver.cs (1)
129throw new WorkloadManifestCompositionException(Strings.DuplicateManifestID, manifestProvider.GetType().FullName, readableManifest.ManifestId, readableManifest.ManifestPath, existingManifest.ManifestPath);
Microsoft.NET.Sdk.WorkloadManifestReader (1)
WorkloadResolver.cs (1)
129throw new WorkloadManifestCompositionException(Strings.DuplicateManifestID, manifestProvider.GetType().FullName, readableManifest.ManifestId, readableManifest.ManifestPath, existingManifest.ManifestPath);
Microsoft.Private.Windows.Core (28)
System\Private\Windows\BinaryFormat\BinaryFormatWriter.cs (15)
59new ClassInfo(1, typeof(decimal).FullName!, s_decimalMemberNames), 84new ClassInfo(1, typeof(DateTime).FullName!, s_dateTimeMemberNames), 101new ClassInfo(1, typeof(TimeSpan).FullName!, s_ticksName), 113new ClassInfo(1, typeof(nint).FullName!, s_valueName), 125new ClassInfo(1, typeof(nuint).FullName!, s_valueName), 138new ClassInfo(1, typeof(Point).FullName!, s_pointMemberNames), 157new ClassInfo(1, typeof(Rectangle).FullName!, s_rectangleMemberNames), 180new ClassInfo(1, typeof(Size).FullName!, s_sizeMemberNames), 199new ClassInfo(1, typeof(PointF).FullName!, s_pointMemberNames), 218new ClassInfo(1, typeof(RectangleF).FullName!, s_rectangleMemberNames), 241new ClassInfo(1, typeof(SizeF).FullName!, s_sizeMemberNames), 260new ClassInfo(1, typeof(Color).FullName!, s_colorMemberNames), 331new ClassInfo(1, type.FullName!, s_primitiveMemberName), 381$"System.Collections.Generic.List`1[[{typeof(T).FullName}, {Assemblies.Mscorlib}]]", 476new ClassInfo(1, typeof(ArrayList).FullName!, s_listMemberNames),
System\Private\Windows\Ole\BinaryFormatUtilities.cs (1)
195throw new NotSupportedException(string.Format(SR.ClipboardOrDragDrop_UseTypedAPI, typeof(T).FullName));
System\Private\Windows\Ole\ClipboardCore.cs (1)
329type.FullName,
System\Private\Windows\Ole\Composition.cs (1)
211ManagedDataObject.TryGetData(typeof(T).FullName.OrThrowIfNull(), out data);
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (4)
536typeof(T).FullName)); 639public object? GetData(Type format) => GetData(format.FullName.OrThrowIfNull()); 640public bool GetDataPresent(Type format) => GetDataPresent(format.FullName.OrThrowIfNull()); 757typeof(T).FullName.OrThrowIfNull(),
System\Private\Windows\Ole\DataStore.cs (4)
91public object? GetData(Type format) => GetData(format.FullName!); 109SetData(format.FullName.OrThrowIfNull(), data); 130public bool GetDataPresent(Type format) => GetDataPresent(format.FullName!); 217TryGetDataInternal(typeof(T).FullName!, autoConvert: false, out data);
System\TypeExtensions.cs (2)
53if (type.FullName == typeName.FullName) 226return TypeName.Parse(type.AssemblyQualifiedName ?? type.FullName);
Microsoft.TemplateEngine.Cli (2)
Commands\BaseCommand.cs (2)
216.DefineColumn(mp => mp.GetType().FullName ?? string.Empty, LocalizableStrings.Type, showAlways: true) 227.DefineColumn(g => g.GetType().FullName ?? string.Empty, LocalizableStrings.Type, showAlways: true)
Microsoft.TemplateEngine.Edge (2)
Settings\ComponentManager.cs (2)
227if (_settings.ComponentTypeToGuidList.TryGetValue(interfaceType.FullName, out HashSet<Guid> idsFromOldStyleKey)) 229_settings.ComponentTypeToGuidList.Remove(interfaceType.FullName);
Microsoft.TestPlatform.CommunicationUtilities (1)
Serialization\ExceptionConverter.cs (1)
78: value.GetType().FullName);
Microsoft.TestPlatform.CoreUtilities (2)
ValidateArg.cs (2)
146var message = string.Format(CultureInfo.CurrentCulture, Resources.Error_ArgumentNotTypeOf, typeof(T).FullName); 222var message = string.Format(CultureInfo.CurrentCulture, Resources.Error_ArgumentPropertyNotTypeOf, propertyName, typeof(T).FullName);
Microsoft.TestPlatform.CrossPlatEngine (5)
Client\TestLoggerManager.cs (1)
706throw new ObjectDisposedException(typeof(TestLoggerManager).FullName);
DataCollection\InProcDataCollector.cs (1)
79filterPredicate = x => Constants.CoverletDataCollectorTypeName.Equals(x.FullName) && interfaceType.IsAssignableFrom(x);
Discovery\DiscovererEnumerator.cs (2)
214discoverer.Value.GetType().FullName); 241discoverer.Value.GetType().FullName);
Execution\BaseRunTests.cs (1)
323EqtTrace.Info("{0}.Cancel threw an exception: {1} ", executor.GetType().FullName, e);
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.VisualStudio.TestPlatform.Common (3)
DataCollection\TestPlatformDataCollectionEvents.cs (1)
88EqtTrace.Fail("TestPlatformDataCollectionEvents.RaiseEvent: Unrecognized data collection event of type {0}.", e.GetType().FullName);
ExtensionFramework\TestPluginDiscoverer.cs (1)
226"GetTestExtensionFromType: Either PluginInformation is null or PluginInformation doesn't contain IdentifierData for type {0}.", type.FullName);
Logging\InternalTestLoggerEvents.cs (1)
360throw new ObjectDisposedException(typeof(TestLoggerEvents).FullName);
Microsoft.VisualStudio.TestPlatform.ObjectModel (6)
Navigation\PortableSymbolReader.cs (2)
121EqtTrace.Error($"Unable to find source information for method: {methodInfo.Name} type: {type.FullName}"); 127_methodsNavigationDataForType[type.FullName!] = methodsNavigationData;
TestProperty\TestProperty.cs (2)
62ValueType = valueType.FullName!; 324|| propertyTypePair.Key.ValueType == valueType.FullName
TestServiceLocator.cs (1)
33Resolves.Add(new Resolve(name, typeof(TRegistration).FullName!, Environment.StackTrace));
Utilities\AssemblyHelper.cs (1)
334.Where(i => i.GetType().FullName == fullyQualifiedName);
Microsoft.Web.XmlTransform (2)
NamedTypeFactory.cs (2)
52throw new XmlTransformationException(string.Format(System.Globalization.CultureInfo.CurrentCulture,Resources.XMLTRANSFORMATION_IncorrectBaseType, type.FullName, typeof(ObjectType).Name)); 57throw new XmlTransformationException(string.Format(System.Globalization.CultureInfo.CurrentCulture,Resources.XMLTRANSFORMATION_NoValidConstructor, type.FullName));
Mono.Cecil (5)
Mono.Cecil\AssemblyWriter.cs (2)
1986 throw new NotSupportedException (type.FullName); 3099 throw new NotSupportedException (value.GetType ().FullName);
Mono.Cecil\Import.cs (2)
242 throw new NotSupportedException (type.FullName); 269 return type.FullName;
Mono.Collections.Generic\Collection.cs (1)
406 throw new ObjectDisposedException (GetType ().FullName);
MSBuild (7)
OutOfProcTaskAppDomainWrapperBase.cs (1)
182[taskName, taskLocation, typeof(RunInSTAAttribute).FullName]);
src\msbuild\src\Shared\ErrorUtilities.cs (1)
29InternalError.Throw($"This type does not implement ToString() properly {param.GetType().FullName!}");
src\msbuild\src\Shared\TypeLoader.cs (4)
448_desiredInterfaceName = desiredInterface.FullName; 602if (IsDesiredType(publicType) && (typeName.Length == 0 || IsPartialTypeNameMatch(publicType.FullName, typeName))) 619var taskItemType = context.LoadFromAssemblyPath(microsoftBuildFrameworkPath).GetType(typeof(ITaskItem).FullName); 739_publicTypeNameToType.Add(publicType.FullName, publicType);
XMake.cs (1)
4109LoggerDescription forwardingLoggerDescription = new LoggerDescription(tlForwardingType.FullName, tlForwardingType.Assembly.FullName, null, loggerParameters, effectiveVerbosity);
NuGet.LibraryModel (1)
Library.cs (1)
52return typeof(Library).FullName!;
NuGet.Protocol (1)
Utility\OfflineFeedUtility.cs (1)
229&& (ex.GetType().FullName?.Equals("SharpCompress.Common.ArchiveException", StringComparison.Ordinal) == true
NuGet.Versioning (1)
ResourcesFormatter.cs (1)
18message: string.Format(CultureInfo.CurrentCulture, Resources.TypeNotSupported, type.FullName),
PresentationBuildTasks (64)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (17)
1076_ccRoot.CodeClass.BaseTypes.Add(KnownTypes.Types[(int)KnownElements.IStyleConnector].FullName); 1464ctmTarget.CustomAttributes.Add(new CodeAttributeDeclaration(typeof(EditorBrowsableAttribute).FullName, caa)); 1821CodeFieldReferenceExpression cfre = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(desc.MemberInfo.DeclaringType.FullName), desc.MemberInfo.Name); 1839CodeMethodInvokeExpression cmie = new CodeMethodInvokeExpression(new CodeTypeReferenceExpression(desc.MemberInfo.DeclaringType.FullName), desc.MemberInfo.Name); 1856CodeObjectCreateExpression coce = new CodeObjectCreateExpression(desc.MemberInfo.DeclaringType.FullName); 1900ThrowCompilerException(nameof(SR.RoutedEventNotRegistered), miEvent.DeclaringType.FullName, eventName, eventHandler); 1903CodeTypeReferenceExpression ctreEvent = new CodeTypeReferenceExpression(miEvent.DeclaringType.FullName); 1912string eventTargetName = eventTarget != null ? eventTarget.FullName : cc.LocalElementFullName; 1980string eventTargetName = eventTarget != null ? eventTarget.FullName : cc.LocalElementFullName; 2186((CodeContext)_codeContexts.Peek()).ElementType.FullName, 2274_typeArgsList[i] = currTypeArg.FullName; 2297genericName = t.FullName; 2322ctrConstructedType = new CodeTypeReference(t.FullName); 2397typeParam.FullName, 2412ctrConstructedType = new CodeTypeReference(t.FullName); 3020ThrowCompilerException(nameof(SR.SubSubClassingNotAllowed), elementType.FullName); 3202cmmMain.CustomAttributes.Add(new CodeAttributeDeclaration(typeof(STAThreadAttribute).FullName));
MS\Internal\MarkupCompiler\ParserExtension.cs (2)
286localTagFullName = ownerTagType.FullName; 617xamlClrEventNode.EventMember.ReflectedType.FullName,
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\BamlMapTable.cs (5)
946declaringType.FullName, 951declaringType.FullName, 1315string.Empty : serializerType.FullName; 1400string converterOrSerializerTypeFullName = converterOrSerializerType.FullName; 1517targetType.FullName,
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\BamlRecordWriter.cs (3)
1084typeValue.FullName, 1089typeValue.FullName, 1421string converterTypeFullName = xamlTextNode.ConverterType.FullName;
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\MarkupExtensionParser.cs (4)
634string declaringTypeFullName = data.DeclaringType.FullName; 1534parentType.FullName, lineNumber, linePosition); 1552typeValueFullName = typeValue.FullName; 1678typeFullName = declaringType.FullName;
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\StyleXamlParser.cs (4)
293localTagFullName = ownerTagType.FullName; 482targetType.FullName, 1240KnownTypes.Types[(int)KnownElements.EventSetter].FullName, 1252xamlClrEventNode.EventMember.ReflectedType.FullName,
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\TemplateXamlParser.cs (6)
330localTagFullName = ownerTagType.FullName; 538targetType.FullName, 726_templateKeyType.FullName, 1373xamlClrEventNode.EventMember.ReflectedType.FullName, 1434_templateKeyType.FullName, 1636_templateKeyType.FullName,
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlNodes.cs (1)
1177_serializerType.FullName;
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlParser.cs (1)
992typeFullName = baseType.FullName;
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (15)
796typeValueFullName = typeValue.FullName; 1803declaringTypeFullName = declaringType.FullName; 1857declaringTypeFullName = declaringType.FullName; 2313assemblyName, elementType.FullName, xmlLang, 3494WriteNameProperty(propertyName, propertyMember, assembly, parentType.FullName, attribValue, BamlAttributeUsage.RuntimeName); 4239WriteElementStart(startElementAssemblyName, propertyType.FullName, 4582ThrowException(nameof(SR.ParserInvalidContentPropertyAttribute), elementType.FullName, 4625propertyAssemblyName, propertyDeclaringType.FullName, contentPropertyName); 4656ThrowException(nameof(SR.ParserCannotAddAnyChildren), parentType.FullName); 4670arrayType.FullName, 4671objectType.FullName); 4773ThrowException(nameof(SR.ParserDefaultConverterElement), elementType.FullName, textValue); 4791ThrowException(nameof(SR.ParserDefaultConverterElement), elementType.FullName, textValue); 5244_xmlReader.GetType().FullName); 6859public string FullName { get { return $"{_ownerType.FullName}.{_name}"; } }
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlTypeMapper.cs (3)
775string fullName = owner.IsGenericType ? $"{owner.Namespace}.{owner.Name}" : owner.FullName; 1317ThrowException(nameof(SR.ParserEventDelegateTypeNotAccessible), ei.EventHandlerType.FullName, $"{objectType.Name}.{localName}"); 1476ThrowException(nameof(SR.ParserEventDelegateTypeNotAccessible), ei.EventHandlerType.FullName, $"{owner.Name}.{localName}");
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XmlnsCache.cs (1)
221if(string.Equals(cinfo.ReflectedType.FullName, fullClrName, StringComparison.Ordinal))
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\SystemResourceKey.cs (1)
403targetType.FullName == "System.Windows.SystemParameters";
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\ReflectionHelper.cs (1)
171type = reflectionAssembly.GetType(type.FullName);
PresentationCore (18)
MS\Internal\FontFace\CompositeFontParser.cs (1)
192catch (Exception x) when(string.Equals(x.GetType().FullName, "System.Security.XmlSyntaxException", StringComparison.OrdinalIgnoreCase))
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\PerfService.cs (1)
50type.FullName,
System\Windows\dataobject.cs (4)
64SetData(format.FullName.OrThrowIfNull(), data.OrThrowIfNull()); 140public object? GetData(Type format) => GetData(format.OrThrowIfNull().FullName.OrThrowIfNull()); 169TryGetDataInternal(typeof(T).FullName!, resolver: null, autoConvert: true, out data); 195public bool GetDataPresent(Type format) => GetDataPresent(format.OrThrowIfNull().FullName.OrThrowIfNull());
System\Windows\DataObjectExtensions.cs (1)
23dataObject.GetType().FullName));
System\Windows\Media\Animation\AnimationStorage.cs (4)
492target.GetType().FullName, 493((AnimationClock)sender).Timeline.GetType().FullName), 987clocks[i].Timeline.GetType().FullName, 989d.GetType().FullName));
System\Windows\Ole\WpfOleServices.cs (3)
156return typeof(T).FullName.Equals("System.Drawing.Image"); 162type == typeof(BitmapSource) || type.FullName is "System.Drawing.Bitmap" or "System.Drawing.Image", 164type.FullName is "System.Drawing.Imaging.Metafile" or "System.Drawing.Image",
System\Windows\UIElement.cs (4)
672throw new InvalidOperationException(SR.Format(SR.UIElement_Layout_PositiveInfinityReturned, this.GetType().FullName)); 676throw new InvalidOperationException(SR.Format(SR.UIElement_Layout_NaNReturned, this.GetType().FullName)); 802(parent == null ? "" : parent.GetType().FullName), 803this.GetType().FullName));
PresentationFramework (108)
MS\Internal\Data\EnumerableCollectionView.cs (1)
582TraceData.CollectionChangedWithoutNotification(SourceCollection.GetType().FullName));
MS\Internal\LayoutDump.cs (7)
298writer.WriteAttributeString("Type", page.GetType().FullName); 739writer.WriteAttributeString("Type", paragraph.Element.GetType().FullName); 761writer.WriteAttributeString("Type", paragraph.Element.GetType().FullName); 779writer.WriteAttributeString("Type", paragraph.Element.GetType().FullName); 797writer.WriteAttributeString("Type", paragraph.Element.GetType().FullName); 814writer.WriteAttributeString("Type", paragraph.Element.GetType().FullName); 861writer.WriteAttributeString("Type", paragraph.Element.GetType().FullName);
MS\Internal\Printing\Win32PrintDialog.cs (1)
105if (String.Equals(e.GetType().FullName, "System.Printing.PrintingNotSupportedException", StringComparison.Ordinal))
MS\Internal\WindowsRuntime\Generated\WinRT.cs (1)
271public 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}.");
System\Windows\Application.cs (3)
1680throw new InvalidOperationException(SR.Format(SR.CannotCallRunMultipleTimes, this.GetType().FullName)); 1687throw new ArgumentException(SR.Format(SR.WindowPassedShouldBeOnApplicationThread, window.GetType().FullName, this.GetType().FullName));
System\Windows\ComponentResourceKey.cs (1)
125string.Create(null, stackalloc char[256], $"TargetType={((_typeInTargetAssembly != null) ? _typeInTargetAssembly.FullName : "null")} ID={((_resourceId != null) ? _resourceId.ToString() : "null")}");
System\Windows\Controls\DataErrorValidationRule.cs (2)
91idei.GetType().FullName, 92ex.GetType().FullName,
System\Windows\Controls\ItemContainerGenerator.cs (1)
1133c, indent, sourceType.FullName));
System\Windows\CornerRadiusConverter.cs (1)
134throw new ArgumentException(SR.Format(SR.CannotConvertType, typeof(CornerRadius), destinationType.FullName));
System\Windows\Data\BindingExpressionBase.cs (1)
933target.GetType().FullName, dp.Name, AvTrace.GetHashCodeHelper(target)),
System\Windows\Data\BindingGroup.cs (1)
573TraceData.BindingGroupWrongProperty(name, context.GetType().FullName));
System\Windows\Data\MultiBinding.cs (1)
56throw new ArgumentException(SR.Format(SR.ChildHasWrongType, this.GetType().Name, "BindingBase", value.GetType().FullName), nameof(value));
System\Windows\Data\PriorityBinding.cs (1)
53throw new ArgumentException(SR.Format(SR.ChildHasWrongType, this.GetType().Name, "BindingBase", value.GetType().FullName), nameof(value));
System\Windows\Data\XmlNamespaceMappingCollection.cs (1)
50throw new ArgumentException(SR.Format(SR.RequiresXmlNamespaceMapping, value.GetType().FullName), nameof(value));
System\Windows\Documents\Serialization\SerializerDescriptor.cs (1)
96sd._factoryInterfaceName = factoryType.FullName;
System\Windows\FrameworkTemplate.cs (1)
1122throw new InvalidOperationException(SR.Format(SR.TemplateMustBeFE, new object[] { rootObject.GetType().FullName }));
System\Windows\Markup\BamlMapTable.cs (8)
374object key = GetAttributeInfoKey(info.OwnerType.FullName, info.Name); 492info.TypeFullName = info.Type.FullName; 822propName = $"{attributeInfo.OwnerType.FullName}.{attributeInfo.Name}"; 946declaringType.FullName, 951declaringType.FullName, 1315string.Empty : serializerType.FullName; 1400string converterOrSerializerTypeFullName = converterOrSerializerType.FullName; 1517targetType.FullName,
System\Windows\Markup\BamlReader.cs (1)
2197_typeConverterName = converter.FullName;
System\Windows\Markup\BamlRecordReader.cs (26)
861ThrowException(nameof(SR.ParserNoElementCreate2), elementType.FullName); 1467ThrowException(nameof(SR.ParserNoDPOnOwner), paramString, ownerType.FullName); 1645paramInfo.ParameterType.FullName), 2114ThrowException(nameof(SR.ParserCannotConvertPropertyValue), "Property", typeof(DependencyProperty).FullName); 2160string message = SR.Format(SR.ParserCannotConvertPropertyValue, propertyName, propertyType.FullName); 2212string message = SR.Format(SR.ParserCannotConvertPropertyValue, propertyDefinition.Name, propertyDefinition.PropertyType.FullName); 2403valueTypeName = typeof(StaticExtension).FullName; 2406valueTypeName = typeof(DynamicResourceExtension).FullName; 2409valueTypeName = typeof(StaticResourceExtension).FullName; 2491string message = SR.Format(SR.ParserCannotConvertPropertyValue, propertyDefinition.Name, propertyDefinition.PropertyType.FullName); 2664ThrowExceptionWithLine(SR.Format(SR.ParserCannotSetValue, element.GetType().FullName, propertyDefinition.Name, valueType.Name), e); 2906ThrowExceptionWithLine(SR.Format(SR.ParserCannotSetValue, element.GetType().FullName, propertyDefinition.AttributeInfo.Name, attribValue), e); 3447CurrentContext.ExpectedType.FullName); 3459ThrowException(nameof(SR.ParserCantCreateInstanceType), CurrentContext.ExpectedType.FullName); 3477parent.GetType().FullName, 3512attribInfo.OwnerType.FullName, 3536CurrentContext.ExpectedType.FullName, bamlTextRecord.Value); 3721ThrowExceptionWithLine(SR.Format(SR.ParserCannotSetValue, currentTarget.GetType().FullName, attribInfo.Name, o), e); 3747o.GetType().FullName); 3859ThrowExceptionWithLine(SR.Format(SR.ParserCannotSetValue, parentObject.GetType().FullName, memberInfo.Name, o), e); 4226$"We had expected to use a TypeConverter for this {context.ExpectedType.FullName} but somebody is trying to create one now without using a TypeConverter. If TypeConverter is the correct way, fix the code calling this method. If not, fix the 'should we use a TypeConverter?' logic in XamlReaderHelper."); 4232ThrowException(nameof(SR.ParserCantCreateInstanceType), context.ExpectedType.FullName); 4748string typeName = parentType == null ? String.Empty : parentType.FullName; 4753ThrowException( nameof(SR.ParserCannotAddAnyChildren2), typeName, currentObject.GetType().FullName ); 4766string typeName = parentType == null ? String.Empty : parentType.FullName; 4771ThrowException( nameof(SR.ParserCannotAddAnyChildren2), typeName, currentObject.GetType().FullName );
System\Windows\Markup\BamlRecordWriter.cs (3)
1084typeValue.FullName, 1089typeValue.FullName, 1421string converterTypeFullName = xamlTextNode.ConverterType.FullName;
System\Windows\Markup\BamlWriter.cs (2)
112typeFullName = baseType.FullName; 394typeValue.FullName,
System\Windows\Markup\DependencyPropertyConverter.cs (5)
156throw new NotSupportedException(SR.Format(SR.ParserCannotConvertPropertyValue, "Property", typeof(DependencyProperty).FullName)); 179throw new NotSupportedException(SR.Format(SR.ParserCannotConvertPropertyValue, "Property", typeof(DependencyProperty).FullName)); 203throw new NotSupportedException(SR.Format(SR.ParserCannotConvertPropertyValue, "Property", typeof(DependencyProperty).FullName)); 223throw new NotSupportedException(SR.Format(SR.ParserCannotConvertPropertyValue, "Property", typeof(DependencyProperty).FullName)); 233throw new NotSupportedException(SR.Format(SR.ParserCannotConvertPropertyValue, "Property", typeof(DependencyProperty).FullName));
System\Windows\Markup\MarkupExtensionParser.cs (4)
634string declaringTypeFullName = data.DeclaringType.FullName; 1534parentType.FullName, lineNumber, linePosition); 1552typeValueFullName = typeValue.FullName; 1678typeFullName = 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)
186if (type is null || SafeTypesFromRegistry.Contains("*") || _safeTypesSet.Contains(type) || SafeTypesFromRegistry.Contains(type.FullName))
System\Windows\Markup\SetterTriggerConditionValueConverter.cs (3)
97throw new NotSupportedException(SR.Format(SR.ParserCannotConvertPropertyValue, "Value", typeof(Object).FullName)); 159throw new NotSupportedException(SR.Format(SR.ParserCannotConvertPropertyValue, "Value", typeof(Object).FullName)); 164throw new NotSupportedException(SR.Format(SR.ParserCannotConvertPropertyValue, "Value", typeof(Object).FullName));
System\Windows\Markup\XamlNodes.cs (1)
1177_serializerType.FullName;
System\Windows\Markup\XamlTypeMapper.cs (10)
456ThrowException(nameof(SR.ParserOwnerEventMustBePublic), owner.FullName ); 515string message = SR.Format(SR.ParserCannotConvertPropertyValueString, value, propName, propType.FullName); 596message = SR.Format(SR.ParserDefaultConverterProperty, propType.FullName, propName, value); 602message = SR.Format(SR.ParserDefaultConverterElement, propType.FullName, value); 608string message = TypeConverterFailure( value, propName, propType.FullName ); 619string message = TypeConverterFailure( value, propName, propType.FullName ); 775string fullName = owner.IsGenericType ? $"{owner.Namespace}.{owner.Name}" : owner.FullName; 797object key = MapTable.GetAttributeInfoKey(ownerType.FullName, infoRecord.Name); 1317ThrowException(nameof(SR.ParserEventDelegateTypeNotAccessible), ei.EventHandlerType.FullName, $"{objectType.Name}.{localName}"); 1476ThrowException(nameof(SR.ParserEventDelegateTypeNotAccessible), ei.EventHandlerType.FullName, $"{owner.Name}.{localName}");
System\Windows\PropertyPath.cs (1)
555(accessor != null) ? accessor.GetType().FullName : "null"));
System\Windows\PropertyPathConverter.cs (2)
102throw new ArgumentException(SR.Format(SR.CannotConvertType, source.GetType().FullName, typeof(PropertyPath))); 133throw new ArgumentException(SR.Format(SR.CannotConvertType, typeof(PropertyPath), destinationType.FullName));
System\Windows\StyleHelper.cs (1)
1596throw new InvalidOperationException(SR.Format(SR.CrossThreadAccessOfUnshareableFreezable, freezable.GetType().FullName));
System\Windows\ThicknessConverter.cs (1)
134throw new ArgumentException(SR.Format(SR.CannotConvertType, typeof(Thickness), destinationType.FullName));
Roslyn.Diagnostics.Analyzers (71)
NamedTypeFullNameNotNullSuppressor.cs (1)
50if (operation is IPropertyReferenceOperation { Property.Name: nameof(Type.FullName), Instance: ITypeOfOperation { } })
PartsExportedWithMEFv2MustBeMarkedAsShared.Fixer.cs (1)
64var newDeclaration = generator.AddAttributes(declaration, generator.Attribute(typeof(SharedAttribute).FullName));
src\roslyn\src\Dependencies\Contracts\ErrorReporting\FatalError.cs (1)
84var targetType = assembly.GetType(typeof(FatalError).FullName!, throwOnError: true)!;
src\roslyn\src\Dependencies\Contracts\ExceptionUtilities.cs (1)
23string output = string.Format("Unexpected value '{0}' of type '{1}'", o, (o != null) ? o.GetType().FullName : "<unknown>");
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Compilation\CompilationExtensions.cs (61)
79=> compilation.GetTypeByMetadataName(typeof(ArgumentException).FullName!); 82=> compilation.GetTypeByMetadataName(typeof(ArgumentNullException).FullName!); 85=> compilation.GetTypeByMetadataName(typeof(ArgumentOutOfRangeException).FullName!); 88=> compilation.GetTypeByMetadataName(typeof(Array).FullName!); 91=> compilation.GetTypeByMetadataName(typeof(Attribute).FullName!); 94=> compilation.GetTypeByMetadataName(typeof(BlockingCollection<>).FullName!); 97=> compilation.GetTypeByMetadataName(typeof(Collection<>).FullName!); 100=> compilation.GetTypeByMetadataName(typeof(Exception).FullName!); 103=> compilation.GetTypeByMetadataName(typeof(System.Diagnostics.DebuggerDisplayAttribute).FullName!); 106=> compilation.GetTypeByMetadataName(typeof(StructLayoutAttribute).FullName!); 121=> compilation.GetTypeByMetadataName(typeof(ThreadStaticAttribute).FullName!); 124=> compilation.GetTypeByMetadataName(typeof(FormattableString).FullName!); 127=> compilation.GetTypeByMetadataName(typeof(IFormattable).FullName!); 130=> compilation.GetTypeByMetadataName(typeof(EventArgs).FullName!); 133=> compilation.GetTypeByMetadataName(typeof(NotImplementedException).FullName!); 136=> compilation.GetTypeByMetadataName(typeof(EqualityComparer<>).FullName!); 139=> compilation.GetTypeByMetadataName(typeof(Action).FullName!); 145=> compilation.GetTypeByMetadataName(typeof(EditorBrowsableAttribute).FullName!); 148=> compilation.GetTypeByMetadataName(typeof(EditorBrowsableState).FullName!); 151=> compilation.GetTypeByMetadataName(typeof(Task).FullName!); 154=> compilation.GetTypeByMetadataName(typeof(Task<>).FullName!); 163=> compilation.GetTypeByMetadataName(typeof(ICollection<>).FullName!); 166=> compilation.GetTypeByMetadataName(typeof(System.Collections.IEnumerable).FullName!); 169=> compilation.GetTypeByMetadataName(typeof(IEnumerable<>).FullName!); 172=> compilation.GetTypeByMetadataName(typeof(IEnumerator<>).FullName!); 175=> compilation.GetTypeByMetadataName(typeof(IList<>).FullName!); 178=> compilation.GetTypeByMetadataName(typeof(IReadOnlyList<>).FullName!); 181=> compilation.GetTypeByMetadataName(typeof(ISet<>).FullName!); 184=> compilation.GetTypeByMetadataName(typeof(IReadOnlySet<>).FullName!); 193=> compilation.GetTypeByMetadataName(typeof(ImmutableArray<>).FullName!); 196=> compilation.GetTypeByMetadataName(typeof(SerializableAttribute).FullName!); 199=> compilation.GetTypeByMetadataName(typeof(CoClassAttribute).FullName!); 202=> compilation.GetTypeByMetadataName(typeof(ComAliasNameAttribute).FullName!); 205=> compilation.GetTypeByMetadataName(typeof(SuppressMessageAttribute).FullName!); 208=> compilation.GetTypeByMetadataName(typeof(TupleElementNamesAttribute).FullName!); 214=> compilation.GetTypeByMetadataName(typeof(DynamicAttribute).FullName!); 217=> compilation.GetTypeByMetadataName(typeof(Lazy<>).FullName!); 220=> compilation.GetTypeByMetadataName(typeof(ISerializable).FullName!); 223=> compilation.GetTypeByMetadataName(typeof(SerializationInfo).FullName!); 226=> compilation.GetTypeByMetadataName(typeof(StreamingContext).FullName!); 229=> compilation.GetTypeByMetadataName(typeof(OnDeserializingAttribute).FullName!); 232=> compilation.GetTypeByMetadataName(typeof(OnDeserializedAttribute).FullName!); 235=> compilation.GetTypeByMetadataName(typeof(OnSerializingAttribute).FullName!); 238=> compilation.GetTypeByMetadataName(typeof(OnSerializedAttribute).FullName!); 241=> compilation.GetTypeByMetadataName(typeof(ComRegisterFunctionAttribute).FullName!); 244=> compilation.GetTypeByMetadataName(typeof(ComUnregisterFunctionAttribute).FullName!); 247=> compilation.GetTypeByMetadataName(typeof(ConditionalAttribute).FullName!); 250=> compilation.GetTypeByMetadataName(typeof(ObsoleteAttribute).FullName!); 259=> compilation.GetTypeByMetadataName(typeof(IDisposable).FullName!); 262=> compilation.GetTypeByMetadataName(typeof(NotNullAttribute).FullName!); 265=> compilation.GetTypeByMetadataName(typeof(MaybeNullAttribute).FullName!); 268=> compilation.GetTypeByMetadataName(typeof(MaybeNullWhenAttribute).FullName!); 271=> compilation.GetTypeByMetadataName(typeof(AllowNullAttribute).FullName!); 274=> compilation.GetTypeByMetadataName(typeof(DisallowNullAttribute).FullName!); 277=> compilation.GetTypeByMetadataName(typeof(DataMemberAttribute).FullName!); 280=> compilation.GetTypeByMetadataName(typeof(DataContractAttribute).FullName!); 286=> compilation.GetTypeByMetadataName(typeof(CancellationToken).FullName!); 292=> compilation.GetTypeByMetadataName(typeof(List<>).FullName!); 295=> compilation.GetTypeByMetadataName(typeof(ReadOnlySpan<>).FullName!); 298=> compilation.GetTypeByMetadataName(typeof(Span<>).FullName!); 301=> compilation.GetTypeByMetadataName(typeof(InterpolatedStringHandlerAttribute).FullName!);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (1)
719&& attributeData.AttributeClass.ToNameDisplayString() == typeof(ReferenceAssemblyAttribute).FullName)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
243var iequatableType = compilation.GetTypeByMetadataName(typeof(IEquatable<>).FullName);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (1)
441var type = compilation.GetTypeByMetadataName(typeof(ArgumentNullException).FullName!);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SemanticsFactsService\AbstractSemanticFactsService.cs (2)
112? GetIDisposableInterfaceAndDisposeMethod(typeof(IAsyncDisposable).FullName!, nameof(IAsyncDisposable.DisposeAsync)) 113: GetIDisposableInterfaceAndDisposeMethod(typeof(IDisposable).FullName!, nameof(IDisposable.Dispose));
SymbolDeclaredEventMustBeGeneratedForSourceSymbols.cs (1)
31private static readonly string s_fullNameOfSymbol = typeof(ISymbol).FullName;
System.CodeDom (16)
Microsoft\CSharp\CSharpCodeGenerator.cs (2)
611throw new ArgumentException(SR.Format(SR.InvalidElementType, e.GetType().FullName), nameof(e)); 1232throw new ArgumentException(SR.Format(SR.InvalidElementType, e.GetType().FullName), nameof(e));
Microsoft\VisualBasic\VBCodeGenerator.cs (1)
1608if (e.ReturnType.BaseType.Length == 0 || string.Equals(e.ReturnType.BaseType, typeof(void).FullName, StringComparison.OrdinalIgnoreCase))
src\runtime\src\libraries\Common\src\System\CodeDom\CodeTypeReference.cs (1)
126typeName = typeof(void).FullName!;
System\CodeDom\CodeMemberMethod.cs (1)
23get => field ??= 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)
608throw new ArgumentException(SR.Format(SR.InvalidElementType, e.GetType().FullName), nameof(e)); 938throw 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)); 458throw new ArgumentException(SR.Format(SR.InvalidElementType, e.GetType().FullName), nameof(e)); 652string message = SR.Format(SR.InvalidTypeName, typeName, propertyName, e.GetType().FullName); 661string message = SR.Format(SR.InvalidLanguageIdentifier, identifier, propertyName, e.GetType().FullName); 771throw new ArgumentException(SR.Format(SR.InvalidElementType, e.GetType().FullName), nameof(e)); 941throw new ArgumentException(SR.Format(SR.InvalidElementType, e.GetType().FullName), nameof(e));
System.Collections.Immutable (1)
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)
228type.FullName, 229comparableType.FullName));
System\ComponentModel\DataAnnotations\ValidationAttribute.cs (2)
291_errorMessageResourceType.FullName, 299_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)
197throw 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\runtime\src\libraries\Common\src\System\Composition\Diagnostics\CompositionTrace.cs (8)
19type.FullName); 32type.FullName); 45member.Name, type.FullName); 58member.Name, type.FullName); 71member.Name, type.FullName); 83type.FullName); 96member.Name, type.FullName); 108type.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)
79public override object TypeId => field ??= 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)
2104throw new ArgumentException(SR.Format(SR.TypeDescriptorExpectedElementType, typeof(Attribute).FullName)); 2117throw new ArgumentException(SR.Format(SR.TypeDescriptorExpectedElementType, typeof(PropertyDescriptor).FullName)); 2130throw new ArgumentException(SR.Format(SR.TypeDescriptorExpectedElementType, typeof(EventDescriptor).FullName)); 3448if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3450if (attrs == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetAttributes")); 3471if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3472string? name = desc.GetClassName() ?? _instance.GetType().FullName; 3493if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3514if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3516if (converter == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetConverter")); 3536if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3538if (converter == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetConverter")); 3559if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3579if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3601if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3621if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3623if (events == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetEvents")); 3642if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptorFromRegisteredType")); 3644if (events == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetEventsFromRegisteredType")); 3669if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3671if (evts == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetEvents")); 3691if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3693if (properties == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetProperties")); 3712if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3714if (properties == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetProperties")); 3739if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3741if (properties == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetProperties")); 3763if (desc == null) throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetExtendedTypeDescriptor")); 3811throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 3814throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetAttributes")); 3838throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 3839name = desc.GetClassName() ?? _objectType.FullName; 3863throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 3889throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 3892throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetConverter")); 3916throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 3919throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetConverterFromRegisteredType")); 3944throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 3970throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 3998throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 4023throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 4026throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetEvents")); 4050throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptorFromRegisteredType")); 4053throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetEventsFromRegisteredType")); 4078throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 4081throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetEvents")); 4106throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 4110throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetProperties")); 4134throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 4139throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetPropertiesFromRegisteredType")); 4164throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 4167throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetProperties")); 4191throw new InvalidOperationException(SR.Format(SR.TypeDescriptorProviderError, _node.Provider.GetType().FullName, "GetTypeDescriptor")); 4215throw new InvalidOperationException(SR.Format(SR.TypeIsNotRegistered, type.FullName));
System\ComponentModel\TypeListConverter.cs (2)
55if (value.Equals(t.FullName)) 80return ((Type)value).FullName;
System.Composition.Convention (8)
src\runtime\src\libraries\Common\src\System\Composition\Diagnostics\CompositionTrace.cs (8)
19type.FullName); 32type.FullName); 45member.Name, type.FullName); 58member.Name, type.FullName); 71member.Name, type.FullName); 83type.FullName); 96member.Name, type.FullName); 108type.FullName);
System.Configuration.ConfigurationManager (13)
System\Configuration\ApplicationSettingsBase.cs (2)
403SettingChangingEventArgs e = new SettingChangingEventArgs(propertyName, this.GetType().FullName, SettingsKey, value, false); 547_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)
127if (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\runtime\src\libraries\Common\src\System\Data\Common\AdapterUtil.cs (2)
289return 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)
477SR.Format(SR.DataMerge_MissingConstraint, src.GetType().FullName, src.ConstraintName), 503SR.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); 308throw ExceptionBuilder.CannotConvert(value, type.FullName); 2084throw ExceptionBuilder.CannotConvert(defValue, type.FullName); 2186throw ExceptionBuilder.CannotConvert(defValue, type.FullName); 2333throw ExceptionBuilder.CannotConvert(defValue, type.FullName); 2350throw ExceptionBuilder.CannotConvert(strDefault, type.FullName); 2552throw 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\runtime\src\libraries\Common\src\System\Data\Common\AdapterUtil.cs (2)
289return ADP.Argument(SR.Format(SR.SqlConvert_ConvertFailed, fromType.FullName, toType.FullName), innerException);
System\Data\Odbc\OdbcMetaDataFactory.cs (1)
282dataTypesRow[dataTypeColumn] = typeMap._type.FullName;
System.Data.OleDb (4)
OleDbMetaDataFactory.cs (1)
426newRow[clrType] = nativeType.dataType!.FullName;
System\Data\Common\AdapterUtil.cs (3)
380return ADP.Argument(SR.GetString(SR.SqlConvert_ConvertFailed, fromType.FullName!, toType.FullName!), innerException); 702return Argument(SR.GetString(SR.ADP_UnknownDataTypeCode, ((int)typeCode).ToString(CultureInfo.InvariantCulture), dataType.FullName!));
System.Diagnostics.TraceSource (1)
System\Diagnostics\TraceUtils.cs (1)
24throw new ArgumentException(SR.Format(SR.AttributeNotSupported, key, parent.GetType().FullName));
System.Drawing.Common (1)
System\Drawing\ToolboxBitmapAttribute.cs (1)
235name = t.FullName!;
System.Formats.Asn1 (1)
System\Formats\Asn1\AsnDecoder.Enumerated.cs (1)
261backingType.FullName));
System.Formats.Nrbf (1)
System\Formats\Nrbf\SerializationRecord.cs (1)
108if (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.Management (4)
System\Management\InteropClasses\WMIInterop.cs (2)
34private static readonly string name = typeof(IWbemClassObjectFreeThreaded).FullName; 371private static readonly string name = typeof(IWbemQualifierSetFreeThreaded).FullName;
System\Management\ManagementObjectCollection.cs (2)
60private static readonly string name = typeof(ManagementObjectCollection).FullName; 402private static readonly string name = typeof(ManagementObjectEnumerator).FullName;
System.Net.Http (3)
src\runtime\src\libraries\Common\src\System\Net\DebugSafeHandleZeroOrMinusOneIsInvalid.cs (1)
19_trace = "WARNING! GC-ed >>" + this.GetType().FullName + "<< (should be explicitly closed) \r\n";
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
155if (toString == null || toString == value.GetType().FullName)
System\Net\Http\DiagnosticsHelper.cs (1)
91_ => exception.GetType().FullName!
System.Net.Http.WinHttpHandler (4)
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
155if (toString == null || toString == value.GetType().FullName)
System\Net\Http\WinHttpHandler.cs (1)
1591throw new ObjectDisposedException(GetType().FullName);
System\Net\Http\WinHttpRequestStream.cs (1)
188throw new ObjectDisposedException(this.GetType().FullName);
System\Net\Http\WinHttpResponseStream.cs (1)
336throw new ObjectDisposedException(this.GetType().FullName);
System.Net.HttpListener (1)
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
155if (toString == null || toString == value.GetType().FullName)
System.Net.Mail (2)
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
155if (toString == null || toString == value.GetType().FullName)
System\Net\Mail\SmtpClient.cs (1)
415return (ExceptionDispatchInfo.SetCurrentStackTrace(new ObjectDisposedException(typeof(SmtpClient).FullName)), true);
System.Net.NameResolution (2)
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
155if (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\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
155if (toString == null || toString == value.GetType().FullName)
System\Net\IPEndPoint.cs (3)
192throw new ArgumentException(SR.Format(SR.net_InvalidAddressFamily, socketAddress.Family.ToString(), GetType().FullName), nameof(socketAddress)); 198throw new ArgumentException(SR.Format(SR.net_InvalidSocketAddressSize, socketAddress.GetType().FullName, GetType().FullName), nameof(socketAddress));
System.Net.Quic (4)
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
155if (toString == null || toString == value.GetType().FullName)
System\Net\Quic\QuicConnection.cs (2)
680Exception 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)
432_acceptQueue.Writer.TryComplete(ExceptionDispatchInfo.SetCurrentStackTrace(new ObjectDisposedException(GetType().FullName)));
System.Net.Requests (1)
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
155if (toString == null || toString == value.GetType().FullName)
System.Net.Security (3)
src\runtime\src\libraries\Common\src\System\Net\DebugSafeHandleZeroOrMinusOneIsInvalid.cs (1)
19_trace = "WARNING! GC-ed >>" + this.GetType().FullName + "<< (should be explicitly closed) \r\n";
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
155if (toString == null || toString == value.GetType().FullName)
System\Net\Security\NetSecurityTelemetry.cs (1)
348activity.SetTag("error.type", exception.GetType().FullName);
System.Net.Sockets (8)
src\runtime\src\libraries\Common\src\System\Net\DebugSafeHandleMinusOneIsInvalid.cs (1)
19_trace = "WARNING! GC-ed >>" + this.GetType().FullName + "<< (should be explicitly closed) \r\n";
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
155if (toString == null || toString == value.GetType().FullName)
System\Net\Sockets\Socket.Unix.cs (1)
171throw 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)
300throw new ObjectDisposedException(typeof(Socket).FullName);
System.Net.WebSockets (3)
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
155if (toString == null || toString == value.GetType().FullName)
System\Net\WebSockets\WebSocketStream.cs (2)
199return ValueTask.FromException(ExceptionDispatchInfo.SetCurrentStackTrace(new ObjectDisposedException(GetType().FullName))); 301return ValueTask.FromException(ExceptionDispatchInfo.SetCurrentStackTrace(new ObjectDisposedException(GetType().FullName)));
System.Net.WebSockets.Client (2)
System\Net\WebSockets\ClientWebSocket.cs (2)
107throw new ObjectDisposedException(GetType().FullName); 137throw new ObjectDisposedException(GetType().FullName);
System.Private.CoreLib (45)
Internal\Reflection\Extensions\NonPortable\CustomAttributeInstantiator.cs (1)
66throw new MissingMethodException(attributeType.FullName, ConstructorInfo.ConstructorName);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Convert.cs (2)
218throw new InvalidCastException(SR.Format(SR.InvalidCast_FromTo, value.GetType().FullName, targetType.FullName));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (4)
3430string.Equals(attributeType.FullName, reflectedAttributeType.FullName, StringComparison.Ordinal) || 3457if (reflectionOnly && ret.FullName != typeof(EventSource).FullName ||
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\CustomAttributeData.cs (1)
52vsb.Append(Constructor.DeclaringType!.FullName);
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\ModifiedFunctionPointerType.cs (1)
72if (type.FullName!.StartsWith(Type.CallingConventionTypePrefix, StringComparison.Ordinal))
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\ModifiedType.cs (1)
94public override string? FullName => _unmodifiedType.FullName;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\TypeDelegator.cs (1)
55public override string? FullName => typeImpl.FullName;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.Core.cs (2)
73throw new BadImageFormatException(SR.Format(SR.BadImageFormat_ResType_SerBlobMismatch, type.FullName, graph.GetType().FullName));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (2)
483throw new InvalidOperationException(SR.Format(SR.InvalidOperation_ResourceNotString_Type, FindType(typeIndex).FullName)); 495typeString = FindType(typeCode - ResourceTypeCode.StartOfUserTypes).FullName;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncMethodBuilderCore.cs (1)
97sb.AppendLine(stateMachineType.FullName);
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (1)
1189return type.FullName;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Serialization\SerializationInfo.cs (2)
36_rootTypeName = type.FullName!; 89_rootTypeName = type.FullName!;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\CancellationTokenSource.cs (1)
309return Task.FromException(new ObjectDisposedException(GetType().FullName, SR.CancellationTokenSource_Disposed));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Timer.cs (1)
517string? typeName = _timerCallback.Method.DeclaringType?.FullName;
src\runtime\src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (2)
446throw new ObjectDisposedException(instance?.GetType().FullName); 452throw new ObjectDisposedException(type?.FullName);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Type.cs (2)
686string? fullName = callConv.FullName; 714string? typeName = modopt.FullName;
System\Delegate.cs (2)
277return new DiagnosticMethodInfo("Invoke", t.FullName, t.Module.Assembly.FullName); 287return new DiagnosticMethodInfo(mi.Name, declaringType.FullName, mi.Module.Assembly.FullName);
System\Reflection\Runtime\CustomAttributes\RuntimeCustomAttributeData.cs (3)
113return string.Format(typed ? "{0}" : "({1}){0}", value, argumentType.FullName); 125return string.Format("typeof({0})", ((Type)value).FullName); 132string result = string.Format(@"new {0}[{1}] {{ ", elementType.IsEnum ? elementType.FullName : elementType.Name, array.Count);
System\RuntimeExceptionHelpers.cs (1)
299Internal.Console.Error.Write(exception.GetMethodTable() == Internal.Runtime.MethodTable.Of<OutOfMemoryException>() ? "Out of memory." : exception.GetType().FullName);
System.Private.CoreLib.Generators (2)
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (2)
125throw new ObjectDisposedException(instance?.GetType().FullName); 131throw new ObjectDisposedException(type?.FullName);
System.Private.DataContractSerialization (11)
src\runtime\src\libraries\Common\src\System\CodeDom\CodeTypeReference.cs (1)
126typeName = typeof(void).FullName!;
System\Runtime\Serialization\CollectionDataContract.cs (3)
1326Array.Sort(parentInterfaceTypes, (x, y) => string.Compare(x.FullName, y.FullName)); 1353interfaceType.GetInterfaces().Where(t => t.FullName!.StartsWith("System.Collections.Generic.IEnumerable")).FirstOrDefault() ??
System\Runtime\Serialization\DataContract.cs (2)
1460GenericInfo genericInfo = new GenericInfo(DataContract.GetXmlName(Globals.TypeOfNullable), Globals.TypeOfNullable.FullName!); 1700return !type.IsGenericTypeDefinition && type.ContainsGenericParameters ? type.Namespace + "." + type.Name : type.FullName!;
System\Runtime\Serialization\SchemaImporter.cs (2)
1121GenericInfo genericInfo = new GenericInfo(DataContract.GetXmlName(Globals.TypeOfKeyValue), Globals.TypeOfKeyValue.FullName); 1139genericInfo = 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)
461throw new SerializationException(SR.Format(SR.RequiredMemberMustBeEmitted, memberName, type.FullName));
System.Private.Reflection.Execution (2)
Internal\Reflection\Execution\ExecutionEnvironmentImplementation.Runtime.cs (2)
52throw new PlatformNotSupportedException(SR.Format(SR.Arg_InterfaceMapMustNotBeAbstract, interfaceType.FullName, instanceType.FullName));
System.Private.Windows.Core (29)
System\Private\Windows\BinaryFormat\BinaryFormatWriter.cs (15)
59new ClassInfo(1, typeof(decimal).FullName!, s_decimalMemberNames), 84new ClassInfo(1, typeof(DateTime).FullName!, s_dateTimeMemberNames), 101new ClassInfo(1, typeof(TimeSpan).FullName!, s_ticksName), 113new ClassInfo(1, typeof(nint).FullName!, s_valueName), 125new ClassInfo(1, typeof(nuint).FullName!, s_valueName), 138new ClassInfo(1, typeof(Point).FullName!, s_pointMemberNames), 157new ClassInfo(1, typeof(Rectangle).FullName!, s_rectangleMemberNames), 180new ClassInfo(1, typeof(Size).FullName!, s_sizeMemberNames), 199new ClassInfo(1, typeof(PointF).FullName!, s_pointMemberNames), 218new ClassInfo(1, typeof(RectangleF).FullName!, s_rectangleMemberNames), 241new ClassInfo(1, typeof(SizeF).FullName!, s_sizeMemberNames), 260new ClassInfo(1, typeof(Color).FullName!, s_colorMemberNames), 331new ClassInfo(1, type.FullName!, s_primitiveMemberName), 381$"System.Collections.Generic.List`1[[{typeof(T).FullName}, {Assemblies.Mscorlib}]]", 476new ClassInfo(1, typeof(ArrayList).FullName!, s_listMemberNames),
System\Private\Windows\Ole\BinaryFormatUtilities.cs (1)
195throw new NotSupportedException(string.Format(SR.ClipboardOrDragDrop_UseTypedAPI, typeof(T).FullName));
System\Private\Windows\Ole\ClipboardCore.cs (1)
329type.FullName,
System\Private\Windows\Ole\Composition.cs (2)
156format ??= typeof(T).FullName.OrThrowIfNull(); 211ManagedDataObject.TryGetData(typeof(T).FullName.OrThrowIfNull(), out data);
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (4)
536typeof(T).FullName)); 639public object? GetData(Type format) => GetData(format.FullName.OrThrowIfNull()); 640public bool GetDataPresent(Type format) => GetDataPresent(format.FullName.OrThrowIfNull()); 757typeof(T).FullName.OrThrowIfNull(),
System\Private\Windows\Ole\DataStore.cs (4)
91public object? GetData(Type format) => GetData(format.FullName!); 109SetData(format.FullName.OrThrowIfNull(), data); 130public bool GetDataPresent(Type format) => GetDataPresent(format.FullName!); 217TryGetDataInternal(typeof(T).FullName!, autoConvert: false, out data);
System\TypeExtensions.cs (2)
53if (type.FullName == typeName.FullName) 226return TypeName.Parse(type.AssemblyQualifiedName ?? type.FullName);
System.Private.Windows.Core.TestUtilities (3)
BinarySerialization.cs (2)
27string? fullName = type.FullName; 58throw new NotSupportedException($"Serializable attribute is not expected on {type.FullName}");
NoAssertContext.cs (1)
119: base(typeof(NoAssertListener).FullName)
System.Private.Xml (223)
System\Xml\Serialization\Compilation.cs (5)
184XmlSerializationEventSource.Log.XmlSerializerExpired(serializerName, type.FullName!); 352throw new InvalidOperationException(SR.Format(SR.XmlPregenTypeDynamic, types[i]!.FullName)); 357writer.Write(typeof(XmlSerializerVersionAttribute).FullName); 582MissingMethodException missingMethod = new MissingMethodException($"{type.FullName}::{methodName}"); 650throw new InvalidOperationException(SR.Format(SR.XmlTypeInBadLoadContext, t.FullName));
System\Xml\Serialization\Mappings.cs (6)
1280throw new InvalidOperationException(SR.Format(SR.XmlSerializableRootDupName, _getSchemaMethod!.DeclaringType!.FullName, e.Name, elementNs)); 1333throw new InvalidOperationException(SR.Format(SR.XmlGetSchemaEmptyTypeName, _type!.FullName, _getSchemaMethod.Name)); 1338throw new InvalidOperationException(SR.Format(SR.XmlGetSchemaMethodReturnType, _type!.Name, _getSchemaMethod.Name, nameof(XmlSchemaProviderAttribute), typeof(XmlQualifiedName).FullName)); 1366throw new InvalidOperationException(SR.Format(SR.XmlGetSchemaInclude, _xsiType.Namespace, _getSchemaMethod.DeclaringType!.FullName, _getSchemaMethod.Name)); 1376throw new InvalidOperationException(SR.Format(SR.XmlGetSchemaTypeMissing, _getSchemaMethod.DeclaringType!.FullName, _getSchemaMethod.Name, _xsiType.Name, _xsiType.Namespace)); 1389if (string.IsNullOrEmpty(_schema.Id)) throw new InvalidOperationException(SR.Format(SR.XmlSerializableNameMissing1, _type!.FullName));
System\Xml\Serialization\Models.cs (7)
67if (!typeDesc.IsSpecial) throw new NotSupportedException(SR.Format(SR.XmlUnsupportedTypeKind, type.FullName)); 210throw new InvalidOperationException(SR.Format(SR.XmlSerializerUnsupportedMember, $"{member.DeclaringType!.FullName}.{member.Name}", type.FullName), typeDesc.Exception); 308throw new InvalidOperationException(SR.Format(SR.XmlInvalidSpecifiedType, specifiedField.Name, specifiedField.FieldType.FullName, typeof(bool).FullName)); 325throw new InvalidOperationException(SR.Format(SR.XmlInvalidSpecifiedType, specifiedProperty.Name, specifiedProperty.PropertyType.FullName, typeof(bool).FullName));
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (6)
1027bool isDoc = specialMapping.TypeDesc.FullName == typeof(XmlDocument).FullName; 1107throw CreateMissingIXmlSerializableType(derived.XsiType!.Name, derived.XsiType.Namespace, head.Type!.FullName); 1112throw CreateBadDerivationException(derived.XsiType!.Name, derived.XsiType.Namespace, head.XsiType!.Name, head.XsiType.Namespace, derived.Type.FullName, head.Type.FullName); 1770member.Source = (value) => throw new InvalidOperationException(SR.Format(SR.XmlReadOnlyPropertyError, pi.Name, pi.DeclaringType!.FullName)); 1789throw new InvalidOperationException(SR.Format(SR.XmlReadOnlyPropertyError, pi.Name, pi.DeclaringType!.FullName));
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (1)
388string choiceFullName = (enumUseReflection ? "" : choiceSource!.GetType().FullName + ".@") + choiceSource!.ToString();
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)
125: this(type!.Name, type.FullName!, dataType, TypeKind.Primitive, (TypeDesc?)null, flags, formatterName) 829exception = new InvalidOperationException(SR.Format(SR.XmlTypeInaccessible, type.FullName)); 834exception = new InvalidOperationException(SR.Format(SR.XmlTypeStatic, type.FullName)); 852exception ??= new NotSupportedException(SR.Format(SR.XmlSerializerUnsupportedType, type.FullName)); 870exception ??= new NotSupportedException(SR.Format(SR.XmlUnsupportedRank, type.FullName)); 878arrayElementType = GetCollectionElementType(type, memberInfo == null ? null : $"{memberInfo.DeclaringType!.FullName}.{memberInfo.Name}"); 889exception ??= new NotSupportedException(SR.Format(SR.XmlSerializerUnsupportedType, type.FullName)); 944exception = new NotSupportedException(SR.Format(SR.XmlUnsupportedInterface, type.FullName)); 948exception = new NotSupportedException(SR.Format(SR.XmlUnsupportedInterfaceDetails, $"{memberInfo.DeclaringType!.FullName}.{memberInfo.Name}", type.FullName)); 956exception ??= new NotSupportedException(SR.Format(SR.XmlSerializerUnsupportedType, type.FullName)); 1383throw new InvalidOperationException(SR.Format(SR.XmlNoAddMethod, type.FullName, currentType, "IEnumerable")); 1400throw new NotSupportedException(SR.Format(SR.XmlUnsupportedIDictionary, type.FullName)); 1404throw new NotSupportedException(SR.Format(SR.XmlUnsupportedIDictionaryDetails, memberInfo, type.FullName)); 1434throw new InvalidOperationException(SR.Format(SR.XmlNoDefaultAccessors, type.FullName)); 1439throw new InvalidOperationException(SR.Format(SR.XmlNoAddMethod, type.FullName, indexer.PropertyType, "ICollection"));
System\Xml\Serialization\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)); 882throw new InvalidOperationException(SR.Format(SR.XmlIllegalMultipleText, model.Type.FullName)); 889throw new InvalidOperationException(SR.Format(SR.XmlMultipleXmlns, model.Type.FullName)); 936throw new InvalidOperationException(SR.Format(SR.XmlMultipleXmlns, model.Type.FullName)); 1440throw new InvalidOperationException(SR.Format(SR.XmlChoiceIdentifierType, identifierName, memberName, type.GetElementType()!.FullName)); 1447throw new InvalidOperationException(SR.Format(SR.XmlChoiceIdentifierArrayType, identifierName, memberName, type.FullName)); 1706throw new InvalidOperationException(SR.Format(SR.XmlIllegalAnyElement, arrayElementType.FullName)); 1882throw new InvalidOperationException(SR.Format(SR.XmlXmlnsInvalidType, accessorName, accessorType.FullName, typeof(System.Xml.Serialization.XmlSerializerNamespaces).FullName)); 1947throw new InvalidOperationException(SR.Format(SR.XmlIllegalAnyElement, accessorType.FullName)); 2132XmlArrayItemAttribute? item = (XmlArrayItemAttribute?)arrayTypes[type.FullName, ns]; 2139arrayTypes[type.FullName, ns] = items[i]; 2179throw new InvalidOperationException(SR.Format(SR.XmlInvalidDefaultValue, strValue, a.XmlDefaultValue.GetType().FullName)); 2218throw new InvalidOperationException(SR.Format(SR.XmlInternalErrorDetails, "Bad accessor type " + accessor.GetType().FullName));
System\Xml\Serialization\XmlSchemaExporter.cs (1)
872if (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)
260throw 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)
1361return new InvalidCastException(SR.Format(SR.XmlInvalidNullCast, type.FullName)); 1363return new InvalidCastException(SR.Format(SR.XmlInvalidCast, value.GetType().FullName, type.FullName)); 1365return new InvalidCastException(SR.Format(SR.XmlInvalidCastWithId, value.GetType().FullName, type.FullName, id)); 1582throw new InvalidOperationException(SR.Format(SR.XmlInvalidArrayRef, id, o.GetType().FullName, i.ToString(CultureInfo.InvariantCulture))); 1701throw new NotSupportedException(SR.Format(SR.XmlRpcArrayOfValueTypes, elementType.FullName)); 2288Writer.Write(typeof(System.Xml.Serialization.XmlSerializationReader).FullName); 2473Writer.Write(typeof(XmlSerializationReadCallback).FullName); 2823item = typeof(Array).FullName!; 2840Writer.Write($"{RaCodeGen.GetReflectionVariable(typeof(Array).FullName!, "0")}[ci , i]"); 2924Writer.Write(typeof(XmlConvert).FullName); 2967Writer.Write(typeof(Hashtable).FullName); 2974Writer.Write(typeof(Hashtable).FullName); 2988Writer.Write(typeof(Hashtable).FullName); 2990Writer.Write(typeof(Hashtable).FullName); 3070Writer.Write(typeof(Enum).FullName); 3199Writer.Write(typeof(Array).FullName); 3293Writer.Write(typeof(XmlQualifiedName).FullName); 3340Writer.Write(typeof(XmlQualifiedName).FullName); 3660Writer.Write(typeof(XmlSerializationCollectionFixupCallback).FullName); 3693Writer.Write(typeof(XmlQualifiedName).FullName); 3699Writer.Write(typeof(XmlQualifiedName).FullName); 3821Writer.Write(typeof(XmlAttribute).FullName); 3824Writer.Write(typeof(XmlAttribute).FullName); 3873Writer.Write(typeof(XmlAttribute).FullName); 3878Writer.Write(typeof(XmlAttribute).FullName); 3956Writer.Write(typeof(XmlSerializationFixupCallback).FullName); 4087Writer.Write(typeof(XmlNodeType).FullName); 4117Writer.Write(typeof(XmlNodeType).FullName); 4120Writer.Write(typeof(XmlNodeType).FullName); 4123Writer.Write(typeof(XmlNodeType).FullName); 4126Writer.Write(typeof(XmlNodeType).FullName); 4949bool isDoc = special.TypeDesc.FullName == typeof(XmlDocument).FullName; 4962Writer.Write(typeof(XmlQualifiedName).FullName); 4973Writer.Write(typeof(IXmlSerializable).FullName); 5042Writer.Write(typeof(IXmlSerializable).FullName); 5064WriteQuotedCSharpString(derived.Type.FullName); 5066WriteQuotedCSharpString(head.Type.FullName); 5078WriteQuotedCSharpString(head.Type!.FullName); 5093Writer.Write(typeof(XmlNodeType).FullName); 5095Writer.Write(typeof(XmlNodeType).FullName); 5119Writer.Write(typeof(XmlNodeType).FullName); 5126Writer.Write(typeof(XmlConvert).FullName); 5140Writer.Write(typeof(ArrayList).FullName); 5144Writer.Write(typeof(ArrayList).FullName); 5147Writer.Write(typeof(ArrayList).FullName); 5151Writer.Write(typeof(ArrayList).FullName); 5168Writer.Write(typeof(Type).FullName); 5235Writer.Write(exceptionType.FullName);
System\Xml\Serialization\XmlSerializationReaderILGen.cs (4)
3389bool isDoc = special.TypeDesc.FullName == typeof(XmlDocument).FullName; 3536ilg.Ldstr(GetCSharpString(derived.Type.FullName)); 3537ilg.Ldstr(GetCSharpString(head.Type.FullName)); 3552ilg.Ldstr(GetCSharpString(head.Type!.FullName));
System\Xml\Serialization\XmlSerializationWriter.cs (67)
547if (_objectsInUse.ContainsKey(o)) throw new InvalidOperationException(SR.Format(SR.XmlCircularReference, o.GetType().FullName)); 705if (!_objectsInUse.ContainsKey(o)) throw new InvalidOperationException(SR.Format(SR.XmlInternalErrorDetails, "missing stack object of type " + o.GetType().FullName)); 867if (typeof(IXmlSerializable).IsAssignableFrom(type)) return new InvalidOperationException(SR.Format(SR.XmlInvalidSerializable, type.FullName)); 869if (!typeDesc.IsStructLike) return new InvalidOperationException(SR.Format(SR.XmlInvalidUseOfType, type.FullName)); 870return new InvalidOperationException(SR.Format(SR.XmlUnxpectedType, type.FullName)); 907return new InvalidOperationException(SR.Format(SR.XmlIllegalAnyElement, type.FullName)); 1331if (!typeof(IEnumerable).IsAssignableFrom(type)) throw new InvalidOperationException(SR.Format(SR.XmlInternalErrorDetails, "not array like type " + type.FullName)); 1681_writer.WriteLine($"static {typeof(Type).FullName} {typeVariable} = {elementTypeVariable}.MakeArrayType();"); 1686_writer.Write($"static {typeof(Type).FullName} {typeVariable} = {assemblyVariable}.GetType("); 1687WriteQuotedCSharpString(type.FullName); 1699_writer.WriteLine($"static {typeof(Type).FullName} {typeVariable} = typeof(System.Nullable<>).MakeGenericType(new {typeof(Type).FullName}[] {{{parameterTypeVariable}}});"); 1704_writer.Write($"static {typeof(Type).FullName} {typeVariable} = {assemblyVariable}.GetType("); 1705WriteQuotedCSharpString(type.FullName); 1733"object", "string", typeof(Type).FullName, 1734typeof(FieldInfo).FullName, typeof(PropertyInfo).FullName)); 1736WriteDefaultIndexerInit(typeof(IList), typeof(Array).FullName!, false, false); 1811_writer.Write($"static {typeof(Assembly).FullName} {assemblyVariable} = ResolveDynamicAssembly("); 1850_writer.Write($"static {typeof(MethodInfo).FullName} {methodVariable} = {typeVariable}.GetMethod("); 1854string bindingFlags = typeof(BindingFlags).FullName!; 1869_writer.Write($"new {typeof(Type).FullName}[] {{ "); 1896_writer.Write(typeof(Type[]).FullName); 1961return $"{typeof(Convert).FullName}.ToInt64({variable})"; 1962return $"(({typeof(long).FullName}){variable})"; 2028string typeFullName = arrayTypeDesc.IsCollection ? arrayTypeDesc.CSharpName : typeof(Array).FullName!; 2061createInstance.Append(typeof(Activator).FullName); 2065string bindingFlags = typeof(BindingFlags).FullName!; 2141typeName = typeof(IEnumerable).FullName!; 2143typeName = typeof(ICollection).FullName!; 2145typeName = typeof(Array).FullName!; 2301Writer.Write(typeof(System.Xml.Serialization.XmlSerializationWriter).FullName); 2397Writer.Write(typeof(System.Xml.Serialization.XmlSerializationWriteCallback).FullName); 2474Writer.Write(typeof(XmlConvert).FullName); 2682string source = $"(({typeof(System.Xml.Serialization.XmlSerializerNamespaces).FullName})p[{xmlnsMember}])"; 2968Writer.Write(typeof(long).FullName); 3161Writer.Write(typeof(Type).FullName); 3241if (mapping.TypeDesc.UseReflection) methodInvoke = $"(({typeof(bool).FullName}){methodInvoke})"; 3250if (mapping.TypeDesc.UseReflection) memberGet = $"(({typeof(bool).FullName}){memberGet})"; 3282if (mapping.TypeDesc.UseReflection) methodInvoke = $"(({typeof(bool).FullName}){methodInvoke})"; 3291if (mapping.TypeDesc.UseReflection) memberGet = $"(({typeof(bool).FullName}){memberGet})"; 3369Writer.Write(typeof(StringBuilder).FullName); 3371Writer.Write(typeof(StringBuilder).FullName); 3380Writer.Write(typeof(IEnumerator).FullName); 3384Writer.Write(typeof(IEnumerable).FullName); 3393Writer.Write(typeof(IEnumerator).FullName); 3410Writer.Write(typeof(IEnumerator).FullName); 3433Writer.Write(typeof(ICollection).FullName); 3592Writer.Write(typeof(IEnumerator).FullName); 3597Writer.Write(typeof(IEnumerable).FullName); 3608Writer.Write(typeof(IEnumerator).FullName); 3629Writer.Write(typeof(IEnumerator).FullName); 3666Writer.Write(typeof(ICollection).FullName); 3803string fullTypeName = typeof(XmlElement).FullName!; 4065Writer.Write(typeof(ICollection).FullName); 4213Writer.Write(typeof(XmlNode).FullName); 4245Writer.Write(cast.FullName); 4281Type? type = Type.GetType(mapping.TypeDesc!.Type!.FullName!); 4289Type? type = Type.GetType(mapping.TypeDesc!.Type!.FullName!); 4374Writer.Write(type.FullName); 4408Writer.Write(type.FullName); 4416Writer.Write(type.FullName); 4420Writer.Write(((DateTimeOffset)value).Offset.GetType().FullName); 4428Writer.Write(type.FullName); 4436Writer.Write(type.FullName); 4448Writer.Write(type.FullName); 4462throw new InvalidOperationException(SR.Format(SR.XmlUnsupportedDefaultType, type.FullName));
System\Xml\Serialization\XmlSerializationWriterILGen.cs (2)
396string source = string.Create(CultureInfo.InvariantCulture, $"(({typeof(XmlSerializerNamespaces).FullName})p[{xmlnsMember}])"); 2433if (type.FullName == "System.Xml.Linq.XElement")
System\Xml\Serialization\XmlSerializer.cs (4)
688throw new InvalidOperationException(SR.Format(SR.XmlPregenTypeDynamic, type.FullName)); 700throw new ArgumentException(SR.Format(SR.XmlPregenOrphanType, type.FullName, nameOrLocation), nameof(types)); 953throw new InvalidOperationException(SR.Format(SR.XmlUnxpectedType, _primitiveType!.FullName)); 1043throw 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)
178throw new ArgumentException(SR.Format(SR.InterfaceType_Must_Be_Interface, interfaceType.FullName), interfaceParameter); 184throw new ArgumentException(SR.Format(SR.BaseType_Cannot_Be_Sealed, baseType.FullName), proxyParameter); 190throw new ArgumentException(SR.Format(SR.BaseType_Cannot_Be_Abstract, baseType.FullName), proxyParameter); 196throw new ArgumentException(SR.Format(SR.BaseType_Must_Have_Default_Ctor, baseType.FullName), proxyParameter);
System.Reflection.Emit (9)
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)
175switch (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\SignatureHelper.cs (1)
240switch (conventions[0].FullName)
System\Reflection\Emit\TypeBuilderImpl.cs (1)
463switch (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\runtime\src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (2)
483throw new InvalidOperationException(SR.Format(SR.InvalidOperation_ResourceNotString_Type, FindType(typeIndex).FullName)); 495typeString = 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)
822string cacheName = $"{this.GetType().FullName}({_name})";
System.Runtime.InteropServices.JavaScript (10)
System\Runtime\InteropServices\JavaScript\JSHostImplementation.CoreCLR.cs (1)
31throw new ArithmeticException($"BindAssemblyExports: __Register_ method not found in type '{generatedInitializerType.FullName}' in assembly '{assemblyName}'");
System\Runtime\InteropServices\JavaScript\JSHostImplementation.cs (1)
262throw new InvalidOperationException(SR.Format(SR.ReturnTypeNotSupportedForMain, method.ReturnType.FullName));
System\Runtime\InteropServices\JavaScript\Marshaling\JSMarshalerArgument.Object.cs (8)
142throw new NotSupportedException(SR.Format(SR.ToJSNotImplemented, type.FullName)); 186throw new NotSupportedException(SR.Format(SR.ToJSNotImplemented, type.FullName)); 209throw new NotSupportedException(SR.Format(SR.ToJSNotImplemented, type.FullName)); 263throw new NotSupportedException(SR.Format(SR.ToJSNotImplemented, type.FullName)); 322throw new NotSupportedException(SR.Format(SR.ToJSNotImplemented, type.FullName)); 326throw new NotSupportedException(SR.Format(SR.ToJSNotImplemented, type.FullName)); 330throw new NotSupportedException(SR.Format(SR.ToJSNotImplemented, type.FullName)); 334throw new NotSupportedException(SR.Format(SR.ToJSNotImplemented, type.FullName));
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)
526CodeAttributeDeclaration debuggerStepThroughAttribute = new CodeAttributeDeclaration(typeof(System.Diagnostics.DebuggerStepThroughAttribute).FullName!); 527CodeAttributeDeclaration generatedCodeAttribute = new CodeAttributeDeclaration(typeof(GeneratedCodeAttribute).FullName!); 1458return type.FullName ?? (type.Namespace == null ? type.Name : type.Namespace + "." + type.Name);
System.Security.Cryptography (2)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (1)
916$"Unexpected cipher characteristics by {cipher.GetType().FullName}, KeySize={cipher.KeySize}, BlockSize={cipher.BlockSize}");
System\Security\Cryptography\X509Certificates\CertificateRequest.cs (1)
709Debug.Fail($"Key was of no known type: {_key?.GetType().FullName ?? "null"}");
System.Security.Cryptography.Pkcs (4)
Internal\Cryptography\Pal\AnyOS\ManagedPal.cs (1)
92Debug.Fail($"Unknown key type requested: {typeof(T).FullName}");
Internal\Cryptography\Pal\Windows\PkcsPalWindows.cs (2)
158Debug.Fail($"Unknown CNG key type request: {typeof(T).FullName}"); 185Debug.Fail($"Unknown CAPI key type request: {typeof(T).FullName}");
src\runtime\src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (1)
916$"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.ServiceModel.Primitives (82)
Internals\System\Runtime\MruCache.cs (1)
252throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ObjectDisposedException(GetType().FullName));
Internals\System\Xml\XmlMtomReader.cs (20)
2153get { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.SeekNotSupportedOnStream, GetType().FullName))); } 2158get { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.SeekNotSupportedOnStream, GetType().FullName))); } 2159set { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.SeekNotSupportedOnStream, GetType().FullName))); } 2164throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.WriteNotSupportedOnStream, GetType().FullName))); 2174throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.WriteNotSupportedOnStream, GetType().FullName))); 2179throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.WriteNotSupportedOnStream, GetType().FullName))); 2201throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.SeekNotSupportedOnStream, GetType().FullName))); 2206throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.WriteNotSupportedOnStream, GetType().FullName))); 2211throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.WriteNotSupportedOnStream, GetType().FullName))); 2872get { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.SeekNotSupportedOnStream, stream.GetType().FullName))); } 2877get { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.SeekNotSupportedOnStream, stream.GetType().FullName))); } 2878set { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.SeekNotSupportedOnStream, stream.GetType().FullName))); } 2884throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.ReadNotSupportedOnStream, stream.GetType().FullName))); 2891throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.WriteNotSupportedOnStream, stream.GetType().FullName))); 2902throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.ReadNotSupportedOnStream, stream.GetType().FullName))); 2909throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.WriteNotSupportedOnStream, stream.GetType().FullName))); 2920throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.ReadNotSupportedOnStream, stream.GetType().FullName))); 3005throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.SeekNotSupportedOnStream, stream.GetType().FullName))); 3010throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.SeekNotSupportedOnStream, stream.GetType().FullName))); 3015throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.Format(SRP.WriteNotSupportedOnStream, stream.GetType().FullName)));
System\IdentityModel\Claims\X509CertificateClaimSet.cs (2)
372throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ObjectDisposedException(GetType().FullName)); 629throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ObjectDisposedException(GetType().FullName));
System\IdentityModel\Policy\UnconditionalPolicy.cs (1)
188throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ObjectDisposedException(GetType().FullName));
System\IdentityModel\Tokens\X509SecurityToken.cs (1)
195throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ObjectDisposedException(GetType().FullName));
System\ServiceModel\ChannelFactory.cs (5)
373ServiceModelActivity.Start(activity, SRP.Format(SRP.ActivityConstructChannelFactory, typeof(TChannel).FullName), ActivityType.Construct); 398ServiceModelActivity.Start(activity, SRP.Format(SRP.ActivityConstructChannelFactory, typeof(TChannel).FullName), ActivityType.Construct); 417ServiceModelActivity.Start(activity, SRP.Format(SRP.ActivityConstructChannelFactory, typeof(TChannel).FullName), ActivityType.Construct); 519throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SfxCallbackTypeCannotBeNull, endpoint.Contract.ContractType.FullName))); 528throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SfxCallbackTypeCannotBeNull, endpoint.Contract.ContractType.FullName)));
System\ServiceModel\Channels\BinaryMessageEncodingBindingElement.cs (1)
74string errorMsg = SRP.Format(SRP.UnsupportedEnvelopeVersion, GetType().FullName, BinaryEncoderDefaults.EnvelopeVersion, value.Envelope);
System\ServiceModel\Channels\ChannelBindingMessageProperty.cs (1)
128throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ObjectDisposedException(GetType().FullName));
System\ServiceModel\Channels\MessageHeader.cs (1)
489throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SRP.Format(SRP.MessageHeaderVersionNotSupported, GetType().FullName, messageVersion.ToString()), "version"));
System\ServiceModel\Channels\MessageHeaders.cs (1)
1367header.GetType().FullName, MessageVersion.Envelope.ToString()), "header"));
System\ServiceModel\Channels\RequestContextBase.cs (1)
190throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ObjectDisposedException(GetType().FullName));
System\ServiceModel\Channels\ServiceChannelProxy.cs (1)
346activityName = SRP.Format(SRP.ActivityClose, _serviceChannel.GetType().FullName);
System\ServiceModel\ClientBase.cs (3)
182ServiceModelActivity.Start(activity, SRP.Format(SRP.ActivityOpenClientBase, typeof(TChannel).FullName), ActivityType.OpenClient); 373ServiceModelActivity.Start(activity, SRP.Format(SRP.ActivityCloseClientBase, typeof(TChannel).FullName), ActivityType.Close); 514ServiceModelActivity.Start(activity, SRP.Format(SRP.ActivityCloseClientBase, typeof(TChannel).FullName), ActivityType.Close);
System\ServiceModel\Description\ServiceReflector.cs (7)
432throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.ServicesWithoutAServiceContractAttributeCan2, operationContractProviderType.Name, method.Name, service.FullName))); 607throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SFxDisallowedAttributeCombination, attrProvider, attrType.FullName, otherType.FullName))); 830throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.NoEndMethodFoundForAsyncBeginMethod3, beginMethod.Name, beginMethod.DeclaringType.FullName, endMethodName))); 834throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.MoreThanOneEndMethodFoundForAsyncBeginMethod3, beginMethod.Name, beginMethod.DeclaringType.FullName, endMethodName))); 845throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.InvalidAsyncEndMethodSignatureForMethod2, endMethod.Name, endMethod.DeclaringType.FullName))); 878throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.InvalidAsyncBeginMethodSignatureForMethod2, method.Name, method.DeclaringType.FullName)));
System\ServiceModel\Description\TypeLoader.cs (9)
186contract.ConfigurationName = channelType.FullName; 201contract.ConfigurationName = channelType.FullName; 379throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SFxKnownTypeAttributeUnknownMethod3, provider, knownTypeAttribute.MethodName, type.FullName))); 384throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SFxKnownTypeAttributeReturnType3, provider, knownTypeAttribute.MethodName, type.FullName))); 485opBehaviorAttr.GetType().FullName))); 495opBehaviorAttr.GetType().FullName))); 506opBehaviorAttr.GetType().FullName))); 775contractDescription.ConfigurationName = contractAttr.ConfigurationName ?? contractType.FullName; 991throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.OneWayAndFaultsIncompatible2, methodInfo.DeclaringType.FullName, operationName.EncodedName)));
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (8)
307_keyBase = methodInfo.DeclaringType.FullName + ":" + methodInfo.ToString(); 445key = message.MessageType.FullName + ":" + IsEncoded + ":" + IsRpc; 585throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SFxBodyObjectTypeCannotBeInherited, bodyObjectType.FullName))); 590throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SFxBodyObjectTypeCannotBeInterface, bodyObjectType.FullName, typeof(IEnumerable).FullName))); 595throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SFxBodyObjectTypeCannotBeInterface, bodyObjectType.FullName, typeof(IXmlSerializable).FullName))); 692throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SFxFaultTypeAnonymous, Operation.Name, fault.DetailType.FullName)));
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (2)
138WcfEventSource.Instance.ParameterInspectorBeforeCallInvoked(rpc.EventTraceActivity, ParameterInspectors[i].GetType().FullName); 159WcfEventSource.Instance.ParameterInspectorAfterCallInvoked(rpc.EventTraceActivity, ParameterInspectors[i].GetType().FullName);
System\ServiceModel\Dispatcher\ErrorBehavior.cs (4)
129WcfEventSource.Instance.FaultProviderInvoked(_handlers[i].GetType().FullName, e.Message); 192WcfEventSource.Instance.ServiceException(error.ToString(), error.GetType().FullName); 200WcfEventSource.Instance.ErrorHandlerInvoked(_handlers[i].GetType().FullName, handledByThis, error.GetType().FullName);
System\ServiceModel\Dispatcher\ImmutableClientRuntime.cs (2)
82WcfEventSource.Instance.ClientMessageInspectorAfterReceiveInvoked(rpc.EventTraceActivity, _messageInspectors[i].GetType().FullName); 111WcfEventSource.Instance.ClientMessageInspectorBeforeSendInvoked(rpc.EventTraceActivity, _messageInspectors[i].GetType().FullName);
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (2)
111WcfEventSource.Instance.MessageInspectorAfterReceiveInvoked(rpc.EventTraceActivity, _messageInspectors[i].GetType().FullName); 150WcfEventSource.Instance.MessageInspectorBeforeSendInvoked(rpc.EventTraceActivity, _messageInspectors[i].GetType().FullName);
System\ServiceModel\Dispatcher\OperationFormatter.cs (1)
174throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SFxMessageContractRequiresDefaultConstructor, messageContractType.FullName), mme));
System\ServiceModel\Dispatcher\ProxyOperationRuntime.cs (2)
160WcfEventSource.Instance.ClientParameterInspectorAfterCallInvoked(rpc.EventTraceActivity, _parameterInspectors[i].GetType().FullName); 198WcfEventSource.Instance.ClientParameterInspectorBeforeCallInvoked(rpc.EventTraceActivity, _parameterInspectors[i].GetType().FullName);
System\ServiceModel\Dispatcher\SyncMethodInvoker.cs (1)
138ServiceModelActivity.Start(activity, SRP.Format(SRP.ActivityExecuteMethod, Method.DeclaringType.FullName, Method.Name), ActivityType.ExecuteUserCode);
System\ServiceModel\Dispatcher\TaskMethodInvoker.cs (1)
201SRP.Format(SRP.ActivityExecuteMethod, Method.DeclaringType.FullName, Method.Name),
System\ServiceModel\KeyedByTypeCollection.cs (1)
110throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("item", SRP.Format(SRP.DuplicateBehavior1, item.GetType().FullName));
System\ServiceModel\Security\SecurityMessageProperty.cs (1)
309throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ObjectDisposedException(GetType().FullName));
System\ServiceModel\Security\Tokens\SecurityContextSecurityToken.cs (1)
185throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ObjectDisposedException(GetType().FullName));
System\ServiceModel\SynchronizedCollection.cs (1)
314throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SRP.Format(SRP.SynchronizedCollectionWrongType1, value.GetType().FullName)));
System.Speech (7)
Internal\SrgsCompiler\AppDomainGrammarProxy.cs (4)
129_grammar = (System.Speech.Recognition.Grammar)_assembly.CreateInstance(_grammarType.FullName!)!; 133throw new ArgumentException(SR.Get(SRID.RuleScriptInvalidParameters, _grammarType.FullName, rule), nameof(rule)); 147grammar = (ruleClass == _grammarType ? _grammar : (System.Speech.Recognition.Grammar?)_assembly.CreateInstance(ruleClass.FullName!))!; 151throw new ArgumentException(SR.Get(SRID.RuleScriptInvalidParameters, ruleClass.FullName, rule), nameof(rule));
Recognition\Grammar.cs (2)
177return (Grammar?)assembly.CreateInstance(typeTarget.FullName!, false, BindingFlags.CreateInstance, null, onInitParameters, null, null); 739return (Grammar?)assembly.CreateInstance(typeTarget.FullName!, false, BindingFlags.CreateInstance, null, initParams!, null, null);
Result\RecognizedPhrase.cs (1)
1002ruleInstance = ruleClass == grammarType ? grammar : (System.Speech.Recognition.Grammar)assembly.CreateInstance(ruleClass.FullName!)!;
System.Text.Json (11)
src\runtime\src\libraries\System.Text.Json\Common\ReflectionExtensions.cs (1)
216return genericTypeDef.FullName!;
System\ReflectionExtensions.cs (1)
67if (attribute.GetType().FullName == fullName)
System\Text\Json\Schema\JsonSchemaExporter.cs (1)
495if (attribute.GetType().FullName == "System.ObsoleteAttribute")
System\Text\Json\Serialization\Converters\Union\JsonUnionConverterFactory.cs (1)
35attributeType.FullName == UnionAttributeFullName)
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)
143if (jsonPropertyInfo.PropertyType.FullName == JsonTypeInfo.JsonObjectTypeName)
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.Helpers.cs (1)
264attributeType.FullName != "System.Runtime.CompilerServices.IsClosedTypeAttribute")
System\Text\Json\Serialization\Metadata\FSharpCoreReflectionProxy.cs (1)
319if (attributeType.FullName == CompilationMappingAttributeTypeName)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (1)
1753(propertyType.FullName == JsonObjectTypeName && ReferenceEquals(propertyType.Assembly, typeof(JsonTypeInfo).Assembly));
System\Text\Json\ThrowHelper.cs (1)
66throw new ArgumentOutOfRangeException(nameof(typeToConvert), SR.Format(SR.SerializerConverterFactoryInvalidArgument, typeToConvert.FullName));
System\Text\Json\ThrowHelper.Serialization.cs (1)
855throw new InvalidOperationException(SR.Format(SR.JsonPropertyInfoBoundToDifferentParent, propertyInfo.Name, propertyInfo.DeclaringTypeInfo.Type.FullName));
System.Text.Json.SourceGeneration (13)
Helpers\KnownTypeSymbols.cs (9)
327factoryTypeFullName = typeof(ImmutableArray).FullName; 334factoryTypeFullName = typeof(ImmutableList).FullName; 341factoryTypeFullName = typeof(ImmutableStack).FullName; 348factoryTypeFullName = typeof(ImmutableQueue).FullName; 355factoryTypeFullName = typeof(ImmutableHashSet).FullName; 361factoryTypeFullName = typeof(ImmutableSortedSet).FullName; 382factoryTypeFullName = typeof(ImmutableDictionary).FullName; 388factoryTypeFullName = typeof(ImmutableSortedDictionary).FullName; 397=> GetOrResolveType(type.FullName!, ref field);
Helpers\RoslynExtensions.cs (2)
27Debug.Assert(type.FullName != null); 28return compilation.GetBestTypeByMetadataName(type.FullName);
src\runtime\src\libraries\Common\src\Roslyn\GetBestTypeByMetadataName.cs (2)
89type.IsArray || type.FullName is null 91: GetBestTypeByMetadataName(compilation, type.FullName);
System.Text.RegularExpressions.Generator (4)
src\runtime\src\libraries\Common\src\Polyfills\ExceptionPolyfills.cs (2)
125throw new ObjectDisposedException(instance?.GetType().FullName); 131throw new ObjectDisposedException(type?.FullName);
src\runtime\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.Extensions (1)
System\Xaml\Permissions\XamlAccessLevel.cs (1)
29return new XamlAccessLevel(type.Assembly.FullName!, type.FullName);
System.Windows.Forms (47)
System\Resources\ResXDataNode.cs (3)
88throw new InvalidOperationException(string.Format(SR.NotSerializableType, name, valueType.FullName)); 242throw new InvalidOperationException(string.Format(SR.NotSerializableType, _name, valueType.FullName)); 365Debug.WriteLine($"Converter for {type.FullName} doesn't support string conversion");
System\Resources\ResXResourceReader.cs (2)
426&& readerTypeName.Equals(readerType.FullName) 427&& writerTypeName.Equals(writerType.FullName))
System\Resources\ResXSerializationBinder.cs (1)
90typeName = string.Equals(parsed.FullName, serializedType.FullName, StringComparison.Ordinal)
System\Windows\Forms\ActiveX\Control_ActiveXControlInterfaces.cs (1)
260(USERCLASSTYPE)dwFormOfType == USERCLASSTYPE.USERCLASSTYPE_FULL ? GetType().FullName : GetType().Name);
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (5)
735string streamName = _control.GetType().FullName!; 1011GetType().FullName!, 1091using BSTR bstrSource = new(_control.GetType().FullName!); 1168$"No type converter for property '{currentProperty.Name}' on class {_control.GetType().FullName}"); 1552$"No type converter for property '{currentProperty.Name}' on class {_control.GetType().FullName}");
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormatWriter.cs (2)
28new ClassInfo(1, typeof(Bitmap).FullName!, s_dataMemberName), 44new 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)
9964$"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)
1738throw new ArgumentException(string.Format(SR.PropertyGridNoBitmap, tab.GetType().FullName)); 1743throw 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)
2258public 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)
311string entryName = $"{basePropertyDescriptor.Name} {basePropertyDescriptor.PropertyType.FullName}"; 323string 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)
493throw new ArgumentException(string.Format(SR.TabControlTabPageNotOnTabControl, value.GetType().FullName));
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (2)
608LoadSettings(targetForm, targetForm.GetType().FullName!); 631SaveSettings(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\Nrbf\WinFormsNrbfSerializer.cs (1)
31{ Types.ToTypeName($"{typeof(ImageListStreamer).FullName}, System.Windows.Forms"), typeof(ImageListStreamer) },
System\Windows\Forms\OLE\Clipboard.cs (1)
357[NotNullWhen(true), MaybeNullWhen(false)] out T data) => TryGetData(typeof(T).FullName!, out data);
System\Windows\Forms\OLE\DataObject.cs (3)
127public virtual object? GetData(Type format) => format is null ? null : GetData(format.FullName!); 133public virtual bool GetDataPresent(Type format) => format is not null && GetDataPresent(format.FullName!); 177TryGetDataInternal(typeof(T).FullName!, resolver: null, autoConvert: true, out data);
System\Windows\Forms\OLE\DataObjectExtensions.cs (1)
19dataObject.GetType().FullName));
System\Windows\Forms\Rendering\Animation\AnimationManager.cs (2)
157item.Renderer.GetType().FullName ?? item.Renderer.GetType().Name, 158ex.GetType().FullName ?? ex.GetType().Name);
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)
670list.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, 248throw new InvalidOperationException(string.Format(SR.DesignerHostNoTopLevelDesigner, component.GetType().FullName)) 394if (string.Equals(reflectType.FullName, component.GetType().FullName, StringComparison.Ordinal)) 695helpService.RemoveContextAttribute("Keyword", $"Designer_{designer.GetType().FullName}"); 1096helpService.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)); 792Debug.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; 1628Error(manager, string.Format(SR.SerializerNoSuchProperty, lhs.GetType().FullName, propertyReferenceEx.PropertyName), SR.SerializerNoSuchProperty); 2420manager.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)
2497typeName = owner.GetType().FullName;
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
1044string.Equals(descriptor.TypeName, type_.FullName, StringComparison.OrdinalIgnoreCase))
System\Windows\Forms\Design\DesignerFrame.cs (3)
417Debug.Assert(_overlayList.IndexOf(control) == -1, $"Duplicate overlay in overlay service: {control.GetType().FullName}"); 435Debug.Assert(_overlayList.IndexOf(control) != -1, $"Control is not in overlay service: {control.GetType().FullName}"); 446Debug.Assert(_overlayList.IndexOf(control) == -1, $"Duplicate overlay in overlay service: {control.GetType().FullName}");
System\Windows\Forms\Design\DocumentDesigner.AxToolboxItem.cs (1)
200Debug.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)
204Debug.Assert(control is not null, "Component must be a tab control, it is a: " + component.GetType().FullName);
System.Windows.Forms.Primitives (3)
System\ServiceExtensions.cs (1)
88?? throw new InvalidOperationException(string.Format(SR.General_MissingService, typeof(TInterface).FullName))
System\Windows\Forms\Animation\HighPrecisionTimer.cs (2)
239ex.GetType().FullName ?? ex.GetType().Name); 506exception.GetType().FullName ?? exception.GetType().Name);
System.Xaml (11)
System\Windows\Markup\StaticExtension.cs (1)
60typeNameForError = type.FullName;
System\Windows\Markup\ValueSerializer.cs (3)
244text = value.GetType().FullName; 247return new NotSupportedException(SR.Format(SR.ConvertToException, base.GetType().Name, text, destinationType.FullName)); 262text = value.GetType().FullName;
System\Xaml\InfosetObjects\XamlObjectWriter.cs (3)
2238if (rootInstanceType.FullName != className) 2246if (rootInstanceType.FullName != className) 2248throw ctx.WithLineInfo(new XamlObjectWriterException(SR.Format(SR.XClassMustMatchRootInstance, className, rootInstanceType.FullName)));
System\Xaml\RefOnly\LooseTypeExtensions.cs (2)
30if (t1.FullName != t2.FullName)
System\Xaml\Schema\XamlTypeInvoker.cs (1)
314throw new MissingMethodException(SR.Format(SR.NoDefaultConstructor, underlyingType.FullName));
System\Xaml\XamlObjectReader.cs (1)
2654throw new XamlObjectReaderException(SR.Format(SR.ObjectReader_TypeNotVisible, clrType.FullName));
testhost (1)
src\vstest\src\testhost.x86\TestHostTraceListener.cs (1)
71var wholeMessage = $"Method {methodName} failed with '{message}', and was translated to {typeof(DebugAssertException).FullName} to avoid terminating the process hosting the test.";
testhost.arm64 (1)
src\vstest\src\testhost.x86\TestHostTraceListener.cs (1)
71var wholeMessage = $"Method {methodName} failed with '{message}', and was translated to {typeof(DebugAssertException).FullName} to avoid terminating the process hosting the test.";
testhost.x86 (1)
TestHostTraceListener.cs (1)
71var wholeMessage = $"Method {methodName} failed with '{message}', and was translated to {typeof(DebugAssertException).FullName} to avoid terminating the process hosting the test.";
UIAutomationClientSideProviders (7)
MS\Internal\AutomationProxies\WindowsEditBox.cs (1)
343throw new InvalidOperationException(SR.Format(SR.EditControlsHaveNoChildren, GetType().FullName));
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (5)
37throw new InvalidOperationException(SR.Format(SR.InvalidTextRangeOffset, GetType().FullName)); 1065throw new InvalidOperationException(SR.Format(SR.InvalidTextRangeOffset, GetType().FullName)); 1077throw new InvalidOperationException(SR.Format(SR.InvalidRangeEndpoint, GetType().FullName)); 1111throw new InvalidOperationException(SR.Format(SR.InvalidTextRangeOffset, GetType().FullName)); 1142throw new InvalidOperationException(SR.Format(SR.InvalidTextRangeOffset, GetType().FullName));
MS\Internal\AutomationProxies\WindowsRichEdit.cs (1)
260throw new InvalidOperationException(SR.Format(SR.RichEditTextPatternHasNoChildren, GetType().FullName));
vstest.console (4)
Processors\ListExtensionsArgumentProcessor.cs (4)
90ConsoleOutput.Instance.WriteLine(extension.Value.GetType().FullName, OutputLevel.Information); 127ConsoleOutput.Instance.WriteLine(extension.Value.GetType().FullName, OutputLevel.Information); 169: extension.Value.GetType().FullName; 215ConsoleOutput.Instance.WriteLine(extension.Value.GetType().FullName, OutputLevel.Information);
vstest.console.arm64 (4)
src\vstest\src\vstest.console\Processors\ListExtensionsArgumentProcessor.cs (4)
90ConsoleOutput.Instance.WriteLine(extension.Value.GetType().FullName, OutputLevel.Information); 127ConsoleOutput.Instance.WriteLine(extension.Value.GetType().FullName, OutputLevel.Information); 169: extension.Value.GetType().FullName; 215ConsoleOutput.Instance.WriteLine(extension.Value.GetType().FullName, OutputLevel.Information);
WindowsFormsIntegration (1)
System\Windows\Integration\PropertyMap.cs (1)
140throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, SR.WFI_PropertyDoesntExist, propertyName, SourceObject.GetType().FullName));