PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Assembly­Name­Extensions Class / Assembly­Name­Extensions Methods / Assembly­Name­Extensions.​Get­Reference­Name Method

AssemblyNameExtensions.GetReferenceName Method

Returns a string that can be passed to Load(AssemblyName)

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public static string GetReferenceName(
	this IAssemblyName assemblyName
)

Parameters

assemblyName
Type: IAssemblyName

Return Value

Type: String

[Missing <returns> documentation for "M:PostSharp.Sdk.CodeModel.AssemblyNameExtensions.GetReferenceName(PostSharp.Reflection.IAssemblyName)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IAssemblyName. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also