14.4.3.1 Invocations on boxed instances
来源:互联网 发布:mac操作说明 完全指南 编辑:程序博客网 时间:2024/05/18 21:06
A function member implemented in a value-type can be invoked through a boxed
instance of that value-type
in the following situations:
?When the function member is an override of a method inherited from type
object and is invoked
through an instance expression of type object.
?When the function member is an implementation of an interface function
member and is invoked
through an instance expression of an interface-type.
?When the function member is invoked through a delegate.
In these situations, the boxed instance is considered to contain a variable
of the value-type, and this variable
becomes the variable referenced by this within the function member
invocation. [Note: In particular, this
means that when a function member is invoked on a boxed instance, it is
possible for the function member to
modify the value contained in the boxed instance. end note]
instance of that value-type
in the following situations:
?When the function member is an override of a method inherited from type
object and is invoked
through an instance expression of type object.
?When the function member is an implementation of an interface function
member and is invoked
through an instance expression of an interface-type.
?When the function member is invoked through a delegate.
In these situations, the boxed instance is considered to contain a variable
of the value-type, and this variable
becomes the variable referenced by this within the function member
invocation. [Note: In particular, this
means that when a function member is invoked on a boxed instance, it is
possible for the function member to
modify the value contained in the boxed instance. end note]
- 14.4.3.1 Invocations on boxed instances
- instances
- Running 2 jboss instances on same server
- Howto: run several robinhood instances on multiple filesystems
- Cannot configure two CRS instances on the same cluster
- Creating ADF BC View Object Instances On The Fly!!!!!!
- How to Run Multiple Tomcat Instances on One Server?
- lambda-为什么要boxed
- current shell & subshell & separate invocations
- Two instances of global variable created when DLL depends on static library
- .JBOSS 4.3.0 EAP Clustering with multiple instances running on Same machine balanced with Apache HTT
- it seems too many emulator instances are running on this machine. Aborting
- Install multiple instances of Reporting Services on the same computer (for use with Microsoft Dynami
- How to install Theano on Amazon EC2 GPU instances for deep learning
- List Instances
- (Erlang语言)数据类型详细介绍——boxed对象
- 14.4.3.2 Configuring Multiple Buffer Pool Instances 配置多个buffer pool 实例:
- 24.3 Attribute instances
- 14.4.2 Overload resolution
- 14.4.2.1 Applicable function member
- 14.4.2.2 Better function member
- 14.4.2.3 Better conversion
- 14.4.3 Function member invocation
- 14.4.3.1 Invocations on boxed instances
- 14.5 Primary expressions
- 14.5.1 Literals
- 14.5.2 Simple names
- 14.5.3 Parenthesized expressions
- 14.5.4 Member access
- 14.5.5 Invocation expressions
- 14.5.6 Element access
- 14.5.7 This access