-
Notifications
You must be signed in to change notification settings - Fork 4k
/
FixAllScope.cs
45 lines (39 loc) · 1.51 KB
/
FixAllScope.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
34
35
36
37
38
39
40
41
42
43
44
45
// 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.CodeFixes
{
/// <summary>
/// Indicates scope for "Fix all occurrences" code fixes provided by each <see cref="FixAllProvider"/>.
/// </summary>
public enum FixAllScope
{
/// <summary>
/// Scope to fix all occurences of diagnostic(s) in the entire document.
/// </summary>
Document,
/// <summary>
/// Scope to fix all occurences of diagnostic(s) in the entire project.
/// </summary>
Project,
/// <summary>
/// Scope to fix all occurences of diagnostic(s) in the entire solution.
/// </summary>
Solution,
/// <summary>
/// Custom scope to fix all occurences of diagnostic(s). This scope can
/// be used by custom <see cref="FixAllProvider"/>s and custom code fix engines.
/// </summary>
Custom,
/// <summary>
/// Scope to fix all occurrences of diagnostic(s) in the containing member
/// relative to the trigger span for the original code fix.
/// </summary>
ContainingMember,
/// <summary>
/// Scope to fix all occurrences of diagnostic(s) in the containing type
/// relative to the trigger span for the original code fix.
/// </summary>
ContainingType,
}
}