296 instantiations of AssemblyName
Aspire.Hosting.Tests (5)
dotnet-format (2)
dotnet-svcutil.xmlserializer (1)
dotnet-svcutil-lib (3)
GetDocument.Insider (2)
ILLink.RoslynAnalyzer (1)
LocalizationWebsite (2)
Microsoft.AspNetCore (2)
Microsoft.AspNetCore.Hosting (4)
Microsoft.AspNetCore.InternalTesting.Tests (1)
Microsoft.AspNetCore.Mvc.Core (2)
Microsoft.AspNetCore.Mvc.Core.Test (4)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (1)
Microsoft.AspNetCore.Server.IIS (1)
Microsoft.AspNetCore.SignalR.Core (1)
Microsoft.Build (7)
Microsoft.Build.Engine.UnitTests (13)
Microsoft.Build.Framework (1)
Microsoft.Build.Tasks.Core (15)
Microsoft.Build.Tasks.UnitTests (11)
Microsoft.Cci.Extensions (2)
Microsoft.CodeAnalysis.Analyzers (1)
Microsoft.CodeAnalysis.BannedApiAnalyzers (1)
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.ExternalAccess.Razor.UnitTests (5)
Microsoft.CodeAnalysis.LanguageServer (1)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Microsoft.CodeAnalysis.Scripting (2)
Microsoft.CodeAnalysis.Scripting.Desktop.UnitTests (4)
Microsoft.CodeAnalysis.Test.Utilities (4)
Microsoft.CodeAnalysis.UnitTests (19)
Microsoft.CodeAnalysis.Workspaces (1)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Microsoft.CSharp (1)
Microsoft.DotNet.ApiCompat.Tests (1)
Microsoft.DotNet.RemoteExecutor (1)
Microsoft.Extensions.DependencyModel (2)
Microsoft.Extensions.DotNetDeltaApplier.Tests (19)
HotReloadAgentTest.cs (19)
40var assembly2 = GetAssembly("System.Text.Json", new[] { new AssemblyName("System.Private.CoreLib"), });
41var assembly3 = GetAssembly("Microsoft.AspNetCore.Components", new[] { new AssemblyName("System.Private.CoreLib"), });
42var assembly4 = GetAssembly("Microsoft.AspNetCore.Components.Web", new[] { new AssemblyName("Microsoft.AspNetCore.Components"), new AssemblyName("System.Text.Json"), });
55var assembly2 = GetAssembly("System.Text.Json", new[] { new AssemblyName("netstandard"), new AssemblyName("System.Private.CoreLib"), });
56var assembly3 = GetAssembly("Microsoft.AspNetCore.Components", new[] { new AssemblyName("System.Private.CoreLib"), new AssemblyName("Microsoft.Extensions.DependencyInjection"), });
57var assembly4 = GetAssembly("Microsoft.AspNetCore.Components.Web", new[] { new AssemblyName("Microsoft.AspNetCore.Components"), new AssemblyName("System.Text.Json"), });
70var assembly2 = GetAssembly("System.Text.Json", new[] { new AssemblyName("System.Collections.Immutable"), new AssemblyName("System.Private.CoreLib"), });
71var assembly3 = GetAssembly("System.Collections.Immutable", new[] { new AssemblyName("System.Text.Json"), new AssemblyName("System.Private.CoreLib"), });
72var assembly4 = GetAssembly("Microsoft.AspNetCore.Components", new[] { new AssemblyName("System.Private.CoreLib"), new AssemblyName("Microsoft.Extensions.DependencyInjection"), });
73var assembly5 = GetAssembly("Microsoft.AspNetCore.Components.Web", new[] { new AssemblyName("Microsoft.AspNetCore.Components"), new AssemblyName("System.Text.Json"), });
170assembly.Setup(a => a.GetName()).Returns(new AssemblyName(fullName));
Microsoft.Extensions.FileProviders.Embedded.Tests (1)
Microsoft.Extensions.Hosting (1)
Microsoft.Extensions.Localization (2)
Microsoft.Extensions.Localization.Tests (3)
Microsoft.Maui.Controls.SourceGen (1)
Microsoft.NET.Build.Tasks (1)
Microsoft.NET.Sdk.Razor.Tasks (1)
Microsoft.VisualBasic.Tests (1)
Microsoft.VisualStudio.LanguageServices (1)
MSBuild (6)
MSBuildTaskHost (5)
PresentationBuildTasks (2)
PresentationCore (3)
PresentationFramework (7)
Roslyn.Diagnostics.Analyzers (1)
System.ComponentModel.Composition (2)
System.Linq.Expressions (1)
System.Private.CoreLib (10)
System.Private.Windows.Core (1)
System.Private.Xml (3)
System.Reflection.DispatchProxy (2)
System.Reflection.Metadata (2)
System.Reflection.MetadataLoadContext (7)
System.Resources.Extensions (2)
System.Runtime.InteropServices (1)
System.Runtime.Serialization.Formatters (1)
System.Windows.Forms (6)
System.Windows.Forms.Design (1)
System.Windows.Forms.Design.Tests (39)
System.Xaml (12)
System.Xaml.Tests (17)
TaskUsageLogger (1)
Text.Analyzers (1)
UIAutomationClient (2)
xunit.console (1)
780 references to AssemblyName
dotnet-svcutil.xmlserializer (4)
dotnet-svcutil-lib (6)
dotnet-watch.Tests (1)
GetDocument.Insider (1)
illink (5)
src\tools\illink\src\ILLink.Shared\TrimAnalysis\IntrinsicId.cs (5)
69/// <item><see cref="System.Type.GetType(string, System.Func{System.Reflection.AssemblyName, System.Reflection.Assembly?}?, System.Func{System.Reflection.Assembly?, string, bool, System.Type?}?)"/></item>
70/// <item><see cref="System.Type.GetType(string, System.Func{System.Reflection.AssemblyName, System.Reflection.Assembly?}?, System.Func{System.Reflection.Assembly?, string, bool, System.Type?}?, bool)"/></item>
71/// <item><see cref="System.Type.GetType(string, System.Func{System.Reflection.AssemblyName, System.Reflection.Assembly?}?, System.Func{System.Reflection.Assembly?, string, bool, System.Type?}?, bool, bool)"/></item>
312/// <see cref="System.Reflection.AssemblyName.CodeBase"/>
316/// <see cref="System.Reflection.AssemblyName.EscapedCodeBase"/>
ILLink.RoslynAnalyzer (11)
src\tools\illink\src\ILLink.Shared\TrimAnalysis\IntrinsicId.cs (5)
69/// <item><see cref="System.Type.GetType(string, System.Func{System.Reflection.AssemblyName, System.Reflection.Assembly?}?, System.Func{System.Reflection.Assembly?, string, bool, System.Type?}?)"/></item>
70/// <item><see cref="System.Type.GetType(string, System.Func{System.Reflection.AssemblyName, System.Reflection.Assembly?}?, System.Func{System.Reflection.Assembly?, string, bool, System.Type?}?, bool)"/></item>
71/// <item><see cref="System.Type.GetType(string, System.Func{System.Reflection.AssemblyName, System.Reflection.Assembly?}?, System.Func{System.Reflection.Assembly?, string, bool, System.Type?}?, bool, bool)"/></item>
312/// <see cref="System.Reflection.AssemblyName.CodeBase"/>
316/// <see cref="System.Reflection.AssemblyName.EscapedCodeBase"/>
installer.tasks (2)
Microsoft.AspNetCore.App.UnitTests (4)
Microsoft.AspNetCore.DataProtection.Tests (1)
Microsoft.AspNetCore.InternalTesting (2)
Microsoft.AspNetCore.InternalTesting.Tests (1)
Microsoft.AspNetCore.Mvc.Core (2)
Microsoft.AspNetCore.Mvc.Core.Test (4)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (1)
Microsoft.AspNetCore.SignalR.Core (1)
Microsoft.Build (25)
Microsoft.Build.Engine.UnitTests (16)
Microsoft.Build.Framework (3)
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (1)
Microsoft.Build.Tasks.Core (46)
Microsoft.Build.Tasks.UnitTests (8)
Microsoft.Cci.Extensions (2)
Microsoft.CodeAnalysis (31)
DiagnosticAnalyzer\AnalyzerAssemblyLoader.Core.cs (8)
81private partial Assembly Load(AssemblyName assemblyName, string resolvedPath)
114private string? GetAssemblyLoadPath(AssemblyName assemblyName, string directory)
153private partial bool IsMatch(AssemblyName requestedName, AssemblyName candidateName) =>
186protected override Assembly? Load(AssemblyName assemblyName)
232public Assembly? Resolve(AnalyzerAssemblyLoader loader, AssemblyName assemblyName, AssemblyLoadContext directoryContext, string directory)
250public Assembly? Resolve(AnalyzerAssemblyLoader loader, AssemblyName assemblyName, AssemblyLoadContext directoryContext, string directory)
270public Assembly? Resolve(AnalyzerAssemblyLoader loader, AssemblyName assemblyName, AssemblyLoadContext directoryContext, string directory)
Microsoft.CodeAnalysis.Analyzers (2)
Microsoft.CodeAnalysis.BannedApiAnalyzers (2)
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (3)
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (5)
RazorAnalyzerAssemblyResolver.cs (5)
32public Assembly? Resolve(AnalyzerAssemblyLoader loader, AssemblyName assemblyName, AssemblyLoadContext directoryContext, string directory) =>
35public static Assembly? ResolveRazorAssembly(AssemblyName assemblyName, string rootDirectory) =>
45internal static Assembly? ResolveCore(AssemblyLoadContext compilerLoadContext, AssemblyName assemblyName, string directory)
68return LoadAssembly(compilerLoadContext, AssemblyName.GetAssemblyName(onDiskName), directory);
73static Assembly? LoadAssembly(AssemblyLoadContext compilerLoadContext, AssemblyName assemblyName, string directory)
Microsoft.CodeAnalysis.Features (1)
Microsoft.CodeAnalysis.LanguageServer (9)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (2)
Microsoft.CodeAnalysis.Remote.ServiceHub (2)
Microsoft.CodeAnalysis.Scripting (15)
Microsoft.CodeAnalysis.Scripting.Desktop.UnitTests (1)
Microsoft.CodeAnalysis.Test.Utilities (5)
Microsoft.CodeAnalysis.UnitTests (27)
AnalyzerAssemblyLoaderTests.cs (6)
471var name = AssemblyName.GetAssemblyName(x);
1845private class TestAnalyzerAssemblyResolver(Func<AnalyzerAssemblyLoader, AssemblyName, AssemblyLoadContext, string, Assembly?> resolveFunc) : IAnalyzerAssemblyResolver
1847private readonly Func<AnalyzerAssemblyLoader, AssemblyName, AssemblyLoadContext, string, Assembly?> _resolveFunc = resolveFunc;
1849public List<AssemblyName> CalledFor { get; } = [];
1851public Assembly? Resolve(AnalyzerAssemblyLoader loader, AssemblyName assemblyName, AssemblyLoadContext directoryContext, string directory)
Microsoft.CodeAnalysis.Workspaces (30)
src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerAssemblyLoader.Core.cs (8)
81private partial Assembly Load(AssemblyName assemblyName, string resolvedPath)
114private string? GetAssemblyLoadPath(AssemblyName assemblyName, string directory)
153private partial bool IsMatch(AssemblyName requestedName, AssemblyName candidateName) =>
186protected override Assembly? Load(AssemblyName assemblyName)
232public Assembly? Resolve(AnalyzerAssemblyLoader loader, AssemblyName assemblyName, AssemblyLoadContext directoryContext, string directory)
250public Assembly? Resolve(AnalyzerAssemblyLoader loader, AssemblyName assemblyName, AssemblyLoadContext directoryContext, string directory)
270public Assembly? Resolve(AnalyzerAssemblyLoader loader, AssemblyName assemblyName, AssemblyLoadContext directoryContext, string directory)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (2)
Microsoft.CSharp (2)
Microsoft.DotNet.ApiCompat.Task (2)
Microsoft.DotNet.ApiCompat.Tests (2)
Microsoft.DotNet.ApiCompat.Tool (2)
Microsoft.DotNet.Arcade.Sdk (1)
Microsoft.DotNet.GenFacades (2)
Microsoft.DotNet.HotReload.Agent.Package (5)
Microsoft.DotNet.HotReload.WebAssembly.Browser (5)
Microsoft.DotNet.SharedFramework.Sdk (1)
Microsoft.DotNet.SignTool (2)
Microsoft.Extensions.DependencyModel (6)
Microsoft.Extensions.DotNetDeltaApplier (5)
Microsoft.Extensions.DotNetDeltaApplier.Tests (4)
Microsoft.Extensions.FileProviders.Embedded.Tests (1)
Microsoft.Extensions.Localization (2)
Microsoft.Extensions.Localization.Tests (1)
Microsoft.Maui.Controls (1)
Microsoft.ML.Core (1)
Microsoft.NET.Build.Tasks (1)
Microsoft.NET.Build.Tests (4)
Microsoft.NET.Sdk.BlazorWebAssembly.Tasks (1)
Microsoft.NET.Sdk.Publish.Tasks (1)
Microsoft.NET.Sdk.Razor.Tests (2)
Microsoft.VisualBasic.Tests (2)
Microsoft.VisualStudio.LanguageServices (1)
MSBuild (15)
MSBuildTaskHost (17)
mscorlib (1)
netstandard (1)
PresentationBuildTasks (2)
PresentationCore (9)
PresentationFramework (6)
Roslyn.Diagnostics.Analyzers (2)
rzc (1)
System.ComponentModel.Composition (12)
System.ComponentModel.TypeConverter (4)
System.Configuration.ConfigurationManager (2)
System.IO.IsolatedStorage (2)
System.Linq.Expressions (1)
System.Private.CoreLib (63)
System.Private.Windows.Core (4)
System.Private.Xml (9)
System.Reflection (1)
System.Reflection.Context (3)
System.Reflection.Emit (6)
System.Reflection.Metadata (17)
System.Reflection.MetadataLoadContext (16)
System.Resources.Extensions (4)
System.Runtime (1)
System.Runtime.Serialization.Schema (1)
System.Text.Json.SourceGeneration (1)
System.Text.RegularExpressions (4)
System.Windows.Extensions (2)
System.Windows.Forms (35)
System.Windows.Forms.Design (35)
System.Windows.Forms.Design.Tests (97)
System.Windows.Forms.Tests (4)
System.Xaml (32)
System.Xaml.Tests (12)
TaskUsageLogger (1)
Text.Analyzers (2)
UIAutomationClient (6)
VBCSCompiler.UnitTests (2)
xunit.console (2)
Xunit.NetCore.Extensions (2)