7 references to InvalidOperation
System.Reflection.Metadata (7)
System\Reflection\Metadata\Ecma335\Encoding\ControlFlowBuilder.cs (4)
268Throw.InvalidOperation(SR.SwitchInstructionEncoderTooFewBranches); 276Throw.InvalidOperation(SR.SwitchInstructionEncoderTooManyBranches); 387Throw.InvalidOperation(SR.Format(SR.InvalidExceptionRegionBounds, tryStart, tryEnd)); 392Throw.InvalidOperation(SR.Format(SR.InvalidExceptionRegionBounds, handlerStart, handlerEnd));
System\Reflection\Metadata\Ecma335\Encoding\ExceptionRegionEncoder.cs (1)
214Throw.InvalidOperation(SR.MethodHasNoExceptionRegions);
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (2)
372Throw.InvalidOperation(SR.ModuleAlreadyAdded); 402Throw.InvalidOperation(SR.AssemblyAlreadyAdded);