SymbolDisplayExtensionMethodStyle Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.