Search Results for

    Show / Hide Table of Contents

    Class MethodImplAttribute

    Specifies the details of how a method is implemented. This class cannot be inherited.

    Inheritance
    object
    Attribute
    MethodImplAttribute
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: System.Runtime.CompilerServices
    Assembly: mscorlib.dll
    Syntax
    [AttributeUsage(AttributeTargets.Constructor|AttributeTargets.Method, Inherited = false)]
    public sealed class MethodImplAttribute : Attribute

    Constructors

    MethodImplAttribute()

    Initializes a new instance of the MethodImplAttribute class.

    Declaration
    public MethodImplAttribute()

    MethodImplAttribute(short)

    Initializes a new instance of the MethodImplAttribute class with the specified MethodImplOptions _value.

    Declaration
    public MethodImplAttribute(short _value)
    Parameters
    Type Name Description
    short _value

    A bitmask representing the desired MethodImplOptions _value which specifies properties of the attributed method.

    MethodImplAttribute(MethodImplOptions)

    Initializes a new instance of the MethodImplAttribute class with the specified MethodImplOptions _value.

    Declaration
    public MethodImplAttribute(MethodImplOptions methodImplOptions)
    Parameters
    Type Name Description
    MethodImplOptions methodImplOptions

    A MethodImplOptions _value specifying properties of the attributed method.

    Fields

    MethodCodeType

    A MethodCodeType _value indicating what kind of implementation is provided for this method.

    Declaration
    public MethodCodeType MethodCodeType
    Field Value
    Type Description
    MethodCodeType

    Properties

    Value

    Gets the MethodImplOptions _value describing the attributed method.

    Declaration
    public MethodImplOptions Value { get; }
    Property Value
    Type Description
    MethodImplOptions

    Extension Methods

    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    In This Article
    Back to top Copyright © 2023 nanoFramework Contributors
    Generated by DocFX