 | InstructionExtensions Class |
[This is preliminary documentation and is subject to change.]
Provides extension methods to
Instruction that cannot be achieved as members of the class
Inheritance Hierarchy
Namespace:
Llvm.NET.Instructions
Assembly:
Llvm.NET (in Llvm.NET.dll) Version: 3.8.6158
Syntaxpublic static class InstructionExtensions
The InstructionExtensions type exposes the following members.
Methods
Remarks
Using generic static extension methods allows for fluent coding while retaining the type of the "this" parameter.
If these were members of the
Instruction class then the only return type could be
Instruction
thus losing the original type and requiring a cast to get back to it, thereby defeating the purpose of the fluent style.
See Also