ArgumentKind.cs 1.0 KB
Newer Older
S
Sam Harwell 已提交
1
// Copyright (c) Microsoft.  All Rights Reserved.  Licensed under the Apache License, Version 2.0.  See License.txt in the project root for license information.
G
Gen Lu 已提交
2
                                   
3 4 5 6 7 8 9
namespace Microsoft.CodeAnalysis.Semantics
{
    /// <summary>
    /// Kinds of arguments.
    /// </summary>
    public enum ArgumentKind
    {
10 11 12 13 14
        /// <summary>
        /// Represents unknown argument kind.
        /// </summary>
        None = 0x0,

15
        /// <summary>
G
Gen Lu 已提交
16
        /// Argument value is explicitly supplied.
17
        /// </summary>
18
        Explicit = 0x1,
G
Gen Lu 已提交
19

20
        /// <summary>
G
Gen Lu 已提交
21 22
        /// Argument is a param array created by compilers for the matching C# params or VB ParamArray parameter. 
        /// Note, the value is a an array creation expression that encapsulates all the elements, if any.
23
        /// </summary>
24
        ParamArray = 0x2,
G
Gen Lu 已提交
25

26
        /// <summary>
G
Gen Lu 已提交
27
        /// Argument is a default value supplied automatically by the compilers.
28
        /// </summary>
29
        DefaultValue = 0x3
30 31 32
    }
}