Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 570 Bytes

iii.1.1.4-object-references.md

File metadata and controls

3 lines (2 loc) · 570 Bytes

III.1.1.4 Object references

Object references (type O) are completely opaque. There are no arithmetic instructions that allow object references as operands, and the only comparison operations permitted are equality and inequality between two object references. There are no conversion operations defined on object references. Object references are created by certain CIL object instructions (notably newobj and newarr). Object references can be passed as arguments, stored as local variables, returned as values, and stored in arrays and as fields of objects.