37 writes to OpCode
Microsoft.Maui.Controls.Build.Tasks (1)
MethodBodyExtensions.cs (1)
24 instruction.OpCode = opcode;
Mono.Cecil.Rocks (36)
Mono.Cecil.Rocks\MethodBodyRocks.cs (36)
69 instruction.OpCode = OpCodes.Ldarg; 72 instruction.OpCode = OpCodes.Ldarga; 75 instruction.OpCode = OpCodes.Starg; 78 instruction.OpCode = OpCodes.Ldloc; 81 instruction.OpCode = OpCodes.Ldloca; 84 instruction.OpCode = OpCodes.Stloc; 120 instruction.OpCode = OpCodes.Br; 123 instruction.OpCode = OpCodes.Brfalse; 126 instruction.OpCode = OpCodes.Brtrue; 129 instruction.OpCode = OpCodes.Beq; 132 instruction.OpCode = OpCodes.Bge; 135 instruction.OpCode = OpCodes.Bgt; 138 instruction.OpCode = OpCodes.Ble; 141 instruction.OpCode = OpCodes.Blt; 144 instruction.OpCode = OpCodes.Bne_Un; 147 instruction.OpCode = OpCodes.Bge_Un; 150 instruction.OpCode = OpCodes.Bgt_Un; 153 instruction.OpCode = OpCodes.Ble_Un; 156 instruction.OpCode = OpCodes.Blt_Un; 159 instruction.OpCode = OpCodes.Leave; 167 instruction.OpCode = opcode; 173 instruction.OpCode = opcode; 357 instruction.OpCode = OpCodes.Br_S; 360 instruction.OpCode = OpCodes.Brfalse_S; 363 instruction.OpCode = OpCodes.Brtrue_S; 366 instruction.OpCode = OpCodes.Beq_S; 369 instruction.OpCode = OpCodes.Bge_S; 372 instruction.OpCode = OpCodes.Bgt_S; 375 instruction.OpCode = OpCodes.Ble_S; 378 instruction.OpCode = OpCodes.Blt_S; 381 instruction.OpCode = OpCodes.Bne_Un_S; 384 instruction.OpCode = OpCodes.Bge_Un_S; 387 instruction.OpCode = OpCodes.Bgt_Un_S; 390 instruction.OpCode = OpCodes.Ble_Un_S; 393 instruction.OpCode = OpCodes.Blt_Un_S; 396 instruction.OpCode = OpCodes.Leave_S;
109 references to OpCode
illink (76)
Microsoft.Maui.Controls.Build.Tasks (7)
MethodBodyExtensions.cs (6)
34 if (instruction.OpCode.Code != Code.Ldc_I8) 50 if (instruction.OpCode.Code != Code.Stloc) 57 if (next.OpCode.Code != Code.Ldloc || num != ((VariableDefinition)next.Operand).Index) 70 if (instruction.OpCode.Code != Code.Ldloc) 83 var instruction = (from instr in self.Instructions where instr.OpCode.Code == Code.Stloc && instr.Operand == varDef select instr).First(); 86 if (instruction.Previous.OpCode.Code != Code.Dup)
NodeILExtensions.cs (1)
632 if (pushParentIl[pushParentIl.Count - 1].OpCode != Ldnull)
Mono.Cecil.Rocks (7)
Mono.Cecil.Rocks\MethodBodyRocks.cs (7)
28 if (instruction.OpCode.OpCodeType != OpCodeType.Macro) 31 switch (instruction.OpCode.Code) { 190 if (instruction.OpCode.Code != Code.Ldc_I8) 209 switch (instruction.OpCode.Code) { 341 if (instruction.OpCode.OperandType != OperandType.InlineBrTarget) 351 var offset = ((Instruction) instruction.Operand).Offset - (instruction.Offset + instruction.OpCode.Size + 4); 355 switch (instruction.OpCode.Code) {
tlens (19)
TLens.Analyzers\DuplicatedCodeAnalyzer.cs (1)
21switch (instr.OpCode.Code)
TLens.Analyzers\InterfacesAnalyzer.cs (1)
43switch (instr.OpCode.OperandType)
TLens.Analyzers\InverterCtorsChainAnalyzer.cs (2)
23switch (instr.OpCode.Code) 40var prev = instr.Previous.OpCode.Code;
TLens.Analyzers\LargeStaticArraysAnalyzer.cs (1)
20if (instr.OpCode.Code != Code.Ldtoken)
TLens.Analyzers\LargeStringsAnalyzer.cs (1)
21switch (instr.OpCode.Code)
TLens.Analyzers\LimitedMethodCalls.cs (1)
22switch (instr.OpCode.Code)
TLens.Analyzers\RedundantFieldInitializationAnalyzer.cs (6)
39switch (instr.OpCode.Code) 67if (instr.Previous.OpCode.Code != Code.Ldnull) 73if (instr.Previous.OpCode.Code != Code.Conv_U || instr.Previous.Previous.OpCode.Code != Code.Ldc_I4_0) 103return instruction.OpCode.Code == Code.Ldc_I4_0; 108if (instruction.OpCode.Code != Code.Ldsfld)
TLens.Analyzers\TypeInstatiationAnalyzer.cs (1)
22switch (instr.OpCode.Code)
TLens.Analyzers\UnnecessaryFieldsAssignmentAnalyzer.cs (2)
34switch (instr.OpCode.Code) 48switch (instr.Previous.OpCode.Code)
TLens.Analyzers\UnusedParametersAnalyzer.cs (1)
32switch (instr.OpCode.Code)
TLens.Analyzers\UserOperatorCalledForNullCheckAnalyzer.cs (2)
30switch (instr.OpCode.Code) 49if (instr.Previous.OpCode.Code == Code.Ldnull)