13 overrides of AssemblyQualifiedName
System.Private.CoreLib (9)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\SymbolType.cs (1)
359public override string? AssemblyQualifiedName => TypeNameBuilder.ToString(this, TypeNameBuilder.Format.AssemblyQualifiedName);
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\TypeBuilderInstantiation.cs (1)
109public override string? AssemblyQualifiedName => TypeNameBuilder.ToString(this, TypeNameBuilder.Format.AssemblyQualifiedName);
src\libraries\System.Private.CoreLib\src\System\Reflection\ModifiedType.cs (1)
95public override string? AssemblyQualifiedName => _unmodifiedType.AssemblyQualifiedName;
src\libraries\System.Private.CoreLib\src\System\Reflection\SignatureType.cs (1)
77public sealed override string? AssemblyQualifiedName => null;
src\libraries\System.Private.CoreLib\src\System\Reflection\TypeDelegator.cs (1)
57public override string? AssemblyQualifiedName => typeImpl.AssemblyQualifiedName;
src\System\Reflection\Emit\RuntimeEnumBuilder.cs (1)
83public override string? AssemblyQualifiedName => m_typeBuilder.AssemblyQualifiedName;
src\System\Reflection\Emit\RuntimeGenericTypeParameterBuilder.cs (1)
98public override string? AssemblyQualifiedName => null;
src\System\Reflection\Emit\RuntimeTypeBuilder.cs (1)
657public override string? AssemblyQualifiedName => TypeNameBuilder.ToString(this, TypeNameBuilder.Format.AssemblyQualifiedName);
src\System\RuntimeType.CoreCLR.cs (1)
3323public override string? AssemblyQualifiedName
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingType.cs (1)
32public override string? AssemblyQualifiedName
System.Reflection.Emit (1)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\SymbolType.cs (1)
359public override string? AssemblyQualifiedName => TypeNameBuilder.ToString(this, TypeNameBuilder.Format.AssemblyQualifiedName);
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Types\RoType.cs (1)
122public override string? AssemblyQualifiedName => _lazyAssemblyQualifiedFullName ??= ComputeAssemblyQualifiedName();
System.Windows.Forms.Tests (1)
System\Windows\Forms\ListBindingHelperTests.cs (1)
779public override string AssemblyQualifiedName => throw new NotImplementedException();
255 references to AssemblyQualifiedName
Aspire.Playground.Tests (1)
Infrastructure\DistributedApplicationExtensions.cs (1)
251using var content = new FormUrlEncodedContent([new("context", dbContextType.AssemblyQualifiedName)]);
Diagnostics.EFCore.FunctionalTests (5)
DatabaseErrorPageMiddlewareTest.cs (1)
282var expectedContextType = typeof(BloggingContextWithMigrations).AssemblyQualifiedName;
MigrationsEndPointMiddlewareTest.cs (4)
122new KeyValuePair<string, string>("context", typeof(BloggingContextWithMigrations).AssemblyQualifiedName) 219new KeyValuePair<string, string>("context", typeof(BloggingContext).AssemblyQualifiedName) 226Assert.StartsWith(StringsHelpers.GetResourceString("FormatMigrationsEndPointMiddleware_ContextNotRegistered", typeof(BloggingContext).AssemblyQualifiedName), content); 258new KeyValuePair<string, string>("context", typeof(BloggingContextWithSnapshotThatThrows).AssemblyQualifiedName)
dotnet-svcutil.xmlserializer (4)
Microsoft\Tools\ServiceModel\SvcUtil\Options.cs (4)
487if (specifiedTypes.TryGetValue(type.AssemblyQualifiedName, out foundType)) 488foundTypeName = type.AssemblyQualifiedName; 497cmd, type.AssemblyQualifiedName, foundType.AssemblyQualifiedName));
dotnet-svcutil-lib (15)
CommandProcessorOptions.cs (4)
921else if (specifiedTypes.TryGetValue(type.AssemblyQualifiedName, out foundType)) 923foundTypeName = type.AssemblyQualifiedName; 933cmd, type.AssemblyQualifiedName, foundType.AssemblyQualifiedName));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (3)
551throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.ReferencedTypeDoesNotMatch, type.AssemblyQualifiedName, dataContract.StableName.Name, dataContract.StableName.Namespace))); 569throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.ReferencedTypeDoesNotMatch, type.AssemblyQualifiedName, dataContract.StableName.Name, dataContract.StableName.Namespace))); 584type.AssemblyQualifiedName,
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContractSet.cs (3)
134throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRSerialization.DupTypeContractInDataContractSet, (typeNamesEqual ? dataContract.UnderlyingType.AssemblyQualifiedName : DataContract.GetClrTypeFullName(dataContract.UnderlyingType)), (typeNamesEqual ? dataContractInSet.UnderlyingType.AssemblyQualifiedName : DataContract.GetClrTypeFullName(dataContractInSet.UnderlyingType)), dataContract.StableName.Name, dataContract.StableName.Namespace))); 468errorMessage.AppendFormat("{0}\"{1}\" ", Environment.NewLine, conflictingType.AssemblyQualifiedName);
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Diagnostics\DiagnosticTraceBase.cs (1)
166xml.WriteElementString(DiagnosticStrings.ExceptionTypeTag, XmlEncode(exception.GetType().AssemblyQualifiedName));
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (1)
281new Tuple<string, string> (DiagnosticStrings.ExceptionTypeTag, XmlEncode(exception.GetType().AssemblyQualifiedName)),
FrameworkFork\System.ServiceModel\System\IdentityModel\Selectors\SecurityTokenResolver.cs (1)
89throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotImplementedException(string.Format(SRServiceModel.ID0023, this.GetType().AssemblyQualifiedName)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (2)
826WsdlImportException wie = WsdlImportException.Create(item, new InvalidOperationException(string.Format(SRServiceModel.UnknownWSDLExtensionIgnored, extension.GetType().AssemblyQualifiedName))); 1896string errorMessage = string.Format(SRServiceModel.WsdlExtensionBeforeImportError, importer.GetType().AssemblyQualifiedName, e.Message);
illink (1)
ILLink.RoslynAnalyzer (1)
src\tools\illink\src\ILLink.Shared\TrimAnalysis\IntrinsicId.cs (1)
175 /// <see cref="System.Type.AssemblyQualifiedName"/>
Microsoft.AspNetCore.DataProtection (4)
AuthenticatedEncryption\ConfigurationModel\ManagedAlgorithmHelpers.cs (1)
32return type.AssemblyQualifiedName!;
TypeExtensions.cs (2)
27expectedBaseType.AssemblyQualifiedName, implementationType.AssemblyQualifiedName));
XmlEncryption\XmlEncryptionExtensions.cs (1)
151new XAttribute(XmlConstants.DecryptorTypeAttributeName, entry.Value.DecryptorType.AssemblyQualifiedName!),
Microsoft.AspNetCore.DataProtection.Tests (36)
ActivatorTests.cs (9)
21var retVal1 = (ClassWithParameterlessCtor)activator.CreateInstance<object>(typeof(ClassWithParameterlessCtor).AssemblyQualifiedName); 22var retVal2 = (ClassWithServiceProviderCtor)activator.CreateInstance<object>(typeof(ClassWithServiceProviderCtor).AssemblyQualifiedName); 23var retVal3 = (ClassWithBothCtors)activator.CreateInstance<object>(typeof(ClassWithBothCtors).AssemblyQualifiedName); 42var retVal1 = (ClassWithParameterlessCtor)activator.CreateInstance<object>(typeof(ClassWithParameterlessCtor).AssemblyQualifiedName); 43var retVal2 = (ClassWithServiceProviderCtor)activator.CreateInstance<object>(typeof(ClassWithServiceProviderCtor).AssemblyQualifiedName); 44var retVal3 = (ClassWithBothCtors)activator.CreateInstance<object>(typeof(ClassWithBothCtors).AssemblyQualifiedName); 63() => activator.CreateInstance<IDisposable>(typeof(ClassWithParameterlessCtor).AssemblyQualifiedName)); 64Assert.Equal(Resources.FormatTypeExtensions_BadCast(typeof(IDisposable).AssemblyQualifiedName, typeof(ClassWithParameterlessCtor).AssemblyQualifiedName), ex.Message);
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorDescriptorDeserializerTests.cs (6)
69<encryption algorithm='{typeof(Aes).AssemblyQualifiedName}' keyLength='192' /> 70<validation algorithm='{typeof(HMACSHA384).AssemblyQualifiedName}' /> 94<encryption algorithm='{typeof(CustomAlgorithm).AssemblyQualifiedName}' keyLength='192' /> 95<validation algorithm='{typeof(HMACSHA384).AssemblyQualifiedName}' /> 117<encryption algorithm='{typeof(CustomAlgorithmNoConstructor).AssemblyQualifiedName}' keyLength='192' /> 118<validation algorithm='{typeof(HMACSHA384).AssemblyQualifiedName}' />
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorDescriptorTests.cs (2)
30<encryption algorithm='{typeof(MySymmetricAlgorithm).AssemblyQualifiedName}' keyLength='2048' /> 31<validation algorithm='{typeof(MyKeyedHashAlgorithm).AssemblyQualifiedName}' />
Internal\KeyManagementOptionsSetupTest.cs (1)
49["KeyEscrowSinks"] = String.Join(" ;; ; ", new Type[] { typeof(MyKeyEscrowSink1), typeof(MyKeyEscrowSink2) }.Select(t => t.AssemblyQualifiedName)),
KeyManagement\XmlKeyManagerTests.cs (4)
153typeof(MyDeserializer).AssemblyQualifiedName, 252typeof(MyDeserializer).AssemblyQualifiedName, 280typeof(MyDeserializer).AssemblyQualifiedName, 281typeof(NullXmlDecryptor).AssemblyQualifiedName,
RegistryPolicyResolverTests.cs (4)
39["KeyEscrowSinks"] = String.Join(" ;; ; ", new Type[] { typeof(MyKeyEscrowSink1), typeof(MyKeyEscrowSink2) }.Select(t => t.AssemblyQualifiedName)) 57var typeName = typeof(MyKeyEscrowSink1).AssemblyQualifiedName.Replace("MyKeyEscrowSink1", "MyKeyEscrowSinkDontExist"); 229["EncryptionAlgorithmType"] = typeof(Aes).AssemblyQualifiedName, 231["ValidationAlgorithmType"] = typeof(HMACSHA1).AssemblyQualifiedName
TypeForwardingActivatorTests.cs (4)
55var name = type.AssemblyQualifiedName; 68var name = type.AssemblyQualifiedName; 94new TypeForwardingActivator(null).CreateInstance(typeof(object), type.AssemblyQualifiedName, out var forwarded); 116Assert.NotEqual(type.AssemblyQualifiedName, newName);
XmlEncryption\XmlEncryptionExtensionsTests.cs (6)
56var decryptorTypeName = typeof(MyXmlDecryptor).AssemblyQualifiedName; 85var decryptorTypeName = typeof(NullXmlDecryptor).AssemblyQualifiedName; 118var decryptorTypeName = typeof(NullXmlDecryptor).AssemblyQualifiedName; 225Assert.Equal(typeof(MyXmlDecryptor).AssemblyQualifiedName, (string)retVal.Attribute(XmlConstants.DecryptorTypeAttributeName)); 260typeof(MyXmlDecryptor).AssemblyQualifiedName); 309typeof(MyXmlDecryptor).AssemblyQualifiedName);
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (2)
MigrationsEndPointMiddleware.cs (1)
113var contextType = registeredContexts.FirstOrDefault(c => string.Equals(contextTypeName, c.AssemblyQualifiedName, StringComparison.Ordinal));
Views\DatabaseErrorPage.Designer.cs (1)
355Write(JavaScriptEncode(context.Type.AssemblyQualifiedName!));
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (1)
src\Identity\test\Shared\PriorityOrderer.cs (1)
52foreach (IAttributeInfo attr in testCase.TestMethod.Method.GetCustomAttributes((typeof(TestPriorityAttribute)).AssemblyQualifiedName))
Microsoft.AspNetCore.Identity.InMemory.Test (1)
src\Identity\test\Shared\PriorityOrderer.cs (1)
52foreach (IAttributeInfo attr in testCase.TestMethod.Method.GetCustomAttributes((typeof(TestPriorityAttribute)).AssemblyQualifiedName))
Microsoft.AspNetCore.Identity.Test (1)
src\Identity\test\Shared\PriorityOrderer.cs (1)
52foreach (IAttributeInfo attr in testCase.TestMethod.Method.GetCustomAttributes((typeof(TestPriorityAttribute)).AssemblyQualifiedName))
Microsoft.AspNetCore.InternalTesting.Tests (1)
TestableAspNetTestAssemblyRunner.cs (1)
59var attributeName = attribute.AttributeType.AssemblyQualifiedName;
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
TempDataInCookiesTest.cs (1)
47builder.Append(serializer.ImplementationType.AssemblyQualifiedName);
Microsoft.Build (5)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (2)
1040parameter.PropertyType.AssemblyQualifiedName); 1047parameterType = Type.GetType(parameter.PropertyType.AssemblyQualifiedName);
Instance\TaskRegistry.cs (1)
1792propertyTypeName = taskPropertyInfo.PropertyType.AssemblyQualifiedName;
LoadedType.cs (1)
106PropertyAssemblyQualifiedNames[i] = Properties[i].PropertyType.AssemblyQualifiedName;
ToolsetElement.cs (1)
80msbuildSection.SectionInformation.Type = typeof(ToolsetConfigurationSection).AssemblyQualifiedName;
Microsoft.Build.CommandLine.UnitTests (2)
ValidateAssemblyLoadContext.cs (2)
39Log.LogError($"Load context was a {thisLoadContext.GetType().AssemblyQualifiedName} instead of an {typeof(MSBuildLoadContext).AssemblyQualifiedName}");
Microsoft.Build.Tasks.Core (2)
ResourceHandling\LiveObjectResource.cs (1)
24public string TypeAssemblyQualifiedName => Value.GetType().AssemblyQualifiedName;
system.design\stronglytypedresourcebuilder.cs (1)
92TypeAssemblyQualifiedName = type.AssemblyQualifiedName;
Microsoft.Build.Utilities.Core (1)
ToolsetElement.cs (1)
80msbuildSection.SectionInformation.Type = typeof(ToolsetConfigurationSection).AssemblyQualifiedName;
Microsoft.CodeAnalysis (1)
CommandLine\CommonCompiler.cs (1)
870sb.Builder.Append(type.AssemblyQualifiedName);
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\LayeredServiceUtilities.cs (2)
21=> (type ?? throw new ArgumentNullException(argName)).AssemblyQualifiedName ?? throw new ArgumentException("Invalid service type", argName); 33var assemblyQualifiedName = serviceType.AssemblyQualifiedName;
Microsoft.CodeAnalysis.CSharp (1)
Compilation\CSharpCompilation.cs (1)
1777new object[] { type.AssemblyQualifiedName ?? "" },
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (1)
Debugger\Engine\DkmClrType.cs (1)
273return new DkmClrDebuggerDisplayAttribute(type.AssemblyQualifiedName)
Microsoft.CodeAnalysis.Features (1)
Completion\Providers\AbstractAggregateEmbeddedLanguageCompletionProvider.cs (1)
36var embeddedLanguageServiceType = typeof(IEmbeddedLanguagesProvider).AssemblyQualifiedName;
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
EditAndContinue\EditAndContinueTestVerifier.cs (1)
68.Single(e => e.Metadata.Language == languageName && e.Metadata.ServiceType == typeof(IEditAndContinueAnalyzer).AssemblyQualifiedName)
Microsoft.CodeAnalysis.InteractiveHost (1)
Interactive\Core\InteractiveHost.LazyRemoteService.cs (1)
212new object[] { Host._replServiceProviderType.AssemblyQualifiedName },
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
LspServices\AbstractExportLspServiceAttribute.cs (1)
75InterfaceNames = Array.ConvertAll(serviceType.GetInterfaces(), t => t.AssemblyQualifiedName!);
LspServices\LspServices.cs (1)
211if (lazyService.Metadata.InterfaceNames.Contains(typeof(T).AssemblyQualifiedName!))
Microsoft.CodeAnalysis.Remote.Workspaces (3)
VisualStudioMefHostServices.cs (3)
46var key = new ExportKey(typeof(TExtension).AssemblyQualifiedName!, typeof(TMetadata).AssemblyQualifiedName!); 63var key = new ExportKey(typeof(TExtension).AssemblyQualifiedName!, "");
Microsoft.CodeAnalysis.Workspaces (4)
Diagnostics\Extensions.cs (2)
77/// Cache of a <see cref="Type"/> to its <see cref="Type.AssemblyQualifiedName"/>. We cache this as the latter 89static type => type.AssemblyQualifiedName ?? throw ExceptionUtilities.UnexpectedValue(type));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\LayeredServiceUtilities.cs (2)
21=> (type ?? throw new ArgumentNullException(argName)).AssemblyQualifiedName ?? throw new ArgumentException("Invalid service type", argName); 33var assemblyQualifiedName = serviceType.AssemblyQualifiedName;
Microsoft.CodeAnalysis.Workspaces.Desktop (3)
Workspace\Host\Mef\MefV1HostServices.cs (3)
83var key = new ExportKey(typeof(TExtension).AssemblyQualifiedName, typeof(TMetadata).AssemblyQualifiedName); 100var key = new ExportKey(typeof(TExtension).AssemblyQualifiedName, "");
Microsoft.Extensions.Localization (2)
ResourceManagerStringLocalizerFactory.cs (2)
127if (!_localizerCache.TryGetValue(resourceSource.AssemblyQualifiedName!, out var localizer)) 135_localizerCache[resourceSource.AssemblyQualifiedName!] = localizer;
Microsoft.Maui.Controls.Xaml (2)
ApplyPropertiesVisitor.cs (2)
725 if ((method.IsAssembly || method.IsFamilyOrAssembly) && method.DeclaringType.AssemblyQualifiedName == rootElement.GetType().AssemblyQualifiedName)
MSBuild (1)
LoadedType.cs (1)
106PropertyAssemblyQualifiedNames[i] = Properties[i].PropertyType.AssemblyQualifiedName;
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\ReflectionHelper.cs (1)
343attrValue = typeValue.AssemblyQualifiedName;
PresentationFramework (6)
MS\Internal\AppModel\Journaling.cs (2)
618string typeName = pageFunction.GetType().AssemblyQualifiedName; 650Debug.Assert(contentObject.GetType().AssemblyQualifiedName == this._typeName,
MS\Internal\AppModel\ReturnEventSaver.cs (3)
73returnDelegate.GetType().AssemblyQualifiedName, 74returnDelegate.Target.GetType().AssemblyQualifiedName, 117if (!string.Equals(_returnList[i]._targetTypeName, caller.GetType().AssemblyQualifiedName, StringComparison.Ordinal))
System\Windows\Controls\ItemContainerGenerator.cs (1)
1118string aqn = sourceType.AssemblyQualifiedName;
System.ComponentModel.Composition (1)
System\ComponentModel\Composition\MetadataViewProvider.cs (1)
93proxyType!.AssemblyQualifiedName), ex);
System.ComponentModel.Primitives (10)
System\ComponentModel\Design\Serialization\DesignerSerializerAttribute.cs (3)
24SerializerTypeName = serializerType.AssemblyQualifiedName; 25SerializerBaseTypeName = baseSerializerType.AssemblyQualifiedName; 36SerializerBaseTypeName = baseSerializerType.AssemblyQualifiedName;
System\ComponentModel\DesignerAttribute.cs (4)
36DesignerTypeName = designerType.AssemblyQualifiedName!; 62DesignerBaseTypeName = designerBaseType.AssemblyQualifiedName!; 74DesignerTypeName = designerType.AssemblyQualifiedName!; 75DesignerBaseTypeName = designerBaseType.AssemblyQualifiedName!;
System\ComponentModel\EditorAttribute.cs (3)
47EditorBaseTypeName = baseType.AssemblyQualifiedName; 58EditorTypeName = type.AssemblyQualifiedName!; 59EditorBaseTypeName = baseType.AssemblyQualifiedName;
System.ComponentModel.TypeConverter (12)
System\ComponentModel\AttributeProviderAttribute.cs (1)
42TypeName = type.AssemblyQualifiedName;
System\ComponentModel\Design\DesigntimeLicenseContext.cs (3)
37_savedLicenseKeys[type.AssemblyQualifiedName!] = key; 62if (_savedLicenseKeys == null || _savedLicenseKeys[type.AssemblyQualifiedName!] == null) 132return (string?)_savedLicenseKeys[type.AssemblyQualifiedName!];
System\ComponentModel\Design\Serialization\DefaultSerializationProviderAttribute.cs (1)
23ProviderTypeName = providerType.AssemblyQualifiedName!;
System\ComponentModel\Design\Serialization\RootDesignerSerializerAttribute.cs (3)
25SerializerTypeName = serializerType.AssemblyQualifiedName; 26SerializerBaseTypeName = baseSerializerType.AssemblyQualifiedName; 38SerializerBaseTypeName = baseSerializerType.AssemblyQualifiedName;
System\ComponentModel\InstallerTypeAttribute.cs (1)
24_typeName = installerType.AssemblyQualifiedName;
System\ComponentModel\LicenseManager.LicenseInteropHelper.cs (1)
75_savedLicenseKeys[type.AssemblyQualifiedName!] = key;
System\ComponentModel\ProvidePropertyAttribute.cs (1)
24ReceiverTypeName = receiverType.AssemblyQualifiedName!;
System\ComponentModel\ToolboxItemAttribute.cs (1)
72_toolboxItemTypeName = toolboxItemType.AssemblyQualifiedName;
System.Configuration.ConfigurationManager (6)
System\Configuration\BaseConfigurationRecord.cs (1)
2407typeof(DefaultSection).AssemblyQualifiedName,
System\Configuration\Internal\InternalConfigHost.cs (1)
182return t.AssemblyQualifiedName;
System\Configuration\SettingsProviderAttribute.cs (1)
29_providerTypeName = providerType.AssemblyQualifiedName;
System\Configuration\TypeNameConverter.cs (1)
18if (value != null) result = ((Type)value).AssemblyQualifiedName;
System\Configuration\TypeUtil.cs (1)
151throw new TypeLoadException(SR.Format(SR.TypeNotPublic, type.AssemblyQualifiedName));
System\Diagnostics\TraceConfiguration.cs (1)
132return sourceElement.SwitchType != currentType.AssemblyQualifiedName;
System.Data.Common (12)
System\Data\ColumnTypeConverter.cs (1)
99return new InstanceDescriptor(method, new object[] { ((Type)newValue).AssemblyQualifiedName! });
System\Data\Common\DataStorage.cs (1)
597return type.AssemblyQualifiedName!;
System\Data\Common\DbProviderFactories.cs (1)
129string factoryTypeAssemblyQualifiedName = factory.GetType().AssemblyQualifiedName!;
System\Data\Common\ObjectStorage.cs (1)
474return ((Type)value).AssemblyQualifiedName!;
System\Data\Common\SqlUDTStorage.cs (2)
57throw ExceptionBuilder.INullableUDTwithoutStaticNull(type.AssemblyQualifiedName!); 93throw ExceptionBuilder.IComparableNotImplemented(_dataType.AssemblyQualifiedName!);
System\Data\DataException.cs (2)
374public static Exception TypeNotAllowed(Type type) => _InvalidOperation(SR.Format(SR.Data_TypeNotAllowed, type.AssemblyQualifiedName)); 517public static Exception InvalidDataColumnMapping(Type type) => _Argument(SR.Format(SR.DataColumn_InvalidDataColumnMapping, type.AssemblyQualifiedName));
System\Data\DataRow.cs (1)
1199throw ExceptionBuilder.UDTImplementsIChangeTrackingButnotIRevertible(dc.DataType.AssemblyQualifiedName!);
System\Data\DataTable.cs (1)
397info.AddValue(string.Format(formatProvider, "DataTable.DataColumn_{0}.DataType_AssemblyQualifiedName", i), Columns[i].DataType.AssemblyQualifiedName);
System\Data\xmlsaver.cs (2)
2620throw ExceptionBuilder.PolymorphismNotSupported(valuesType.AssemblyQualifiedName!); 3053throw ExceptionBuilder.PolymorphismNotSupported(valuesType.AssemblyQualifiedName!);
System.Formats.Nrbf (1)
System\Formats\Nrbf\ArrayRecord.cs (1)
80throw new InvalidOperationException(SR.Format(SR.Serialization_TypeMismatch, expectedArrayType.AssemblyQualifiedName, TypeName.AssemblyQualifiedName));
System.ObjectModel (3)
System\ComponentModel\TypeConverterAttribute.cs (1)
39ConverterTypeName = type.AssemblyQualifiedName!;
System\ComponentModel\TypeDescriptionProviderAttribute.cs (1)
28TypeName = type.AssemblyQualifiedName!;
System\Windows\Markup\ValueSerializerAttribute.cs (1)
69return _valueSerializerType.AssemblyQualifiedName!;
System.Private.CoreLib (14)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\DebuggerDisplayAttribute.cs (1)
40TargetTypeName = value.AssemblyQualifiedName;
src\libraries\System.Private.CoreLib\src\System\Diagnostics\DebuggerTypeProxyAttribute.cs (2)
18ProxyTypeName = type.AssemblyQualifiedName!; 39TargetTypeName = value.AssemblyQualifiedName;
src\libraries\System.Private.CoreLib\src\System\Diagnostics\DebuggerVisualizerAttribute.cs (6)
38VisualizerObjectSourceTypeName = visualizerObjectSource.AssemblyQualifiedName; 46VisualizerTypeName = visualizer.AssemblyQualifiedName!; 56VisualizerTypeName = visualizer.AssemblyQualifiedName!; 57VisualizerObjectSourceTypeName = visualizerObjectSource.AssemblyQualifiedName; 66VisualizerTypeName = visualizer.AssemblyQualifiedName!; 85TargetTypeName = value.AssemblyQualifiedName;
src\libraries\System.Private.CoreLib\src\System\Reflection\ModifiedType.cs (1)
95public override string? AssemblyQualifiedName => _unmodifiedType.AssemblyQualifiedName;
src\libraries\System.Private.CoreLib\src\System\Reflection\TypeDelegator.cs (1)
57public override string? AssemblyQualifiedName => typeImpl.AssemblyQualifiedName;
src\libraries\System.Private.CoreLib\src\System\Resources\FileBasedResourceGroveler.cs (1)
103throw new InvalidOperationException(SR.Format(SR.InvalidOperation_ResMgrBadResSet_Type, _mediator.UserResourceSet.AssemblyQualifiedName), e);
src\libraries\System.Private.CoreLib\src\System\Resources\ManifestBasedResourceGroveler.cs (1)
265throw new InvalidOperationException(SR.Format(SR.InvalidOperation_ResMgrBadResSet_Type, _mediator.UserResourceSet.AssemblyQualifiedName), e);
src\System\Reflection\Emit\CustomAttributeBuilder.cs (1)
329EmitString(writer, type.AssemblyQualifiedName!);
System.Private.DataContractSerialization (3)
System\Runtime\Serialization\DataContractSet.cs (3)
116throw new InvalidOperationException(SR.Format(SR.DupTypeContractInDataContractSet, (typeNamesEqual ? dataContract.UnderlyingType.AssemblyQualifiedName : DataContract.GetClrTypeFullName(dataContract.UnderlyingType)), (typeNamesEqual ? dataContractInSet.UnderlyingType.AssemblyQualifiedName : DataContract.GetClrTypeFullName(dataContractInSet.UnderlyingType)), dataContract.XmlName.Name, dataContract.XmlName.Namespace)); 595errorMessage.AppendFormat("{0}\"{1}\" ", Environment.NewLine, conflictingType.AssemblyQualifiedName);
System.Private.Xml (3)
System\Xml\Serialization\CodeGenerator.cs (3)
869throw new NotSupportedException(SR.Format(SR.UnknownConstantType, valueType.AssemblyQualifiedName)); 1041throw new InvalidOperationException(SR.Format(SR.ArrayTypeIsNotSupported, arrayElementType.AssemblyQualifiedName)); 1086throw new InvalidOperationException(SR.Format(SR.ArrayTypeIsNotSupported, arrayElementType.AssemblyQualifiedName));
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingType.cs (1)
34get { return _typeInfo.AssemblyQualifiedName; }
System.Runtime.Serialization.Schema (3)
System\Runtime\Serialization\Schema\CodeExporter.cs (3)
551throw ExceptionUtil.ThrowHelperError(new InvalidOperationException(SR.Format(SR.ReferencedTypeDoesNotMatch, type.AssemblyQualifiedName, dataContract.XmlName.Name, dataContract.XmlName.Namespace))); 569throw ExceptionUtil.ThrowHelperError(new InvalidOperationException(SR.Format(SR.ReferencedTypeDoesNotMatch, type.AssemblyQualifiedName, dataContract.XmlName.Name, dataContract.XmlName.Namespace))); 580type?.AssemblyQualifiedName,
System.Security.Cryptography.Xml (6)
System\Security\Cryptography\Xml\DSASignatureDescription.cs (3)
14KeyAlgorithm = typeof(DSA).AssemblyQualifiedName; 15FormatterAlgorithm = typeof(DSASignatureFormatter).AssemblyQualifiedName; 16DeformatterAlgorithm = typeof(DSASignatureDeformatter).AssemblyQualifiedName;
System\Security\Cryptography\Xml\RSAPKCS1SignatureDescription.cs (3)
12KeyAlgorithm = typeof(RSA).AssemblyQualifiedName; 13FormatterAlgorithm = typeof(RSAPKCS1SignatureFormatter).AssemblyQualifiedName; 14DeformatterAlgorithm = typeof(RSAPKCS1SignatureDeformatter).AssemblyQualifiedName;
System.Windows.Forms (3)
misc\MultitargetUtil.cs (1)
35return string.IsNullOrEmpty(assemblyQualifiedName) ? type.AssemblyQualifiedName : assemblyQualifiedName;
System\Windows\Forms\Control.cs (1)
11199string type = GetType().AssemblyQualifiedName!;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
1251=> $@"object = ({FullLabel}), property = ({PropertyLabel},{(PropertyType ?? typeof(object)).AssemblyQualifiedName})
System.Windows.Forms.Design (3)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
67typeName.Append(GetReflectionTypeFromTypeHelper(manager, t).AssemblyQualifiedName);
System\Windows\Forms\Design\ControlCodeDomSerializer.cs (2)
255string? componentTypeName = multiTargetHelper is null ? component.GetType().AssemblyQualifiedName : multiTargetHelper.GetAssemblyQualifiedName(component.GetType()); 275SerializeResourceInvariant(manager, $">>{name}.Type", multiTargetHelper is null ? control.GetType().AssemblyQualifiedName : multiTargetHelper.GetAssemblyQualifiedName(control.GetType()));
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\Serialization\DesignerSerializationManagerTests.cs (1)
1537yield return new object[] { typeof(NestedClass).AssemblyQualifiedName, typeof(NestedClass) };
System.Windows.Forms.Tests (52)
System\Resources\ResXResourceWriterTests.cs (1)
16private readonly Func<Type, string> _typeNameConverter = type => type?.AssemblyQualifiedName ?? string.Empty;
System\Windows\Forms\BinaryFormatUtilitiesTests.cs (2)
1047(typeof(MyClass1), TypeName.Parse(typeof(MyClass1).AssemblyQualifiedName)), 1048(typeof(MyClass2), TypeName.Parse(typeof(MyClass2).AssemblyQualifiedName))
System\Windows\Forms\ClipboardTests.cs (3)
1065typeof(SimpleTestData).AssemblyQualifiedName.Should().NotBe(checkedResult.AssemblyQualifiedName); 1140if (typeof(T).AssemblyQualifiedName != _formatToTypeName[format]) 1159_formatToTypeName.Add(format, data!.GetType().AssemblyQualifiedName!);
System\Windows\Forms\FeatureSupportTests.cs (23)
72yield return new object[] { typeof(NonIFeatureSupportClass).AssemblyQualifiedName, nameof(NonIFeatureSupportClass.s_field), null }; 75yield return new object[] { typeof(IFeatureSupportClass).AssemblyQualifiedName, "NoSuchField", null }; 76yield return new object[] { typeof(IFeatureSupportClass).AssemblyQualifiedName, "_privateField", null }; 77yield return new object[] { typeof(IFeatureSupportClass).AssemblyQualifiedName, "s_privateField", null }; 78yield return new object[] { typeof(IFeatureSupportClass).AssemblyQualifiedName, nameof(IFeatureSupportClass.s_field), new Version(1, 2, 3, 4) }; 93Assert.Throws<TargetException>(() => FeatureSupport.GetVersionPresent(featureClassType.AssemblyQualifiedName, featureConstName)); 105yield return new object[] { typeof(NonIFeatureSupportClass).AssemblyQualifiedName, nameof(NonIFeatureSupportClass.s_field), false }; 108yield return new object[] { typeof(IFeatureSupportClass).AssemblyQualifiedName, "NoSuchField", false }; 109yield return new object[] { typeof(IFeatureSupportClass).AssemblyQualifiedName, "_privateField", false }; 110yield return new object[] { typeof(IFeatureSupportClass).AssemblyQualifiedName, "s_privateField", false }; 111yield return new object[] { typeof(IFeatureSupportClass).AssemblyQualifiedName, nameof(IFeatureSupportClass.s_zeroVersionField), true }; 112yield return new object[] { typeof(IFeatureSupportClass).AssemblyQualifiedName, nameof(IFeatureSupportClass.s_nonZeroVersionField), true }; 131yield return new object[] { typeof(NonIFeatureSupportClass).AssemblyQualifiedName, nameof(NonIFeatureSupportClass.s_field), new Version(1, 2, 3, 4), false }; 134yield return new object[] { typeof(IFeatureSupportClass).AssemblyQualifiedName, "NoSuchField", new Version(1, 2, 3, 4), false }; 135yield return new object[] { typeof(IFeatureSupportClass).AssemblyQualifiedName, "_privateField", new Version(1, 2, 3, 4), false }; 136yield return new object[] { typeof(IFeatureSupportClass).AssemblyQualifiedName, "s_privateField", new Version(1, 2, 3, 4), false }; 137yield return new object[] { typeof(IFeatureSupportClass).AssemblyQualifiedName, nameof(IFeatureSupportClass.s_zeroVersionField), new Version(0, 0, 0, 0), true }; 138yield return new object[] { typeof(IFeatureSupportClass).AssemblyQualifiedName, nameof(IFeatureSupportClass.s_zeroVersionField), new Version(1, 2, 3, 4), false }; 139yield return new object[] { typeof(IFeatureSupportClass).AssemblyQualifiedName, nameof(IFeatureSupportClass.s_nonZeroVersionField), new Version(0, 0, 0, 0), true }; 140yield return new object[] { typeof(IFeatureSupportClass).AssemblyQualifiedName, nameof(IFeatureSupportClass.s_nonZeroVersionField), new Version(1, 2, 3, 4), true }; 141yield return new object[] { typeof(IFeatureSupportClass).AssemblyQualifiedName, nameof(IFeatureSupportClass.s_nonZeroVersionField), new Version(2, 3, 4, 5), false }; 156Assert.Throws<TargetException>(() => FeatureSupport.IsPresent(featureClassType.AssemblyQualifiedName, featureConstName)); 157Assert.Throws<TargetException>(() => FeatureSupport.IsPresent(featureClassType.AssemblyQualifiedName, featureConstName, new Version(1, 2, 3, 4)));
System\Windows\Forms\TypeExtensionsTests.cs (1)
18{ typeof(int), TypeName.Parse(typeof(int).AssemblyQualifiedName), false },
System\Windows\Forms\TypeNameComparerTests.cs (22)
16{ TypeName.Parse(typeof(int).AssemblyQualifiedName), typeof(int) }, 18{ TypeName.Parse(typeof(int[]).AssemblyQualifiedName), typeof(int[]) }, 20{ TypeName.Parse(typeof(List<int>).AssemblyQualifiedName), typeof(List<int>) }, 22{ TypeName.Parse(typeof(TestType).AssemblyQualifiedName), typeof(TestType) }, 32{ TypeName.Parse(typeof(int).AssemblyQualifiedName), typeof(int) }, 33{ TypeName.Parse(typeof(int[]).AssemblyQualifiedName), typeof(int[]) }, 34{ TypeName.Parse(typeof(List<int>).AssemblyQualifiedName), typeof(List<int>) }, 35{ TypeName.Parse(typeof(TestType).AssemblyQualifiedName), typeof(TestType) }, 57{ TypeName.Parse(typeof(int).AssemblyQualifiedName), typeof(int) }, 58{ TypeName.Parse(typeof(int[]).AssemblyQualifiedName), typeof(int[]) }, 59{ TypeName.Parse(typeof(List<int>).AssemblyQualifiedName), typeof(List<int>) }, 60{ TypeName.Parse(typeof(TestType).AssemblyQualifiedName), typeof(TestType) }, 71{ TypeName.Parse(typeof(int).AssemblyQualifiedName), typeof(int) }, 72{ TypeName.Parse(typeof(int[]).AssemblyQualifiedName), typeof(int[]) }, 73{ TypeName.Parse(typeof(List<int>).AssemblyQualifiedName), typeof(List<int>) }, 74{ TypeName.Parse(typeof(TestType).AssemblyQualifiedName), typeof(TestType) }, 77TypeName name = TypeName.Parse(typeof(int).AssemblyQualifiedName); 90comparer.Equals(null, TypeName.Parse(typeof(int).AssemblyQualifiedName)).Should().BeFalse(); 91comparer.Equals(TypeName.Parse(typeof(int).AssemblyQualifiedName), null).Should().BeFalse(); 93TypeName.Parse(typeof(int).AssemblyQualifiedName), 102int hash = comparer.GetHashCode(TypeName.Parse(typeof(int).AssemblyQualifiedName)); 103comparer.GetHashCode(TypeName.Parse(typeof(int).AssemblyQualifiedName)).Should().Be(hash);
System.Xaml (3)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\ReflectionHelper.cs (1)
343attrValue = typeValue.AssemblyQualifiedName;
System\Windows\Markup\XamlDeferLoadAttribute.cs (2)
14LoaderTypeName = loaderType.AssemblyQualifiedName!; 15ContentTypeName = contentType.AssemblyQualifiedName!;
System.Xaml.Tests (2)
System\Windows\Markup\XamlDeferLoadAttributeTests.cs (2)
18Assert.Equal(loaderType.AssemblyQualifiedName, attribute.LoaderTypeName); 20Assert.Equal(contentType.AssemblyQualifiedName, attribute.ContentTypeName);