PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Assembly­Processor­Architecture­Extensions Class / Assembly­Processor­Architecture­Extensions Methods / Assembly­Processor­Architecture­Extensions.​Get­Int­Ptr­Size Method

AssemblyProcessorArchitectureExtensions.GetIntPtrSize Method

[Missing <summary> documentation for "M:PostSharp.Sdk.CodeModel.AssemblyProcessorArchitectureExtensions.GetIntPtrSize(PostSharp.Reflection.AssemblyProcessorArchitecture)"]

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 Nullable<int> GetIntPtrSize(
	this AssemblyProcessorArchitecture processorArchitecture
)

Parameters

processorArchitecture
Type: AssemblyProcessorArchitecture

[Missing <param name="processorArchitecture"/> documentation for "M:PostSharp.Sdk.CodeModel.AssemblyProcessorArchitectureExtensions.GetIntPtrSize(PostSharp.Reflection.AssemblyProcessorArchitecture)"]

Return Value

Type: Nullable<Int32>

[Missing <returns> documentation for "M:PostSharp.Sdk.CodeModel.AssemblyProcessorArchitectureExtensions.GetIntPtrSize(PostSharp.Reflection.AssemblyProcessorArchitecture)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type AssemblyProcessorArchitecture. 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