mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
29 lines
1.0 KiB
C#
29 lines
1.0 KiB
C#
/********************************************************************++
|
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
--********************************************************************/
|
|
|
|
using System;
|
|
using System.Reflection;
|
|
|
|
namespace System.Management.Automation.Internal
|
|
{
|
|
/// <summary>
|
|
/// This attribute is used for Design For Testability.
|
|
/// It should be placed on any method containing code
|
|
/// which is likely to be sensitive to X86/X64/IA64 issues,
|
|
/// primarily code which calls DllImports or otherwise uses
|
|
/// NativeMethods. This allows us to generate code coverage
|
|
/// data specific to architecture sensitive code.
|
|
/// </summary>
|
|
[AttributeUsage(AttributeTargets.Method, AllowMultiple=false)]
|
|
internal class ArchitectureSensitiveAttribute : Attribute
|
|
{
|
|
/// <summary>
|
|
/// Constructor for the ArchitectureSensitiveAttribute class.
|
|
/// </summary>
|
|
internal ArchitectureSensitiveAttribute ()
|
|
{
|
|
}
|
|
}
|
|
}
|