4 writes to Operand
illink (1)
Microsoft.Maui.Controls.Build.Tasks (1)
MethodBodyExtensions.cs (1)
25 instruction.Operand = operand;
Mono.Cecil.Rocks (2)
Mono.Cecil.Rocks\MethodBodyRocks.cs (2)
168 instruction.Operand = operand; 174 instruction.Operand = null;
114 references to Operand
illink (79)
Microsoft.Maui.Controls.Build.Tasks (6)
MethodBodyExtensions.cs (6)
36 var l = (long)instruction.Operand; 55 int num = ((VariableDefinition)instruction.Operand).Index; 56 var vardef = instruction.Operand; 57 if (next.OpCode.Code != Code.Ldloc || num != ((VariableDefinition)next.Operand).Index) 72 var varDef = (VariableDefinition)instruction.Operand; 83 var instruction = (from instr in self.Instructions where instr.OpCode.Code == Code.Stloc && instr.Operand == varDef select instr).First();
Mono.Cecil.Rocks (16)
Mono.Cecil.Rocks\MethodBodyRocks.cs (16)
117 ExpandMacro (instruction, OpCodes.Ldc_I4, (int) (sbyte) instruction.Operand); 192 var l = (long) instruction.Operand; 211 index = ((ParameterDefinition) instruction.Operand).Index; 212 if (index == -1 && instruction.Operand == self.ThisParameter) 232 ExpandMacro (instruction, OpCodes.Ldarg_S, instruction.Operand); 237 index = ((VariableDefinition) instruction.Operand).Index; 253 ExpandMacro (instruction, OpCodes.Ldloc_S, instruction.Operand); 258 index = ((VariableDefinition) instruction.Operand).Index; 274 ExpandMacro (instruction, OpCodes.Stloc_S, instruction.Operand); 279 index = ((ParameterDefinition) instruction.Operand).Index; 280 if (index == -1 && instruction.Operand == self.ThisParameter) 285 ExpandMacro (instruction, OpCodes.Ldarga_S, instruction.Operand); 288 if (((VariableDefinition) instruction.Operand).Index < 256) 289 ExpandMacro (instruction, OpCodes.Ldloca_S, instruction.Operand); 292 int i = (int) instruction.Operand; 351 var offset = ((Instruction) instruction.Operand).Offset - (instruction.Offset + instruction.OpCode.Size + 4);
tlens (13)
TLens.Analyzers\DuplicatedCodeAnalyzer.cs (1)
24var str = (string)instr.Operand;
TLens.Analyzers\InterfacesAnalyzer.cs (2)
47var tr = instr.Operand as TypeReference; 52if (instr.Operand is not MethodReference mr)
TLens.Analyzers\InverterCtorsChainAnalyzer.cs (1)
26var mr = (MethodReference)instr.Operand;
TLens.Analyzers\LargeStaticArraysAnalyzer.cs (1)
23if (instr.Operand is not FieldReference fr)
TLens.Analyzers\LargeStringsAnalyzer.cs (1)
24string str = (string)instr.Operand;
TLens.Analyzers\LimitedMethodCalls.cs (1)
26if (instr.Operand is not MethodReference mr)
TLens.Analyzers\RedundantFieldInitializationAnalyzer.cs (2)
43FieldReference field = (FieldReference)instr.Operand; 111if (instruction.Operand is not FieldReference fr || fr == null)
TLens.Analyzers\TypeInstatiationAnalyzer.cs (1)
26if (instr.Operand is not MethodReference mr)
TLens.Analyzers\UnnecessaryFieldsAssignmentAnalyzer.cs (1)
64var reference = (FieldReference)instr.Operand;
TLens.Analyzers\UnusedParametersAnalyzer.cs (1)
53index = ((ParameterDefinition)instr.Operand).Index;
TLens.Analyzers\UserOperatorCalledForNullCheckAnalyzer.cs (1)
33if (instr.Operand is not MethodReference mr)