| File: SymbolDisplay\SymbolDisplayExtensionMethodStyle.cs | Web Access |
| Project: src\roslyn\src\Compilers\Core\Portable\Microsoft.CodeAnalysis.csproj (Microsoft.CodeAnalysis) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Microsoft.CodeAnalysis.Text; namespace Microsoft.CodeAnalysis { /// <summary> /// Specifies how to display extension methods. /// </summary> public enum SymbolDisplayExtensionMethodStyle { /// <summary> /// Displays the extension method based on its <see cref="MethodKind"/>. /// </summary> Default = 0, /// <summary> /// Displays the extension method in the form of an instance method. /// For example, IEnumerable<TSource>.ElementAt<TSource>(int index). /// </summary> InstanceMethod = 1, /// <summary> /// Displays the extension method as a static method. /// For example, Enumerable.ElementAt<TSource>(this IEnumerable<TSource> source, int index). /// </summary> StaticMethod = 2 } }