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