-
Notifications
You must be signed in to change notification settings - Fork 4k
/
SymbolDisplayDelegateStyle.cs
33 lines (30 loc) · 1.15 KB
/
SymbolDisplayDelegateStyle.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// 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.
namespace Microsoft.CodeAnalysis
{
/// <summary>
/// Specifies how to display delegates (just the name or the name with the signature).
/// </summary>
public enum SymbolDisplayDelegateStyle
{
/// <summary>
/// Shows only the name of the delegate (e.g. "SomeDelegate").
/// </summary>
NameOnly = 0,
/// <summary>
/// Shows the name and the parameters of the delegate (e.g. "SomeDelegate(int x)").
/// </summary>
/// <remarks>
/// The format of the parameters will be determined by the other flags passed.
/// </remarks>
NameAndParameters = 1,
/// <summary>
/// Shows the name and the signature of the delegate (e.g. "void SomeDelegate(int x)").
/// </summary>
/// <remarks>
/// The format of the signature will be determined by the other flags passed.
/// </remarks>
NameAndSignature = 2,
}
}