17 references to GetCallingAssembly
illink (2)
Microsoft.AspNetCore.Server.IntegrationTesting (3)
Common\DeploymentParameters.cs (3)
18var configAttribute = Assembly.GetCallingAssembly().GetCustomAttribute<AssemblyConfigurationAttribute>(); 29var configAttribute = Assembly.GetCallingAssembly().GetCustomAttribute<AssemblyConfigurationAttribute>(); 68var configAttribute = Assembly.GetCallingAssembly().GetCustomAttribute<AssemblyConfigurationAttribute>();
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (2)
src\SignalR\common\Shared\TestCertificates.cs (2)
35var certPath = Path.Combine(Path.GetDirectoryName(Assembly.GetCallingAssembly().Location), "TestCertificates", "testCert.pfx"); 41var certPath = Path.Combine(Path.GetDirectoryName(Assembly.GetCallingAssembly().Location), "TestCertificates", "testCertECC.pfx");
Microsoft.ML.GenAI.Core (1)
Utils.cs (1)
168var assembly = Assembly.GetCallingAssembly();
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\CompilerServices\ProjectData.vb (1)
181FileSystem.CloseAllFiles(System.Reflection.Assembly.GetCallingAssembly())
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\ApplicationServices\WindowsFormsApplicationBase.vb (1)
1043Dim applicationInstanceID As String = GetApplicationInstanceID(Assembly.GetCallingAssembly)
Microsoft.VisualBasic.Tests (1)
Microsoft\VisualBasic\ApplicationServices\ApplicationBaseTests.cs (1)
80var assembly = System.Reflection.Assembly.GetEntryAssembly() ?? System.Reflection.Assembly.GetCallingAssembly();
PresentationFramework (1)
MS\Internal\Documents\DocumentsTrace.cs (1)
123string name = SafeSecurityHelper.GetAssemblyPartialName( Assembly.GetCallingAssembly() );
SignalR.Client.FunctionalTestApp (2)
src\SignalR\common\Shared\TestCertificates.cs (2)
35var certPath = Path.Combine(Path.GetDirectoryName(Assembly.GetCallingAssembly().Location), "TestCertificates", "testCert.pfx"); 41var certPath = Path.Combine(Path.GetDirectoryName(Assembly.GetCallingAssembly().Location), "TestCertificates", "testCertECC.pfx");
System.Private.CoreLib (2)
src\System\Reflection\Emit\RuntimeAssemblyBuilder.cs (2)
25=> DefineDynamicAssembly(name, access, null, GetCallingAssembly()); 33=> DefineDynamicAssembly(name, access, assemblyAttributes, GetCallingAssembly());
System.Windows.Forms.Primitives.TestUtilities (1)
Win32\WindowClass.cs (1)
79Marshal.GetHINSTANCE(Assembly.GetCallingAssembly().Modules.First());