Created
December 4, 2016 15:16
-
-
Save garyttierney/5ca0649c6f9773989a007bff9b2f1d3c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| type a, b; | |
| type_attribute type_attrib_a, type_atrrib_b; | |
| # equivalent cil | |
| (type a) | |
| (type b) | |
| (typeattribute type_attrib_a) | |
| (typeattribute type_attrib_b) | |
| -- | |
| type_attrib_a += a; | |
| type_attrib_b += b; | |
| # equivalent CIL | |
| (typeattributeset type_attrib_a a) | |
| (typeattributeset type_attrib_b b) | |
| -- | |
| type_attribute type_attrib_not_a, type_attrib_not_b; | |
| type_attrib_not_a -= a; | |
| type_attrib_not_b -= b; | |
| # equivalent CIL | |
| (typeattribute type_attrib_not_a) | |
| (typeattribute type_attrib_not_b) | |
| (typeattributeset type_attrib_not_a (not a)) | |
| (typeattributeset type_attrib_not_b (not b)) | |
| -- | |
| type_attribute type_attrib_a_or_b = type_attrib_a | type_attrib_b; | |
| # equivalent CIL | |
| (typeattribute type_attrib_a_or_b) | |
| (typeattributeset type_attrib_a_or_b (or type_attrib_a type_attrib_b)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment