protected override sealed void BuildInstructions(ModuleDefinition module, TypeDefinition type, MethodDefinition method, FieldDefinition field, CustomAttribute attribute, List <Instruction> instructions) { instructions.AddRange(ArgumentInstructionSequenceBuilder.BuildTypeCheckRelatedInstructions(module, field, attribute)); }
protected sealed override void BuildInstructions(ModuleDefinition module, TypeDefinition type, MethodDefinition method, ParameterDefinition parameter, CustomAttribute attribute, List <Instruction> instructions) { instructions.AddRange(ArgumentInstructionSequenceBuilder.BuildBoundariesCheckInstructions(parameter, attribute)); }