Version: Unity 6.4 Alpha (6000.4)
LanguageEnglish
  • C#

CodeModuleInstructionAnalyzer.opCodes

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public IReadOnlyCollection<OpCode> opCodes;

Description

A collection of Mono.Cecil OpCodes which are used by this analyzer.

To speed up the code analysis process, each CodeModuleInstructionAnalyzer must provide a list of the Instruction OpCodes it's interested in. Project Auditor will only invoke an InstructionAnalyzer if the OpCode of the Instruction currently under analysis matches one of the OpCodes in this list. For more details, refer to the &lt;a href="https://github.com/jbevain/cecil/blob/master/Mono.Cecil.Cil/OpCodes.cs"&gt;Mono.Cecil Github page&lt;/a&gt;.