Delen via


SymbolDisplayExtensionMethodStyle Enum

Definition

Specifies how to display extension methods.

public enum class SymbolDisplayExtensionMethodStyle
public enum SymbolDisplayExtensionMethodStyle
type SymbolDisplayExtensionMethodStyle = 
Public Enum SymbolDisplayExtensionMethodStyle
Inheritance
SymbolDisplayExtensionMethodStyle

Fields

Name Value Description
Default 0

Displays the extension method based on its MethodKind.

InstanceMethod 1

Displays the extension method in the form of an instance method. For example, IEnumerable<TSource>.ElementAt<TSource>(int index).

StaticMethod 2

Displays the extension method as a static method. For example, Enumerable.ElementAt<TSource>(this IEnumerable<TSource> source, int index).

Applies to