CSharpArgumentInfoFlags CSharpArgumentInfoFlags CSharpArgumentInfoFlags CSharpArgumentInfoFlags Enum


表示有关特定于调用站点上的特定参数的 C# 动态操作的信息。Represents information about C# dynamic operations that are specific to particular arguments at a call site. 此类的实例由 C# 编译器生成。Instances of this class are generated by the C# compiler.

此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。

此 API 支持产品基础结构,不能在代码中直接使用。

public enum class CSharpArgumentInfoFlags
public enum CSharpArgumentInfoFlags
type CSharpArgumentInfoFlags = 
Public Enum CSharpArgumentInfoFlags


Constant Constant Constant Constant 2

该参数是一个常量。The argument is a constant.

IsOut IsOut IsOut IsOut 16

将实参传递到 out 形参。The argument is passed to an out parameter.

IsRef IsRef IsRef IsRef 8

将实参传递到 ref 形参。The argument is passed to a ref parameter.

IsStaticType IsStaticType IsStaticType IsStaticType 32

参数为 Type,它指示源中使用的实际类型名称。The argument is a Type indicating an actual type name used in source. 仅用于静态调用中的目标对象。Used only for target objects in static calls.

NamedArgument NamedArgument NamedArgument NamedArgument 4

参数为命名参数。The argument is a named argument.

None None None None 0

没有要表示的附加信息。No additional information to represent.

UseCompileTimeType UseCompileTimeType UseCompileTimeType UseCompileTimeType 1

在绑定期间,应考虑参数的编译时类型。The argument's compile-time type should be considered during binding.