13 types derived from InvalidOperationException
mscorlib (1)
system\objectdisposedexception.cs (1)
18public class ObjectDisposedException : InvalidOperationException {
PresentationFramework (1)
src\Framework\System\Windows\ResourceReferenceKeyNotFoundException.cs (1)
21public class ResourceReferenceKeyNotFoundException: InvalidOperationException
System (3)
net\System\Net\NetworkInformation\pingexception.cs (1)
13public class PingException : InvalidOperationException {
net\System\Net\ProtocolViolationException.cs (1)
19public class ProtocolViolationException : InvalidOperationException, ISerializable {
net\System\Net\WebException.cs (1)
38public class WebException : InvalidOperationException, ISerializable {
System.Data.Linq (2)
Exceptions.cs (2)
23public class DuplicateKeyException : InvalidOperationException { 52public class ForeignKeyReferenceAlreadyHasValueException : InvalidOperationException {
System.Data.Services (1)
System\Data\Services\DataServiceException.cs (1)
86public sealed class DataServiceException : InvalidOperationException
System.Data.Services.Client (3)
System\Data\Services\Client\DataServiceClientException.cs (1)
24public sealed class DataServiceClientException : InvalidOperationException
System\Data\Services\Client\DataServiceQueryException.cs (1)
24public sealed class DataServiceQueryException : InvalidOperationException
System\Data\Services\Client\DataServiceRequestException.cs (1)
23public sealed class DataServiceRequestException : InvalidOperationException
System.ServiceModel (1)
System\ServiceModel\Description\WsdlImporter.cs (1)
1927class AlreadyFaultedException : InvalidOperationException
System.Workflow.Runtime (1)
QueueException.cs (1)
11class QueueException : InvalidOperationException
2795 instantiations of InvalidOperationException
ComSvcConfig (6)
AtomicFile.cs (4)
79throw new InvalidOperationException(); 85throw new InvalidOperationException(); 96throw new InvalidOperationException(); 165throw new InvalidOperationException();
ComplusEndpointConfigContainer.cs (1)
603throw new InvalidOperationException();
WasEndpointConfigContainer.cs (1)
408throw new InvalidOperationException();
mscorlib (638)
system\_localdatastore.cs (3)
146throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_SlotHasBeenFreed")); 180throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_SlotHasBeenFreed")); 213throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_SlotHasBeenFreed"));
system\appdomain.cs (8)
482throw new InvalidOperationException(Environment.GetResourceString("Argument_InvalidHandle")); 2386throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_SetData")); 2400throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_SetData")); 3466throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_AppDomainSandboxAPINeedsExplicitAppBase")); 4793throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_WithoutARM")); 4809throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_WithoutARM")); 4827throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_WithoutARM")); 4847throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_WithoutARM"));
system\array.cs (16)
944throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_IComparerFailed"), e); 964throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_IComparerFailed"), e); 2021throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_IComparerFailed"), e); 2043throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_IComparerFailed"), e); 2061throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_IComparerFailed"), e); 2114throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_IComparerFailed"), e); 2340throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_IComparerFailed"), e); 2359throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_IComparerFailed"), e); 2378throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_IComparerFailed"), e); 2431throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_IComparerFailed"), e); 2599if (_index < 0) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 2600if (_index >= _endIndex) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded)); 2677if (index < startIndex) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 2678if (_complete) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded)); 2880if (_index < 0) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 2881if (_index >= _endIndex) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded));
system\arraysegment.cs (10)
151throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NullArray")); 162throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NullArray")); 174throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NullArray")); 202throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NullArray")); 236throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NullArray")); 250throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NullArray")); 266throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NullArray")); 277throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NullArray")); 319if (_current < _start) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 320if (_current >= _end) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded));
system\charenumerator.cs (4)
61throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 63throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded)); 72throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 74throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded));
system\collections\arraylist.cs (11)
1193throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 1195throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded)); 2127if (version != list._version) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumFailedVersion)); 2142throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 2144throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded)); 2151if (version != list._version) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumFailedVersion)); 2179throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_UnderlyingArrayListChanged")); 2566throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumFailedVersion)); 2598throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 2601throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded)); 2611throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumFailedVersion));
system\collections\bitarray.cs (4)
492if (version != bitarray._version) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumFailedVersion)); 507throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 509throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded)); 515if (version != bitarray._version) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumFailedVersion));
system\collections\concurrent\OrderablePartitioner.cs (1)
178throw new InvalidOperationException("OrderablePartitioner_GetPartitions_WrongNumberOfPartitions");
system\collections\concurrent\PartitionerStatic.cs (5)
994throw new InvalidOperationException(Environment.GetResourceString("PartitionerStatic_CurrentCalledBeforeMoveNext")); 1273throw new InvalidOperationException(Environment.GetResourceString("PartitionerStatic_CurrentCalledBeforeMoveNext")); 1357throw new InvalidOperationException(Environment.GetResourceString("PartitionerStatic_CurrentCalledBeforeMoveNext")); 1584throw new InvalidOperationException(Environment.GetResourceString("PartitionerStatic_CurrentCalledBeforeMoveNext")); 1641throw new InvalidOperationException(Environment.GetResourceString("PartitionerStatic_CurrentCalledBeforeMoveNext"));
system\collections\emptyreadonlydictionaryinternal.cs (8)
96throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 128throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 132throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 152throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 168throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen")); 179throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen")); 185throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen")); 191throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen"));
system\collections\generic\arraysorthelper.cs (6)
165throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_IComparerFailed"), e); 182throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_IComparerFailed"), e); 529throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_IComparerFailed"), e); 551throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_IComparerFailed"), e); 941throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_IComparerFailed"), e); 1292throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_IComparerFailed"), e);
system\collections\hashtable.cs (8)
1042throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_HashInsertFailed")); 1203throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumFailedVersion)); 1573if (current == false) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 1579if (version != hashtable.version) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumFailedVersion)); 1596if (current == false) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumOpCantHappen)); 1604if (current == false) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumOpCantHappen)); 1617if (current == false) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumOpCantHappen)); 1623if (version != hashtable.version) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumFailedVersion));
system\collections\listdictionaryinternal.cs (8)
273throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen")); 282throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen")); 291throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen")); 299throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumFailedVersion")); 315throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumFailedVersion")); 394throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen")); 402throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumFailedVersion")); 418throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumFailedVersion"));
system\collections\queue.cs (6)
188throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EmptyQueue")); 204throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EmptyQueue")); 415if (_version != _q._version) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumFailedVersion)); 435throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 437throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded)); 444if (_version != _q._version) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumFailedVersion));
system\collections\sortedlist.cs (9)
764if (version != sortedList.version) throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumFailedVersion")); 765if (current == false) throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen")); 771if (version != sortedList.version) throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumFailedVersion")); 787if (version != sortedList.version) throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumFailedVersion")); 788if (current == false) throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen")); 795if (current == false) throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen")); 808if (version != sortedList.version) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumFailedVersion)); 809if (current == false) throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen")); 815if (version != sortedList.version) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumFailedVersion));
system\collections\stack.cs (6)
161throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EmptyStack")); 170throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EmptyStack")); 328if (_version != _stack._version) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumFailedVersion)); 350if (_index == -2) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 351if (_index == -1) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded)); 357if (_version != _stack._version) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumFailedVersion));
system\console.cs (3)
1394throw new InvalidOperationException(Environment.GetResourceString("ArgumentOutOfRange_ConsoleTitleTooLong")); 1502throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ConsoleReadKeyOnFile")); 1577throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ConsoleKeyAvailableOnFile"));
system\delegate.cs (1)
694throw new InvalidOperationException(
system\deployment\isolationinterop.cs (7)
159throw new InvalidOperationException(); 220throw new InvalidOperationException(); 284throw new InvalidOperationException(); 351throw new InvalidOperationException(); 417throw new InvalidOperationException(); 481throw new InvalidOperationException(); 545throw new InvalidOperationException();
system\diagnostics\assert.cs (1)
90throw new InvalidOperationException(
system\diagnostics\eventing\eventsource.cs (3)
4591throw new InvalidOperationException(Environment.GetResourceString("EventSource_ListenerCreatedInsideCallback")); 4690throw new InvalidOperationException(); 4702throw new InvalidOperationException();
System\Diagnostics\Eventing\TraceLogging\EventSourceActivity.cs (3)
239throw new InvalidOperationException(); 268throw new InvalidOperationException(); // Write after stop. 278throw new InvalidOperationException();
System\Diagnostics\Eventing\TraceLogging\TraceLoggingMetadataCollector.cs (1)
254throw new InvalidOperationException(Environment.GetResourceString("EventSource_IncorrentlyAuthoredTypeInfo"));
system\enum.cs (4)
130throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_UnknownEnumType")); 237throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_UnknownEnumType")); 845throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_UnknownEnumType")); 948throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_UnknownEnumType"));
system\environment.cs (4)
550throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ComputerName")); 1128throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_GetVersion")); 1133throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_GetVersion")); 1584throw new InvalidOperationException(Win32Native.GetMessage(errorCode));
system\gc.cs (8)
455throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotWithConcurrentGC")); 464throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotWithConcurrentGC")); 521throw new InvalidOperationException("The NoGCRegion mode was already in progress"); 556throw new InvalidOperationException("NoGCRegion mode must be set"); 558throw new InvalidOperationException("Garbage collection was induced in NoGCRegion mode"); 560throw new InvalidOperationException("Allocated memory exceeds specified memory for NoGCRegion mode"); 648throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_HandleIsNotInitialized")); 655throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_HandleIsNotInitialized"));
system\globalization\calendar.cs (1)
210throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly"));
system\globalization\cultureinfo.cs (2)
429throw new InvalidOperationException( 1715throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly"));
system\globalization\datetimeformatinfo.cs (22)
593throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 616throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 873throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 903throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 931throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 957throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 989throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 1028throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 1065throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 1096throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 1140throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 1180throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 1318throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 1360throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 1399throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 1427throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 1452throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 1477throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 1503throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 2049throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 2119throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 2147throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly"));
system\globalization\globalizationassembly.cs (1)
62throw new InvalidOperationException();
system\globalization\hebrewcalendar.cs (1)
463throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_DateTimeParsing"));
system\globalization\hijricalendar.cs (1)
479throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_DateTimeParsing"));
system\globalization\numberformatinfo.cs (1)
261throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly"));
system\globalization\Persiancalendar.cs (1)
269throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_DateTimeParsing"));
system\globalization\textelementenumerator.cs (3)
123throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumNotStarted")); 126throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumEnded")); 142throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumNotStarted"));
system\globalization\textinfo.cs (1)
493throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly"));
system\globalization\umalquracalendar.cs (1)
505throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_DateTimeParsing"));
system\io\isolatedstorage\isolatedstorage.cs (11)
376throw new InvalidOperationException( 388throw new InvalidOperationException( 397throw new InvalidOperationException( 412throw new InvalidOperationException( 427throw new InvalidOperationException( 443throw new InvalidOperationException( 459throw new InvalidOperationException( 474throw new InvalidOperationException( 524throw new InvalidOperationException( 537throw new InvalidOperationException( 550throw new InvalidOperationException(
system\io\isolatedstorage\isolatedstoragefile.cs (24)
179throw new InvalidOperationException(Environment.GetResourceString("IsolatedStorage_StoreNotOpen")); 271throw new InvalidOperationException( 279throw new InvalidOperationException( 301throw new InvalidOperationException( 310throw new InvalidOperationException( 340throw new InvalidOperationException( 449throw new InvalidOperationException( 486throw new InvalidOperationException( 552throw new InvalidOperationException( 596throw new InvalidOperationException( 704throw new InvalidOperationException( 745throw new InvalidOperationException( 786throw new InvalidOperationException( 854throw new InvalidOperationException( 986throw new InvalidOperationException( 1052throw new InvalidOperationException( 1204throw new InvalidOperationException( 1237throw new InvalidOperationException( 2260throw new InvalidOperationException( 2286throw new InvalidOperationException( 2725throw new InvalidOperationException( 2731throw new InvalidOperationException( 2908throw new InvalidOperationException( 2914throw new InvalidOperationException(
system\io\stream.cs (6)
108throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_TimeoutsNotSupported")); 111throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_TimeoutsNotSupported")); 119throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_TimeoutsNotSupported")); 122throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_TimeoutsNotSupported")); 387throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_WrongAsyncResultOrEndReadCalledMultiple")); 574throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_WrongAsyncResultOrEndWriteCalledMultiple"));
system\io\streamreader.cs (1)
121throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_AsyncIOInProgress"));
system\io\streamwriter.cs (1)
91throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_AsyncIOInProgress"));
system\io\unmanagedmemoryaccessor.cs (1)
84throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CalledTwice"));
system\io\unmanagedmemorystream.cs (2)
164throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CalledTwice")); 243throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CalledTwice"));
system\Lazy.cs (1)
425throw new InvalidOperationException(Environment.GetResourceString("Lazy_Value_RecursiveCallsToValue"));
system\marshalbyrefobject.cs (1)
87throw new InvalidOperationException(Environment.GetResourceString("Arg_InvokeMember"));
system\reflection\assembly.cs (1)
2836throw new InvalidOperationException();
system\reflection\ConstructorInfo.cs (4)
515throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotAllowedInReflectionOnly")); 544throw new InvalidOperationException(Environment.GetResourceString("Arg_ReflectionOnlyInvoke")); 614throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_APIInvalidForCurrentContext", FullName)); 720throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_APIInvalidForCurrentContext", FullName));
system\reflection\customattribute.cs (3)
803throw new InvalidOperationException( 1600throw new InvalidOperationException(Environment.GetResourceString("Arg_ReflectionOnlyCA")); 1658throw new InvalidOperationException(Environment.GetResourceString("Arg_ReflectionOnlyCA"));
system\reflection\emit\assemblybuilder.cs (6)
878throw new InvalidOperationException(Environment.GetResourceString( 984throw new InvalidOperationException(Environment.GetResourceString("Arugment_EmitMixedContext1", type.AssemblyQualifiedName)); 987throw new InvalidOperationException(Environment.GetResourceString("Arugment_EmitMixedContext2", type.AssemblyQualifiedName)); 1629throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EntryMethodNotDefinedInAssembly")); 1802throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_AssemblyHasBeenSaved, 1808throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CantSaveTransientAssembly"));
system\reflection\emit\assemblybuilderdata.cs (2)
426throw new InvalidOperationException(Environment.GetResourceString( 444throw new InvalidOperationException(Environment.GetResourceString(
system\reflection\emit\constructorbuilder.cs (4)
197throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_DefaultConstructorILGen")); 205throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_DefaultConstructorILGen")); 217throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_DefaultConstructorDefineBody")); 243throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_TypeHasBeenCreated"));
system\reflection\emit\dynamicilgenerator.cs (14)
77throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_APIInvalidForCurrentContext", rtType.FullName)); 245throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotAVarArgCallingConvention")); 493throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotAVarArgCallingConvention")); 561throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_APIInvalidForCurrentContext", rtType.FullName)); 574throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_APIInvalidForCurrentContext", rtField.FullName)); 588throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_APIInvalidForCurrentContext", rtField.FullName)); 591throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_APIInvalidForCurrentContext", rtType.FullName)); 602throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_APIInvalidForCurrentContext", rtMeth.FullName)); 614throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_APIInvalidForCurrentContext", rtMeth.FullName)); 617throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_APIInvalidForCurrentContext", rtType.FullName)); 628throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_APIInvalidForCurrentContext", rtMeth.FullName)); 640throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_APIInvalidForCurrentContext", rtMeth.FullName)); 643throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_APIInvalidForCurrentContext", rtType.FullName)); 659throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_APIInvalidForCurrentContext", rtMeth.FullName));
system\reflection\emit\dynamicmethod.cs (3)
588throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_BadEmptyMethodBody", Name)); 613public override RuntimeMethodHandle MethodHandle { get { throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotAllowedInDynamicMethod")); } } 897get { throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotAllowedInDynamicMethod")); }
system\reflection\emit\generictypeparameterbuilder.cs (3)
177public override Type[] GetGenericArguments() { throw new InvalidOperationException(); } 195public override Type GetGenericTypeDefinition() { throw new InvalidOperationException(); } 197public override Type MakeGenericType(params Type[] typeArguments) { throw new InvalidOperationException(Environment.GetResourceString("Arg_NotGenericTypeDefinition")); }
system\reflection\emit\ilgenerator.cs (5)
528throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotAVarArgCallingConvention")); 941throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_BadInstructionOrIndexOutOfBound")); 1011throw new InvalidOperationException(Environment.GetResourceString("Argument_BadExceptionCodeGen")); 1281throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_TypeHasBeenCreated")); 1289throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_MethodBaked"));
system\reflection\emit\localbuilder.cs (2)
85throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_TypeHasBeenCreated")); 92throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotADebugModule"));
system\reflection\emit\methodbuilder.cs (12)
227throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_MethodHasBody")); 236throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_BadILGeneratorUsage")); 244throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_OpenLocalVariableScope")); 648throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_TypeNotCreated")); 683public override MethodInfo GetGenericMethodDefinition() { if (!IsGenericMethod) throw new InvalidOperationException(); return this; } 705throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_GenericParametersAlreadySet")); 712throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_MethodBuilderBaked")); 722internal void ThrowIfGeneric () { if (IsGenericMethod && !IsGenericMethodDefinition) throw new InvalidOperationException (); } 911throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotADebugModule")); 974throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_MethodBaked")); 1073throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_MethodBaked")); 1144throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ShouldNotHaveMethodBody"));
system\reflection\emit\methodbuilderinstantiation.cs (2)
23throw new InvalidOperationException(); 94throw new InvalidOperationException(Environment.GetResourceString("Arg_NotGenericMethodDefinition"));
system\reflection\emit\modulebuilder.cs (26)
209throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_APIInvalidForCurrentContext", method.FullName)); 225throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_APIInvalidForCurrentContext", method.FullName)); 248throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_APIInvalidForCurrentContext", rtField.FullName)); 401throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 505throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_APIInvalidForCurrentContext", rtType.FullName)); 540if (usingRef == true) throw new InvalidOperationException(); 669throw new InvalidOperationException(); 679throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotAVarArgCallingConvention")); 1308throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_BadResourceContainer")); 1332throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_BadResourceContainer")); 1361throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_BadResourceContainer")); 1382throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_BadResourceContainer")); 1494throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_GlobalsHaveBeenCreated")); 1582throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotADebugModule")); 1618throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_GlobalsHaveBeenCreated")); 1651throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_GlobalsHaveBeenCreated")); 1765throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_BadTransientModuleReference")); 1843throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotImportGlobalFromDifferentModule")); 1867throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotImportGlobalFromDifferentModule")); 2149throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotImportGlobalFromDifferentModule")); 2162throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotImportGlobalFromDifferentModule")); 2346throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotADebugModule")); 2381throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotADebugModule")); 2389throw new InvalidOperationException(Environment.GetResourceString("Argument_NotInTheSameModuleBuilder")); 2401throw new InvalidOperationException(Environment.GetResourceString("Argument_NotInTheSameModuleBuilder")); 2425throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotADebugModule"));
system\reflection\emit\typebuilder.cs (10)
966throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_TypeHasBeenCreated")); 1457throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NoUnderlyingTypeOnEnum")); 1586throw new InvalidOperationException(); 1613public override Type GetGenericTypeDefinition() { if (IsGenericTypeDefinition) return this; if (m_genTypeDef == null) throw new InvalidOperationException(); return m_genTypeDef; } 1782throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ConstructorNotAllowedOnInterface")); 1858throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ConstructorNotAllowedOnInterface")); 2395throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_BadTypeAttributesNotAbstract")); 2410throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_BadMethodBody")); 2424throw new InvalidOperationException( 2506throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_BadInterfaceNotAbstract"));
system\reflection\emit\typebuilderinstantiation.cs (3)
30throw new InvalidOperationException(); 207public override int GenericParameterPosition { get { throw new InvalidOperationException(); } } 224public override Type MakeGenericType(params Type[] inst) { throw new InvalidOperationException(Environment.GetResourceString("Arg_NotGenericTypeDefinition")); }
system\reflection\emit\xxxontypebuilderinstantiation.cs (4)
92throw new InvalidOperationException(Environment.GetResourceString("Arg_NotGenericMethodDefinition")); 192throw new InvalidOperationException(); 288public override Object GetValue(Object obj) { throw new InvalidOperationException(); } 289public override void SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture) { throw new InvalidOperationException(); }
system\reflection\eventinfo.cs (5)
123throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NoPublicAddMethod")); 127throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotSupportedOnWinRTEvent")); 143throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NoPublicRemoveMethod")); 150throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotSupportedOnWinRTEvent")); 297throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NoPublicAddMethod"));
system\reflection\fieldinfo.cs (8)
562throw new InvalidOperationException(Environment.GetResourceString("Arg_UnboundGenField")); 565throw new InvalidOperationException(Environment.GetResourceString("Arg_ReflectionOnlyField")); 581throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_APIInvalidForCurrentContext", FullName)); 641throw new InvalidOperationException(Environment.GetResourceString("Arg_UnboundGenField")); 644throw new InvalidOperationException(Environment.GetResourceString("Arg_ReflectionOnlyField")); 656throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_APIInvalidForCurrentContext", FullName)); 740public override object GetRawConstantValue() { throw new InvalidOperationException(); } 789throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotAllowedInReflectionOnly"));
system\reflection\memberinfo.cs (1)
65public virtual int MetadataToken { get { throw new InvalidOperationException(); } }
system\reflection\methodbase.cs (1)
256throw new InvalidOperationException();
system\reflection\methodbody.cs (2)
58throw new InvalidOperationException(Environment.GetResourceString("Arg_EHClauseNotFilter")); 69throw new InvalidOperationException(Environment.GetResourceString("Arg_EHClauseNotClause"));
system\reflection\methodinfo.cs (6)
622throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotAllowedInReflectionOnly")); 675throw new InvalidOperationException(Environment.GetResourceString("Arg_ReflectionOnlyInvoke")); 690throw new InvalidOperationException(Environment.GetResourceString("Arg_UnboundGenParam")); 723throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_APIInvalidForCurrentContext", FullName)); 926throw new InvalidOperationException( 989throw new InvalidOperationException();
system\reflection\propertyinfo.cs (1)
477throw new InvalidOperationException(Environment.GetResourceString("Arg_EnumLitValueNotFound"));
system\resources\filebasedresourcegroveler.cs (1)
176throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ResMgrBadResSet_Type", _mediator.UserResourceSet.AssemblyQualifiedName), e);
system\resources\manifestbasedresourcegroveler.cs (1)
424throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ResMgrBadResSet_Type", _mediator.UserResourceSet.AssemblyQualifiedName), e);
system\resources\resourcemanager.cs (1)
1467throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ResourceNotStream_Name", name));
system\resources\resourcereader.cs (14)
308throw new InvalidOperationException(Environment.GetResourceString("ResourceReaderIsClosed")); 540throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ResourceNotString_Type", FindType(typeIndex).FullName)); 551throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ResourceNotString_Type", typeString)); 1190throw new InvalidOperationException(Environment.GetResourceString("ResourceReaderIsClosed")); 1367if (_currentName == ENUM_DONE) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded)); 1368if (!_currentIsValid) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 1369if (_reader._resCache == null) throw new InvalidOperationException(Environment.GetResourceString("ResourceReaderIsClosed")); 1391if (_currentName == ENUM_DONE) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded)); 1392if (!_currentIsValid) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 1393if (_reader._resCache == null) throw new InvalidOperationException(Environment.GetResourceString("ResourceReaderIsClosed")); 1423if (_currentName == ENUM_DONE) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded)); 1424if (!_currentIsValid) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 1425if (_reader._resCache == null) throw new InvalidOperationException(Environment.GetResourceString("ResourceReaderIsClosed")); 1437if (_reader._resCache == null) throw new InvalidOperationException(Environment.GetResourceString("ResourceReaderIsClosed"));
system\resources\resourceset.cs (3)
228throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ResourceNotString_Name", name)); 243throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ResourceNotString_Name", name)); 257throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ResourceNotString_Name", name));
system\resources\resourcewriter.cs (7)
135throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ResourceWriterSaved")); 151throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ResourceWriterSaved")); 176throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ResourceWriterSaved")); 191throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ResourceWriterSaved")); 225throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ResourceWriterSaved")); 242throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ResourceWriterSaved")); 288throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ResourceWriterSaved"));
system\rttype.cs (13)
1703throw new InvalidOperationException(); 3152throw new InvalidOperationException(Environment.GetResourceString("Arg_GenericParameter")); 3655throw new InvalidOperationException(Environment.GetResourceString("Arg_NotGenericParameter")); 4004throw new InvalidOperationException(Environment.GetResourceString("Arg_NotGenericParameter")); 4155throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_UnknownEnumType")); 4210throw new InvalidOperationException( 4269throw new InvalidOperationException(Environment.GetResourceString("Arg_NotGenericParameter")); 4279throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotGenericType")); 4303throw new InvalidOperationException(Environment.GetResourceString("Arg_NotGenericParameter")); 4517throw new InvalidOperationException(Environment.GetResourceString("Arg_GenericParameter")); 5467throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_APIInvalidForCurrentContext", this.FullName)); 5504throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotAllowedInReflectionOnly")); 5835throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotAllowedInReflectionOnly"));
system\runtime\compilerservices\AsyncMethodBuilder.cs (3)
610throw new InvalidOperationException(Environment.GetResourceString("TaskT_TransitionToFinal_AlreadyCompleted")); 675throw new InvalidOperationException(Environment.GetResourceString("TaskT_TransitionToFinal_AlreadyCompleted")); 888if (m_stateMachine != null) throw new InvalidOperationException(Environment.GetResourceString("AsyncMethodBuilder_InstanceNotInitialized"));
system\runtime\compilerservices\ConditionalWeakTable.cs (1)
588throw new InvalidOperationException(Environment.GetResourceString("CollectionCorrupted"));
system\runtime\compilerservices\jithelpers.cs (4)
176throw new InvalidOperationException(); 183throw new InvalidOperationException(); 190throw new InvalidOperationException(); 198throw new InvalidOperationException();
system\runtime\gcsettings.cs (1)
64throw new InvalidOperationException("The NoGCRegion mode is in progress. End it and then set a different mode.");
system\runtime\interopservices\gchandle.cs (6)
131throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_HandleIsNotInitialized")); 143throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_HandleIsNotInitialized")); 153throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_HandleIsNotInitialized")); 169throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_HandleIsNotInitialized")); 172throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_HandleIsNotPinned")); 200throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_HandleIsNotInitialized"));
system\runtime\interopservices\registrationservices.cs (11)
106throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_AsmLoadedForReflectionOnly")); 116throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NoAsmName")); 124throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NoAsmCodeBase")); 169throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_AsmLoadedForReflectionOnly")); 872throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_PIAMustBeStrongNamed")); 1024throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NonStaticComRegFunction",CurrentMethod.Name,currType.Name)); 1026throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NonStaticComUnRegFunction",CurrentMethod.Name,currType.Name)); 1037throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_InvalidComRegFunctionSig",CurrentMethod.Name,currType.Name)); 1039throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_InvalidComUnRegFunctionSig",CurrentMethod.Name,currType.Name)); 1046throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_MultipleComRegFunctions",currType.Name)); 1048throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_MultipleComUnRegFunctions",currType.Name));
system\runtime\interopservices\safebuffer.cs (1)
391return new InvalidOperationException(Environment.GetResourceString("InvalidOperation_MustCallInitialize"));
system\runtime\interopservices\typelibconverter.cs (1)
107throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_PIAMustBeStrongNamed"));
system\runtime\interopservices\windowsruntime\bindablevectortocollectionadapter.cs (1)
45throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CollectionBackingListTooLarge"));
system\runtime\interopservices\windowsruntime\bindablevectortolistadapter.cs (3)
68throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CollectionBackingListTooLarge")); 122throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CollectionBackingListTooLarge")); 152throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CollectionBackingListTooLarge"));
system\runtime\interopservices\windowsruntime\constantsplittablemap.cs (3)
68Exception e = new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CollectionBackingDictionaryTooLarge")); 267if (_current < _start) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumNotStarted)); 268if (_current > _end) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded));
system\runtime\interopservices\windowsruntime\eventregistrationtokentable.cs (1)
35throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EventTokenTableRequiresDelegate", typeof(T)));
system\runtime\interopservices\windowsruntime\icustompropertyprovider.cs (2)
495throw new InvalidOperationException(); // We should not go down this path, unless Jupiter pass this out to managed code 571throw new InvalidOperationException(); // We should not go down this path, unless Jupiter pass this out to managed code
system\runtime\interopservices\windowsruntime\listtobindablevectoradapter.cs (1)
160Exception e = new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotRemoveLastFromEmptyCollection"));
system\runtime\interopservices\windowsruntime\listtovectoradapter.cs (1)
169Exception e = new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotRemoveLastFromEmptyCollection"));
system\runtime\interopservices\windowsruntime\maptocollectionadapter.cs (3)
52throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CollectionBackingDictionaryTooLarge")); 64throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CollectionBackingListTooLarge")); 187throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CollectionBackingListTooLarge"));
system\runtime\interopservices\windowsruntime\mapviewtoreadonlycollectionadapter.cs (2)
52throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CollectionBackingDictionaryTooLarge")); 64throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CollectionBackingListTooLarge"));
system\runtime\interopservices\windowsruntime\vectortocollectionadapter.cs (2)
44throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CollectionBackingListTooLarge")); 123throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CollectionBackingListTooLarge"));
system\runtime\interopservices\windowsruntime\vectortolistadapter.cs (1)
71throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CollectionBackingListTooLarge"));
system\runtime\interopservices\windowsruntime\vectorviewtoreadonlycollectionadapter.cs (1)
44throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CollectionBackingListTooLarge"));
system\runtime\remoting\activationservices.cs (3)
1269set { throw new InvalidOperationException(); } 1451set { throw new InvalidOperationException();} 1645set { throw new InvalidOperationException(); }
system\runtime\remoting\context.cs (3)
251throw new InvalidOperationException( 289throw new InvalidOperationException( 339throw new InvalidOperationException(
system\runtime\remoting\dynamicpropertyholder.cs (1)
186throw new InvalidOperationException(
system\runtime\remoting\message.cs (19)
1015throw new InvalidOperationException( 1086throw new InvalidOperationException( 1100throw new InvalidOperationException( 1119throw new InvalidOperationException( 1137throw new InvalidOperationException( 1155throw new InvalidOperationException( 1173throw new InvalidOperationException( 1231throw new InvalidOperationException( 1247throw new InvalidOperationException( 1262throw new InvalidOperationException( 1279throw new InvalidOperationException( 1297throw new InvalidOperationException( 1359throw new InvalidOperationException( 1374throw new InvalidOperationException( 2212throw new InvalidOperationException( 2238throw new InvalidOperationException( 2265throw new InvalidOperationException( 5283throw new InvalidOperationException( 5298throw new InvalidOperationException(
system\runtime\remoting\realproxy.cs (2)
585throw new InvalidOperationException(Environment.GetResourceString( 600throw new InvalidOperationException(
system\runtime\remoting\remotingproxy.cs (1)
449throw new InvalidOperationException(
system\runtime\serialization\serializationinfoenumerator.cs (5)
103throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen")); 112throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen")); 126throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen")); 134throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen")); 142throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumOpCantHappen"));
system\runtimehandles.cs (2)
828throw new InvalidOperationException(Environment.GetResourceString("Arg_NotGenericParameter")); 1908throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NullModuleHandle"));
system\security\accesscontrol\acl.cs (11)
63throw new InvalidOperationException( Environment.GetResourceString( "Arg_InvalidOperationException" )); 314throw new InvalidOperationException( Environment.GetResourceString( "AccessControl_AclTooLong" )); 1850throw new InvalidOperationException( Environment.GetResourceString( "InvalidOperation_ModificationOfNonCanonicalAcl" )); 3006throw new InvalidOperationException( 3027throw new InvalidOperationException( 3048throw new InvalidOperationException( 3068throw new InvalidOperationException( 3169throw new InvalidOperationException( 3192throw new InvalidOperationException( 3215throw new InvalidOperationException( 3237throw new InvalidOperationException(
system\security\accesscontrol\nativeobjectsecurity.cs (7)
140exception = new InvalidOperationException( Environment.GetResourceString( "AccessControl_InvalidOwner" ) ); 144exception = new InvalidOperationException( Environment.GetResourceString( "AccessControl_InvalidGroup" )); 148exception = new InvalidOperationException( Environment.GetResourceString( "AccessControl_UnexpectedError", error )); 167exception = new InvalidOperationException( Environment.GetResourceString( "AccessControl_UnexpectedError", error )); 285exception = new InvalidOperationException( Environment.GetResourceString( "AccessControl_InvalidOwner" ) ); 289exception = new InvalidOperationException( Environment.GetResourceString( "AccessControl_InvalidGroup" ) ); 312exception = new InvalidOperationException( Environment.GetResourceString( "AccessControl_UnexpectedError", error ));
system\security\accesscontrol\objectsecurity.cs (8)
180throw new InvalidOperationException( Environment.GetResourceString( "InvalidOperation_MustLockForReadOrWrite" )); 190throw new InvalidOperationException( Environment.GetResourceString( "InvalidOperation_MustLockForWrite" )); 203throw new InvalidOperationException( Environment.GetResourceString( "InvalidOperation_MustLockForReadOrWrite" )); 213throw new InvalidOperationException( Environment.GetResourceString( "InvalidOperation_MustLockForWrite" )); 226throw new InvalidOperationException( Environment.GetResourceString( "InvalidOperation_MustLockForReadOrWrite" )); 236throw new InvalidOperationException( Environment.GetResourceString( "InvalidOperation_MustLockForWrite" )); 249throw new InvalidOperationException( Environment.GetResourceString( "InvalidOperation_MustLockForReadOrWrite" )); 259throw new InvalidOperationException( Environment.GetResourceString( "InvalidOperation_MustLockForWrite" ));
system\security\accesscontrol\privilege.cs (7)
140throw new InvalidOperationException(); 315throw new InvalidOperationException(); 462throw new InvalidOperationException( Environment.GetResourceString( "InvalidOperation_MustBeSameThread" )); 471throw new InvalidOperationException( Environment.GetResourceString( "InvalidOperation_MustRevertPrivilege" )); 580throw new InvalidOperationException(); 593throw new InvalidOperationException( Environment.GetResourceString( "InvalidOperation_MustBeSameThread" )); 670throw new InvalidOperationException();
system\security\accesscontrol\securitydescriptor.cs (2)
246throw new InvalidOperationException(); 251throw new InvalidOperationException();
system\security\accesscontrol\win32.cs (1)
169throw new InvalidOperationException(Environment.GetResourceString( "InvalidOperation_NoSecurityDescriptor" ));
system\security\claims\ClaimsIdentity.cs (4)
329throw new InvalidOperationException(Environment.GetResourceString("InvalidOperationException_ActorGraphCircular")); 476throw new InvalidOperationException(Environment.GetResourceString("InvalidOperationException_ActorGraphCircular")); 619throw new InvalidOperationException(Environment.GetResourceString("InvalidOperationException_ActorGraphCircular")); 708throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ClaimCannotBeRemoved", claim));
system\security\cryptography\hmac.cs (1)
199throw new InvalidOperationException(e.Message, e);
system\security\cryptography\md5cryptoserviceprovider.cs (1)
31throw new InvalidOperationException(Environment.GetResourceString("Cryptography_NonCompliantFIPSAlgorithm"));
system\security\cryptography\rc2cryptoserviceprovider.cs (1)
40throw new InvalidOperationException(Environment.GetResourceString("Cryptography_NonCompliantFIPSAlgorithm"));
system\security\cryptography\rijndaelmanaged.cs (1)
29throw new InvalidOperationException(Environment.GetResourceString("Cryptography_NonCompliantFIPSAlgorithm"));
system\security\cryptography\ripemd160managed.cs (1)
41throw new InvalidOperationException(Environment.GetResourceString("Cryptography_NonCompliantFIPSAlgorithm"));
system\security\cryptography\sha1managed.cs (1)
43throw new InvalidOperationException(Environment.GetResourceString("Cryptography_NonCompliantFIPSAlgorithm"));
system\security\cryptography\sha256managed.cs (1)
45throw new InvalidOperationException(Environment.GetResourceString("Cryptography_NonCompliantFIPSAlgorithm"));
system\security\cryptography\sha384managed.cs (1)
43throw new InvalidOperationException(Environment.GetResourceString("Cryptography_NonCompliantFIPSAlgorithm"));
system\security\cryptography\sha512managed.cs (1)
35throw new InvalidOperationException(Environment.GetResourceString("Cryptography_NonCompliantFIPSAlgorithm"));
system\security\cryptography\utils.cs (2)
269throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NoSecurityDescriptor")); 486throw new InvalidOperationException(Environment.GetResourceString("Cryptography_NotInteractive"));
system\security\hostsecuritymanager.cs (1)
149throw new InvalidOperationException(Environment.GetResourceString("Policy_AppTrustMustGrantAppRequest"));
system\security\permissions\keycontainerpermission.cs (1)
239throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumNotStarted"));
system\security\policy\assemblyevidencefactory.cs (1)
236throw new InvalidOperationException(Environment.GetResourceString("Policy_NullHostEvidence", securityManager.GetType().FullName, targetAssembly.FullName));
system\security\policy\evidence.cs (6)
736throw new InvalidOperationException(Environment.GetResourceString("Policy_DuplicateEvidence", duplicate.GetType().FullName)); 1334throw new InvalidOperationException(Environment.GetResourceString("Policy_IncorrectHostEvidence", hostType, recievedType, requestedType)); 1635throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumFailedVersion")); 1646throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumFailedVersion")); 1750throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumFailedVersion")); 1781throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EnumFailedVersion"));
system\security\policy\evidencebase.cs (1)
40throw new InvalidOperationException(Environment.GetResourceString("Policy_EvidenceMustBeSerializable"));
system\security\policy\hash.cs (1)
318throw new InvalidOperationException(Environment.GetResourceString("Security_CannotGenerateHash"));
system\security\policy\policylevel.cs (1)
1417throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_EmptyStack"));
system\security\principal\windowsidentity.cs (1)
682throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_AnonymousCannotImpersonate"));
system\security\readonlypermissionset.cs (4)
98throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ModifyROPermSet")); 112throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ModifyROPermSet")); 118throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ModifyROPermSet")); 123throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ModifyROPermSet"));
system\security\securestring.cs (1)
371throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly"));
system\security\securitycontext.cs (5)
294throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotSupressFlowMultipleTimes")); 311throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotRestoreUnsupressedFlow")); 343throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NullContext")); 351throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotNewCaptureContext")); 509throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotNewCaptureContext"));
system\security\securityruntime.cs (4)
240throw new InvalidOperationException(Environment.GetResourceString("ExecutionEngine_MissingSecurityDescriptor")); 254throw new InvalidOperationException(Environment.GetResourceString("ExecutionEngine_MissingSecurityDescriptor")); 268throw new InvalidOperationException(Environment.GetResourceString("ExecutionEngine_MissingSecurityDescriptor")); 282throw new InvalidOperationException(Environment.GetResourceString("ExecutionEngine_MissingSecurityDescriptor"));
system\text\encoding.cs (2)
861throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly")); 883throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ReadOnly"));
system\text\normalization.cs (3)
216throw new InvalidOperationException( 251throw new InvalidOperationException( 297throw new InvalidOperationException(
system\threading\CountdownEvent.cs (5)
196throw new InvalidOperationException(Environment.GetResourceString("CountdownEvent_Decrement_BelowZero")); 210throw new InvalidOperationException(Environment.GetResourceString("CountdownEvent_Decrement_BelowZero")); 250throw new InvalidOperationException(Environment.GetResourceString("CountdownEvent_Decrement_BelowZero")); 323throw new InvalidOperationException(Environment.GetResourceString("CountdownEvent_Increment_AlreadyZero")); 364throw new InvalidOperationException(Environment.GetResourceString("CountdownEvent_Increment_AlreadyMax"));
system\threading\executioncontext.cs (9)
427throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotUseAFCMultiple")); 431throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotUseAFCOtherThread")); 437throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_AsyncFlowCtrlCtxMismatch")); 446throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_AsyncFlowCtrlCtxMismatch")); 912throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NullContext")); 914throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotNewCaptureContext")); 1095throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotCopyUsedContext")); 1171throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotSupressFlowMultipleTimes")); 1185throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotRestoreUnsupressedFlow"));
system\threading\hostexecutioncontextmanager.cs (4)
204throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_NotNewCaptureContext")); 246throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotOverrideSetWithoutRevert")); 254throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotUseSwitcherOtherThread")); 262throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_CannotUseSwitcherOtherThread"));
system\threading\LazyInitializer.cs (1)
151throw new InvalidOperationException(Environment.GetResourceString("Lazy_StaticInit_InvalidOperation"));
system\threading\ManualResetEventSlim.cs (1)
173throw new InvalidOperationException(String.Format(Environment.GetResourceString("ManualResetEventSlim_ctor_TooManyWaiters"), NumWaitersState_MaxValue));
system\threading\overlapped.cs (2)
201throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_Overlapped_Pack")); 236throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_Overlapped_Pack"));
system\threading\SpinLock.cs (1)
707throw new InvalidOperationException(Environment.GetResourceString("SpinLock_IsHeldByCurrentThread"));
system\threading\Tasks\ConcurrentExclusiveSchedulerPair.cs (1)
537if (m_pair.CompletionRequested) throw new InvalidOperationException(GetType().Name);
system\threading\Tasks\Parallel.cs (9)
2557throw new InvalidOperationException(Environment.GetResourceString("Parallel_ForEach_OrderedPartitionerKeysNotNormalized")); 2739throw new InvalidOperationException(Environment.GetResourceString("Parallel_ForEach_OrderedPartitionerKeysNotNormalized")); 2970throw new InvalidOperationException(Environment.GetResourceString("Parallel_ForEach_OrderedPartitionerKeysNotNormalized")); 3184throw new InvalidOperationException(Environment.GetResourceString("Parallel_ForEach_OrderedPartitionerKeysNotNormalized")); 3214throw new InvalidOperationException(Environment.GetResourceString("Parallel_ForEach_PartitionerNotDynamic")); 3269throw new InvalidOperationException(Environment.GetResourceString("Parallel_ForEach_PartitionerReturnedNull")); 3277throw new InvalidOperationException(Environment.GetResourceString("Parallel_ForEach_PartitionerReturnedNull")); 3340throw new InvalidOperationException(Environment.GetResourceString("Parallel_ForEach_NullEnumerator")); 3392throw new InvalidOperationException(Environment.GetResourceString("Parallel_ForEach_NullEnumerator"));
system\threading\Tasks\ParallelLoopState.cs (3)
207throw new InvalidOperationException( 250throw new InvalidOperationException( 462throw new InvalidOperationException(
system\threading\Tasks\Task.cs (11)
626throw new InvalidOperationException(Environment.GetResourceString("Task_ctor_LRandSR")); 1080throw new InvalidOperationException(Environment.GetResourceString("Task_Start_TaskCompleted")); 1091throw new InvalidOperationException(Environment.GetResourceString("Task_Start_Promise")); 1095throw new InvalidOperationException(Environment.GetResourceString("Task_Start_ContinuationTask")); 1101throw new InvalidOperationException(Environment.GetResourceString("Task_Start_AlreadyStarted")); 1185throw new InvalidOperationException(Environment.GetResourceString("Task_RunSynchronously_Continuation")); 1191throw new InvalidOperationException(Environment.GetResourceString("Task_RunSynchronously_Promise")); 1197throw new InvalidOperationException(Environment.GetResourceString("Task_RunSynchronously_TaskCompleted")); 1203throw new InvalidOperationException(Environment.GetResourceString("Task_RunSynchronously_AlreadyStarted")); 1266throw new InvalidOperationException(Environment.GetResourceString("Task_RunSynchronously_TaskCompleted")); 1862throw new InvalidOperationException(Environment.GetResourceString("Task_Dispose_NotCompleted"));
system\threading\Tasks\TaskCompletionSource.cs (4)
248throw new InvalidOperationException(Environment.GetResourceString("TaskT_TransitionToFinal_AlreadyCompleted")); 274throw new InvalidOperationException(Environment.GetResourceString("TaskT_TransitionToFinal_AlreadyCompleted")); 322throw new InvalidOperationException(Environment.GetResourceString("TaskT_TransitionToFinal_AlreadyCompleted")); 370throw new InvalidOperationException(Environment.GetResourceString("TaskT_TransitionToFinal_AlreadyCompleted"));
system\threading\Tasks\TaskScheduler.cs (3)
230throw new InvalidOperationException(Environment.GetResourceString("TaskScheduler_InconsistentStateAfterTryExecuteTaskInline")); 455throw new InvalidOperationException(Environment.GetResourceString("TaskScheduler_ExecuteTask_WrongTaskScheduler")); 651throw new InvalidOperationException(Environment.GetResourceString("TaskScheduler_FromCurrentSynchronizationContext_NoCurrent"));
system\threading\thread.cs (6)
324throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ThreadWrongThreadStart")); 448throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ThreadAPIsNotSupported")); 467throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ThreadAPIsNotSupported")); 987throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ApartmentStateSwitchFailed")); 1506throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_WriteOnce")); 1530throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_ExceptionStateCrossAppDomain"), e);
system\threading\ThreadLocal.cs (2)
349throw new InvalidOperationException(Environment.GetResourceString("ThreadLocal_Value_RecursiveCallsToValue")); 463throw new InvalidOperationException(Environment.GetResourceString("ThreadLocal_ValuesNotAvailable"));
system\threading\threadpool.cs (1)
1449throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_WaitOnTransparentProxy"));
system\threading\waithandle.cs (3)
338throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_WaitOnTransparentProxy")); 445throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_WaitOnTransparentProxy")); 583throw new InvalidOperationException(Environment.GetResourceString("Threading.WaitHandleTooManyPosts"));
system\throwhelper.cs (1)
99throw new InvalidOperationException(Environment.GetResourceString(GetResourceName(resource)));
system\type.cs (4)
1185get {throw new InvalidOperationException(Environment.GetResourceString("Arg_NotGenericParameter")); } 1217throw new InvalidOperationException(Environment.GetResourceString("Arg_NotGenericParameter")); 1220throw new InvalidOperationException(); 1531throw new InvalidOperationException(Environment.GetResourceString("InvalidOperation_UnknownEnumType"));
PresentationBuildTasks (3)
BuildTasks\Microsoft\Build\Tasks\Windows\UidManager.cs (2)
1309throw new InvalidOperationException(); 1319throw new InvalidOperationException();
Framework\System\Windows\Markup\XAMLParseException.cs (1)
490throw new InvalidOperationException(message);
PresentationCore (38)
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (1)
732throw new InvalidOperationException();
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\Compress.cs (2)
121throw new InvalidOperationException(StrokeCollectionSerializer.ISFDebugMessage(SR.Get(SRID.DecompressPacketDataFailed))); 202throw new InvalidOperationException(StrokeCollectionSerializer.ISFDebugMessage(SR.Get(SRID.DecompressPropertyFailed)));
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (3)
198throw new InvalidOperationException(StrokeCollectionSerializer. ISFDebugMessage("ROP data size was not found")); 564throw new InvalidOperationException(StrokeCollectionSerializer.ISFDebugMessage("ROP data size was not found")); 573throw new InvalidOperationException(StrokeCollectionSerializer.ISFDebugMessage("ROP data was incorrectly serialized"));
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\GorillaCodec.cs (1)
404throw new InvalidOperationException(StrokeCollectionSerializer.ISFDebugMessage("Transform returned unexpected results"));
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (19)
348throw new InvalidOperationException(ISFDebugMessage("ISF decoder cannot operate on non-empty ink container")); 684throw new InvalidOperationException(ISFDebugMessage("Invalid ISF tag logic")); 1787throw new InvalidOperationException(ISFDebugMessage("Calculated ISF stream size != actual stream size")); 1806throw new InvalidOperationException(ISFDebugMessage("Calculated ISF stream size != actual stream size")); 1820throw new InvalidOperationException(ISFDebugMessage("Calculated ISF stream size != actual stream size")); 1832throw new InvalidOperationException(ISFDebugMessage("Calculated ISF stream size != actual stream size")); 1841throw new InvalidOperationException(ISFDebugMessage("Calculated ISF stream size != actual stream size")); 1850throw new InvalidOperationException(ISFDebugMessage("Calculated ISF stream size != actual stream size")); 1859throw new InvalidOperationException(ISFDebugMessage("Calculated ISF stream size != actual stream size")); 1870throw new InvalidOperationException(ISFDebugMessage("Calculated ISF stream size != actual stream size")); 1880throw new InvalidOperationException(ISFDebugMessage("Calculated ISF stream size != actual stream size")); 1901throw new InvalidOperationException(ISFDebugMessage("Calculated ISF stream size != actual stream size")); 1951throw new InvalidOperationException(ISFDebugMessage("Calculated ISF stream size != actual stream size")); 1965throw new InvalidOperationException(ISFDebugMessage("Calculated ISF stream size != actual stream size")); 1979throw new InvalidOperationException(ISFDebugMessage("Calculated ISF stream size != actual stream size")); 1993throw new InvalidOperationException(ISFDebugMessage("Calculated ISF stream size != actual stream size")); 2009throw new InvalidOperationException(ISFDebugMessage("Encoded stroke size != reported size")); 2027throw new InvalidOperationException(ISFDebugMessage("Calculated ISF stream size != actual stream size")); 2030throw new InvalidOperationException(ISFDebugMessage("Calculated ISF stream size != actual stream size"));
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\StrokeSerializer.cs (1)
347throw new InvalidOperationException(StrokeCollectionSerializer.ISFDebugMessage("ExtendedProperty decoded totalBytesInStrokeBlockOfIsfStream exceeded ISF stream totalBytesInStrokeBlockOfIsfStream"));
Core\CSharp\MS\Win32\UnsafeNativeMethodsPenimc.cs (4)
181throw new InvalidOperationException(); 201throw new InvalidOperationException(); 349throw new InvalidOperationException(); 394throw new InvalidOperationException();
Core\CSharp\System\Windows\Input\InputManager.cs (1)
519throw new InvalidOperationException();
Core\CSharp\System\Windows\LayoutManager.cs (1)
66throw new InvalidOperationException();
Core\CSharp\System\Windows\Markup\XamlSerializerUtil.cs (1)
40throw new InvalidOperationException();
Core\CSharp\System\Windows\Media\Animation\KeyTime.cs (2)
249throw new InvalidOperationException(); 271throw new InvalidOperationException();
Core\CSharp\System\Windows\Media\VisualTreeHelper.cs (1)
125throw new InvalidOperationException("UpdateDPI should only be called on the root of a Visual tree");
Core\CSharp\System\Windows\PresentationSource.cs (1)
389throw new InvalidOperationException();
PresentationFramework (35)
src\Framework\Microsoft\Win32\CommonDialog.cs (1)
193throw new InvalidOperationException();
src\Framework\MS\Internal\AppModel\ApplicationProxyInternal.cs (1)
257throw new InvalidOperationException();
src\Framework\MS\Internal\Controls\EmptyEnumerator.cs (1)
66throw new InvalidOperationException();
src\Framework\MS\Internal\Data\CollectionViewGroupInternal.cs (2)
807throw new InvalidOperationException(); 843throw new InvalidOperationException();
src\Framework\MS\Internal\Documents\PageCache.cs (1)
350throw new InvalidOperationException("parameter");
src\Framework\System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (1)
686throw new InvalidOperationException();
src\Framework\System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
312throw new InvalidOperationException();
src\Framework\System\Windows\Automation\Peers\PasswordBoxAutomationPeer.cs (1)
122throw new InvalidOperationException();
src\Framework\System\Windows\Controls\DataGridColumnHeaderCollection.cs (3)
116throw new InvalidOperationException(); 124throw new InvalidOperationException(); 140throw new InvalidOperationException();
src\Framework\System\Windows\Controls\MultipleCopiesCollection.cs (4)
305throw new InvalidOperationException(); 366throw new InvalidOperationException(); 391throw new InvalidOperationException(); 403throw new InvalidOperationException();
src\Framework\System\Windows\Controls\TextBlock.cs (1)
4023throw new InvalidOperationException();
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (2)
2079throw new InvalidOperationException(); 2089throw new InvalidOperationException();
src\Framework\System\Windows\Data\Binding.cs (1)
231throw new InvalidOperationException(); // This is actually never called since CurrentDispatcher will throw if null.
src\Framework\System\Windows\Documents\WinRTSpellerInterop.cs (1)
843throw new InvalidOperationException();
src\Framework\System\Windows\Interop\DocobjHost.cs (1)
1250throw new InvalidOperationException(
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
2077throw new InvalidOperationException("Could not find prefix for type: " + type.Name);
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
284throw new InvalidOperationException("Invalid BAML number");
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
777throw new InvalidOperationException("Invalid BAML number");
src\Framework\System\Windows\Markup\Baml2006\WpfKnownMember.cs (1)
102throw new InvalidOperationException("Can't Assign to Known Member attributes");
src\Framework\System\Windows\Markup\Baml2006\WpfKnownType.cs (1)
93throw new InvalidOperationException("Can't Assign to Known Type attributes");
src\Framework\System\Windows\Markup\Primitives\MarkupWriter.cs (1)
1546throw new InvalidOperationException();
src\Framework\System\Windows\PropertyPath.cs (1)
83throw new InvalidOperationException(); // This is actually never called since CurrentDispatcher will throw if null.
src\Framework\System\Windows\Shell\WindowChromeWorker.cs (1)
1322throw new InvalidOperationException("Unable to combine two HRGNs.");
src\Framework\System\Windows\Standard\NativeMethods.cs (1)
1680throw new InvalidOperationException("IConnectionPoint::Advise returned an invalid cookie.");
src\Framework\System\Windows\Standard\Verify.cs (3)
43throw new InvalidOperationException(message); 145throw new InvalidOperationException(string.Format(CultureInfo.InvariantCulture, "The property {0} cannot be null at this time.", name)); 155throw new InvalidOperationException(string.Format(CultureInfo.InvariantCulture, "The property {0} must be null at this time.", name));
src\Framework\System\Windows\VisualStateManager.cs (1)
225throw new InvalidOperationException();
SMDiagnostics (16)
System\ServiceModel\Diagnostics\ExceptionUtility.cs (1)
195return ThrowHelperError(new InvalidOperationException(message));
System\ServiceModel\Diagnostics\PlainXmlWriter.cs (2)
114throw new InvalidOperationException(); 131throw new InvalidOperationException();
System\ServiceModel\Diagnostics\TraceXPathNavigator.cs (13)
311throw new InvalidOperationException(); 352throw new InvalidOperationException(); 381throw new InvalidOperationException(); 388throw new InvalidOperationException(); 402throw new InvalidOperationException(); 409throw new InvalidOperationException(); 423throw new InvalidOperationException(); 515throw new InvalidOperationException(); 532throw new InvalidOperationException(); 567throw new InvalidOperationException(); 601throw new InvalidOperationException(); 623throw new InvalidOperationException(); 912throw new InvalidOperationException();
SMSvcHost (2)
System\ServiceModel\Activation\NetPipeSectionData.cs (1)
25throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException());
System\ServiceModel\Activation\NetTcpSectionData.cs (1)
27throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException());
System (8)
compmod\system\componentmodel\ArraySubsetEnumerator.cs (1)
47throw new InvalidOperationException();
net\System\Net\Sockets\NetworkStream.cs (1)
147throw new InvalidOperationException();
net\System\Net\WebSockets\WebSocketBase.cs (1)
1853throw new InvalidOperationException();
net\System\Net\WebSockets\WebSocketConnectionStream.cs (1)
296throw new InvalidOperationException();
net\System\Net\WebSockets\WebSocketHttpListenerDuplexStream.cs (2)
765throw new InvalidOperationException(); 1073throw new InvalidOperationException();
parent\parent\parent\InternalApis\NDP_FX\inc\ZLibNative.cs (2)
446throw new InvalidOperationException(); 621throw new InvalidOperationException("InitializationState != " + requiredState.ToString());
System.Activities (2)
System\Activities\RuntimeTransactionHandle.cs (2)
118throw FxTrace.Exception.AsError(new InvalidOperationException(message)); 126throw FxTrace.Exception.AsError(new InvalidOperationException(message));
System.Activities.Core.Presentation (7)
System\Activities\Core\Presentation\FlowSwitchLink.cs (4)
180throw FxTrace.Exception.AsError(new InvalidOperationException(SR.DefaultCaseExists)); 200throw FxTrace.Exception.AsError(new InvalidOperationException(errorMessage)); 221throw FxTrace.Exception.AsError(new InvalidOperationException(SR.InvalidFlowSwitchCaseMessage)); 303throw FxTrace.Exception.AsError(new InvalidOperationException(SR.InvalidFlowSwitchCaseMessage));
System\ServiceModel\Activities\Presentation\MessageQueryEditor.xaml.cs (2)
159throw FxTrace.Exception.AsError(new InvalidOperationException( 170throw FxTrace.Exception.AsError(new InvalidOperationException(
System\ServiceModel\Activities\Presentation\ServiceContractImporter.cs (1)
94throw new InvalidOperationException(e.Message + Environment.NewLine + Environment.NewLine + e.InnerException.GetType().ToString() + Environment.NewLine + e.InnerException.Message, e);
System.Activities.Presentation (72)
System.Activities.Presentation\System\Activities\Presentation\Annotations\AnnotationManager.cs (1)
56throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CouldNotChangeValueAfterInitialization));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\EditingContext.cs (5)
58throw FxTrace.Exception.AsError(new InvalidOperationException( 79throw FxTrace.Exception.AsError(new InvalidOperationException( 540throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Resources.Error_RecursionResolvingService, serviceType.FullName))); 557throw FxTrace.Exception.AsError(new InvalidOperationException( 566throw FxTrace.Exception.AsError(new InvalidOperationException(
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Automation\TextFormatConverter.cs (1)
46throw FxTrace.Exception.AsError(new InvalidOperationException());
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\ImageSourceToImageConverter.cs (1)
43throw FxTrace.Exception.AsError(new InvalidOperationException());
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\NewItemFactoryTypeModelToDisplayNameConverter.cs (1)
59throw FxTrace.Exception.AsError(new InvalidOperationException());
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\newitemfactorytypemodeltotypenameconverter.cs (1)
38throw FxTrace.Exception.AsError(new InvalidOperationException());
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\PropertyValueToStandardValuesConverter.cs (1)
48throw FxTrace.Exception.AsError(new InvalidOperationException());
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\EqualsConverter.cs (1)
32throw FxTrace.Exception.AsError(new InvalidOperationException());
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\SwitchConverter.cs (1)
62throw FxTrace.Exception.AsError(new InvalidOperationException(ExceptionStringTable.SwitchConverterIsOneWay));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyIndexer.cs (2)
278throw FxTrace.Exception.AsError(new InvalidOperationException(Resources.PropertyEditing_ErrorSetValueOnIndexer)); 286throw FxTrace.Exception.AsError(new InvalidOperationException(Resources.PropertyEditing_ClearIndexer));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValue.cs (1)
243throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyValueEditorCommandHandler.cs (2)
157throw FxTrace.Exception.AsError(new InvalidOperationException(System.Activities.Presentation.Internal.Properties.Resources.PropertyEditing_ErrorCommit_NoTransactionsOpened)); 174throw FxTrace.Exception.AsError(new InvalidOperationException(System.Activities.Presentation.Internal.Properties.Resources.PropertyEditing_ErrorAbort_NoTransactionsOpened));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\CategoryEditorSelectionStop.cs (1)
42set { throw FxTrace.Exception.AsError(new InvalidOperationException()); }
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\PropertySelectionStop.cs (1)
40set { throw FxTrace.Exception.AsError(new InvalidOperationException()); }
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\SharedPropertyValueColumnWidthContainer.cs (1)
63throw FxTrace.Exception.AsError(new InvalidOperationException());
System.Activities.Presentation\System\Activities\Presentation\Base\Core\ServiceManager.cs (4)
330throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format( 342throw FxTrace.Exception.AsError(new InvalidOperationException( 352throw FxTrace.Exception.AsError(new InvalidOperationException( 397throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelEditingScope.cs (3)
65if (_reverted) throw FxTrace.Exception.AsError(new InvalidOperationException(System.Activities.Presentation.Internal.Properties.Resources.Error_EditingScopeReverted)); 66if (_completed) throw FxTrace.Exception.AsError(new InvalidOperationException(System.Activities.Presentation.Internal.Properties.Resources.Error_EdtingScopeCompleted)); 120if (_completed) throw FxTrace.Exception.AsError(new InvalidOperationException(System.Activities.Presentation.Internal.Properties.Resources.Error_EdtingScopeCompleted));
System.Activities.Presentation\System\Activities\Presentation\Converters\OutlineViewTextConverter.cs (1)
50throw FxTrace.Exception.AsError(new InvalidOperationException());
System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (1)
255throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CutCopyRequiresDesignerView));
System.Activities.Presentation\System\Activities\Presentation\DesignerConfigurationService.cs (14)
77throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CouldNotSetPropertyAfterLoad)); 150throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CouldNotSetPropertyAfterLoad)); 174throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CouldNotSetPropertyAfterLoad)); 197throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CouldNotSetPropertyAfterLoad)); 220throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CouldNotSetPropertyAfterLoad)); 243throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CouldNotSetPropertyAfterLoad)); 265throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CouldNotSetPropertyAfterLoad)); 288throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CouldNotSetPropertyAfterLoad)); 324throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.NotSupportedFrameworkIdentifier, value.Identifier))); 329throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.NotSupportedFrameworkProfile, value.Profile))); 334throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.NotSupportedFrameworkVersion, value.Version.ToString()))); 339throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CouldNotSetPropertyAfterLoad)); 365throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CouldNotSetPropertyAfterLoad)); 453throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CantEnableAnnotationBefore45));
System.Activities.Presentation\System\Activities\Presentation\DesignTimeValidationFeature.cs (1)
19throw FxTrace.Exception.AsError(new InvalidOperationException (
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
631new InvalidOperationException(SR.Error_BadOutputFromSortSelectedItems));
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (1)
1072throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.InvariantCulture,
System.Activities.Presentation\System\Activities\Presentation\Model\AttachedProperty.cs (1)
106throw FxTrace.Exception.AsError(new InvalidOperationException(SR.PropertyIsReadOnly));
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (4)
411throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CollectionIsReadOnly)); 443throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CollectionIsReadOnly)); 456throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CollectionIsReadOnly)); 465throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CollectionIsReadOnly));
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (4)
124throw FxTrace.Exception.AsError(new InvalidOperationException("((ModelItem)oldKey).GetCurrentValue()")); 132throw FxTrace.Exception.AsError(new InvalidOperationException("((ModelItem)newKey).GetCurrentValue()")); 206throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.PropertyDoesntExistFormatString, path[i]))); 257throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.PropertyDoesntExistFormatString, path[i])));
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemHelper.cs (2)
17throw FxTrace.Exception.AsError(new InvalidOperationException(SR.InvalidNestedModelItemBeginEditExceptionMessage)); 24throw FxTrace.Exception.AsError(new InvalidOperationException(SR.InvalidNestedModelItemBeginEditExceptionMessage));
System.Activities.Presentation\System\Activities\Presentation\NamespaceListProperty.cs (2)
245throw FxTrace.Exception.AsError(new InvalidOperationException()); 304throw FxTrace.Exception.AsError(new InvalidOperationException(SR.NamespaceListNoDuplicate));
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemWrapper.cs (2)
109throw FxTrace.Exception.AsError(new InvalidOperationException(SR.ToolboxItemFrozenDescription)); 128throw FxTrace.Exception.AsError(new InvalidOperationException(SR.ToolboxItemFrozenDescription));
System.Activities.Presentation\System\Activities\Presentation\UndoEngine.cs (2)
230throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.UndoEngine_OperationNotAllowed, "CommitBookmark"))); 253throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.UndoEngine_OperationNotAllowed, "RollbackBookmark")));
System.Activities.Presentation\System\Activities\Presentation\View\BreadCrumbTextConverter.cs (1)
70throw FxTrace.Exception.AsError(new InvalidOperationException());
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (1)
1143throw FxTrace.Exception.AsError(new InvalidOperationException("Not supported file type"));
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemViewModel.cs (1)
416throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.PromotedPropertyNotFound, outlineView.PromotedProperty, property.Value.Name)));
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (2)
505throw FxTrace.Exception.AsError(new InvalidOperationException(SR.WorkflowDesignerLoadShouldBeCalledOnlyOnce)); 617throw FxTrace.Exception.AsError(new InvalidOperationException(SR.WorkflowDesignerLoadShouldBeCalledFirst));
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (1)
692throw FxTrace.Exception.AsError(new InvalidOperationException(SR.Error_BadOutputFromSortSelectedItems));
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (2)
983new InvalidOperationException(SR.Error_MovingMoreThanOneItemsFromICompositeView)); 1009throw FxTrace.Exception.AsError(new InvalidOperationException(SR.DraggingMulitpleItemsError));
System.AddIn (10)
System\Addin\Hosting\ActivationWorker.cs (2)
165throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, Res.IncompatibleAddInBaseAssembly, assemblyName)); 244throw new InvalidOperationException("Fell through switch in assembly resolve event!");
System\Addin\Hosting\AddInActivator.cs (3)
564throw new InvalidOperationException(String.Join("\n", s), inner); 601Exception e = new InvalidOperationException( 619Exception e = new InvalidOperationException(
System\Addin\Hosting\AddInProcess.cs (2)
120throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, Res.MissingAddInProcessExecutable, _pathToAddInProcess)); 398throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, Res.CouldNotCreateAddInProcess, _startupTimeout.ToString()));
System\Addin\Hosting\AddInStore.cs (3)
1081throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, Res.CantFindDeployedAddInsFile, storeFileName)); 1091throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, Res.DeployedAddInsFileCorrupted, storeFileName)); 1107throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, Res.CantDeserializeData, storeFileName), e);
System.AddIn.Contract (39)
System\Addin\Contract\RemoteArgument.cs (39)
304throw new InvalidOperationException(); 369throw new InvalidOperationException(); 784throw new InvalidOperationException(); 796throw new InvalidOperationException(); 814throw new InvalidOperationException(); 846throw new InvalidOperationException(); 858throw new InvalidOperationException(); 882throw new InvalidOperationException(); 894throw new InvalidOperationException(); 918throw new InvalidOperationException(); 930throw new InvalidOperationException(); 954throw new InvalidOperationException(); 966throw new InvalidOperationException(); 990throw new InvalidOperationException(); 1002throw new InvalidOperationException(); 1026throw new InvalidOperationException(); 1038throw new InvalidOperationException(); 1062throw new InvalidOperationException(); 1074throw new InvalidOperationException(); 1098throw new InvalidOperationException(); 1110throw new InvalidOperationException(); 1134throw new InvalidOperationException(); 1146throw new InvalidOperationException(); 1170throw new InvalidOperationException(); 1182throw new InvalidOperationException(); 1206throw new InvalidOperationException(); 1218throw new InvalidOperationException(); 1242throw new InvalidOperationException(); 1254throw new InvalidOperationException(); 1281throw new InvalidOperationException(); 1293throw new InvalidOperationException(); 1318throw new InvalidOperationException(); 1330throw new InvalidOperationException(); 1355throw new InvalidOperationException(); 1367throw new InvalidOperationException(); 1392throw new InvalidOperationException(); 1404throw new InvalidOperationException(); 1427throw new InvalidOperationException(); 1439throw new InvalidOperationException();
System.ComponentModel.DataAnnotations (28)
DataAnnotations\AssociatedMetadataTypeTypeDescriptor.cs (1)
128throw new InvalidOperationException(String.Format(
DataAnnotations\CustomValidationAttribute.cs (1)
263throw new InvalidOperationException(errorMessage);
DataAnnotations\DataTypeAttribute.cs (1)
110throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.DataTypeAttribute_EmptyDataTypeString));
DataAnnotations\DisplayAttribute.cs (3)
234throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.DisplayAttribute_PropertyNotSet, "AutoGenerateField", "GetAutoGenerateField")); 260throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.DisplayAttribute_PropertyNotSet, "AutoGenerateFilter", "GetAutoGenerateFilter")); 286throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.DisplayAttribute_PropertyNotSet, "Order", "GetOrder"));
DataAnnotations\EnumDataTypeAttribute.cs (2)
24throw new InvalidOperationException(DataAnnotationsResources.EnumDataTypeAttribute_TypeCannotBeNull); 27throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.EnumDataTypeAttribute_TypeNeedsToBeAnEnum, this.EnumType.FullName));
DataAnnotations\LocalizableString.cs (1)
140this._cachedResult = () => { throw new InvalidOperationException(exceptionMessage); };
DataAnnotations\MaxLengthAttribute.cs (1)
93throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.MaxLengthAttribute_InvalidMaxLength));
DataAnnotations\MetadataTypeAttribute.cs (1)
17throw new InvalidOperationException(DataAnnotationsResources.MetadataTypeAttribute_TypeCannotBeNull);
DataAnnotations\MinLengthAttribute.cs (1)
78throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.MinLengthAttribute_InvalidMinLength));
DataAnnotations\RangeAttribute.cs (4)
73throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.RangeAttribute_MinGreaterThanMax, maximum, minimum)); 146throw new InvalidOperationException(DataAnnotationsResources.RangeAttribute_Must_Set_Min_And_Max); 161throw new InvalidOperationException(DataAnnotationsResources.RangeAttribute_Must_Set_Operand_Type); 165throw new InvalidOperationException(
DataAnnotations\RegularExpressionAttribute.cs (1)
102throw new InvalidOperationException(DataAnnotationsResources.RegularExpressionAttribute_Empty_Pattern);
DataAnnotations\StringLengthAttribute.cs (2)
84throw new InvalidOperationException(DataAnnotationsResources.StringLengthAttribute_InvalidMaxLength); 88throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.RangeAttribute_MinGreaterThanMax, this.MaximumLength, this.MinimumLength));
DataAnnotations\UIHintAttribute.cs (4)
192throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.UIHintImplementation_NeedEvenNumberOfControlParameters)); 199throw new InvalidOperationException( 208throw new InvalidOperationException( 217throw new InvalidOperationException(
DataAnnotations\ValidationAttribute.cs (5)
213throw new InvalidOperationException(DataAnnotationsResources.ValidationAttribute_Cannot_Set_ErrorMessage_And_Resource); 218throw new InvalidOperationException(DataAnnotationsResources.ValidationAttribute_NeedBothResourceTypeAndResourceName); 251throw new InvalidOperationException( 259throw new InvalidOperationException( 271throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.ValidationAttribute_NeedBothResourceTypeAndResourceName));
System.Core (32)
Microsoft\Scripting\Ast\BlockExpression.cs (5)
194default: throw new InvalidOperationException(); 231default: throw new InvalidOperationException(); 270default: throw new InvalidOperationException(); 311default: throw new InvalidOperationException(); 415default: throw new InvalidOperationException();
Microsoft\Scripting\Ast\DebugViewWriter.cs (1)
382throw new InvalidOperationException();
Microsoft\Scripting\Ast\DynamicExpression.cs (4)
485default: throw new InvalidOperationException(); 533default: throw new InvalidOperationException(); 583default: throw new InvalidOperationException(); 635default: throw new InvalidOperationException();
Microsoft\Scripting\Ast\ExpressionStringBuilder.cs (1)
315throw new InvalidOperationException();
Microsoft\Scripting\Ast\MethodCallExpression.cs (7)
219default: throw new InvalidOperationException(); 259default: throw new InvalidOperationException(); 300default: throw new InvalidOperationException(); 343default: throw new InvalidOperationException(); 388default: throw new InvalidOperationException(); 432default: throw new InvalidOperationException(); 481default: throw new InvalidOperationException();
Microsoft\Scripting\Utils\CollectionExtensions.cs (1)
190throw new InvalidOperationException();
Microsoft\Scripting\Utils\ContractUtils.cs (1)
36return new InvalidOperationException("Code supposed to be unreachable");
System\Diagnostics\Eventing\Reader\EventLogReader.cs (3)
177throw new InvalidOperationException(); 335throw new InvalidOperationException(); 341throw new InvalidOperationException();
System\Diagnostics\Eventing\Reader\EventLogSession.cs (1)
163throw new InvalidOperationException();
System\Diagnostics\Eventing\Reader\EventLogWatcher.cs (2)
81throw new InvalidOperationException(); 156throw new InvalidOperationException();
System\Diagnostics\Eventing\Reader\NativeWrapper.cs (2)
726throw new InvalidOperationException(); 842throw new InvalidOperationException("We do not have " + SYSTEM_PROPERTY_COUNT + " variants given for the UnsafeNativeMethods.EvtRenderFlags.EvtRenderEventValues flag. (System Properties)");
System\Linq\Parallel\Merging\OrderPreservingPipeliningMergeHelper.cs (1)
175throw new InvalidOperationException();
System\Linq\Parallel\QueryOperators\Unary\ForAllOperator.cs (1)
109throw new InvalidOperationException();
System\Runtime\InteropServices\ComAwareEventInfo.cs (2)
115throw new InvalidOperationException("event invocation for COM objects requires interface to be attributed with ComSourceInterfaceGuidAttribute"); 130throw new InvalidOperationException("event invocation for COM objects requires event to be attributed with DispIdAttribute");
System.Data (78)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Annotations\AnnotationManager.cs (1)
56throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CouldNotChangeValueAfterInitialization));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\EditingContext.cs (5)
58throw FxTrace.Exception.AsError(new InvalidOperationException( 79throw FxTrace.Exception.AsError(new InvalidOperationException( 540throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Resources.Error_RecursionResolvingService, serviceType.FullName))); 557throw FxTrace.Exception.AsError(new InvalidOperationException( 566throw FxTrace.Exception.AsError(new InvalidOperationException(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Automation\TextFormatConverter.cs (1)
46throw FxTrace.Exception.AsError(new InvalidOperationException());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\ImageSourceToImageConverter.cs (1)
43throw FxTrace.Exception.AsError(new InvalidOperationException());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\NewItemFactoryTypeModelToDisplayNameConverter.cs (1)
59throw FxTrace.Exception.AsError(new InvalidOperationException());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\newitemfactorytypemodeltotypenameconverter.cs (1)
38throw FxTrace.Exception.AsError(new InvalidOperationException());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\PropertyValueToStandardValuesConverter.cs (1)
48throw FxTrace.Exception.AsError(new InvalidOperationException());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\EqualsConverter.cs (1)
32throw FxTrace.Exception.AsError(new InvalidOperationException());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\SwitchConverter.cs (1)
62throw FxTrace.Exception.AsError(new InvalidOperationException(ExceptionStringTable.SwitchConverterIsOneWay));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyIndexer.cs (2)
278throw FxTrace.Exception.AsError(new InvalidOperationException(Resources.PropertyEditing_ErrorSetValueOnIndexer)); 286throw FxTrace.Exception.AsError(new InvalidOperationException(Resources.PropertyEditing_ClearIndexer));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValue.cs (1)
243throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyValueEditorCommandHandler.cs (2)
157throw FxTrace.Exception.AsError(new InvalidOperationException(System.Activities.Presentation.Internal.Properties.Resources.PropertyEditing_ErrorCommit_NoTransactionsOpened)); 174throw FxTrace.Exception.AsError(new InvalidOperationException(System.Activities.Presentation.Internal.Properties.Resources.PropertyEditing_ErrorAbort_NoTransactionsOpened));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\CategoryEditorSelectionStop.cs (1)
42set { throw FxTrace.Exception.AsError(new InvalidOperationException()); }
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\PropertySelectionStop.cs (1)
40set { throw FxTrace.Exception.AsError(new InvalidOperationException()); }
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\SharedPropertyValueColumnWidthContainer.cs (1)
63throw FxTrace.Exception.AsError(new InvalidOperationException());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\ServiceManager.cs (4)
330throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format( 342throw FxTrace.Exception.AsError(new InvalidOperationException( 352throw FxTrace.Exception.AsError(new InvalidOperationException( 397throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelEditingScope.cs (3)
65if (_reverted) throw FxTrace.Exception.AsError(new InvalidOperationException(System.Activities.Presentation.Internal.Properties.Resources.Error_EditingScopeReverted)); 66if (_completed) throw FxTrace.Exception.AsError(new InvalidOperationException(System.Activities.Presentation.Internal.Properties.Resources.Error_EdtingScopeCompleted)); 120if (_completed) throw FxTrace.Exception.AsError(new InvalidOperationException(System.Activities.Presentation.Internal.Properties.Resources.Error_EdtingScopeCompleted));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\OutlineViewTextConverter.cs (1)
50throw FxTrace.Exception.AsError(new InvalidOperationException());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (1)
255throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CutCopyRequiresDesignerView));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignerConfigurationService.cs (14)
77throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CouldNotSetPropertyAfterLoad)); 150throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CouldNotSetPropertyAfterLoad)); 174throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CouldNotSetPropertyAfterLoad)); 197throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CouldNotSetPropertyAfterLoad)); 220throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CouldNotSetPropertyAfterLoad)); 243throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CouldNotSetPropertyAfterLoad)); 265throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CouldNotSetPropertyAfterLoad)); 288throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CouldNotSetPropertyAfterLoad)); 324throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.NotSupportedFrameworkIdentifier, value.Identifier))); 329throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.NotSupportedFrameworkProfile, value.Profile))); 334throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.NotSupportedFrameworkVersion, value.Version.ToString()))); 339throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CouldNotSetPropertyAfterLoad)); 365throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CouldNotSetPropertyAfterLoad)); 453throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CantEnableAnnotationBefore45));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignTimeValidationFeature.cs (1)
19throw FxTrace.Exception.AsError(new InvalidOperationException (
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
631new InvalidOperationException(SR.Error_BadOutputFromSortSelectedItems));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (1)
1072throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.InvariantCulture,
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\AttachedProperty.cs (1)
106throw FxTrace.Exception.AsError(new InvalidOperationException(SR.PropertyIsReadOnly));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (4)
411throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CollectionIsReadOnly)); 443throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CollectionIsReadOnly)); 456throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CollectionIsReadOnly)); 465throw FxTrace.Exception.AsError(new InvalidOperationException(SR.CollectionIsReadOnly));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (4)
124throw FxTrace.Exception.AsError(new InvalidOperationException("((ModelItem)oldKey).GetCurrentValue()")); 132throw FxTrace.Exception.AsError(new InvalidOperationException("((ModelItem)newKey).GetCurrentValue()")); 206throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.PropertyDoesntExistFormatString, path[i]))); 257throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.PropertyDoesntExistFormatString, path[i])));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemHelper.cs (2)
17throw FxTrace.Exception.AsError(new InvalidOperationException(SR.InvalidNestedModelItemBeginEditExceptionMessage)); 24throw FxTrace.Exception.AsError(new InvalidOperationException(SR.InvalidNestedModelItemBeginEditExceptionMessage));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\NamespaceListProperty.cs (2)
245throw FxTrace.Exception.AsError(new InvalidOperationException()); 304throw FxTrace.Exception.AsError(new InvalidOperationException(SR.NamespaceListNoDuplicate));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemWrapper.cs (2)
109throw FxTrace.Exception.AsError(new InvalidOperationException(SR.ToolboxItemFrozenDescription)); 128throw FxTrace.Exception.AsError(new InvalidOperationException(SR.ToolboxItemFrozenDescription));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\UndoEngine.cs (2)
230throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.UndoEngine_OperationNotAllowed, "CommitBookmark"))); 253throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentUICulture, SR.UndoEngine_OperationNotAllowed, "RollbackBookmark")));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\BreadCrumbTextConverter.cs (1)
70throw FxTrace.Exception.AsError(new InvalidOperationException());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (1)
1143throw FxTrace.Exception.AsError(new InvalidOperationException("Not supported file type"));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemViewModel.cs (1)
416throw FxTrace.Exception.AsError(new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.PromotedPropertyNotFound, outlineView.PromotedProperty, property.Value.Name)));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (2)
505throw FxTrace.Exception.AsError(new InvalidOperationException(SR.WorkflowDesignerLoadShouldBeCalledOnlyOnce)); 617throw FxTrace.Exception.AsError(new InvalidOperationException(SR.WorkflowDesignerLoadShouldBeCalledFirst));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (1)
692throw FxTrace.Exception.AsError(new InvalidOperationException(SR.Error_BadOutputFromSortSelectedItems));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (2)
983new InvalidOperationException(SR.Error_MovingMoreThanOneItemsFromICompositeView)); 1009throw FxTrace.Exception.AsError(new InvalidOperationException(SR.DraggingMulitpleItemsError));
fx\src\data\System\Data\Common\AdapterUtil.cs (2)
207InvalidOperationException e = new InvalidOperationException(error); 218InvalidOperationException e = new InvalidOperationException(error, inner);
fx\src\data\System\Data\DataException.cs (1)
305InvalidOperationException e = new InvalidOperationException(error);
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
2281throw new InvalidOperationException(o.GetType() + ": invalid Size");
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (1)
2425throw new InvalidOperationException($"Failed to get a token with unsupported auth method {ConnectionOptions.Authentication}.");
fx\src\data\System\Data\SQLTypes\SqlXml.cs (1)
199 throw new InvalidOperationException(SQLResource.ClosedXmlReaderMessage);
System.Data.DataSetExtensions (1)
System\Data\DataSetUtil.cs (1)
66return TraceExceptionAsReturnValue(new InvalidOperationException(message));
System.Data.Entity (3)
System\Data\Common\EntityUtil.cs (2)
304return new InvalidOperationException(error); 307return new InvalidOperationException(error, inner);
System\Data\SqlClient\SqlGen\SqlBuilder.cs (1)
100throw new InvalidOperationException();
System.Data.Entity.Design (1)
System\Data\Entity\Design\Common\EDesignUtil.cs (1)
108InvalidOperationException e = new InvalidOperationException(error);
System.Data.Linq (1)
DataShape.cs (1)
237throw new InvalidOperationException("Bug in ValidateTypeGraphAcyclic"); // Getting here means a bug.
System.Data.Services (11)
System\Data\Services\DataServiceConfiguration.cs (7)
1012throw new InvalidOperationException(message); 1038throw new InvalidOperationException(message); 1049throw new InvalidOperationException(message); 1063throw new InvalidOperationException(message); 1074throw new InvalidOperationException(message); 1084throw new InvalidOperationException(message); 1131throw new InvalidOperationException(message);
System\Data\Services\Parsing\WebConvert.cs (1)
752throw new InvalidOperationException();
System\Data\Services\Serializers\JsonWriter.cs (3)
74throw new InvalidOperationException("No active scope to end."); 136throw new InvalidOperationException("No active scope to write into."); 141throw new InvalidOperationException("Names can only be written into Object Scopes.");
System.Data.Services.Client (6)
System\Data\Services\Client\AtomMaterializer.cs (3)
653throw new InvalidOperationException(message); 855throw new InvalidOperationException( 1817throw new InvalidOperationException(message);
System\Data\Services\Client\Error.cs (3)
37return Trace(new InvalidOperationException(message)); 48return Trace(new InvalidOperationException(message, innerException)); 79return Trace(new InvalidOperationException(message));
System.Data.Services.Design (4)
System\Data\Entity\Design\Common\EDesignUtil.cs (1)
71InvalidOperationException e = new InvalidOperationException(error);
System\Data\EntityModel\DataServiceBuildProvider.cs (3)
121throw new InvalidOperationException(errorMessage, ex); 154throw new InvalidOperationException(); 216throw new InvalidOperationException();
System.IdentityModel (4)
System\IdentityModel\Claims\ClaimsConversionHelper.cs (2)
85throw new InvalidOperationException(); 104throw new InvalidOperationException();
System\IdentityModel\DiagnosticUtilityExtensions.cs (1)
132return ExceptionUtility.ThrowHelperError(new InvalidOperationException(message));
System\IdentityModel\SignedXml.cs (1)
807throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException());
System.IO.Log (2)
System\IO\Log\Error.cs (2)
227return new InvalidOperationException(); 231return new InvalidOperationException(innerException.Message, innerException);
System.Management (33)
managementclass.cs (8)
460 throw new InvalidOperationException(); 587 throw new InvalidOperationException(); 684 throw new InvalidOperationException(); 745 throw new InvalidOperationException(); 1054 throw new InvalidOperationException(); 1152 throw new InvalidOperationException(); 1263 throw new InvalidOperationException(); 1357 throw new InvalidOperationException();
managementeventwatcher.cs (1)
580throw new InvalidOperationException();
managementobject.cs (13)
785throw new InvalidOperationException(); 907throw new InvalidOperationException(); 1043throw new InvalidOperationException(); 1160throw new InvalidOperationException(); 1281throw new InvalidOperationException(); 1389throw new InvalidOperationException(); 1976throw new InvalidOperationException(); 2040throw new InvalidOperationException(); 2164throw new InvalidOperationException(); 2209throw new InvalidOperationException(); 2310throw new InvalidOperationException(); 2378throw new InvalidOperationException(); 2475throw new InvalidOperationException();
managementobjectcollection.cs (2)
493throw new InvalidOperationException(); 622throw new InvalidOperationException();
managementobjectsearcher.cs (1)
491throw new InvalidOperationException();
managementscope.cs (1)
1068throw new InvalidOperationException();
methodset.cs (2)
359throw new InvalidOperationException(); 421throw new InvalidOperationException();
propertyset.cs (4)
284 throw new InvalidOperationException(); 410 throw new InvalidOperationException(); 449 throw new InvalidOperationException(); 491 throw new InvalidOperationException();
qualifierset.cs (1)
375 throw new InvalidOperationException();
System.Runtime.Caching (3)
System\Caching\ChangeMonitor.cs (2)
199throw new InvalidOperationException(R.Init_not_complete); 216throw new InvalidOperationException(R.Method_already_invoked);
System\Caching\ObjectCache.cs (1)
34throw new InvalidOperationException(R.Property_already_set);
System.Runtime.Remoting (3)
channels\http\combinedhttpchannel.cs (1)
102throw new InvalidOperationException(CoreChannel.GetResourceString("Remoting_InvalidOperation_IsSecuredCannotBeChangedOnRegisteredChannels"));
channels\ipc\ipcchannel.cs (1)
110throw new InvalidOperationException(CoreChannel.GetResourceString("Remoting_InvalidOperation_IsSecuredCannotBeChangedOnRegisteredChannels"));
channels\tcp\combinedtcpchannel.cs (1)
102throw new InvalidOperationException(CoreChannel.GetResourceString("Remoting_InvalidOperation_IsSecuredCannotBeChangedOnRegisteredChannels"));
System.Runtime.Serialization (8)
System\Xml\ValueHandle.cs (3)
215throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException()); 538throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException()); 667throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException());
System\Xml\XmlBaseReader.cs (1)
2101throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException());
System\Xml\XmlBaseWriter.cs (3)
1580throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException()); 1631throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException()); 1674throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException());
System\Xml\XmlConverter.cs (1)
1119throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException());
System.Security (13)
system\security\cryptography\cryptoapi.cs (2)
2876throw new InvalidOperationException(SecurityResources.GetResourceString("Environment_NotInteractive")); 2892throw new InvalidOperationException(SecurityResources.GetResourceString("Environment_NotInteractive"));
system\security\cryptography\cryptographicattribute.cs (2)
56throw new InvalidOperationException(SecurityResources.GetResourceString("InvalidOperation_DuplicateItemNotAllowed")); 144throw new InvalidOperationException(SecurityResources.GetResourceString("InvalidOperation_DuplicateItemNotAllowed"));
system\security\cryptography\pkcs\envelopedpkcs7.cs (2)
163throw new InvalidOperationException(SecurityResources.GetResourceString("Cryptography_Cms_MessageNotEncrypted")); 259throw new InvalidOperationException(SecurityResources.GetResourceString("Cryptography_Cms_NoEncryptedMessageToEncode"));
system\security\cryptography\pkcs\recipientinfo.cs (2)
275throw new InvalidOperationException(SecurityResources.GetResourceString("Cryptography_Cms_Key_Agree_Date_Not_Available")); 290throw new InvalidOperationException(SecurityResources.GetResourceString("Cryptography_Cms_Key_Agree_Other_Key_Attribute_Not_Available"));
system\security\cryptography\pkcs\signedpkcs7.cs (5)
129throw new InvalidOperationException(SecurityResources.GetResourceString("Cryptography_Cms_MessageNotSigned")); 183throw new InvalidOperationException(SecurityResources.GetResourceString("Cryptography_Cms_RecipientCertificateNotFound")); 218throw new InvalidOperationException(SecurityResources.GetResourceString("Cryptography_Cms_MessageNotSigned")); 257throw new InvalidOperationException(SecurityResources.GetResourceString("Cryptography_Cms_MessageNotSigned")); 269throw new InvalidOperationException(
System.ServiceModel (58)
System\ServiceModel\Channels\BinaryMessageEncodingBindingElement.cs (1)
94throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(errorMsg));
System\ServiceModel\Channels\ChannelParameterCollection.cs (2)
101throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(text)); 136throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(text));
System\ServiceModel\Channels\FaultConverter.cs (4)
38Exception error = new InvalidOperationException(text); 47Exception error = new InvalidOperationException(text, exception); 64Exception error = new InvalidOperationException(text); 73Exception error = new InvalidOperationException(text);
System\ServiceModel\Channels\FramingChannels.cs (1)
114throw FxTrace.Exception.AsError(new InvalidOperationException());
System\ServiceModel\Channels\HttpChannelHelpers.cs (1)
4196throw FxTrace.Exception.AsError(new InvalidOperationException());
System\ServiceModel\Channels\Message.cs (2)
780throw TraceUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "IMessageHeaderWithSharedNamespace must use a single lowercase letter prefix.")), this); 787throw TraceUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "IMessageHeaderWithSharedNamespace must use a single lowercase letter prefix.")), this);
System\ServiceModel\Channels\MessageProperties.cs (1)
688throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException());
System\ServiceModel\Channels\MessageVersion.cs (1)
198throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "MessageVersion.Addressing cannot be null")));
System\ServiceModel\Channels\MtomMessageEncoder.cs (1)
134throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Invalid MessageVersion")));
System\ServiceModel\Channels\ReliableChannelListener.cs (1)
570throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException());
System\ServiceModel\Channels\ServiceChannel.cs (5)
637Exception error = new InvalidOperationException(text); 645Exception error = new InvalidOperationException(text); 655Exception error = new InvalidOperationException(text); 1188Exception error = new InvalidOperationException(text); 1207Exception error = new InvalidOperationException(text);
System\ServiceModel\Channels\ServiceChannelProxy.cs (1)
193throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Invalid proxy method type")));
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (1)
840throw FxTrace.Exception.AsError(new InvalidOperationException());
System\ServiceModel\Description\ClientClassGenerator.cs (2)
177throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Invalid client generation constructor table initialization"))); 185throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Invalid client generation constructor table initialization")));
System\ServiceModel\Description\DispatcherBuilder.cs (2)
309Exception error = new InvalidOperationException(text); 1237Exception error = new InvalidOperationException(text);
System\ServiceModel\Description\ImportedPolicyConversionContext.cs (1)
267throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Each set must have at least one item in it")));
System\ServiceModel\Description\MessageContractExporter.cs (1)
1219throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Header cannot be Document Wrapped")));
System\ServiceModel\Description\MetadataExchangeClient.cs (1)
1092throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(stringWriter.ToString()));
System\ServiceModel\Description\MetadataExporter.cs (1)
148return new InvalidOperationException(errorMessage, e);
System\ServiceModel\Description\MetadataImporter.cs (1)
135return new InvalidOperationException(errorMessage, e);
System\ServiceModel\Description\ServiceMetadataExtension.cs (2)
892throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Bad object in HttpGetImpl docFromQuery table"))); 898throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Bad object in HttpGetImpl docFromQuery table")));
System\ServiceModel\Description\ServiceReflector.cs (1)
140throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "Cannot generate unique name for name {0}", baseName)));
System\ServiceModel\Description\TypeLoader.cs (1)
624throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(
System\ServiceModel\Description\WsdlExporter.cs (3)
975throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "You must pass at least one namespaceScope"))); 1207return new InvalidOperationException(errorMessage, e); 1225return new InvalidOperationException(errorMessage, e);
System\ServiceModel\Description\WsdlImporter.cs (3)
777WsdlImportException wie = WsdlImportException.Create(item, new InvalidOperationException(errorMsg)); 1910return new InvalidOperationException(errorMessage, e); 1924return new InvalidOperationException(errorMessage, e);
System\ServiceModel\Dispatcher\ChannelHandler.cs (1)
428throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, "No DispatchOperationRuntime found to process message.")));
System\ServiceModel\Dispatcher\ClientRuntime.cs (2)
259throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(text)); 313throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(text));
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (3)
795ErrorBehavior.ThrowAndCatch(new InvalidOperationException(message)); 803ErrorBehavior.ThrowAndCatch(new InvalidOperationException(message)); 875throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(message));
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (4)
332ErrorBehavior.ThrowAndCatch(new InvalidOperationException(message)); 953Exception error = new InvalidOperationException(text); 961Exception error = new InvalidOperationException(text); 971Exception error = new InvalidOperationException(text);
System\ServiceModel\Dispatcher\MessageRpc.cs (1)
810Exception error = new InvalidOperationException(text);
System\ServiceModel\Dispatcher\PrefixEndpointAddressMessageFilterTable.cs (2)
45throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException("EndpointAddressMessageFilter cannot be added to PrefixEndpointAddressMessageFilterTable")); 121throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException("EndpointAddressMessageFilter cannot be removed from PrefixEndpointAddressMessageFilterTable"));
System\ServiceModel\Dispatcher\ThreadBehavior.cs (1)
123throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(text));
System\ServiceModel\Dispatcher\TransactionValidationBehavior.cs (1)
52throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(
System\ServiceModel\Security\TlsnegoTokenAuthenticator.cs (1)
96throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException());
System\ServiceModel\Security\TlsnegoTokenProvider.cs (1)
104throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException());
System.ServiceModel.Internals (1)
System\Runtime\AsyncResult.cs (1)
354throw Fx.Exception.AsError(new InvalidOperationException(message));
System.ServiceModel.Routing (1)
System\ServiceModel\Routing\Configuration\RoutingSection.cs (1)
604throw FxTrace.Exception.AsError(new InvalidOperationException());
System.ServiceModel.Web (89)
System\ServiceModel\Channels\StreamBodyWriter.cs (9)
110throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new InvalidOperationException(SR2.GetString(SR2.XmlWriterBackedStreamPropertyGetNotSupported, "Length"))); 118throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new InvalidOperationException(SR2.GetString(SR2.XmlWriterBackedStreamPropertyGetNotSupported, "Position"))); 122throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new InvalidOperationException(SR2.GetString(SR2.XmlWriterBackedStreamPropertySetNotSupported, "Position"))); 128throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new InvalidOperationException(SR2.GetString(SR2.XmlWriterBackedStreamMethodNotSupported, "Read"))); 133throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new InvalidOperationException(SR2.GetString(SR2.XmlWriterBackedStreamMethodNotSupported, "BeginRead"))); 138throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new InvalidOperationException(SR2.GetString(SR2.XmlWriterBackedStreamMethodNotSupported, "EndRead"))); 143throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new InvalidOperationException(SR2.GetString(SR2.XmlWriterBackedStreamMethodNotSupported, "ReadByte"))); 148throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new InvalidOperationException(SR2.GetString(SR2.XmlWriterBackedStreamMethodNotSupported, "Seek"))); 153throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new InvalidOperationException(SR2.GetString(SR2.XmlWriterBackedStreamMethodNotSupported, "SetLength")));
System\ServiceModel\Description\WebHttpBehavior.cs (20)
349throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.WebHttpServiceEndpointCannotHaveMessageHeaders, address))); 456throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException( 462throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException( 469throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException( 501throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.JsonFormatRequiresDataContract, od.Name, od.DeclaringContract.Name, od.DeclaringContract.Namespace))); 664throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException( 857throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException( 862throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString( 869throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString( 878throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException( 957throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.AtMostOneRequestBodyParameterAllowedForUnwrappedMessages, declaringOperation.Name, declaringOperation.DeclaringContract.Name))); 969throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.OnlyReturnValueBodyParameterAllowedForUnwrappedMessages, declaringOperation.Name, declaringOperation.DeclaringContract.Name))); 1072throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.JsonFormatRequiresDataContract, od.Name, od.DeclaringContract.Name, od.DeclaringContract.Namespace))); 1207throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException( 1212throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException( 1251new InvalidOperationException(System.ServiceModel.SR2.GetString(System.ServiceModel.SR2.StreamBodyMemberNotSupported, this.GetType().ToString(), contractName, opName, md.MessageType.ToString(), description.Name))); 1262throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.RpcEncodedNotSupportedForNoneMessageVersion, od.Name, od.DeclaringContract.Name, od.DeclaringContract.Namespace))); 1272throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException( 1277throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.MCAtMostOneRequestBodyParameterAllowedForUnwrappedMessages, opName, contractName, md.MessageType))); 1286throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(
System\ServiceModel\Description\WebHttpEndpoint.cs (1)
59throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.WebBehaviorNotFoundWithEndpoint, typeof(WebHttpEndpoint).Name, typeof(WebHttpBehavior).Name)));
System\ServiceModel\Description\WebScriptEnablingBehavior.cs (6)
160throw System.ServiceModel.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException( 167throw System.ServiceModel.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException( 174throw System.ServiceModel.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException( 180throw System.ServiceModel.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException( 195throw System.ServiceModel.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException( 266new InvalidOperationException(SR2.GetString(SR2.JsonNoEndpointAtMetadataAddress, this.GetType().ToString(), serviceEndpoint.Address, serviceEndpoint.Name, host.Description.Name)));
System\ServiceModel\Description\WebScriptEndpoint.cs (1)
41throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.WebBehaviorNotFoundWithEndpoint, WebEndpointType.Name, typeof(WebScriptEnablingBehavior).Name)));
System\ServiceModel\Description\WebServiceEndpoint.cs (1)
91throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.WebHttpBindingNotFoundWithEndpoint, WebEndpointType.Name, typeof(WebHttpBinding).Name)));
System\ServiceModel\Dispatcher\DataContractJsonSerializerOperationFormatter.cs (2)
237throw System.ServiceModel.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.MessageFormatPropertyNotFound2, this.OperationName))); 241throw System.ServiceModel.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.InvalidHttpMessageFormat3, this.OperationName, formatProperty.Format, WebContentFormat.Json)));
System\ServiceModel\Dispatcher\DemultiplexingClientMessageFormatter.cs (2)
47throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new InvalidOperationException(SR2.GetString(SR2.UnrecognizedHttpMessageFormat, format, GetSupportedFormats()))); 55throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new InvalidOperationException(SR2.GetString(SR2.MessageFormatPropertyNotFound3)));
System\ServiceModel\Dispatcher\DemultiplexingDispatchMessageFormatter.cs (2)
48throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new InvalidOperationException(SR2.GetString(SR2.UnrecognizedHttpMessageFormat, format, GetSupportedFormats()))); 56throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new InvalidOperationException(SR2.GetString(SR2.MessageFormatPropertyNotFound3)));
System\ServiceModel\Dispatcher\HelpExampleGenerator.cs (3)
178throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.HelpExampleGeneratorHandlerNotFound, schemaObject.GetType().Name))); 184throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.HelpExampleGeneratorMaxDepthLevelReached, schemaObject.GetType().Name))); 225throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.HelpExampleGeneratorSchemaObjectNotSupported, schemaObject.GetType().Name)));
System\ServiceModel\Dispatcher\HttpStreamFormatter.cs (2)
107throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new InvalidOperationException(SR2.GetString(SR2.MessageFormatPropertyNotFound, this.operationName, this.contractName, this.contractNs))); 112throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new InvalidOperationException(SR2.GetString(SR2.InvalidHttpMessageFormat, this.operationName, this.contractName, this.contractNs, formatProperty.Format, WebContentFormat.Raw)));
System\ServiceModel\Dispatcher\HttpUnhandledOperationInvoker.cs (5)
42throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException( 100throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new InvalidOperationException(SR2.GetString(SR2.WebRequestDidNotMatchOperation, 105DiagnosticUtility.TraceHandledException(new InvalidOperationException(SR2.GetString(SR2.WebRequestDidNotMatchOperation, 113throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new InvalidOperationException(SR2.GetString(SR2.WebRequestDidNotMatchMethod, 118DiagnosticUtility.TraceHandledException(new InvalidOperationException(SR2.GetString(SR2.WebRequestDidNotMatchMethod,
System\ServiceModel\Dispatcher\SingleBodyParameterDataContractMessageFormatter.cs (2)
173throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new InvalidOperationException(SR2.GetString(SR2.MessageFormatPropertyNotFound, this.OperationName, this.ContractName, this.ContractNs))); 177throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new InvalidOperationException(SR2.GetString(SR2.InvalidHttpMessageFormat, this.OperationName, this.ContractName, this.ContractNs, formatProperty.Format, WebContentFormat.Json)));
System\ServiceModel\Dispatcher\SingleBodyParameterMessageFormatter.cs (5)
85throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.FormatterCannotBeUsedForReplyMessages))); 94throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.FormatterCannotBeUsedForRequestMessages))); 104throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.FormatterCannotBeUsedForReplyMessages))); 119throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.FormatterCannotBeUsedForRequestMessages))); 263throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.JsonFormatRequiresDataContract, operation.Name, operation.DeclaringContract.Name, operation.DeclaringContract.Namespace)));
System\ServiceModel\Dispatcher\UnwrappedTypesXmlSerializerManager.cs (1)
75throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.XmlSerializersCreatedBeforeRegistration)));
System\ServiceModel\Dispatcher\UriTemplateClientFormatter.cs (5)
157throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException( 167throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException( 182throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException( 193throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString( 198throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString
System\ServiceModel\Dispatcher\WebErrorHandler.cs (2)
68throw System.ServiceModel.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.JsonFormatRequiresDataContract, description.Name, description.DeclaringContract.Name, description.DeclaringContract.Namespace))); 124System.ServiceModel.DiagnosticUtility.TraceHandledException(new InvalidOperationException(SR2.GetString(SR2.HelpPageFailedToCreateErrorMessage)), TraceEventType.Warning);
System\ServiceModel\Dispatcher\WebHttpDispatchOperationSelector.cs (3)
47throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException( 81new InvalidOperationException( 92new InvalidOperationException(
System\ServiceModel\Web\AutomaticEndpointGenerator.cs (2)
99throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(this.multipleContractsErrorMessage)); 103throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(this.noContractErrorMessage));
System\ServiceModel\Web\CachingParameterInspector.cs (6)
48throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.CacheProfileNotConfigured, cacheProfileName))); 54throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.CacheProfileNotConfigured, cacheProfileName))); 63throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.CacheProfileValueMissing, this.cacheProfile.Name, "Duration"))); 67throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.CacheProfileValueMissing, this.cacheProfile.Name, "VaryByParam"))); 199throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.CacheProfileSqlDependencyIsInvalid, sqlDependencyString))); 203throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.CacheProfileSqlDependencyIsInvalid, sqlDependencyString)));
System\ServiceModel\Web\IncomingWebRequestContext.cs (4)
184throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException( 266throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException( 278throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException( 305throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(
System\ServiceModel\Web\IncomingWebResponseContext.cs (1)
64throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(
System\ServiceModel\Web\OutgoingWebResponseContext.cs (1)
247throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(
System\ServiceModel\Web\WebOperationContext.cs (1)
349throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new InvalidOperationException(SR2.GetString(SR2.OperationSelectorNotWebSelector, typeof(WebHttpDispatchOperationSelector))));
System\ServiceModel\Web\WebServiceHost.cs (2)
106throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(multipleContractsErrorMessage)); 110throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(noContractErrorMessage));
System.Transactions (19)
System\Transactions\Oletx\OletxVolatileEnlistment.cs (5)
1688throw new InvalidOperationException(); 1693throw new InvalidOperationException(); 1698throw new InvalidOperationException(); 1703throw new InvalidOperationException(); 1708throw new InvalidOperationException();
System\Transactions\TransactionException.cs (3)
49return new InvalidOperationException(messagewithTxId, innerException); 61return new InvalidOperationException( message, innerException ); 142return new InvalidOperationException(messagewithTxId);
System\Transactions\TransactionState.cs (11)
929throw new InvalidOperationException(); 941throw new InvalidOperationException(); 953throw new InvalidOperationException(); 965throw new InvalidOperationException(); 977throw new InvalidOperationException(); 989throw new InvalidOperationException(); 1001throw new InvalidOperationException(); 1013throw new InvalidOperationException(); 1025throw new InvalidOperationException(); 1056throw new InvalidOperationException( ); 5205throw new InvalidOperationException();
System.Web (49)
Compilation\BuildResult.cs (2)
489throw new InvalidOperationException(); 532throw new InvalidOperationException();
Configuration\ExpressServerConfig.cs (1)
36throw new InvalidOperationException();
Configuration\MTConfigUtil.cs (1)
200throw new InvalidOperationException(message);
Configuration\serverconfig.cs (2)
45throw new InvalidOperationException(); 115throw new InvalidOperationException();
Hosting\HostingEnvironment.cs (2)
1180throw new InvalidOperationException(); // can only be called within an ASP.NET AppDomain 1885throw new InvalidOperationException();
Hosting\IIS7WorkerRequest.cs (1)
531throw new InvalidOperationException();
Hosting\ISAPIWorkerRequest.cs (3)
1477throw new InvalidOperationException(); 2528throw new InvalidOperationException(); 2606throw new InvalidOperationException();
Hosting\MapPathBasedVirtualPathProvider.cs (1)
416throw new InvalidOperationException();
Hosting\PreloadHost.cs (1)
29throw new InvalidOperationException (
HttpInputStream.cs (8)
60throw new InvalidOperationException(); 113throw new InvalidOperationException(); 136throw new InvalidOperationException(); 163throw new InvalidOperationException(); 201throw new InvalidOperationException(); 261throw new InvalidOperationException(); 268throw new InvalidOperationException(); 276throw new InvalidOperationException();
ModelBinding\DataAnnotationsModelMetadata.cs (2)
35throw new InvalidOperationException( 42throw new InvalidOperationException(
ModelBinding\Error.cs (2)
11return new InvalidOperationException(errorString); 35return new InvalidOperationException(errorString);
ModelBinding\ModelBinderProviderCollection.cs (1)
128throw new InvalidOperationException(errorMessage);
ModelBinding\ValidatableObjectAdapter.cs (1)
24throw new InvalidOperationException(
ModelBinding\ValueProviderResult.cs (2)
75throw new InvalidOperationException(message); 87throw new InvalidOperationException(message, ex);
parent\DataAnnotations\DataAnnotations\LocalizableString.cs (1)
140this._cachedResult = () => { throw new InvalidOperationException(exceptionMessage); };
Routing\HttpMethodConstraint.cs (1)
64throw new InvalidOperationException(String.Format(CultureInfo.CurrentUICulture,
Routing\Route.cs (1)
160throw new InvalidOperationException(String.Format(
Routing\RouteData.cs (1)
55throw new InvalidOperationException(
Routing\UrlRoutingHandler.cs (1)
51throw new InvalidOperationException(
Routing\UrlRoutingModule.cs (2)
68throw new InvalidOperationException( 87throw new InvalidOperationException(
StringResourceManager.cs (1)
78throw new InvalidOperationException();
UI\Control.cs (1)
904throw new InvalidOperationException();
UI\WebControls\GridView.cs (1)
3516throw new InvalidOperationException();
UI\WebControls\ModelDataSourceView.cs (2)
1253throw new InvalidOperationException(message); 1260throw new InvalidOperationException(message);
UI\WebControls\TextBox.cs (2)
578throw new InvalidOperationException(); 588throw new InvalidOperationException();
UI\WebParts\WebPartPersonalization.cs (1)
418throw new InvalidOperationException(message);
UI\WebParts\ZoneButton.cs (1)
36throw new InvalidOperationException();
Util\DoubleLinkListEnumerator.cs (1)
44throw new InvalidOperationException();
Util\FileEnumerator.cs (1)
149throw new InvalidOperationException();
Util\SynchronizationContextUtil.cs (1)
47throw new InvalidOperationException(errorMessage);
System.Web.ApplicationServices (2)
Hosting\CustomLoaderHelper.cs (2)
98throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ApplicationServicesStrings.CustomLoader_NoAttributeFound, customLoaderAssemblyName)); 108throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ApplicationServicesStrings.CustomLoader_MustImplementICustomLoader, customLoader.GetType()));
System.Web.DataVisualization (295)
Common\Annotation\AnnotationBase.cs (2)
2357throw (new InvalidOperationException(SR.ExceptionAnnotationGroupedAnchorDataPointMustBeEmpty)); 4257throw (new InvalidOperationException(SR.ExceptionAnnotationGroupedAxisMustBeEmpty));
Common\Annotation\ArrowAnnotation.cs (1)
446throw (new InvalidOperationException(SR.ExceptionAnnotationArrowStyleUnknown));
Common\Annotation\CalloutAnnotation.cs (1)
1863throw (new InvalidOperationException(SR.ExceptionAnnotationPathAddLineAsSegmentsInvalid));
Common\ChartTypes\BarChart.cs (5)
384throw (new InvalidOperationException(SR.ExceptionAttributeDrawSideBySideInvalid)); 473 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture) ))); 1162throw (new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture)))); 1353throw (new InvalidOperationException(SR.ExceptionAttributeDrawSideBySideInvalid)); 1391 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture))));
Common\ChartTypes\BoxPlotChart.cs (12)
296throw (new InvalidOperationException(SR.ExceptionAttributeDrawSideBySideInvalid)); 326 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture)))); 476 throw(new InvalidOperationException( SR.ExceptionCustomAttributeValueInvalid( point[CustomPropertyName.BoxPlotShowAverage], "BoxPlotShowAverage"))); 532 throw(new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid( point[CustomPropertyName.BoxPlotShowMedian],"BoxPlotShowMedian"))); 1065throw (new InvalidOperationException(SR.ExceptionAttributeDrawSideBySideInvalid)); 1107 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture)))); 1263 throw(new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid(point[CustomPropertyName.BoxPlotShowAverage], "BoxPlotShowAverage"))); 1312 throw(new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid(point[CustomPropertyName.BoxPlotShowMedian], "BoxPlotShowMedian"))); 1595 throw(new InvalidOperationException(SR.ExceptionCustomAttributeSeriesNameNotFound("BoxPlotSeries", linkedSeriesName) )); 1670throw (new InvalidOperationException(SR.ExceptionCustomAttributeIsNotInRange0to50("BoxPlotPercentile"))); 1689throw (new InvalidOperationException(SR.ExceptionCustomAttributeIsNotInRange0to50("BoxPlotPercentile"))); 1725 throw(new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid2("BoxPlotShowUnusualValues")));
Common\ChartTypes\BubbleChart.cs (2)
178 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture)))); 283throw (new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture))));
Common\ChartTypes\ColumnChart.cs (3)
295throw (new InvalidOperationException(SR.ExceptionAttributeDrawSideBySideInvalid)); 692throw (new InvalidOperationException(SR.ExceptionAttributeDrawSideBySideInvalid)); 1315 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name,this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture))));
Common\ChartTypes\ErrorBarChart.cs (13)
388throw (new InvalidOperationException(SR.ExceptionAttributeDrawSideBySideInvalid)); 433throw (new InvalidOperationException(SR.ExceptionAttributeDrawSideBySideInvalid)); 454 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture)))); 524 throw(new InvalidOperationException( SR.ExceptionCustomAttributeValueInvalid( point[CustomPropertyName.ErrorBarStyle], "ErrorBarStyle"))); 672 throw(new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid(point[CustomPropertyName.ErrorBarStyle], "ErrorBarStyle"))); 1168throw (new InvalidOperationException(SR.ExceptionAttributeDrawSideBySideInvalid)); 1208 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues( this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture)))); 1276 throw(new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid(point[CustomPropertyName.ErrorBarStyle], "ErrorBarStyle"))); 1442 throw(new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid( point[CustomPropertyName.ErrorBarStyle], "ErrorBarStyle"))); 1646 throw(new InvalidOperationException(SR.ExceptionErrorBarTypeInvalid(errorBarSeries[CustomPropertyName.ErrorBarType]))); 1656 throw(new InvalidOperationException(SR.ExceptionErrorBarTypeFormatInvalid(errorBarSeries[CustomPropertyName.ErrorBarType]))); 1665throw (new InvalidOperationException(SR.ExceptionErrorBarTypeFormatInvalid(errorBarSeries[CustomPropertyName.ErrorBarType]))); 1829throw (new InvalidOperationException(SR.ExceptionDataSeriesNameNotFound(linkedSeriesName)));
Common\ChartTypes\FastLineChart.cs (2)
295throw (new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid2("PermittedPixelError"))); 301throw (new InvalidOperationException(SR.ExceptionCustomAttributeIsNotInRange0to1("PermittedPixelError")));
Common\ChartTypes\FastPointChart.cs (3)
296throw (new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid2("PermittedPixelError"))); 302throw (new InvalidOperationException(SR.ExceptionCustomAttributeIsNotInRange0to1("PermittedPixelError"))); 622throw (new InvalidOperationException(SR.ExceptionFastPointMarkerStyleUnknown));
Common\ChartTypes\FunnelChart.cs (14)
613throw (new InvalidOperationException(SR.ExceptionFunnelStyleUnknown(this._funnelStyle.ToString()))); 2123 throw(new InvalidOperationException( SR.ExceptionCustomAttributeValueInvalid(labelStyle.ToString(), this.funnelLabelStyleAttributeName) ) ); 2280throw (new InvalidOperationException(SR.ExceptionFunnelMinimumPointHeightAttributeInvalid)); 2318throw (new InvalidOperationException(SR.ExceptionFunnelAngleRangeInvalid)); 2363 throw(new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid( attrValue, "CalloutLineColor") ) ); 2397throw (new InvalidOperationException(SR.ExceptionFunnelNeckWidthInvalid)); 2416throw (new InvalidOperationException(SR.ExceptionFunnelNeckHeightInvalid)); 2457throw (new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid(attrValue, this.funnelPointGapAttributeName))); 2500 throw(new InvalidOperationException( SR.ExceptionCustomAttributeValueInvalid( attrValue, "FunnelStyle") ) ); 2527throw (new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid(attrValue, this.funnelOutsideLabelPlacementAttributeName ))); 2553throw (new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid(attrValue, this.funnelInsideLabelAlignmentAttributeName))); 2580throw (new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid(attrValue, funnel3DDrawingStyleAttributeName) ) ); 2694throw (new InvalidOperationException(SR.ExceptionFunnelCanNotCombine)); 2729throw (new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid(attrValue,"PyramidValueType") ) );
Common\ChartTypes\KagiChart.cs (9)
117 throw(new InvalidOperationException(SR.ExceptionKagiNullReference)); 126throw (new InvalidOperationException(SR.ExceptionKagiCanNotCombine)); 220throw (new InvalidOperationException(SR.ExceptionKagiNullReference)); 305throw (new InvalidOperationException(SR.ExceptionKagiAttributeFormatInvalid("ReversalAmount"))); 319throw (new InvalidOperationException(SR.ExceptionKagiAttributeFormatInvalid("ReversalAmount"))); 349throw (new InvalidOperationException(SR.ExceptionKagiAttributeFormatInvalid("UsedYValue"))); 354throw (new InvalidOperationException(SR.ExceptionKagiAttributeOutOfRange("UsedYValue"))); 487 throw(new InvalidOperationException(SR.ExceptionKagiAttributeFormatInvalid("Up Brick color"))); 770 throw(new InvalidOperationException(SR.ExceptionKagiAttributeFormatInvalid("Up Brick color")));
Common\ChartTypes\LineChart.cs (1)
1281throw (new InvalidOperationException(SR.Exception3DChartPointsXValuesUnsorted));
Common\ChartTypes\PieChart.cs (32)
301throw (new InvalidOperationException(SR.ExceptionDoughnutCollectedThresholdInvalidFormat)); 306throw (new InvalidOperationException(SR.ExceptionDoughnutThresholdInvalid)); 317throw (new InvalidOperationException(SR.ExceptionDoughnutNullReference)); 361throw (new InvalidOperationException(SR.ExceptionDoughnutCollectedThresholdUsePercentInvalid)); 370throw (new InvalidOperationException(SR.ExceptionDoughnutCollectedThresholdInvalidRange)); 435throw (new InvalidOperationException(SR.ExceptionDoughnutCollectedColorInvalidFormat)); 484throw (new InvalidOperationException(SR.ExceptionDoughnutNullReference)); 531throw (new InvalidOperationException(SR.ExceptionChartCanNotCombine( this.Name ))); 718throw (new InvalidOperationException(SR.ExceptionCustomAttributeAngleOutOfRange("PieStartAngle"))); 1163throw new InvalidOperationException(SR.ExceptionPieRadialLineSizeInvalid); 1174throw new InvalidOperationException(SR.ExceptionPieRadialLineSizeInvalid); 1185throw new InvalidOperationException(SR.ExceptionPieHorizontalLineSizeInvalid); 1196throw new InvalidOperationException(SR.ExceptionPieHorizontalLineSizeInvalid); 1223 throw(new InvalidOperationException(SR.ExceptionCustomAttributeIsNotInRange0to100("InsideLabelOffset"))); 1660throw new InvalidOperationException(SR.ExceptionPieRadialLineSizeInvalid); 1671throw new InvalidOperationException(SR.ExceptionPieRadialLineSizeInvalid); 1682throw new InvalidOperationException(SR.ExceptionPieHorizontalLineSizeInvalid); 1693throw new InvalidOperationException(SR.ExceptionPieHorizontalLineSizeInvalid); 2147throw new InvalidOperationException(SR.ExceptionPieIntervalsInvalid); 2260throw new InvalidOperationException(SR.ExceptionPieIntervalsInvalid); 2409throw (new InvalidOperationException(SR.ExceptionCustomAttributeAngleOutOfRange("PieStartAngle"))); 4441throw new InvalidOperationException(SR.ExceptionPieUnassignedFrontBackPoints); 4494throw new InvalidOperationException(SR.ExceptionPiePointOrderInvalid); 4525throw new InvalidOperationException(SR.ExceptionPiePointOrderInvalid); 4566throw new InvalidOperationException(SR.ExceptionPiePointOrderInvalid); 4600throw new InvalidOperationException(SR.ExceptionPiePointOrderInvalid); 4642if (points[listIndx] != null) throw new InvalidOperationException(SR.ExceptionPiePointOrderInvalid); 4678if (points[listIndx] != null) throw new InvalidOperationException(SR.ExceptionPiePointOrderInvalid); 4712throw new InvalidOperationException(SR.ExceptionPiePointOrderInvalid); 4746throw new InvalidOperationException(SR.ExceptionPiePointOrderInvalid); 4815throw new InvalidOperationException(SR.ExceptionPieOrderOperationInvalid); 4914throw new InvalidOperationException(SR.Exception3DPieLabelsIndexInvalid);
Common\ChartTypes\PointAndFigureChart.cs (11)
133throw (new InvalidOperationException(SR.ExceptionPointAndFigureNullReference)); 142throw (new InvalidOperationException(SR.ExceptionPointAndFigureCanNotCombine)); 244throw (new InvalidOperationException(SR.ExceptionPointAndFigureNullReference)); 336 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(ChartTypeNames.PointAndFigure, ((int)(2)).ToString(CultureInfo.CurrentCulture)))); 407throw (new InvalidOperationException(SR.ExceptionRenkoBoxSizeFormatInvalid)); 477throw (new InvalidOperationException(SR.ExceptionPointAndFigureReversalAmountInvalidFormat)); 503throw (new InvalidOperationException(SR.ExceptionPointAndFigureUsedYValueHighInvalidFormat)); 508throw (new InvalidOperationException(SR.ExceptionPointAndFigureUsedYValueHighOutOfRange)); 520throw (new InvalidOperationException(SR.ExceptionPointAndFigureUsedYValueLowInvalidFormat)); 525throw (new InvalidOperationException(SR.ExceptionPointAndFigureUsedYValueLowOutOfrange)); 541throw (new InvalidOperationException(SR.ExceptionPointAndFigureUpBrickColorInvalidFormat));
Common\ChartTypes\PointChart.cs (1)
1498throw (new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture))));
Common\ChartTypes\PolarChart.cs (1)
220 throw(new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid(attributeValue, "PolarDrawingStyle")));
Common\ChartTypes\RadarChart.cs (2)
376 throw(new InvalidOperationException(SR.ExceptionChartTypeCanNotCombine(ser.ChartTypeName, this.Name))); 1364 throw(new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid(attributeValue, "RadarDrawingStyle")));
Common\ChartTypes\RangeChart.cs (2)
355 throw(new InvalidOperationException( SR.ExceptionChartTypeRequiresYValues( this.Name, "2" ))); 993throw (new InvalidOperationException(SR.Exception3DSplineY1ValueIsLessThenY2));
Common\ChartTypes\RenkoChart.cs (7)
124throw (new InvalidOperationException(SR.ExceptionRenkoNullReference)); 133throw (new InvalidOperationException(SR.ExceptionRenkoCanNotCobine)); 225throw (new InvalidOperationException(SR.ExceptionRenkoNullReference)); 326throw (new InvalidOperationException(SR.ExceptionRenkoBoxSizeFormatInvalid)); 410throw (new InvalidOperationException(SR.ExceptionRenkoUsedYValueFormatInvalid)); 415throw (new InvalidOperationException(SR.ExceptionRenkoUsedYValueOutOfRange)); 458throw (new InvalidOperationException(SR.ExceptionRenkoUpBrickColorInvalid));
Common\ChartTypes\ThreeLineBreakChart.cs (8)
126throw (new InvalidOperationException(SR.ExceptionThreeLineBreakNullReference)); 135throw (new InvalidOperationException(SR.ExceptionThreeLineBreakCanNotCobine)); 226throw (new InvalidOperationException(SR.ExceptionThreeLineBreakNullReference)); 303throw (new InvalidOperationException(SR.ExceptionThreeLineBreakUsedYValueInvalid)); 308throw (new InvalidOperationException(SR.ExceptionThreeLineBreakUsedYValueOutOfRange)); 322throw (new InvalidOperationException(SR.ExceptionThreeLineBreakNumberOfLinesInBreakFormatInvalid)); 327throw (new InvalidOperationException(SR.ExceptionThreeLineBreakNumberOfLinesInBreakValueInvalid)); 376throw (new InvalidOperationException(SR.ExceptionThreeLineBreakUpBrickColorInvalid));
Common\Converters\CustomAttributesConverters.cs (9)
404throw (new InvalidOperationException(SR.ExceptionCustomAttributeDefaultValueTypeInvalid)); 677throw (new InvalidOperationException(SR.ExceptionCustomAttributeTypeUnsupported( this._customAttributeInfo.ValueType.ToString() ))); 739 throw(new InvalidOperationException(SR.ExceptionCustomAttributeTypeOrMaximumPossibleValueInvalid( attrName ) ) ); 765throw (new InvalidOperationException(SR.ExceptionCustomAttributeTypeOrMinimumPossibleValueUnsupported(attrName))); 775throw (new InvalidOperationException(SR.ExceptionCustomAttributeTypeOrMinimumPossibleValueInvalid( attrName ) ) ); 801 throw(new InvalidOperationException(SR.ExceptionCustomAttributeTypeOrMinimumPossibleValueUnsupported(attrName))); 810 throw(new InvalidOperationException(SR.ExceptionCustomAttributeMustBeInRange(attrName, this._customAttributeInfo.MinValue.ToString(),this._customAttributeInfo.MaxValue.ToString() ))); 814 throw(new InvalidOperationException(SR.ExceptionCustomAttributeMustBeBiggerThenValue(attrName, this._customAttributeInfo.MinValue.ToString()))); 818 throw(new InvalidOperationException(SR.ExceptionCustomAttributeMustBeMoreThenValue(attrName, this._customAttributeInfo.MaxValue.ToString())));
Common\Converters\DataManagerConverters.cs (2)
353throw (new InvalidOperationException(SR.ExceptionEditorChartTypeRegistryServiceInaccessible)); 425throw (new InvalidOperationException(SR.ExceptionEditorChartTypeRegistryServiceInObjectInaccessible(context.Instance.GetType().ToString())));
Common\Converters\LegendConverters.cs (2)
400throw (new InvalidOperationException(SR.ExceptionLegendDesignerMarginObjectInvalid(stringValue))); 405throw (new InvalidOperationException(SR.ExceptionLegendDesignerMarginObjectInvalid(stringValue)));
Common\DataManager\DataManager.cs (2)
1016throw (new InvalidOperationException(SR.ExceptionDataManager100StackedSeriesPointsNumeberMismatch)); 1077throw (new InvalidOperationException(SR.ExceptionDataManager100StackedSeriesPointsNumeberMismatch));
Common\DataManager\DataPoint.cs (2)
2570throw (new InvalidOperationException(SR.ExceptionDataSeriesKeywordFormatInvalid(result))); 3212throw (new InvalidOperationException());
Common\DataManager\DataSeries.cs (17)
650throw (new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid2("PixelPointDepth"))); 655throw (new InvalidOperationException(SR.ExceptionCustomAttributeIsNotLargerThenZiro("PixelPointDepth"))); 659throw (new InvalidOperationException(SR.ExceptionCustomAttributeMustBeInRange("PixelPointDepth", (0).ToString(CultureInfo.CurrentCulture), CustomPropertyRegistry.MaxValueOfPixelAttribute.ToString(CultureInfo.CurrentCulture)))); 680throw (new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid2("PixelPointGapDepth"))); 685throw (new InvalidOperationException(SR.ExceptionCustomAttributeIsNotLargerThenZiro("PixelPointGapDepth"))); 689throw (new InvalidOperationException(SR.ExceptionCustomAttributeMustBeInRange("PixelPointGapDepth", (0).ToString(CultureInfo.CurrentCulture), CustomPropertyRegistry.MaxValueOfPixelAttribute.ToString(CultureInfo.CurrentCulture)))); 750 throw(new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid2("MinPixelPointWidth"))); 754 throw(new InvalidOperationException(SR.ExceptionCustomAttributeIsNotLargerThenZiro("MinPixelPointWidth"))); 758throw (new InvalidOperationException(SR.ExceptionCustomAttributeMustBeInRange("MinPixelPointWidth", (0).ToString(CultureInfo.CurrentCulture), CustomPropertyRegistry.MaxValueOfPixelAttribute.ToString(CultureInfo.CurrentCulture)))); 779 throw(new InvalidOperationException( SR.ExceptionCustomAttributeValueInvalid2("MaxPixelPointWidth"))); 783 throw(new InvalidOperationException(SR.ExceptionCustomAttributeIsNotLargerThenZiro("MaxPixelPointWidth"))); 805 throw(new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid2("PixelPointWidth"))); 809 throw(new InvalidOperationException(SR.ExceptionCustomAttributeIsNotLargerThenZiro("PixelPointWidth"))); 813throw (new InvalidOperationException(SR.ExceptionCustomAttributeMustBeInRange("PixelPointWidth", (0).ToString(CultureInfo.CurrentCulture), CustomPropertyRegistry.MaxValueOfPixelAttribute.ToString(CultureInfo.CurrentCulture)))); 1073 throw(new InvalidOperationException( SR.ExceptionDataSeriesYValueIndexNotExists(yValueIndex.ToString(CultureInfo.InvariantCulture), this.Name ) ) ); 1234 throw(new InvalidOperationException( SR.ExceptionDataSeriesKeywordFormatInvalid( result ))); 1341 throw(new InvalidOperationException( SR.ExceptionDataSeriesKeywordFormatInvalid(result)));
Common\Formulas\GeneralFormulas.cs (2)
183 throw new InvalidOperationException( SR.ExceptionFormulaInvalidPeriod(name) ); 187 throw new InvalidOperationException( SR.ExceptionFormulaNotEnoughDataPoints(name) );
Common\Formulas\Oscillator.cs (10)
191throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing); 193throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message); 197throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 272throw new InvalidOperationException(SR.ExceptionOscillatorNegativePeriodParameter); 283throw new InvalidOperationException(SR.ExceptionOscillatorNegativeSignalPeriod); 471throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 482throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 582throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 675 throw new InvalidOperationException( SR.ExceptionFormulaInvalidPeriod( name ) ); 679 throw new InvalidOperationException( SR.ExceptionFormulaNotEnoughDataPoints( name ) );
Common\Formulas\PriceIndicators.cs (22)
146throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing); 148throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message); 152throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 321throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing); 323throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message); 327throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 465throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing); 467throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message); 471throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 548throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing); 550throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message); 554throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 691throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing); 693throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message); 697throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 704{ throw new InvalidOperationException(SR.ExceptionIndicatorsDeviationMissing); } 967throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing); 969throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message); 973throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 980{ throw new InvalidOperationException(SR.ExceptionPriceIndicatorsShiftParameterMissing); } 1164throw new InvalidOperationException(SR.ExceptionFormulaInvalidPeriod( name ) ); 1168 throw new InvalidOperationException( SR.ExceptionFormulaNotEnoughDataPoints( name ) );
Common\Formulas\StatisticalAnalysis.cs (4)
149 throw new InvalidOperationException( SR.ExceptionFormulaInvalidPeriod(name) ); 153 throw new InvalidOperationException( SR.ExceptionFormulaNotEnoughDataPoints(name) ); 497throw new InvalidOperationException(SR.ExceptionStatisticalAnalysesZeroVariance); 1549throw new InvalidOperationException(SR.ExceptionStatisticalAnalysesIncompleteBetaFunction);
Common\Formulas\TechGeneralIndicators.cs (15)
86throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing); 88throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message); 92throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 162throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 294throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 305throw new InvalidOperationException(SR.ExceptionPeriodAverageParameterIsNegative); 433throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 489throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 573throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 651throw new InvalidOperationException(SR.ExceptionPeriodShortParameterIsNegative); 662throw new InvalidOperationException(SR.ExceptionPeriodLongParameterIsNegative); 665throw new InvalidOperationException(SR.ExceptionIndicatorsLongPeriodLessThenShortPeriod); 741throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 866 throw new InvalidOperationException( SR.ExceptionFormulaInvalidPeriod( name ) ); 870 throw new InvalidOperationException( SR.ExceptionFormulaNotEnoughDataPoints( name ) );
Common\Formulas\TimeSeriesAndForecasting.cs (6)
119 throw new InvalidOperationException( SR.ExceptionFormulaInvalidPeriod(name) ); 123 throw new InvalidOperationException( SR.ExceptionFormulaNotEnoughDataPoints( name ) ); 196throw new InvalidOperationException(SR.ExceptionForecastingDegreeInvalid); 199throw new InvalidOperationException(SR.ExceptionForecastingNotEnoughDataPoints(degree.ToString(System.Globalization.CultureInfo.InvariantCulture))); 316throw new InvalidOperationException(SR.ExceptionForecastingExponentialRegressionHasZeroYValues); 363throw new InvalidOperationException(SR.ExceptionForecastingPowerRegressionHasZeroYValues);
Common\Formulas\VolumeIndicator.cs (7)
105 throw new InvalidOperationException( SR.ExceptionFormulaInvalidPeriod( name ) ); 109 throw new InvalidOperationException( SR.ExceptionFormulaNotEnoughDataPoints( name ) ); 152throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing); 154throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message); 158throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 365{ throw new InvalidOperationException(SR.ExceptionVolumeIndicatorStartValueMissing); } 435{ throw new InvalidOperationException(SR.ExceptionVolumeIndicatorStartValueMissing); }
Common\General\Axis.cs (2)
863throw (new InvalidOperationException(SR.ExceptionAxisLabelsAutoFitMinFontSizeValueInvalid)); 897throw (new InvalidOperationException(SR.ExceptionAxisLabelsAutoFitMaxFontSizeInvalid));
Common\General\AxisScale.cs (6)
1030throw (new InvalidOperationException(SR.ExceptionAxisScalePositionToValueCallFailed)); 1303throw (new InvalidOperationException(SR.ExceptionAxisScaleMinimumMaximumInvalid)); 1321throw (new InvalidOperationException(SR.ExceptionAxisScaleMinimumMaximumInvalid)); 1959throw (new InvalidOperationException(SR.ExceptionAxisScaleAutoIntervalInvalid)); 2006throw (new InvalidOperationException(SR.ExceptionAxisScaleMinimumValueIsGreaterThenMaximumDataPoint)); 2041throw (new InvalidOperationException(SR.ExceptionAxisScaleAutoIntervalInvalid));
Common\General\Chart.cs (4)
1037throw (new InvalidOperationException(SR.ExceptionChartDataPointsAlignmentFaild)); 1043throw (new InvalidOperationException(SR.ExceptionChartDataPointsAlignmentFaildAxisLabelsInvalid)); 3003throw (new InvalidOperationException(SR.ExceptionChartAreaNameReferenceInvalid(area.Name, area.AlignWithChartArea))); 3504throw (new InvalidOperationException(ex.Message));
Common\General\ChartArea.cs (2)
2790 throw(new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid( series[CustomPropertyName.AreaDrawingStyle], "AreaDrawingStyle"))); 2834 throw(new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid( styleName, "CircularLabelsStyle")));
Common\General\ChartArea3D.cs (1)
919throw (new InvalidOperationException(SR.ExceptionAttributeDrawSideBySideInvalid));
Common\General\ChartAreaAxes.cs (6)
474throw (new InvalidOperationException(SR.ExceptionChartAreaAxisScaleLogarithmicUnsuitable)); 697throw (new InvalidOperationException(SR.ExceptionAxisMinimumMaximumInvalid)); 1081throw (new InvalidOperationException(SR.ExceptionAxisStackedChartsDataPointsNumberMismatch)); 1157throw (new InvalidOperationException(SR.ExceptionAxisStackedChartsDataPointsNumberMismatch)); 1464throw (new InvalidOperationException(SR.ExceptionChartAreaChartTypesCanNotCombine)); 1691throw (new InvalidOperationException(SR.ExceptionChartAreaSeriesNotFound));
Common\General\ChartGraphics.cs (3)
1124throw (new InvalidOperationException(SR.ExceptionGraphicsMarkerStyleUnknown)); 4955 throw( new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid( styleName, "PieDrawingStyle"))); 5556throw (new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid(styleName, "DrawingStyle")));
Common\General\ChartGraphics3D.cs (1)
3654throw (new InvalidOperationException(SR.ExceptionGraphics3DMarkerStyleUnknown));
Common\General\ChartSerializer.cs (1)
770throw (new InvalidOperationException(SR.ExceptionChartSerializerContentFlagUnsupported));
Common\General\DataManipulator.cs (1)
2597throw (new InvalidOperationException(SR.ExceptionDataManipulatorGroupedSeriesNotSorted));
Common\General\FormulaData.cs (1)
558throw new InvalidOperationException(SR.ExceptionFormulaXValuesNotAligned);
Common\General\GridTickMarks.cs (3)
435throw (new InvalidOperationException(SR.ExceptionTickMarksIntervalIsZero)); 1356throw (new InvalidOperationException(SR.ExceptionTickMarksIntervalIsZero)); 1405throw (new InvalidOperationException(SR.ExceptionTickMarksIntervalIsZero));
Common\General\ImageMap.cs (3)
304throw (new InvalidOperationException(SR.ExceptionImageMapCircleShapeInvalid)); 308throw (new InvalidOperationException(SR.ExceptionImageMapRectangleShapeInvalid)); 312throw (new InvalidOperationException(SR.ExceptionImageMapPolygonShapeInvalid));
Common\General\Label.cs (3)
1017throw (new InvalidOperationException(SR.ExceptionAxisLabelRowIndexIsNegative)); 1731throw (new InvalidOperationException(SR.ExceptionAxisLabelIndexIsNegative)); 2250throw (new InvalidOperationException(SR.ExceptionAxisLabelRowIndexMustBe1Or2));
Common\General\Legend.cs (3)
2080throw (new InvalidOperationException(SR.ExceptionLegendReferencedInSeriesNotFound(series.Name, series.Legend))); 2886throw (new InvalidOperationException(SR.ExceptionLegendAutoFitMinFontSizeInvalid)); 4410throw (new InvalidOperationException(SR.ExceptionLegendSeparatorTypeUnknown(separatorType.ToString())));
Common\General\LegendColumns.cs (2)
1534throw (new InvalidOperationException(SR.ExceptionLegendCellTypeUnknown(this.CellType.ToString()))); 1962 throw (new InvalidOperationException(SR.ExceptionLegendCellTypeUnknown(this.CellType.ToString())));
Common\General\Matrix3D.cs (1)
413throw new InvalidOperationException(SR.ExceptionMatrix3DNotinitialized);
Common\General\SmartLabels.cs (3)
320throw (new InvalidOperationException(SR.ExceptionSmartLabelsDirectionUndefined)); 347throw (new InvalidOperationException(SR.ExceptionSmartLabelsMinMovingDistanceIsNegative)); 373throw (new InvalidOperationException(SR.ExceptionSmartLabelsMaxMovingDistanceIsNegative));
Common\Utilities\XmlSerializer.cs (9)
850throw (new InvalidOperationException(SR.ExceptionChartSerializerDefaultConstructorUndefined(pi.PropertyType.ToString()))); 2132throw (new InvalidOperationException(SR.ExceptionChartSerializerPropertyNameUnknown(childNode.Name, objectToDeserialize.GetType().ToString()))); 2202 throw(new InvalidOperationException(SR.ExceptionChartSerializerPropertyNameUnknown( attrName,obj.GetType().ToString()))); 2788throw (new InvalidOperationException(SR.ExceptionChartSerializerBinaryTypeUnsupported(obj.GetType().ToString()))); 2907throw (new InvalidOperationException(SR.ExceptionChartSerializerBinaryIgnoreUnknownAttributesUnsupported)); 2914throw (new InvalidOperationException(SR.ExceptionChartSerializerBinaryFromatInvalid)); 3051 throw(new InvalidOperationException(SR.ExceptionChartSerializerPropertyNameUnknown( pi.Name,objectToDeserialize.GetType().ToString()))); 3201 throw(new InvalidOperationException(SR.ExceptionChartSerializerBinaryTypeUnsupported( obj.GetType().ToString() ))); 3272throw (new InvalidOperationException(SR.ExceptionChartSerializerPropertyNotFound));
WebForm\ChartWebControl.cs (2)
432throw (new InvalidOperationException(SR.ExceptionImageUrlIsEmpty)); 463throw (new InvalidOperationException(SR.ExceptionImageUrlInvalidFormatters));
WebForm\General\ChartHttpHandler.cs (6)
1050throw new InvalidOperationException( SR.ExceptionHttpHandlerCanNotLoadType( this.HandlerType.FullName )); 1054throw new InvalidOperationException(SR.ExceptionHttpHandlerImageHandlerInterfaceUnsupported(ChartHttpHandler.Settings.HandlerType.FullName)); 1222throw new InvalidOperationException(SR.ExceptionHttpHandlerUrlInvalid, exception); 1334throw new InvalidOperationException(SR.ExceptionHttpHandlerPrivacyKeyInvalid("ImageOwnerKey", ImageOwnerKey.ToString())); 1342throw new InvalidOperationException(SR.ExceptionHttpHandlerPrivacyKeyInvalid("ImageOwnerKey", ImageOwnerKey.ToString())); 1350throw new InvalidOperationException(SR.ExceptionHttpHandlerPrivacyKeyInvalid("ImageOwnerKey", ImageOwnerKey.ToString()));
System.Web.DynamicData (54)
DynamicData\ControlFilterExpression.cs (1)
76throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
DynamicData\DynamicControl.cs (1)
264throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
DynamicData\DynamicControlParameter.cs (3)
42throw new InvalidOperationException(String.Format( 55throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 162throw new InvalidOperationException(String.Format(
DynamicData\DynamicDataExtensions.cs (2)
97throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.MetaTable_CannotGetTableFromDataSource)); 120throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.MetaTable_CannotGetTableFromControl));
DynamicData\DynamicDataManager.cs (1)
122throw new InvalidOperationException(
DynamicData\DynamicEntity.cs (2)
84throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 92throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
DynamicData\DynamicField.cs (1)
135throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.DynamicControl_ControlNeedsToExistInADataControlUsingDynamicDataSource));
DynamicData\DynamicFilterExpression.cs (1)
32throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, "The control '{0}' could not be found.", ControlID));
DynamicData\DynamicHyperLink.cs (5)
136throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 142throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 170throw new InvalidOperationException(String.Format( 206throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.DynamicHyperLink_CannotDetermineTable, this.ID), exception); 210throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.DynamicHyperLink_CannotDetermineTable, this.ID));
DynamicData\DynamicQueryStringParameter.cs (1)
38throw new InvalidOperationException(String.Format(
DynamicData\DynamicValidator.cs (1)
46throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
DynamicData\FieldTemplateUserControl.cs (2)
86throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 101throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
DynamicData\FilterFactory.cs (1)
51throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
DynamicData\FilterRepeater.cs (7)
142throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 146throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 156throw new InvalidOperationException(String.Format( 167throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 175throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 183throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 212throw new InvalidOperationException(
DynamicData\FilterUserControlBase.cs (10)
63throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 129throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 139throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 144throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 154throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 164throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 173throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 182throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 204throw new InvalidOperationException(String.Format( 300throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
DynamicData\MetaModel.cs (3)
127throw new InvalidOperationException(String.Format( 223throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.MetaModel_ContextAlreadyRegistered, dataModelProvider.ContextType.FullName)); 270throw new InvalidOperationException(
DynamicData\MetaTable.cs (6)
274throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 281throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 394throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.MetaTable_ColumnNameConflict, 523throw new InvalidOperationException(String.Format( 594throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 773throw new InvalidOperationException(String.Format(
DynamicData\ModelProviders\AssociationProvider.cs (1)
105throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
DynamicData\ModelProviders\SchemaCreator.cs (1)
24throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DynamicDataResources.SchemaCreator_UnknownModel, contextInstance.GetType().FullName));
DynamicData\QueryableFilterRepeater.cs (1)
112throw new InvalidOperationException(
DynamicData\Util\MetaTableHelper.cs (1)
79throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
DynamicData\Util\Misc.cs (1)
112throw new InvalidOperationException(String.Format(
DynamicData\Util\TemplateFactory.cs (1)
123throw new InvalidOperationException(String.Format(
System.Web.Extensions (203)
ApplicationServices\ApplicationServiceHelper.cs (3)
111throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, AtlasWeb.AppService_Disabled, "AuthenticationService")); 154throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, AtlasWeb.AppService_Disabled, "ProfileService")); 161throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, AtlasWeb.AppService_Disabled, "RoleService"));
Compilation\WCFBuildProvider.cs (6)
187throw new InvalidOperationException(errorMessage, ex); 247throw new InvalidOperationException(errorMessage, ex); 267throw new InvalidOperationException(ConvertToBuildProviderErrorMessage(generationError)); 359throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_FailedToGenerateCode, referenceDisplayName, collectedMessages.ToString())); 414throw new InvalidOperationException(); 476throw new InvalidOperationException();
Compilation\WCFModel\SchemaMerger.cs (2)
164new InvalidOperationException( 178new InvalidOperationException(
Compilation\WCFModel\WsdlInspector.cs (4)
306new InvalidOperationException( 326new InvalidOperationException( 346new InvalidOperationException( 366new InvalidOperationException(
Handlers\ScriptModule.cs (1)
160RestHandler.WriteExceptionJsonString(context, new InvalidOperationException(AtlasWeb.WebService_RedirectError), (int)HttpStatusCode.Unauthorized);
Handlers\ScriptResourceHandler.cs (1)
787throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ScriptResourceHandler_ResourceUrlTooLong, _maximumResourceUrlLength));
Script\Serialization\JavaScriptSerializer.cs (3)
190throw new InvalidOperationException(AtlasWeb.JSON_MaxJsonLengthExceeded); 488throw new InvalidOperationException(errorMessage); 504throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.JSON_CircularReference, type.FullName));
Script\Serialization\ObjectConverter.cs (7)
138throw new InvalidOperationException(); 190throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.JSON_DictionaryTypeNotSupported, type.FullName)); 236throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.JSON_DeserializerTypeMismatch, type.FullName)); 287throw new InvalidOperationException(AtlasWeb.JSON_ValueTypeCannotBeNull); 403throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.JSON_CannotConvertObjectToType, o.GetType(), type)); 477throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.JSON_CannotCreateListType, type.FullName)); 512throw new InvalidOperationException(String.Format(
Script\Services\RestHandler.cs (4)
30throw new InvalidOperationException(AtlasWeb.WebService_InvalidWebServiceCall); 118throw new InvalidOperationException( 126throw new InvalidOperationException( 156throw new InvalidOperationException(
Script\Services\WebServiceData.cs (4)
142throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.WebService_NoWebServiceDataInlineScript, virtualPath)); 145throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.WebService_NoWebServiceData, virtualPath)); 178throw new InvalidOperationException(AtlasWeb.WebService_NoScriptServiceAttribute); 350throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture,
Script\Services\WebServiceMethodData.cs (1)
172throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.WebService_MissingArg, paramData.ParameterInfo.Name));
Script\Services\WebServiceTypeData.cs (1)
189throw new InvalidOperationException();
UI\AsyncPostBackTrigger.cs (4)
81throw new InvalidOperationException(AtlasWeb.Common_PageCannotBeNull); 85throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.Common_ScriptManagerRequired, Owner.ID)); 104throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.AsyncPostBackTrigger_CannotFindEvent, eventName, ControlID, Owner.ID)); 112throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.AsyncPostBackTrigger_InvalidEvent, eventName, ControlID, Owner.ID));
UI\CompositeScriptReference.cs (1)
116throw new InvalidOperationException(String.Format(CultureInfo.CurrentUICulture,
UI\ExtenderControl.cs (6)
47throw new InvalidOperationException(AtlasWeb.Common_PageCannotBeNull); 59throw new InvalidOperationException(AtlasWeb.Common_PageCannotBeNull); 63throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 126throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 132throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 138throw new InvalidOperationException(AtlasWeb.ExtenderControl_TargetControlDifferentUpdatePanel);
UI\PageRequestManager.cs (1)
597throw new InvalidOperationException(AtlasWeb.PageRequestManager_RegisterDataItemInNonAsyncRequest);
UI\PostBackTrigger.cs (2)
47throw new InvalidOperationException(AtlasWeb.Common_PageCannotBeNull); 51throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.Common_ScriptManagerRequired, Owner.ID));
UI\ProfileServiceManager.cs (1)
107throw new InvalidOperationException(AtlasWeb.ProfileServiceManager_LoadProperitesWithNonDefaultPath);
UI\RoleServiceManager.cs (1)
94throw new InvalidOperationException(AtlasWeb.RoleServiceManager_LoadRolesWithNonDefaultPath);
UI\ScriptControl.cs (3)
39throw new InvalidOperationException(AtlasWeb.Common_PageCannotBeNull); 51throw new InvalidOperationException(AtlasWeb.Common_PageCannotBeNull); 55throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture,
UI\ScriptControlDescriptor.cs (1)
42throw new InvalidOperationException(
UI\ScriptControlManager.cs (6)
150throw new InvalidOperationException(AtlasWeb.ScriptControlManager_RegisterExtenderControlTooEarly); 153throw new InvalidOperationException(AtlasWeb.ScriptControlManager_RegisterExtenderControlTooLate); 173throw new InvalidOperationException(AtlasWeb.ScriptControlManager_RegisterScriptControlTooEarly); 176throw new InvalidOperationException(AtlasWeb.ScriptControlManager_RegisterScriptControlTooLate); 299throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 311throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture,
UI\ScriptManager.cs (15)
396throw new InvalidOperationException(AtlasWeb.ScriptManager_CannotChangeEnableCdn); 413throw new InvalidOperationException(AtlasWeb.ScriptManager_CannotChangeEnableCdnFallback); 430throw new InvalidOperationException(AtlasWeb.ScriptManager_CannotChangeEnableHistory); 450throw new InvalidOperationException(AtlasWeb.ScriptManager_CannotChangeAjaxFrameworkMode); 481throw new InvalidOperationException(AtlasWeb.ScriptManager_CannotChangeEnablePartialRendering); 498throw new InvalidOperationException(AtlasWeb.ScriptManager_CannotChangeEnableScriptGlobalization); 614throw new InvalidOperationException(AtlasWeb.Common_PageCannotBeNull); 814throw new InvalidOperationException(AtlasWeb.ScriptManager_CannotSetSupportsPartialRenderingWhenDisabled); 817throw new InvalidOperationException(AtlasWeb.ScriptManager_CannotChangeSupportsPartialRendering); 1261throw new InvalidOperationException( 1271throw new InvalidOperationException(AtlasWeb.ScriptManager_OnlyOneScriptManager); 1339throw new InvalidOperationException(AtlasWeb.ScriptManager_AsyncPostBackNotInPartialRenderingMode); 1385throw new InvalidOperationException(AtlasWeb.ScriptManager_CannotAddHistoryPointWithHistoryDisabled); 1388throw new InvalidOperationException(AtlasWeb.ScriptManager_CannotAddHistoryPointOutsideOfAsyncPostBack); 1902throw new InvalidOperationException(
UI\ScriptManagerProxy.cs (2)
147throw new InvalidOperationException(AtlasWeb.Common_PageCannotBeNull); 151throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.Common_ScriptManagerRequired, ID));
UI\ScriptReference.cs (4)
243throw new InvalidOperationException( 335throw new InvalidOperationException(AtlasWeb.ScriptReference_NameAndPathCannotBeEmpty); 339throw new InvalidOperationException(AtlasWeb.ScriptReference_AssemblyRequiresName); 355throw new InvalidOperationException(String.Format(CultureInfo.CurrentUICulture,
UI\ScriptReferenceBase.cs (1)
178throw new InvalidOperationException(
UI\ScriptRegistrationManager.cs (3)
126throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptRegistrationManager_InvalidChars, entry.Type.FullName, entry.Key, tweenSpace)); 674throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptRegistrationManager_NoCloseTag, activeRegistration.Type.FullName, activeRegistration.Key)); 716throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.ScriptRegistrationManager_NoTags, activeRegistration.Type.FullName, activeRegistration.Key));
UI\ScriptResourceInfo.cs (1)
105throw new InvalidOperationException(
UI\ScriptResourceMapping.cs (1)
45throw new InvalidOperationException(
UI\ServiceReference.cs (1)
92throw new InvalidOperationException(AtlasWeb.ServiceReference_PathCannotBeEmpty);
UI\Timer.cs (3)
40throw new InvalidOperationException(AtlasWeb.Common_PageCannotBeNull); 94throw new InvalidOperationException(AtlasWeb.Common_PageCannotBeNull); 98throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.Common_ScriptManagerRequired, ID));
UI\UpdatePanel.cs (13)
102throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_CannotSetContentTemplate, ID)); 150throw new InvalidOperationException(AtlasWeb.Common_PageCannotBeNull); 192throw new InvalidOperationException(AtlasWeb.Common_PageCannotBeNull); 196throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.Common_ScriptManagerRequired, ID)); 353throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_ChildrenTriggersAndUpdateAlways, ID)); 432throw new InvalidOperationException(AtlasWeb.UpdatePanel_SetPartialRenderingModeCalledOnce); 441throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_UpdateConditional, ID)); 445throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_UpdateTooLate, ID)); 472throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_CannotModifyControlCollection, Owner.ID)); 476throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_CannotModifyControlCollection, Owner.ID)); 480throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_CannotModifyControlCollection, Owner.ID)); 495throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_CannotModifyControlCollection, Owner.ID)); 502throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanel_CannotModifyControlCollection, Owner.ID));
UI\UpdatePanelControlTrigger.cs (2)
40throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanelControlTrigger_NoControlID, Owner.ID)); 44throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdatePanelControlTrigger_ControlNotFound, ControlID, Owner.ID));
UI\UpdateProgress.cs (2)
128throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.Common_ScriptManagerRequired, ID)); 198throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.UpdateProgress_NoUpdatePanel, AssociatedUpdatePanelID));
UI\WebControls\ContextDataSourceView.cs (1)
131throw new InvalidOperationException("EntitySet Type must be a field or property");
UI\WebControls\DataPager.cs (7)
138throw new InvalidOperationException(AtlasWeb.Common_PageCannotBeNull); 295throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.DataPager_PageableItemContainerNotFound, PagedControlID)); 299throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.DataPager_ControlIsntPageable, PagedControlID)); 310throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.DataPager_NoNamingContainer, ID)); 394throw new InvalidOperationException(AtlasWeb.DataPager_NoPageableItemContainer); 484throw new InvalidOperationException(AtlasWeb.DataPager_NoPageableItemContainer); 594throw new InvalidOperationException(AtlasWeb.DataPager_PagePropertiesCannotBeSet);
UI\WebControls\DataSourceHelper.cs (3)
117throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 122throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 189throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture,
UI\WebControls\Expressions\MethodExpression.cs (7)
76throw new InvalidOperationException(AtlasWeb.MethodExpression_MethodNameMustBeSpecified); 87throw new InvalidOperationException(AtlasWeb.MethodExpression_DataSourceMustBeIDynamicDataSource); 121throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 126throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 132throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.MethodExpression_FirstParamterMustBeCorrectType, 143throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 157throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.MethodExpression_ChangingTheReturnTypeIsNotAllowed,
UI\WebControls\Expressions\OfTypeExpression.cs (2)
59throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 66throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture,
UI\WebControls\Expressions\OrderByExpression.cs (1)
58throw new InvalidOperationException(AtlasWeb.Expressions_DataFieldRequired);
UI\WebControls\Expressions\RangeExpression.cs (4)
54throw new InvalidOperationException(AtlasWeb.Expressions_DataFieldRequired); 62throw new InvalidOperationException(AtlasWeb.RangeExpression_RangeTypeMustBeSpecified); 70throw new InvalidOperationException(AtlasWeb.RangeExpression_MinimumValueRequired); 80throw new InvalidOperationException(AtlasWeb.RangeExpression_MaximumValueRequired);
UI\WebControls\Expressions\SearchExpression.cs (2)
48throw new InvalidOperationException(AtlasWeb.Expressions_DataFieldRequired); 54throw new InvalidOperationException(AtlasWeb.SearchExpression_ParameterRequired);
UI\WebControls\LinqDataSourceView.cs (13)
113throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 120throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 135throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 176throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 215throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 359throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 386throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 610throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 922throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 937throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 941throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 953throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 961throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture,
UI\WebControls\ListView.cs (33)
785throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_DataKeyNamesMustBeSpecified, ID)); 1455throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NullView, ID)); 1478throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NeedICollectionOrTotalRowCount, GetType().Name)); 1506throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_Missing_VirtualItemCount, ID)); 1511throw new InvalidOperationException(AtlasWeb.ListView_DataSourceMustBeCollectionWhenNotDataBinding); 1530throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_GroupItemCountNoGroupTemplate, ID, GroupPlaceholderID)); 1617throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_InsertTemplateRequired, ID)); 2011throw new InvalidOperationException(AtlasWeb.ListView_ItemsNotDataItems); 2125throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NoItemPlaceholder, ID, ItemPlaceholderID)); 2131throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NoGroupPlaceholder, ID, GroupPlaceholderID)); 2157throw new InvalidOperationException(AtlasWeb.ListView_InvalidCancel); 2182throw new InvalidOperationException(AtlasWeb.ListView_InvalidDelete); 2191throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NullView, ID)); 2266throw new InvalidOperationException(AtlasWeb.ListView_InvalidEdit); 2336throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NullView, ID)); 2349throw new InvalidOperationException(AtlasWeb.ListView_InvalidCommand); 2388throw new InvalidOperationException(AtlasWeb.ListView_InvalidInsert); 2399throw new InvalidOperationException(AtlasWeb.ListView_NoInsertItem); 2408throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NullView, ID)); 2459throw new InvalidOperationException(AtlasWeb.ListView_InvalidSelect); 2497throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NullView, ID)); 2514throw new InvalidOperationException(AtlasWeb.ListView_InvalidUpdate); 2527throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_NullView, ID)); 2647throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_ItemTemplateRequired, ID)); 2840throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_UnhandledEvent, ID, "ItemCanceling")); 2910throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_UnhandledEvent, ID, "ItemDeleting")); 2926throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_UnhandledEvent, ID, "ItemEditing")); 2953throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_UnhandledEvent, ID, "ItemInserting")); 2978throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_UnhandledEvent, ID, "ItemUpdating")); 3049throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_UnhandledEvent, ID, "SelectedIndexChanging")); 3076throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_UnhandledEvent, ID, "Sorting")); 3123throw new InvalidOperationException(AtlasWeb.ListView_PersistedSelectionRequiresDataKeysNames); 3281throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.ListView_DataSourceDoesntSupportPaging, DataSourceID));
UI\WebControls\ListViewPagedDataSource.cs (3)
112throw new InvalidOperationException(AtlasWeb.ListViewPagedDataSource_CannotGetCount); 369throw new InvalidOperationException(AtlasWeb.ListViewPagedDataSource_EnumeratorMoveNextNotCalled); 409throw new InvalidOperationException(AtlasWeb.ListViewPagedDataSource_EnumeratorMoveNextNotCalled);
UI\WebControls\QueryableDataSource.cs (1)
53throw new InvalidOperationException(AtlasWeb.Common_PageCannotBeNull);
UI\WebControls\QueryableDataSourceHelper.cs (4)
122throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 139throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 225throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 232throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture,
UI\WebControls\QueryableDataSourceView.cs (5)
402throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 413throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 426throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 468throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, 566throw new InvalidOperationException(AtlasWeb.LinqDataSourceView_OriginalValuesNotFound);
UI\WebControls\QueryExtender.cs (2)
38throw new InvalidOperationException(AtlasWeb.DataSourceControlExtender_TargetControlIDMustBeSpecified); 43throw new InvalidOperationException(
UI\WebControls\TemplatePagerField.cs (1)
119throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, AtlasWeb.TemplatePagerField_UnhandledEvent, "PagerCommand"));
UI\WebResourceUtil.cs (3)
51throw new InvalidOperationException(String.Format( 92throw new InvalidOperationException(errorMessage); 100throw new InvalidOperationException(String.Format(
System.Web.Services (2)
System\Web\Services\Discovery\DiscoveryClientProtocol.cs (2)
167throw new InvalidOperationException(errorMessage.ToString()); 203throw new InvalidOperationException(errorMessage.ToString());
System.Windows.Forms (24)
parent\parent\parent\public\Internal\NDP\Inc\IsolationInterop.cs (9)
165throw new InvalidOperationException(); 227throw new InvalidOperationException(); 292throw new InvalidOperationException(); 360throw new InvalidOperationException(); 427throw new InvalidOperationException(); 492throw new InvalidOperationException(); 557throw new InvalidOperationException(); 742throw new InvalidOperationException(); 805throw new InvalidOperationException();
winforms\Managed\System\WinForms\AxHost.cs (1)
3741throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, SR.GetString(SR.AXNoSinkAdvise, eventInterface.Name), hr));
winforms\Managed\System\WinForms\DataGridViewCell.cs (6)
1314throw new InvalidOperationException(); 2023throw new InvalidOperationException(); 2166throw new InvalidOperationException(); 2676throw new InvalidOperationException(); 2726throw new InvalidOperationException(); 4532throw new InvalidOperationException();
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
942throw new InvalidOperationException();
winforms\Managed\System\WinForms\DataGridViewDataConnection.cs (1)
694throw new InvalidOperationException();
winforms\Managed\System\WinForms\DataGridViewMethods.cs (1)
26572throw new InvalidOperationException(); // Occurs in case of VSWhidbey 533407
winforms\Managed\System\WinForms\DataGridViewTextBoxCell.cs (1)
176throw new InvalidOperationException();
winforms\Managed\System\WinForms\Layout\TableLayout.cs (2)
59throw new InvalidOperationException(); 91throw new InvalidOperationException();
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
2430throw new InvalidOperationException();
winforms\Managed\System\WinForms\ProgressBar.cs (1)
969throw new InvalidOperationException("Progress Bar is read-only.");
System.Windows.Forms.DataVisualization (286)
Common\Annotation\AnnotationBase.cs (2)
2357throw (new InvalidOperationException(SR.ExceptionAnnotationGroupedAnchorDataPointMustBeEmpty)); 4257throw (new InvalidOperationException(SR.ExceptionAnnotationGroupedAxisMustBeEmpty));
Common\Annotation\ArrowAnnotation.cs (1)
446throw (new InvalidOperationException(SR.ExceptionAnnotationArrowStyleUnknown));
Common\Annotation\CalloutAnnotation.cs (1)
1863throw (new InvalidOperationException(SR.ExceptionAnnotationPathAddLineAsSegmentsInvalid));
Common\ChartTypes\BarChart.cs (5)
384throw (new InvalidOperationException(SR.ExceptionAttributeDrawSideBySideInvalid)); 473 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture) ))); 1162throw (new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture)))); 1353throw (new InvalidOperationException(SR.ExceptionAttributeDrawSideBySideInvalid)); 1391 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture))));
Common\ChartTypes\BoxPlotChart.cs (12)
296throw (new InvalidOperationException(SR.ExceptionAttributeDrawSideBySideInvalid)); 326 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture)))); 476 throw(new InvalidOperationException( SR.ExceptionCustomAttributeValueInvalid( point[CustomPropertyName.BoxPlotShowAverage], "BoxPlotShowAverage"))); 532 throw(new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid( point[CustomPropertyName.BoxPlotShowMedian],"BoxPlotShowMedian"))); 1065throw (new InvalidOperationException(SR.ExceptionAttributeDrawSideBySideInvalid)); 1107 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture)))); 1263 throw(new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid(point[CustomPropertyName.BoxPlotShowAverage], "BoxPlotShowAverage"))); 1312 throw(new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid(point[CustomPropertyName.BoxPlotShowMedian], "BoxPlotShowMedian"))); 1595 throw(new InvalidOperationException(SR.ExceptionCustomAttributeSeriesNameNotFound("BoxPlotSeries", linkedSeriesName) )); 1670throw (new InvalidOperationException(SR.ExceptionCustomAttributeIsNotInRange0to50("BoxPlotPercentile"))); 1689throw (new InvalidOperationException(SR.ExceptionCustomAttributeIsNotInRange0to50("BoxPlotPercentile"))); 1725 throw(new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid2("BoxPlotShowUnusualValues")));
Common\ChartTypes\BubbleChart.cs (2)
178 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture)))); 283throw (new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture))));
Common\ChartTypes\ColumnChart.cs (3)
295throw (new InvalidOperationException(SR.ExceptionAttributeDrawSideBySideInvalid)); 692throw (new InvalidOperationException(SR.ExceptionAttributeDrawSideBySideInvalid)); 1315 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name,this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture))));
Common\ChartTypes\ErrorBarChart.cs (13)
388throw (new InvalidOperationException(SR.ExceptionAttributeDrawSideBySideInvalid)); 433throw (new InvalidOperationException(SR.ExceptionAttributeDrawSideBySideInvalid)); 454 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture)))); 524 throw(new InvalidOperationException( SR.ExceptionCustomAttributeValueInvalid( point[CustomPropertyName.ErrorBarStyle], "ErrorBarStyle"))); 672 throw(new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid(point[CustomPropertyName.ErrorBarStyle], "ErrorBarStyle"))); 1168throw (new InvalidOperationException(SR.ExceptionAttributeDrawSideBySideInvalid)); 1208 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues( this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture)))); 1276 throw(new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid(point[CustomPropertyName.ErrorBarStyle], "ErrorBarStyle"))); 1442 throw(new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid( point[CustomPropertyName.ErrorBarStyle], "ErrorBarStyle"))); 1646 throw(new InvalidOperationException(SR.ExceptionErrorBarTypeInvalid(errorBarSeries[CustomPropertyName.ErrorBarType]))); 1656 throw(new InvalidOperationException(SR.ExceptionErrorBarTypeFormatInvalid(errorBarSeries[CustomPropertyName.ErrorBarType]))); 1665throw (new InvalidOperationException(SR.ExceptionErrorBarTypeFormatInvalid(errorBarSeries[CustomPropertyName.ErrorBarType]))); 1829throw (new InvalidOperationException(SR.ExceptionDataSeriesNameNotFound(linkedSeriesName)));
Common\ChartTypes\FastLineChart.cs (2)
295throw (new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid2("PermittedPixelError"))); 301throw (new InvalidOperationException(SR.ExceptionCustomAttributeIsNotInRange0to1("PermittedPixelError")));
Common\ChartTypes\FastPointChart.cs (3)
296throw (new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid2("PermittedPixelError"))); 302throw (new InvalidOperationException(SR.ExceptionCustomAttributeIsNotInRange0to1("PermittedPixelError"))); 622throw (new InvalidOperationException(SR.ExceptionFastPointMarkerStyleUnknown));
Common\ChartTypes\FunnelChart.cs (14)
613throw (new InvalidOperationException(SR.ExceptionFunnelStyleUnknown(this._funnelStyle.ToString()))); 2123 throw(new InvalidOperationException( SR.ExceptionCustomAttributeValueInvalid(labelStyle.ToString(), this.funnelLabelStyleAttributeName) ) ); 2280throw (new InvalidOperationException(SR.ExceptionFunnelMinimumPointHeightAttributeInvalid)); 2318throw (new InvalidOperationException(SR.ExceptionFunnelAngleRangeInvalid)); 2363 throw(new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid( attrValue, "CalloutLineColor") ) ); 2397throw (new InvalidOperationException(SR.ExceptionFunnelNeckWidthInvalid)); 2416throw (new InvalidOperationException(SR.ExceptionFunnelNeckHeightInvalid)); 2457throw (new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid(attrValue, this.funnelPointGapAttributeName))); 2500 throw(new InvalidOperationException( SR.ExceptionCustomAttributeValueInvalid( attrValue, "FunnelStyle") ) ); 2527throw (new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid(attrValue, this.funnelOutsideLabelPlacementAttributeName ))); 2553throw (new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid(attrValue, this.funnelInsideLabelAlignmentAttributeName))); 2580throw (new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid(attrValue, funnel3DDrawingStyleAttributeName) ) ); 2694throw (new InvalidOperationException(SR.ExceptionFunnelCanNotCombine)); 2729throw (new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid(attrValue,"PyramidValueType") ) );
Common\ChartTypes\KagiChart.cs (9)
117 throw(new InvalidOperationException(SR.ExceptionKagiNullReference)); 126throw (new InvalidOperationException(SR.ExceptionKagiCanNotCombine)); 220throw (new InvalidOperationException(SR.ExceptionKagiNullReference)); 305throw (new InvalidOperationException(SR.ExceptionKagiAttributeFormatInvalid("ReversalAmount"))); 319throw (new InvalidOperationException(SR.ExceptionKagiAttributeFormatInvalid("ReversalAmount"))); 349throw (new InvalidOperationException(SR.ExceptionKagiAttributeFormatInvalid("UsedYValue"))); 354throw (new InvalidOperationException(SR.ExceptionKagiAttributeOutOfRange("UsedYValue"))); 487 throw(new InvalidOperationException(SR.ExceptionKagiAttributeFormatInvalid("Up Brick color"))); 770 throw(new InvalidOperationException(SR.ExceptionKagiAttributeFormatInvalid("Up Brick color")));
Common\ChartTypes\LineChart.cs (1)
1281throw (new InvalidOperationException(SR.Exception3DChartPointsXValuesUnsorted));
Common\ChartTypes\PieChart.cs (32)
301throw (new InvalidOperationException(SR.ExceptionDoughnutCollectedThresholdInvalidFormat)); 306throw (new InvalidOperationException(SR.ExceptionDoughnutThresholdInvalid)); 317throw (new InvalidOperationException(SR.ExceptionDoughnutNullReference)); 361throw (new InvalidOperationException(SR.ExceptionDoughnutCollectedThresholdUsePercentInvalid)); 370throw (new InvalidOperationException(SR.ExceptionDoughnutCollectedThresholdInvalidRange)); 435throw (new InvalidOperationException(SR.ExceptionDoughnutCollectedColorInvalidFormat)); 484throw (new InvalidOperationException(SR.ExceptionDoughnutNullReference)); 531throw (new InvalidOperationException(SR.ExceptionChartCanNotCombine( this.Name ))); 718throw (new InvalidOperationException(SR.ExceptionCustomAttributeAngleOutOfRange("PieStartAngle"))); 1163throw new InvalidOperationException(SR.ExceptionPieRadialLineSizeInvalid); 1174throw new InvalidOperationException(SR.ExceptionPieRadialLineSizeInvalid); 1185throw new InvalidOperationException(SR.ExceptionPieHorizontalLineSizeInvalid); 1196throw new InvalidOperationException(SR.ExceptionPieHorizontalLineSizeInvalid); 1223 throw(new InvalidOperationException(SR.ExceptionCustomAttributeIsNotInRange0to100("InsideLabelOffset"))); 1660throw new InvalidOperationException(SR.ExceptionPieRadialLineSizeInvalid); 1671throw new InvalidOperationException(SR.ExceptionPieRadialLineSizeInvalid); 1682throw new InvalidOperationException(SR.ExceptionPieHorizontalLineSizeInvalid); 1693throw new InvalidOperationException(SR.ExceptionPieHorizontalLineSizeInvalid); 2147throw new InvalidOperationException(SR.ExceptionPieIntervalsInvalid); 2260throw new InvalidOperationException(SR.ExceptionPieIntervalsInvalid); 2409throw (new InvalidOperationException(SR.ExceptionCustomAttributeAngleOutOfRange("PieStartAngle"))); 4441throw new InvalidOperationException(SR.ExceptionPieUnassignedFrontBackPoints); 4494throw new InvalidOperationException(SR.ExceptionPiePointOrderInvalid); 4525throw new InvalidOperationException(SR.ExceptionPiePointOrderInvalid); 4566throw new InvalidOperationException(SR.ExceptionPiePointOrderInvalid); 4600throw new InvalidOperationException(SR.ExceptionPiePointOrderInvalid); 4642if (points[listIndx] != null) throw new InvalidOperationException(SR.ExceptionPiePointOrderInvalid); 4678if (points[listIndx] != null) throw new InvalidOperationException(SR.ExceptionPiePointOrderInvalid); 4712throw new InvalidOperationException(SR.ExceptionPiePointOrderInvalid); 4746throw new InvalidOperationException(SR.ExceptionPiePointOrderInvalid); 4815throw new InvalidOperationException(SR.ExceptionPieOrderOperationInvalid); 4914throw new InvalidOperationException(SR.Exception3DPieLabelsIndexInvalid);
Common\ChartTypes\PointAndFigureChart.cs (11)
133throw (new InvalidOperationException(SR.ExceptionPointAndFigureNullReference)); 142throw (new InvalidOperationException(SR.ExceptionPointAndFigureCanNotCombine)); 244throw (new InvalidOperationException(SR.ExceptionPointAndFigureNullReference)); 336 throw(new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(ChartTypeNames.PointAndFigure, ((int)(2)).ToString(CultureInfo.CurrentCulture)))); 407throw (new InvalidOperationException(SR.ExceptionRenkoBoxSizeFormatInvalid)); 477throw (new InvalidOperationException(SR.ExceptionPointAndFigureReversalAmountInvalidFormat)); 503throw (new InvalidOperationException(SR.ExceptionPointAndFigureUsedYValueHighInvalidFormat)); 508throw (new InvalidOperationException(SR.ExceptionPointAndFigureUsedYValueHighOutOfRange)); 520throw (new InvalidOperationException(SR.ExceptionPointAndFigureUsedYValueLowInvalidFormat)); 525throw (new InvalidOperationException(SR.ExceptionPointAndFigureUsedYValueLowOutOfrange)); 541throw (new InvalidOperationException(SR.ExceptionPointAndFigureUpBrickColorInvalidFormat));
Common\ChartTypes\PointChart.cs (1)
1498throw (new InvalidOperationException(SR.ExceptionChartTypeRequiresYValues(this.Name, this.YValuesPerPoint.ToString(CultureInfo.InvariantCulture))));
Common\ChartTypes\PolarChart.cs (1)
220 throw(new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid(attributeValue, "PolarDrawingStyle")));
Common\ChartTypes\RadarChart.cs (2)
376 throw(new InvalidOperationException(SR.ExceptionChartTypeCanNotCombine(ser.ChartTypeName, this.Name))); 1364 throw(new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid(attributeValue, "RadarDrawingStyle")));
Common\ChartTypes\RangeChart.cs (2)
355 throw(new InvalidOperationException( SR.ExceptionChartTypeRequiresYValues( this.Name, "2" ))); 993throw (new InvalidOperationException(SR.Exception3DSplineY1ValueIsLessThenY2));
Common\ChartTypes\RenkoChart.cs (7)
124throw (new InvalidOperationException(SR.ExceptionRenkoNullReference)); 133throw (new InvalidOperationException(SR.ExceptionRenkoCanNotCobine)); 225throw (new InvalidOperationException(SR.ExceptionRenkoNullReference)); 326throw (new InvalidOperationException(SR.ExceptionRenkoBoxSizeFormatInvalid)); 410throw (new InvalidOperationException(SR.ExceptionRenkoUsedYValueFormatInvalid)); 415throw (new InvalidOperationException(SR.ExceptionRenkoUsedYValueOutOfRange)); 458throw (new InvalidOperationException(SR.ExceptionRenkoUpBrickColorInvalid));
Common\ChartTypes\ThreeLineBreakChart.cs (8)
126throw (new InvalidOperationException(SR.ExceptionThreeLineBreakNullReference)); 135throw (new InvalidOperationException(SR.ExceptionThreeLineBreakCanNotCobine)); 226throw (new InvalidOperationException(SR.ExceptionThreeLineBreakNullReference)); 303throw (new InvalidOperationException(SR.ExceptionThreeLineBreakUsedYValueInvalid)); 308throw (new InvalidOperationException(SR.ExceptionThreeLineBreakUsedYValueOutOfRange)); 322throw (new InvalidOperationException(SR.ExceptionThreeLineBreakNumberOfLinesInBreakFormatInvalid)); 327throw (new InvalidOperationException(SR.ExceptionThreeLineBreakNumberOfLinesInBreakValueInvalid)); 376throw (new InvalidOperationException(SR.ExceptionThreeLineBreakUpBrickColorInvalid));
Common\Converters\CustomAttributesConverters.cs (9)
404throw (new InvalidOperationException(SR.ExceptionCustomAttributeDefaultValueTypeInvalid)); 677throw (new InvalidOperationException(SR.ExceptionCustomAttributeTypeUnsupported( this._customAttributeInfo.ValueType.ToString() ))); 739 throw(new InvalidOperationException(SR.ExceptionCustomAttributeTypeOrMaximumPossibleValueInvalid( attrName ) ) ); 765throw (new InvalidOperationException(SR.ExceptionCustomAttributeTypeOrMinimumPossibleValueUnsupported(attrName))); 775throw (new InvalidOperationException(SR.ExceptionCustomAttributeTypeOrMinimumPossibleValueInvalid( attrName ) ) ); 801 throw(new InvalidOperationException(SR.ExceptionCustomAttributeTypeOrMinimumPossibleValueUnsupported(attrName))); 810 throw(new InvalidOperationException(SR.ExceptionCustomAttributeMustBeInRange(attrName, this._customAttributeInfo.MinValue.ToString(),this._customAttributeInfo.MaxValue.ToString() ))); 814 throw(new InvalidOperationException(SR.ExceptionCustomAttributeMustBeBiggerThenValue(attrName, this._customAttributeInfo.MinValue.ToString()))); 818 throw(new InvalidOperationException(SR.ExceptionCustomAttributeMustBeMoreThenValue(attrName, this._customAttributeInfo.MaxValue.ToString())));
Common\Converters\DataManagerConverters.cs (2)
353throw (new InvalidOperationException(SR.ExceptionEditorChartTypeRegistryServiceInaccessible)); 425throw (new InvalidOperationException(SR.ExceptionEditorChartTypeRegistryServiceInObjectInaccessible(context.Instance.GetType().ToString())));
Common\Converters\LegendConverters.cs (2)
400throw (new InvalidOperationException(SR.ExceptionLegendDesignerMarginObjectInvalid(stringValue))); 405throw (new InvalidOperationException(SR.ExceptionLegendDesignerMarginObjectInvalid(stringValue)));
Common\DataManager\DataManager.cs (2)
1016throw (new InvalidOperationException(SR.ExceptionDataManager100StackedSeriesPointsNumeberMismatch)); 1077throw (new InvalidOperationException(SR.ExceptionDataManager100StackedSeriesPointsNumeberMismatch));
Common\DataManager\DataPoint.cs (2)
2570throw (new InvalidOperationException(SR.ExceptionDataSeriesKeywordFormatInvalid(result))); 3212throw (new InvalidOperationException());
Common\DataManager\DataSeries.cs (17)
650throw (new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid2("PixelPointDepth"))); 655throw (new InvalidOperationException(SR.ExceptionCustomAttributeIsNotLargerThenZiro("PixelPointDepth"))); 659throw (new InvalidOperationException(SR.ExceptionCustomAttributeMustBeInRange("PixelPointDepth", (0).ToString(CultureInfo.CurrentCulture), CustomPropertyRegistry.MaxValueOfPixelAttribute.ToString(CultureInfo.CurrentCulture)))); 680throw (new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid2("PixelPointGapDepth"))); 685throw (new InvalidOperationException(SR.ExceptionCustomAttributeIsNotLargerThenZiro("PixelPointGapDepth"))); 689throw (new InvalidOperationException(SR.ExceptionCustomAttributeMustBeInRange("PixelPointGapDepth", (0).ToString(CultureInfo.CurrentCulture), CustomPropertyRegistry.MaxValueOfPixelAttribute.ToString(CultureInfo.CurrentCulture)))); 750 throw(new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid2("MinPixelPointWidth"))); 754 throw(new InvalidOperationException(SR.ExceptionCustomAttributeIsNotLargerThenZiro("MinPixelPointWidth"))); 758throw (new InvalidOperationException(SR.ExceptionCustomAttributeMustBeInRange("MinPixelPointWidth", (0).ToString(CultureInfo.CurrentCulture), CustomPropertyRegistry.MaxValueOfPixelAttribute.ToString(CultureInfo.CurrentCulture)))); 779 throw(new InvalidOperationException( SR.ExceptionCustomAttributeValueInvalid2("MaxPixelPointWidth"))); 783 throw(new InvalidOperationException(SR.ExceptionCustomAttributeIsNotLargerThenZiro("MaxPixelPointWidth"))); 805 throw(new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid2("PixelPointWidth"))); 809 throw(new InvalidOperationException(SR.ExceptionCustomAttributeIsNotLargerThenZiro("PixelPointWidth"))); 813throw (new InvalidOperationException(SR.ExceptionCustomAttributeMustBeInRange("PixelPointWidth", (0).ToString(CultureInfo.CurrentCulture), CustomPropertyRegistry.MaxValueOfPixelAttribute.ToString(CultureInfo.CurrentCulture)))); 1073 throw(new InvalidOperationException( SR.ExceptionDataSeriesYValueIndexNotExists(yValueIndex.ToString(CultureInfo.InvariantCulture), this.Name ) ) ); 1234 throw(new InvalidOperationException( SR.ExceptionDataSeriesKeywordFormatInvalid( result ))); 1341 throw(new InvalidOperationException( SR.ExceptionDataSeriesKeywordFormatInvalid(result)));
Common\Formulas\GeneralFormulas.cs (2)
183 throw new InvalidOperationException( SR.ExceptionFormulaInvalidPeriod(name) ); 187 throw new InvalidOperationException( SR.ExceptionFormulaNotEnoughDataPoints(name) );
Common\Formulas\Oscillator.cs (10)
191throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing); 193throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message); 197throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 272throw new InvalidOperationException(SR.ExceptionOscillatorNegativePeriodParameter); 283throw new InvalidOperationException(SR.ExceptionOscillatorNegativeSignalPeriod); 471throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 482throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 582throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 675 throw new InvalidOperationException( SR.ExceptionFormulaInvalidPeriod( name ) ); 679 throw new InvalidOperationException( SR.ExceptionFormulaNotEnoughDataPoints( name ) );
Common\Formulas\PriceIndicators.cs (22)
146throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing); 148throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message); 152throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 321throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing); 323throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message); 327throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 465throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing); 467throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message); 471throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 548throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing); 550throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message); 554throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 691throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing); 693throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message); 697throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 704{ throw new InvalidOperationException(SR.ExceptionIndicatorsDeviationMissing); } 967throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing); 969throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message); 973throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 980{ throw new InvalidOperationException(SR.ExceptionPriceIndicatorsShiftParameterMissing); } 1164throw new InvalidOperationException(SR.ExceptionFormulaInvalidPeriod( name ) ); 1168 throw new InvalidOperationException( SR.ExceptionFormulaNotEnoughDataPoints( name ) );
Common\Formulas\StatisticalAnalysis.cs (4)
149 throw new InvalidOperationException( SR.ExceptionFormulaInvalidPeriod(name) ); 153 throw new InvalidOperationException( SR.ExceptionFormulaNotEnoughDataPoints(name) ); 497throw new InvalidOperationException(SR.ExceptionStatisticalAnalysesZeroVariance); 1549throw new InvalidOperationException(SR.ExceptionStatisticalAnalysesIncompleteBetaFunction);
Common\Formulas\TechGeneralIndicators.cs (15)
86throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing); 88throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message); 92throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 162throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 294throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 305throw new InvalidOperationException(SR.ExceptionPeriodAverageParameterIsNegative); 433throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 489throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 573throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 651throw new InvalidOperationException(SR.ExceptionPeriodShortParameterIsNegative); 662throw new InvalidOperationException(SR.ExceptionPeriodLongParameterIsNegative); 665throw new InvalidOperationException(SR.ExceptionIndicatorsLongPeriodLessThenShortPeriod); 741throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 866 throw new InvalidOperationException( SR.ExceptionFormulaInvalidPeriod( name ) ); 870 throw new InvalidOperationException( SR.ExceptionFormulaNotEnoughDataPoints( name ) );
Common\Formulas\TimeSeriesAndForecasting.cs (6)
119 throw new InvalidOperationException( SR.ExceptionFormulaInvalidPeriod(name) ); 123 throw new InvalidOperationException( SR.ExceptionFormulaNotEnoughDataPoints( name ) ); 196throw new InvalidOperationException(SR.ExceptionForecastingDegreeInvalid); 199throw new InvalidOperationException(SR.ExceptionForecastingNotEnoughDataPoints(degree.ToString(System.Globalization.CultureInfo.InvariantCulture))); 316throw new InvalidOperationException(SR.ExceptionForecastingExponentialRegressionHasZeroYValues); 363throw new InvalidOperationException(SR.ExceptionForecastingPowerRegressionHasZeroYValues);
Common\Formulas\VolumeIndicator.cs (7)
105 throw new InvalidOperationException( SR.ExceptionFormulaInvalidPeriod( name ) ); 109 throw new InvalidOperationException( SR.ExceptionFormulaNotEnoughDataPoints( name ) ); 152throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing); 154throw new InvalidOperationException(SR.ExceptionPriceIndicatorsPeriodMissing + e.Message); 158throw new InvalidOperationException(SR.ExceptionPeriodParameterIsNegative); 365{ throw new InvalidOperationException(SR.ExceptionVolumeIndicatorStartValueMissing); } 435{ throw new InvalidOperationException(SR.ExceptionVolumeIndicatorStartValueMissing); }
Common\General\Axis.cs (2)
863throw (new InvalidOperationException(SR.ExceptionAxisLabelsAutoFitMinFontSizeValueInvalid)); 897throw (new InvalidOperationException(SR.ExceptionAxisLabelsAutoFitMaxFontSizeInvalid));
Common\General\AxisScale.cs (6)
1030throw (new InvalidOperationException(SR.ExceptionAxisScalePositionToValueCallFailed)); 1303throw (new InvalidOperationException(SR.ExceptionAxisScaleMinimumMaximumInvalid)); 1321throw (new InvalidOperationException(SR.ExceptionAxisScaleMinimumMaximumInvalid)); 1959throw (new InvalidOperationException(SR.ExceptionAxisScaleAutoIntervalInvalid)); 2006throw (new InvalidOperationException(SR.ExceptionAxisScaleMinimumValueIsGreaterThenMaximumDataPoint)); 2041throw (new InvalidOperationException(SR.ExceptionAxisScaleAutoIntervalInvalid));
Common\General\Chart.cs (4)
1037throw (new InvalidOperationException(SR.ExceptionChartDataPointsAlignmentFaild)); 1043throw (new InvalidOperationException(SR.ExceptionChartDataPointsAlignmentFaildAxisLabelsInvalid)); 3003throw (new InvalidOperationException(SR.ExceptionChartAreaNameReferenceInvalid(area.Name, area.AlignWithChartArea))); 3504throw (new InvalidOperationException(ex.Message));
Common\General\ChartArea.cs (2)
2790 throw(new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid( series[CustomPropertyName.AreaDrawingStyle], "AreaDrawingStyle"))); 2834 throw(new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid( styleName, "CircularLabelsStyle")));
Common\General\ChartAreaAxes.cs (6)
474throw (new InvalidOperationException(SR.ExceptionChartAreaAxisScaleLogarithmicUnsuitable)); 697throw (new InvalidOperationException(SR.ExceptionAxisMinimumMaximumInvalid)); 1081throw (new InvalidOperationException(SR.ExceptionAxisStackedChartsDataPointsNumberMismatch)); 1157throw (new InvalidOperationException(SR.ExceptionAxisStackedChartsDataPointsNumberMismatch)); 1464throw (new InvalidOperationException(SR.ExceptionChartAreaChartTypesCanNotCombine)); 1691throw (new InvalidOperationException(SR.ExceptionChartAreaSeriesNotFound));
Common\General\ChartGraphics.cs (3)
1124throw (new InvalidOperationException(SR.ExceptionGraphicsMarkerStyleUnknown)); 4955 throw( new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid( styleName, "PieDrawingStyle"))); 5556throw (new InvalidOperationException(SR.ExceptionCustomAttributeValueInvalid(styleName, "DrawingStyle")));
Common\General\ChartGraphics3D.cs (1)
3654throw (new InvalidOperationException(SR.ExceptionGraphics3DMarkerStyleUnknown));
Common\General\ChartSerializer.cs (1)
770throw (new InvalidOperationException(SR.ExceptionChartSerializerContentFlagUnsupported));
Common\General\DataManipulator.cs (1)
2597throw (new InvalidOperationException(SR.ExceptionDataManipulatorGroupedSeriesNotSorted));
Common\General\FormulaData.cs (1)
558throw new InvalidOperationException(SR.ExceptionFormulaXValuesNotAligned);
Common\General\GridTickMarks.cs (3)
435throw (new InvalidOperationException(SR.ExceptionTickMarksIntervalIsZero)); 1356throw (new InvalidOperationException(SR.ExceptionTickMarksIntervalIsZero)); 1405throw (new InvalidOperationException(SR.ExceptionTickMarksIntervalIsZero));
Common\General\ImageMap.cs (3)
304throw (new InvalidOperationException(SR.ExceptionImageMapCircleShapeInvalid)); 308throw (new InvalidOperationException(SR.ExceptionImageMapRectangleShapeInvalid)); 312throw (new InvalidOperationException(SR.ExceptionImageMapPolygonShapeInvalid));
Common\General\Label.cs (3)
1017throw (new InvalidOperationException(SR.ExceptionAxisLabelRowIndexIsNegative)); 1731throw (new InvalidOperationException(SR.ExceptionAxisLabelIndexIsNegative)); 2250throw (new InvalidOperationException(SR.ExceptionAxisLabelRowIndexMustBe1Or2));
Common\General\Legend.cs (3)
2080throw (new InvalidOperationException(SR.ExceptionLegendReferencedInSeriesNotFound(series.Name, series.Legend))); 2886throw (new InvalidOperationException(SR.ExceptionLegendAutoFitMinFontSizeInvalid)); 4410throw (new InvalidOperationException(SR.ExceptionLegendSeparatorTypeUnknown(separatorType.ToString())));
Common\General\LegendColumns.cs (2)
1534throw (new InvalidOperationException(SR.ExceptionLegendCellTypeUnknown(this.CellType.ToString()))); 1962 throw (new InvalidOperationException(SR.ExceptionLegendCellTypeUnknown(this.CellType.ToString())));
Common\General\Matrix3D.cs (1)
413throw new InvalidOperationException(SR.ExceptionMatrix3DNotinitialized);
Common\General\SmartLabels.cs (3)
320throw (new InvalidOperationException(SR.ExceptionSmartLabelsDirectionUndefined)); 347throw (new InvalidOperationException(SR.ExceptionSmartLabelsMinMovingDistanceIsNegative)); 373throw (new InvalidOperationException(SR.ExceptionSmartLabelsMaxMovingDistanceIsNegative));
Common\Utilities\XmlSerializer.cs (9)
850throw (new InvalidOperationException(SR.ExceptionChartSerializerDefaultConstructorUndefined(pi.PropertyType.ToString()))); 2132throw (new InvalidOperationException(SR.ExceptionChartSerializerPropertyNameUnknown(childNode.Name, objectToDeserialize.GetType().ToString()))); 2202 throw(new InvalidOperationException(SR.ExceptionChartSerializerPropertyNameUnknown( attrName,obj.GetType().ToString()))); 2788throw (new InvalidOperationException(SR.ExceptionChartSerializerBinaryTypeUnsupported(obj.GetType().ToString()))); 2907throw (new InvalidOperationException(SR.ExceptionChartSerializerBinaryIgnoreUnknownAttributesUnsupported)); 2914throw (new InvalidOperationException(SR.ExceptionChartSerializerBinaryFromatInvalid)); 3051 throw(new InvalidOperationException(SR.ExceptionChartSerializerPropertyNameUnknown( pi.Name,objectToDeserialize.GetType().ToString()))); 3201 throw(new InvalidOperationException(SR.ExceptionChartSerializerBinaryTypeUnsupported( obj.GetType().ToString() ))); 3272throw (new InvalidOperationException(SR.ExceptionChartSerializerPropertyNotFound));
System.Workflow.Activities (166)
Code.cs (1)
72throw new InvalidOperationException();
Common\BasePropertyDescriptor.cs (2)
321throw new InvalidOperationException(SR.GetString(SR.Error_ParameterTypeResolution, paramInfo.Name)); 347throw new InvalidOperationException(SR.GetString(SR.Error_ParameterTypeResolution, propertyName));
Common\CompModHelpers.cs (3)
308throw new InvalidOperationException( 357throw new InvalidOperationException( 434throw new InvalidOperationException(
Conditional.cs (1)
61throw new InvalidOperationException(SR.GetString(SR.Error_ConditionalBranchUpdateAtRuntime));
ConstrainedGroup.cs (3)
142throw new InvalidOperationException(SR.GetString(SR.Error_CAGNotExecuting, this.QualifiedName)); 165throw new InvalidOperationException(SR.GetString(SR.Error_ContextStackItemMissing, typeof(Activity).Name)); 382throw new InvalidOperationException(SR.GetString(SR.Error_CAGQuiet, cag.QualifiedName));
CorrelationValidator.cs (1)
418throw new InvalidOperationException();
Delay.cs (1)
157throw new InvalidOperationException();
Designers\InvokeWebServiceDesigner.cs (2)
82throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName)); 117throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(IExtendedUIService).FullName));
Designers\StateDesigner.cs (4)
2635throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 2642throw new InvalidOperationException(DR.GetString(DR.Error_InvalidImageResource)); 2666throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 2673throw new InvalidOperationException(DR.GetString(DR.Error_InvalidImageResource));
Designers\WebServiceResponseDesigner.cs (1)
30throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName));
EventHandlers.cs (1)
86throw new InvalidOperationException(SR.GetString(SR.Error_MustHaveParent));
EventSinkActivity.cs (4)
189throw new InvalidOperationException(SR.GetString(SR.InterfaceTypeMissing, this.Name)); 193throw new InvalidOperationException(SR.GetString(SR.EventNameMissing, this.Name)); 203throw new InvalidOperationException(SR.GetString(SR.MethodInfoMissing, this.EventName, this.InterfaceType.Name)); 451throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName));
Executors\InboundActivityHelper.cs (1)
62throw new InvalidOperationException(SR.GetString(SR.Error_InvalidLocalServiceMessage));
Executors\InvokeBase.cs (1)
103throw new InvalidOperationException(SR.GetString(SR.Error_CallExternalMethodArgsSerializationException, name), e);
Executors\WorkflowWebService.cs (1)
158throw new InvalidOperationException(SR.GetString(SR.Error_NoInstanceInSession));
InvokeMethodActivity.cs (5)
162throw new InvalidOperationException(SR.GetString(SR.InterfaceTypeMissing, this.Name)); 166throw new InvalidOperationException(SR.GetString(SR.MethodNameMissing, this.Name)); 172throw new InvalidOperationException(SR.GetString(SR.MethodInfoMissing, this.MethodName, this.InterfaceType.Name)); 198throw new InvalidOperationException(SR.GetString(SR.Error_ServiceNotFound, this.InterfaceType)); 256throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName));
InvokeSchedule.cs (4)
136throw new InvalidOperationException(SR.GetString(SR.Error_CantInvokeSelf)); 174throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(IStartWorkflow).FullName)); 178throw new InvalidOperationException(SR.GetString(SR.Error_FailedToStartTheWorkflow)); 209throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName));
InvokeWebService.cs (3)
313throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName)); 387throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName)); 443throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName));
LocalService\CorrelationResolver.cs (3)
307throw new InvalidOperationException(SR.GetString(SR.Error_ExternalDataExchangeException, interfaceType.AssemblyQualifiedName)); 313throw new InvalidOperationException(SR.GetString(SR.Error_CorrelationParameterException, interfaceType.AssemblyQualifiedName)); 340throw new InvalidOperationException(SR.GetString(SR.Error_CorrelationParameterException, interfaceType.AssemblyQualifiedName, paramAttribute.Name, methodName));
LocalService\CorrelationService.cs (7)
157throw new InvalidOperationException(SR.GetString(SR.Error_CorrelationNotInitialized, reference.Name, activity.QualifiedName)); 173throw new InvalidOperationException(SR.GetString(SR.Error_CorrelationTokenMissing, activity.Name)); 177throw new InvalidOperationException(SR.GetString(SR.Error_CorrelationTokenMissing, activity.Name)); 188throw new InvalidOperationException(SR.GetString(SR.Error_CorrelationViolationException, memberName, activity.QualifiedName)); 191throw new InvalidOperationException(SR.GetString(SR.Error_CorrelationViolationException, memberName, activity.QualifiedName)); 241throw new InvalidOperationException(SR.GetString(SR.Error_CorrelationViolationException, memberName, activity.QualifiedName)); 245throw new InvalidOperationException(SR.GetString(SR.Error_CorrelationViolationException, memberName, activity.QualifiedName));
LocalService\ExternalDataExchangeService.cs (2)
281throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_ExternalDataExchangeServiceExists), type)); 308throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_ServiceMissingExternalDataExchangeInterface)));
LocalService\MethodMessage.cs (3)
188throw new InvalidOperationException(SR.GetString(SR.Error_EventArgumentSerializationException), e); 262throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_WorkflowInstanceDehydratedBeforeSendingResponse))); 275throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_WorkflowInstanceDehydratedBeforeSendingResponse)));
Policy.cs (1)
56throw new InvalidOperationException(SR.GetString(SR.Error_MustHaveParent));
Rules\DeclarativeConditionsCollection.cs (4)
56throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 70throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 78throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 92throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime));
Rules\DeclarativeExpressionConditionDeclaration.cs (7)
52throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 68throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 240throw new InvalidOperationException(SR.GetString(SR.Error_MissingConditionName, activity.Name)); 259throw new InvalidOperationException(SR.GetString(SR.Error_MissingRuleConditions)); 270throw new InvalidOperationException(message); 353throw new InvalidOperationException(message); 360throw new InvalidOperationException(message);
Rules\Design\Dialogs\ConditionBrowserDialog.cs (1)
123throw new InvalidOperationException(message);
Rules\Design\Dialogs\RuleConditionDialog.cs (1)
47throw new InvalidOperationException(message);
Rules\Design\Dialogs\RuleSetDialog.cs (1)
50throw new InvalidOperationException(message);
Rules\Design\LogicalExpressionTypeConverter.cs (5)
28throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Messages.MissingService, typeof(IReferenceService).FullName)); 129throw new InvalidOperationException(message); 278throw new InvalidOperationException(message); 386throw new InvalidOperationException(message); 486throw new InvalidOperationException(message);
Rules\Executor.cs (1)
214throw new InvalidOperationException(
Rules\Expressions.cs (12)
484InvalidOperationException exception = new InvalidOperationException(message); 997InvalidOperationException exception = new InvalidOperationException(message); 1169InvalidOperationException exception = new InvalidOperationException(message); 1179InvalidOperationException exception = new InvalidOperationException(message); 1209InvalidOperationException exception = new InvalidOperationException(message); 1459InvalidOperationException exception = new InvalidOperationException(message); 1469InvalidOperationException exception = new InvalidOperationException(message); 1517InvalidOperationException exception = new InvalidOperationException(message); 2168InvalidOperationException exception = new InvalidOperationException(message); 2438InvalidOperationException exception = new InvalidOperationException(message); 2448InvalidOperationException exception = new InvalidOperationException(message); 2492InvalidOperationException exception = new InvalidOperationException(message);
Rules\Rule.cs (6)
66throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 77throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 88throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 99throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 110throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 121throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime));
Rules\RuleSet.cs (3)
60throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 71throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 82throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime));
Rules\RuleSetCollection.cs (4)
36throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 50throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 58throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 66throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime));
Rules\RuleSetReference.cs (2)
109throw new InvalidOperationException(message); 115throw new InvalidOperationException(message);
Rules\Walker.cs (1)
142throw new InvalidOperationException(exceptionMessage);
State.cs (6)
116throw new InvalidOperationException(SR.GetError_StateActivityMustBeContainedInAStateMachine()); 120throw new InvalidOperationException(SR.GetError_CannotExecuteStateMachineWithoutInitialState()); 420throw new InvalidOperationException(SR.GetInvalidActivityStatus(context.Activity)); 427throw new InvalidOperationException(SR.GetError_InvalidLeafStateChild()); 429throw new InvalidOperationException(SR.GetError_InvalidCompositeStateChild()); 474throw new InvalidOperationException(SR.GetInvalidSetStateInStateInitialization());
StateMachineExecutionState.cs (3)
196throw new InvalidOperationException(SR.GetInvalidStateMachineAction(action.StateName)); 232throw new InvalidOperationException(SR.GetUnableToTransitionToState(targetStateName)); 253throw new InvalidOperationException(SR.GetInvalidStateTransitionPath());
StateMachineSubscription.cs (1)
230throw new InvalidOperationException(SR.GetStateMachineWorkflowMustHaveACurrentState());
StateMachineSubscriptionManager.cs (1)
119throw new InvalidOperationException(SR.GetStateAlreadySubscribesToThisEvent(state.QualifiedName, queueName));
StateMachineWorkflowInstance.cs (4)
143throw new InvalidOperationException(); 268throw new InvalidOperationException(SR.GetSqlTrackingServiceRequired()); 306throw new InvalidOperationException(SR.GetInvalidUserDataInStateChangeTrackingRecord()); 310throw new InvalidOperationException(SR.GetInvalidUserDataInStateChangeTrackingRecord());
Task.cs (34)
92throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorChildRunning)); 261throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotExecuting)); 264throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotInitialized)); 277throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotExecuting)); 280throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotInitialized)); 305throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotExecuting)); 308throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotInitialized)); 331throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotExecuting)); 334throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotInitialized)); 353throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotExecuting)); 356throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotInitialized)); 650throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorInvalidExecutionType)); 1000throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorDisconnected)); 1008throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorDisconnected)); 1016throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorDisconnected)); 1024throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorDisconnected)); 1032throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorDisconnected)); 1056throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorDisconnected)); 1064throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorDisconnected)); 1074throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorDisconnected)); 1077throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotExecuting)); 1080throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotInitialized)); 1087throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorDisconnected)); 1090throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotExecuting)); 1093throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotInitialized)); 1106throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorDisconnected)); 1109throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotExecuting)); 1112throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotInitialized)); 1138throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorDisconnected)); 1141throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotExecuting)); 1144throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotInitialized)); 1176throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorDisconnected)); 1179throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotExecuting)); 1182throw new InvalidOperationException(SR.GetString(SR.Error_ReplicatorNotInitialized));
WebServiceFault.cs (3)
127throw new InvalidOperationException(SR.GetString(SR.Error_MustHaveParent)); 139throw new InvalidOperationException(SR.GetString(CultureInfo.CurrentCulture, SR.Error_PropertyNotSet, FaultProperty.Name)); 193throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName));
WebServiceReceive.cs (6)
177throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName)); 212throw new InvalidOperationException(SR.GetString(SR.Error_MustHaveParent)); 448throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName)); 520throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName)); 657throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName)); 662throw new InvalidOperationException(SR.GetString(SR.Error_ContextStackItemMissing, typeof(CodeNamespaceCollection).Name));
WebServiceResponse.cs (5)
118throw new InvalidOperationException(SR.GetString(SR.Error_MustHaveParent)); 149throw new InvalidOperationException(SR.GetString(SR.Error_CannotResolveWebServiceInput, this.QualifiedName, this.InputActivityName)); 179throw new InvalidOperationException(SR.GetString(SR.Error_WebServiceInputNotProcessed, webservicereceive.QualifiedName)); 254throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName)); 317throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName));
System.Workflow.ComponentModel (247)
AuthoringOM\Activity.cs (27)
338throw new InvalidOperationException(SR.GetString(SR.Error_NoRuntimeAvailable)); 370throw new InvalidOperationException(SR.GetString(SR.Error_NoRuntimeAvailable)); 395throw new InvalidOperationException(SR.GetString(SR.Error_NoRuntimeAvailable)); 404throw new InvalidOperationException(SR.GetString(SR.Error_NoRuntimeAvailable)); 414throw new InvalidOperationException(SR.GetString(SR.Error_NoRuntimeAvailable)); 428throw new InvalidOperationException(SR.GetString(System.Globalization.CultureInfo.CurrentCulture, SR.Error_NoRuntimeAvailable)); 431throw new InvalidOperationException(SR.GetString(System.Globalization.CultureInfo.CurrentCulture, SR.Error_InvalidInvokingState)); 450throw new InvalidOperationException(SR.GetString(System.Globalization.CultureInfo.CurrentCulture, SR.Error_NoRuntimeAvailable)); 453throw new InvalidOperationException(SR.GetString(System.Globalization.CultureInfo.CurrentCulture, SR.Error_InvalidInvokingState)); 1042throw new InvalidOperationException(SR.GetString(SR.Error_NoRuntimeAvailable)); 1066throw new InvalidOperationException(SR.GetString(SR.Error_NoRuntimeAvailable)); 1108throw new InvalidOperationException(SR.GetString(SR.Error_NoRuntimeAvailable)); 1502throw new InvalidOperationException(SR.GetString(SR.Error_InvalidCancelActivityState)); //DCR01 1515throw new InvalidOperationException(SR.GetString(SR.Error_InvalidCompensateActivityState)); //DCR01 1535throw new InvalidOperationException(SR.GetString(SR.Error_InvalidCloseActivityState)); //DCR01 1542throw new InvalidOperationException(SR.GetString(System.Globalization.CultureInfo.CurrentCulture, SR.Error_ActiveChildExist)); 1549throw new InvalidOperationException(SR.GetString(System.Globalization.CultureInfo.CurrentCulture, SR.Error_ActiveChildContextExist)); 2060throw new InvalidOperationException(SR.GetString(SR.Error_InvalidActivityForWorkflowChanges)); 2063throw new InvalidOperationException(SR.GetString(SR.Error_MissingRootActivity)); 2066throw new InvalidOperationException(SR.GetString(SR.Error_NoRuntimeAvailable)); 2327throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 2333throw new InvalidOperationException(SR.GetString(SR.Error_Missing_CanModifyProperties_True, this.GetType().FullName)); 2336throw new InvalidOperationException(SR.GetString(SR.Error_CannotAddRemoveChildActivities)); 2339throw new InvalidOperationException(SR.GetString(SR.Error_CannotAddRemoveChildActivities)); 2348throw new InvalidOperationException(SR.GetString(SR.Error_ActivityCircularReference)); 2366throw new InvalidOperationException(SR.GetString(SR.Error_ActivityHasParent, activity.QualifiedName, activity.Parent.QualifiedName)); 2368throw new InvalidOperationException(SR.GetString(SR.Error_Recursion, activity.QualifiedName));
AuthoringOM\ActivityExecutionContext.cs (8)
203throw new InvalidOperationException(SR.GetString(SR.Error_InvalidInitializingState)); 227throw new InvalidOperationException(SR.GetString(SR.Error_InvalidStateToExecuteChild)); 233throw new InvalidOperationException(SR.GetString(SR.Error_InvalidExecutionState)); 261throw new InvalidOperationException(SR.GetString(SR.Error_InvalidStateToExecuteChild)); 267throw new InvalidOperationException(SR.GetString(SR.Error_InvalidCancelingState)); 290throw new InvalidOperationException(SR.GetString(SR.Error_InvalidCompensatingState)); 356throw new InvalidOperationException(SR.GetString(SR.Error_InvalidClosingState)); 696throw new InvalidOperationException(SR.GetString(System.Globalization.CultureInfo.CurrentCulture, SR.Error_PropertyCanBeOnlyCleared));
AuthoringOM\ActivityExecutionContextCollection.cs (1)
167throw new InvalidOperationException(SR.GetString(System.Globalization.CultureInfo.CurrentCulture, SR.Error_CannotCompleteContext));
AuthoringOM\ActivityExecutor.cs (2)
176throw new InvalidOperationException(SR.GetString(SR.ExecutorCreationFailedErrorMessage, activityType.FullName), e); 180throw new InvalidOperationException(SR.GetString(SR.ExecutorCreationFailedErrorMessage, activityType.FullName));
AuthoringOM\ActivityExecutorOperation.cs (4)
88throw new InvalidOperationException(SR.GetString(SR.InvalidExecutionStatus, activity.QualifiedName, newStatus.ToString(), ActivityExecutionStatus.Executing.ToString())); 106throw new InvalidOperationException(SR.GetString(SR.InvalidExecutionStatus, activity.QualifiedName, newStatus.ToString(), ActivityExecutionStatus.Canceling.ToString())); 125throw new InvalidOperationException(SR.GetString(SR.InvalidExecutionStatus, activity.QualifiedName, newStatus.ToString(), ActivityExecutionStatus.Compensating.ToString())); 143throw new InvalidOperationException(SR.GetString(SR.InvalidExecutionStatus, activity.QualifiedName, newStatus.ToString(), ActivityExecutionStatus.Faulting.ToString()));
AuthoringOM\Behaviors\CancellationHandler.cs (1)
32throw new InvalidOperationException(SR.GetString(SR.Error_MustHaveParent));
AuthoringOM\Behaviors\Compensate.cs (1)
54throw new InvalidOperationException(SR.GetString(SR.Error_MustHaveParent));
AuthoringOM\Behaviors\Compensation.cs (1)
33throw new InvalidOperationException(SR.GetString(SR.Error_MustHaveParent));
AuthoringOM\Behaviors\ExceptionHandler.cs (2)
75throw new InvalidOperationException(SR.GetString(SR.Error_MustHaveParent)); 174throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName));
AuthoringOM\Behaviors\ExceptionHandlers.cs (1)
42throw new InvalidOperationException(SR.GetString(SR.Error_MustHaveParent));
AuthoringOM\Bind.cs (10)
163throw new InvalidOperationException(SR.GetString(SR.Error_BindPathNullValue, eventArgs.Path)); 244throw new InvalidOperationException(SR.GetString(SR.Error_ReadOnlyField, memberInfo.Name)); 371throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 431throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 596throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 614throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 819throw new InvalidOperationException(SR.GetString(SR.Error_MemberNotFound)); 1145throw new InvalidOperationException(SR.GetString(SR.Bind_ActivityDataSourceRecursionDetected)); 1649throw new InvalidOperationException(SR.GetString(SR.Error_PropertyHasNoGetterDefined, this.propertyName)); 1660throw new InvalidOperationException(SR.GetString(SR.Error_PropertyHasNoSetterDefined, this.propertyName));
AuthoringOM\Compiler\CodeGeneration\ActivityCodeGenerator.cs (1)
65throw new InvalidOperationException(SR.GetString(SR.Error_ContextStackItemMissing, typeof(CodeNamespaceCollection).Name));
AuthoringOM\Compiler\TypeSystem\AttributeInfo.cs (1)
103throw new InvalidOperationException(SR.GetString(SR.CannotCreateAttribute));
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (1)
53throw new InvalidOperationException(SR.GetString(SR.NamespaceAndDeclaringTypeCannotBeNull));
AuthoringOM\Compiler\Validation\BindValidator.cs (12)
48throw new InvalidOperationException(SR.GetString(SR.Error_ContextStackItemMissing, typeof(BindValidationContext).Name)); 52throw new InvalidOperationException(SR.GetString(SR.Error_ContextStackItemMissing, typeof(Activity).Name)); 233throw new InvalidOperationException(SR.GetString(SR.Error_ContextStackItemMissing, typeof(BindValidationContext).Name)); 237throw new InvalidOperationException(SR.GetString(SR.Error_ContextStackItemMissing, typeof(Activity).Name)); 430throw new InvalidOperationException(SR.GetString(SR.Error_ContextStackItemMissing, typeof(BindValidationContext).Name)); 434throw new InvalidOperationException(SR.GetString(SR.Error_ContextStackItemMissing, typeof(Activity).Name)); 590throw new InvalidOperationException(SR.GetString(SR.Error_ContextStackItemMissing, typeof(Activity).Name)); 594throw new InvalidOperationException(SR.GetString(SR.Error_ContextStackItemMissing, typeof(BindValidationContext).Name)); 757throw new InvalidOperationException(SR.GetString(SR.Error_ContextStackItemMissing, typeof(BindValidationContext).Name)); 761throw new InvalidOperationException(SR.GetString(SR.Error_ContextStackItemMissing, typeof(Activity).Name)); 801throw new InvalidOperationException(SR.GetString(SR.Error_ContextStackItemMissing, typeof(Activity).Name)); 833throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName));
AuthoringOM\Compiler\Validation\DependencyObjectValidator.cs (2)
68throw new InvalidOperationException(SR.GetString(SR.Error_ContextStackItemMissing, typeof(Activity).FullName)); 191throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName));
AuthoringOM\Compiler\XomlCompilerHelpers.cs (3)
823throw new InvalidOperationException(String.Format(SR.GetString(SR.Error_MetaDataInterfaceMissing), assemblyLocation, "IMetaDataDispenser")); 833throw new InvalidOperationException(String.Format(SR.GetString(SR.Error_MetaDataInterfaceMissing), assemblyLocation, "IMetaDataImport")); 869throw new InvalidOperationException(String.Format(SR.GetString(SR.Error_MetaDataInterfaceMissing), assemblyLocation, "IMetaDataAssemblyImport"));
AuthoringOM\ComponentFactoryHelpers.cs (2)
125throw new InvalidOperationException(SR.GetString(SR.Error_InvalidAttribute, componentTypeAttribute.Name, objectType.FullName)); 240throw new InvalidOperationException(SR.GetString(SR.Error_InvalidAttributes, objectType.FullName), e);
AuthoringOM\DependencyObject.cs (9)
121throw new InvalidOperationException(SR.GetString(SR.Error_InvalidDependencyProperty, this.GetType().FullName, dependencyProperty.Name, dependencyProperty.OwnerType.FullName)); 124throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 189throw new InvalidOperationException(SR.GetString(SR.Error_DynamicPropertyTypeValueMismatch, new object[] { dependencyProperty.PropertyType.FullName, dependencyProperty.Name, value.GetType().FullName })); 209throw new InvalidOperationException(SR.GetString(SR.Error_NotReadOnlyProperty, dependencyProperty.Name, dependencyProperty.OwnerType.FullName)); 212throw new InvalidOperationException(SR.GetString(SR.Error_InvalidDependencyProperty, this.GetType().FullName, dependencyProperty.Name, dependencyProperty.OwnerType.FullName)); 256throw new InvalidOperationException(SR.GetString(SR.Error_InvalidDependencyProperty, this.GetType().FullName, dependencyProperty.Name, dependencyProperty.OwnerType.FullName)); 261throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 311throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 347throw new InvalidOperationException(SR.GetString(SR.Error_InvalidDependencyProperty, this.GetType().FullName, dependencyEvent.Name, dependencyEvent.OwnerType.FullName));
AuthoringOM\DependencyProperty.cs (3)
86throw new InvalidOperationException(SR.GetString(SR.Error_AlreadyRegisteredAs, knownProperties[byteVal].dependencyProperty.ToString())); 97throw new InvalidOperationException(SR.GetString(SR.Error_NotRegisteredAs, knownProperties[byteVal].dependencyProperty.ToString())); 218throw new InvalidOperationException(SR.GetString(SR.Error_DPAlreadyExist, new object[] { name, ownerType.FullName }));
AuthoringOM\Design\CommandSet.cs (4)
53throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(IMenuCommandService).FullName)); 57throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(WorkflowView).FullName)); 61throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ISelectionService).FullName)); 906throw new InvalidOperationException(DR.GetString(DR.InvalidOperationBadClipboardFormat));
AuthoringOM\Design\ComponentSerializationService.cs (8)
50if (xomlStore == null) throw new InvalidOperationException(SR.GetString(SR.Error_UnknownSerializationStore)); 66if (xomlStore == null) throw new InvalidOperationException(SR.GetString(SR.Error_UnknownSerializationStore)); 74if (xomlStore == null) throw new InvalidOperationException(SR.GetString(SR.Error_UnknownSerializationStore)); 82if (xomlStore == null) throw new InvalidOperationException(SR.GetString(SR.Error_UnknownSerializationStore)); 96if (xomlStore == null) throw new InvalidOperationException(SR.GetString(SR.Error_UnknownSerializationStore)); 166throw new InvalidOperationException(DR.GetString(DR.InvalidOperationStoreAlreadyClosed)); 182throw new InvalidOperationException(DR.GetString(DR.InvalidOperationStoreAlreadyClosed)); 214throw new InvalidOperationException(DR.GetString(DR.InvalidOperationDeserializationReturnedNonActivity));
AuthoringOM\Design\CompositeActivityDesigner.cs (6)
560throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ComponentSerializationService).Name)); 595throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).Name)); 661throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).Name)); 825throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(IIdentifierCreationService).FullName)); 901throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(IIdentifierCreationService).FullName)); 905throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).FullName));
AuthoringOM\Design\Connector.cs (1)
2582throw new InvalidOperationException(SR.GetString(SR.Error_InvalidConnectorSegment));
AuthoringOM\Design\CustomActivityDesigner.cs (7)
288throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).FullName)); 292throw new InvalidOperationException(SR.GetString("General_MissingService", typeof(IMemberCreationService).FullName)); 378throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).FullName)); 383throw new InvalidOperationException(SR.GetString(SR.Error_CantUseCurrentProjectTypeAsBase)); 386throw new InvalidOperationException(SR.GetString(SR.Error_BaseTypeMustBeActivity)); 835throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName)); 892throw new InvalidOperationException(SR.GetString(SR.Error_CantDeterminePropertyBaseType, propertyDescriptor.Name));
AuthoringOM\Design\DesignerHelpers.cs (4)
1581throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).FullName)); 1585throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName)); 1615throw new InvalidOperationException(SR.GetString(SR.Error_CantCreateMethod, activity != null ? activity.QualifiedName : string.Empty)); 1620throw new InvalidOperationException(SR.GetString(SR.Error_CantCreateMethod, contextActivity.QualifiedName));
AuthoringOM\Design\DesignerInterfaces.cs (1)
1008throw new InvalidOperationException(SR.GetString(SR.Error_InvalidDesignerVerbValue));
AuthoringOM\Design\DesignerWidgets.cs (1)
1576throw new InvalidOperationException(SR.GetString(SR.Error_ChangingDock));
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (1)
349throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).FullName));
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (1)
1160throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(ITypeProvider).FullName));
AuthoringOM\Design\Dialogs\WorkflowPageSetupDialog.cs (2)
104throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(WorkflowView).FullName)); 107throw new InvalidOperationException(DR.GetString(DR.WorkflowPrintDocumentNotFound, typeof(WorkflowPrintDocument).Name));
AuthoringOM\Design\DocumentOutline.cs (2)
38throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).FullName)); 43throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(DesignSurface).FullName));
AuthoringOM\Design\FreeFormDesigner.cs (2)
435throw new InvalidOperationException(DR.GetString(DR.Error_AddConnector1)); 445throw new InvalidOperationException(DR.GetString(DR.Error_AddConnector3));
AuthoringOM\Design\MessageFilters\ResizingMessageFilter.cs (6)
30throw new InvalidOperationException(DR.GetString(DR.WorkflowViewNull)); 48throw new InvalidOperationException(DR.GetString(DR.WorkflowViewNull)); 78throw new InvalidOperationException(DR.GetString(DR.WorkflowViewNull)); 119throw new InvalidOperationException(DR.GetString(DR.WorkflowViewNull)); 237throw new InvalidOperationException(DR.GetString(DR.WorkflowViewNull)); 272throw new InvalidOperationException(DR.GetString(DR.WorkflowViewNull));
AuthoringOM\Design\PropertyDescriptors.cs (11)
108throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(IMemberCreationService).FullName)); 112throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).FullName)); 586throw new InvalidOperationException(SR.GetString(SR.Error_MemberWithSameNameExists, activityBind.Path, designedType.FullName)); 601throw new InvalidOperationException(SR.GetString(SR.Error_MemberWithSameNameExists, activityBind.Path, designedType.FullName)); 632throw new InvalidOperationException(SR.GetString(SR.Error_MemberWithSameNameExists, activityBind.Path, designedType.FullName)); 642throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(IMemberCreationService).FullName)); 650throw new InvalidOperationException(SR.GetString("General_MissingService", typeof(IDesignerHost).FullName)); 664throw new InvalidOperationException(SR.GetString(SR.Error_InvalidActivityIdentifier, activityBind.Name)); 667throw new InvalidOperationException(SR.GetString(SR.Error_PropertyTypeNotDefined, context.PropertyDescriptor.Name, typeof(ActivityBind).Name, typeof(IDynamicPropertyTypeProvider).Name)); 742throw new InvalidOperationException(SR.GetString(SR.Error_ActivityIdentifierCanNotBeEmpty)); 748throw new InvalidOperationException(SR.GetString(SR.Error_InvalidActivityIdentifier, id));
AuthoringOM\Design\ReferenceService.cs (1)
92throw new InvalidOperationException();
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (1)
279throw new InvalidOperationException(DR.GetString(DR.Error_MultiviewSequentialActivityDesigner));
AuthoringOM\Design\Themes.cs (46)
583throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 599throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 615throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 633throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 704throw new InvalidOperationException(DR.GetString(DR.Error_ThemeAttributeMissing, designerType.FullName)); 707throw new InvalidOperationException(DR.GetString(DR.Error_ThemeTypeMissing, designerType.FullName)); 900throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 917throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 1072throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 1079throw new InvalidOperationException(DR.GetString(DR.Error_InvalidImageResource)); 1106throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 1139throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 1164throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 1193throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 1219throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 1243throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 1500throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 1507throw new InvalidOperationException(DR.GetString(DR.Error_InvalidImageResource)); 1533throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 1553throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 1573throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 1593throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 1758throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 1784throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 1810throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 2208throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 2253throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 2273throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 2293throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 2316throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 2349throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 2382throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 2409throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 2442throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 2475throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 2504throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 2530throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 2551throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 2558throw new InvalidOperationException(DR.GetString(DR.Error_InvalidImageResource)); 2584throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 2604throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 2624throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 2657throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 2709throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 2730throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly)); 2750throw new InvalidOperationException(DR.GetString(DR.ThemePropertyReadOnly));
AuthoringOM\Design\WorkflowLayouts.cs (1)
34throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(WorkflowView).FullName));
AuthoringOM\Design\WorkflowView.cs (1)
1452throw new InvalidOperationException(SR.GetString(SR.Error_InsertingChildControls));
AuthoringOM\Design\XomlDesignerLoader.cs (4)
169throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).FullName)); 201throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(IDesignerHost).FullName)); 394throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(WorkflowDesignerLoader).FullName)); 403throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(WorkflowDesignerLoader).FullName));
AuthoringOM\Fault.cs (5)
49throw new InvalidOperationException(SR.GetString(SR.Error_MustHaveParent)); 58throw new InvalidOperationException(SR.GetString(CultureInfo.CurrentCulture, SR.Error_PropertyNotSet, FaultProperty.Name)); 63throw new InvalidOperationException(SR.GetString(CultureInfo.CurrentCulture, SR.Error_ExceptionTypeNotException, this.FaultType, FaultTypeProperty.Name)); 68throw new InvalidOperationException(SR.GetString(CultureInfo.CurrentCulture, SR.Error_FaultIsNotOfFaultType)); 79throw new InvalidOperationException(SR.GetString(CultureInfo.CurrentCulture, SR.Error_FaultTypeNoDefaultConstructor, this.FaultType));
AuthoringOM\Filters\FaultHandlingFilter.cs (1)
24throw new InvalidOperationException("activity");
AuthoringOM\ParameterBinding.cs (4)
83throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 93throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 107throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime)); 117throw new InvalidOperationException(SR.GetString(SR.Error_CanNotChangeAtRuntime));
AuthoringOM\PropertyMetadata.cs (4)
131throw new InvalidOperationException(SR.GetString(SR.Error_SealedPropertyMetadata)); 145throw new InvalidOperationException(SR.GetString(SR.Error_SealedPropertyMetadata)); 183throw new InvalidOperationException(SR.GetString(SR.Error_SealedPropertyMetadata)); 197throw new InvalidOperationException(SR.GetString(SR.Error_SealedPropertyMetadata));
AuthoringOM\ScheduleChanges.cs (7)
50throw new InvalidOperationException(SR.GetString(SR.Error_NoRuntimeAvailable)); 158throw new InvalidOperationException(SR.GetString(SR.Error_MissingRootActivity)); 161throw new InvalidOperationException(SR.GetString(SR.Error_NoRuntimeAvailable)); 164throw new InvalidOperationException(SR.GetString(SR.Error_TransactionAlreadyApplied)); 174throw new InvalidOperationException(SR.GetString(SR.Error_InsideAtomicScope)); 349throw new InvalidOperationException(SR.GetString(CultureInfo.CurrentCulture, SR.Error_DynamicUpdateEvaluation, new object[] { workflowCoreRuntime.InstanceID.ToString() })); 787throw new InvalidOperationException(SR.GetString(SR.Error_ApplyDynamicChangeFailed));
AuthoringOM\Serializer\ActivityCollectionMarkupSerializer.cs (2)
47throw new InvalidOperationException(SR.GetString(SR.Error_ActivityCollectionSerializer, childObj.GetType().FullName)); 53throw new InvalidOperationException(SR.GetString(SR.Error_CanNotAddActivityInBlackBoxActivity));
AuthoringOM\Serializer\ActivitySurrogate.cs (2)
22throw new InvalidOperationException(SR.GetString(SR.Error_ActivitySaveLoadNotCalled)); 164throw new InvalidOperationException(SR.GetString(SR.Error_ActivitySaveLoadNotCalled));
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (1)
54throw new InvalidOperationException(SR.GetString(SR.General_MissingService, typeof(CodeDomSerializer).FullName));
AuthoringOM\Serializer\DictionaryMarkupSerializer.cs (5)
34throw new InvalidOperationException(SR.GetString(SR.Error_DictionarySerializerNonDictionaryObject)); 55throw new InvalidOperationException(SR.GetString(SR.Error_DictionarySerializerNonDictionaryObject)); 67throw new InvalidOperationException(SR.GetString(SR.Error_DictionarySerializerNonDictionaryObject)); 82throw new InvalidOperationException(SR.GetString(SR.Error_DictionarySerializerNonDictionaryObject)); 96throw new InvalidOperationException(SR.GetString(SR.Error_DictionarySerializerKeyNotFound, childObj.GetType().FullName));
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (3)
1344throw new InvalidOperationException(SR.GetString(SR.Error_TypeNotAuthorized, type)); 2343throw new InvalidOperationException(SR.GetString(SR.Error_InternalSerializerError)); 2513throw new InvalidOperationException(SR.GetString(SR.Error_TypeNotAuthorized, type));
AuthoringOM\Serializer\XamlInterfaces.cs (3)
165throw new InvalidOperationException("typename"); 298throw new InvalidOperationException("ArrayType needs to be set."); 311throw new InvalidOperationException();
AuthoringOM\Suspend.cs (1)
48throw new InvalidOperationException(SR.GetString(SR.Error_MustHaveParent));
AuthoringOM\Terminate.cs (1)
44throw new InvalidOperationException(SR.GetString(SR.Error_MustHaveParent));
Shared\BasePropertyDescriptor.cs (2)
320throw new InvalidOperationException(SR.GetString(SR.Error_ParameterTypeResolution, paramInfo.Name)); 346throw new InvalidOperationException(SR.GetString(SR.Error_ParameterTypeResolution, propertyName));
Shared\CompModHelpers.cs (3)
306throw new InvalidOperationException( 355throw new InvalidOperationException( 432throw new InvalidOperationException(
System.Workflow.Runtime (33)
CorrelationToken.cs (1)
113throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.CorrelationAlreadyInitialized, this.Name));
DebugEngine\DebugController.cs (1)
998throw new InvalidOperationException();
Hosting\SqlWorkflowPersistenceService.cs (4)
470Exception e = new InvalidOperationException(string.Format(Thread.CurrentThread.CurrentCulture, ExecutionStringManager.InstanceNotFound, instanceStateId)); 526throw new InvalidOperationException( 1040throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.WorkflowRuntimeNotStarted)); 1088throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.WorkflowRuntimeNotStarted));
Hosting\WorkflowRuntimeService.cs (4)
67throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.ServiceNotAddedToRuntime, this.GetType().Name)); 69throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.ServiceAlreadyStarted, this.GetType().Name)); 77throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.ServiceNotAddedToRuntime, this.GetType().Name)); 79throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.ServiceNotStarted, this.GetType().Name));
Scheduler.cs (1)
153throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InvalidActivityName, item.ActivityId));
System\Activities\Statements\Interop.cs (2)
350throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.InteropWorkflowRuntimeServiceNotSupported)); 505throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, ExecutionStringManager.MetaPropertyDoesNotExist, name, this.ActivityType.FullName));
Tracking.cs (2)
286throw new InvalidOperationException(string.Format(System.Globalization.CultureInfo.InvariantCulture, ExecutionStringManager.ListenerNotInCache, instanceId)); 1620throw new InvalidOperationException(String.Format(System.Globalization.CultureInfo.CurrentCulture, ExecutionStringManager.NullProfileForChannel, this._scheduleType.AssemblyQualifiedName));
Tracking\SqlTrackingService.cs (1)
1604throw new InvalidOperationException();
Tracking\SqlTrackingWorkflowInstance.cs (2)
223throw new InvalidOperationException(String.Format(System.Globalization.CultureInfo.CurrentCulture, ExecutionStringManager.SqlTrackingTypeNotFound, qId)); 370throw new InvalidOperationException(String.Format(System.Globalization.CultureInfo.CurrentCulture, ExecutionStringManager.SqlTrackingTypeNotFound, qId));
WorkflowDefinitionDispenser.cs (1)
261throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.WorkflowTypeMismatch, workflowType.FullName));
WorkflowExecutor.cs (6)
161throw new InvalidOperationException("workflowDefinition"); 565throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.CannotStartInstanceTwice, this.InstanceId)); 1448throw new InvalidOperationException(errMsg); 1568throw new InvalidOperationException(errMsg); 2980throw new InvalidOperationException(errMsg); 3028throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.MissingPersistenceServiceWithPersistOnClose, activity.Name));
WorkflowInstance.cs (1)
209throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, ExecutionStringManager.MissingPersistenceService, this.InstanceId));
WorkflowRuntime.cs (7)
597throw new InvalidOperationException(errMsg); 607throw new InvalidOperationException(string.Format(Thread.CurrentThread.CurrentCulture, ExecutionStringManager.InstanceNotFound, instanceId)); 1091throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, 1130throw new InvalidOperationException(String.Format( 1136throw new InvalidOperationException(String.Format( 1141throw new InvalidOperationException(String.Format( 1146throw new InvalidOperationException(String.Format(
System.WorkflowServices (108)
System\ServiceModel\Activation\WorkflowServiceHostFactory.cs (6)
30throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.WorkflowServiceHostFactoryConstructorStringNotProvided))); 35throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.ProcessNotExecutingUnderHostedContext))); 107throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.CannotResolveConstructorStringToWorkflowType, constructorString))); 127throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.BaseAddressesNotProvided))); 169throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.InvalidCompiledString, baseAddresses[0].AbsolutePath))); 174throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.InvalidCompiledString, baseAddresses[0].AbsolutePath)));
System\ServiceModel\Configuration\PersistenceProviderElement.cs (1)
78new InvalidOperationException(SR2.GetString(SR2.PersistenceProviderTypeNotFound)));
System\ServiceModel\Description\DescriptionCreator.cs (1)
48throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.NoContract)));
System\ServiceModel\Description\DurableOperationAttribute.cs (1)
82new InvalidOperationException(
System\ServiceModel\Description\DurableServiceAttribute.cs (9)
82new InvalidOperationException( 92new InvalidOperationException( 237new InvalidOperationException( 244new InvalidOperationException( 252new InvalidOperationException( 284new InvalidOperationException( 297new InvalidOperationException( 333new InvalidOperationException( 347new InvalidOperationException(
System\ServiceModel\Description\WorkflowOperationBehavior.cs (2)
65throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.DispatchOperationInInvalidState))); 72throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.NoWorkflowRuntimeBehavior)));
System\ServiceModel\Description\WorkflowRuntimeBehavior.cs (2)
131throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.WorkflowRuntimeStartedBeforeHostOpen))); 140throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.WrongSchedulerServiceRegistered)));
System\ServiceModel\Dispatcher\DurableInstanceContextProvider.cs (1)
147new InvalidOperationException(
System\ServiceModel\Dispatcher\DurableMessageDispatchInspector.cs (1)
95new InvalidOperationException(
System\ServiceModel\Dispatcher\DurableOperationContext.cs (4)
68new InvalidOperationException( 79new InvalidOperationException( 90new InvalidOperationException( 102new InvalidOperationException(
System\ServiceModel\Dispatcher\DurableRuntimeValidator.cs (3)
53new InvalidOperationException( 60new InvalidOperationException( 68new InvalidOperationException(
System\ServiceModel\Dispatcher\ServiceDurableInstance.cs (4)
106new InvalidOperationException( 113new InvalidOperationException( 120new InvalidOperationException( 266new InvalidOperationException(
System\ServiceModel\Dispatcher\ServiceOperationInvoker.cs (2)
54new InvalidOperationException( 99new InvalidOperationException(
System\ServiceModel\Dispatcher\WorkflowInstanceContextProvider.cs (5)
61new InvalidOperationException( 90new InvalidOperationException( 118new InvalidOperationException( 139new InvalidOperationException( 216new InvalidOperationException(SR2.GetString(SR2.WorkflowServiceUnloadedWithoutSendingResponse))),
System\ServiceModel\Dispatcher\WorkflowRequestContext.cs (2)
88throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.NoOperationContext))); 167throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.UnloadedBeforeResponse)));
System\ServiceModel\WorkflowServiceHost.cs (4)
113throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.ServiceContractAttributeNotFound, new object[] { implementedContract.FullName }))); 117throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.ReflectedContractsNotInitialized, new object[] { implementedContract.FullName }))); 127throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.MetadataEndpointCannotBeAdded, new object[] { implementedContract.FullName }))); 132throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.ReflectedContractKeyNotFound, new object[] { implementedContract.FullName, this.workflowDefinitionContext.WorkflowName })));
System\Workflow\Activities\ChannelToken.cs (3)
179new InvalidOperationException(SR2.GetString(SR2.Error_ContextOwnerActivityMissing))); 212new InvalidOperationException(SR2.GetString(SR2.Error_ContextOwnerActivityMissing))); 266new InvalidOperationException(SR2.GetString(SR2.Error_FailedToRegisterChannel, endpoint.Name)));
System\Workflow\Activities\ContextToken.cs (8)
157new InvalidOperationException(SR2.GetString(SR2.Error_ContextOwnerActivityMissing))); 190new InvalidOperationException(SR2.GetString(SR2.Error_ContextOwnerActivityMissing))); 222new InvalidOperationException(SR2.GetString(SR2.Error_ContextOwnerActivityMissing))); 229new InvalidOperationException(SR2.GetString(SR2.Error_ContextOwnerActivityMissing))); 311new InvalidOperationException(SR2.GetString(SR2.Error_ContextOwnerActivityMissing))); 344new InvalidOperationException(SR2.GetString(SR2.Error_ContextOwnerActivityMissing))); 372new InvalidOperationException(SR2.GetString(SR2.Error_ContextOwnerActivityMissing))); 379new InvalidOperationException(SR2.GetString(SR2.Error_ContextOwnerActivityMissing)));
System\Workflow\Activities\LogicalChannel.cs (1)
130new InvalidOperationException(SR2.GetString(SR2.Error_LogicalChannelAlreadyInitialized, this.Name)));
System\Workflow\Activities\ReceiveActivity.cs (30)
363new InvalidOperationException(SR2.GetString(SR2.Error_CannotFindReceiveContext, contextName))); 380new InvalidOperationException(SR2.GetString(SR2.Error_CannotFindReceiveContext, ContextToken.RootContextName))); 445new InvalidOperationException(SR2.GetString(SR2.General_MissingService, 453new InvalidOperationException(SR2.GetString(SR2.Error_QueueNotFound, e.QueueName))); 462new InvalidOperationException(SR2.GetString(SR2.Error_RequestContextUnavailable, 484new InvalidOperationException(SR2.GetString(SR2.Error_RequestContextUnavailable, this.QualifiedName))); 597new InvalidOperationException(SR2.GetString(SR2.General_MissingService, 608new InvalidOperationException(SR2.GetString(SR2.Error_QueueNotFound, 647new InvalidOperationException(SR2.GetString(SR2.Error_ServiceOperationInfoNotSpecified, this.Name))); 760new InvalidOperationException(SR2.GetString(SR2.Error_QueueNotFound, 824new InvalidOperationException(SR2.GetString(SR2.General_MissingService, 832new InvalidOperationException(SR2.GetString(SR2.Error_QueueNotFound, 867new InvalidOperationException(SR2.GetString(SR2.General_MissingService, 879new InvalidOperationException(SR2.GetString(SR2.Error_QueueNotFound, 898new InvalidOperationException(SR2.GetString(SR2.Error_RequestContextUnavailable, 907new InvalidOperationException(SR2.GetString(SR2.Error_RequestContextUnavailable, 1000new InvalidOperationException(SR2.GetString(SR2.General_MissingService, 1008new InvalidOperationException(SR2.GetString(SR2.Error_QueueNotFound, 1075new InvalidOperationException(SR2.GetString(SR2.Error_ServiceOperationInfoNotSpecified, this.Name))); 1122new InvalidOperationException(SR2.GetString(SR2.Error_RequestContextUnavailable, 1274new InvalidOperationException(SR2.GetString(SR2.Error_ServiceOperationInfoNotSpecified, this.Name))); 1283new InvalidOperationException(SR2.GetString(SR2.General_MissingService, 1384new InvalidOperationException(SR2.GetString(SR2.Error_ServiceOperationInfoNotSpecified, activity.Name))); 1391new InvalidOperationException(SR2.GetString(SR2.Error_MethodInfoNotAvailable, activity.Name))); 1466new InvalidOperationException(SR2.GetString(SR2.Error_ReceiveActivityInvalidParameterValue, 1479new InvalidOperationException(SR2.GetString(SR2.Error_ReceiveActivityInvalidReturnValue, 1515new InvalidOperationException(SR2.GetString(SR2.Error_ParameterBindingMissing, 1523new InvalidOperationException(SR2.GetString(SR2.Error_InputValueUnavailable, 1636new InvalidOperationException(SR2.GetString(SR2.General_MissingService, typeof(WorkflowQueuingService)))); 1643new InvalidOperationException(SR2.GetString(SR2.Error_QueueNotFound, queueEventArgs.QueueName)));
System\Workflow\Activities\ReceiveActivityValidator.cs (1)
31throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(
System\Workflow\Activities\SendActivity.cs (10)
153new InvalidOperationException(SR2.GetString(SR2.Error_ServiceOperationInfoNotSpecified, this.Name))); 163new InvalidOperationException(SR2.GetString(SR2.Error_ServiceOperationInfoNotSpecified, this.Name))); 374new InvalidOperationException(SR2.GetString(SR2.Error_ServiceOperationInfoNotSpecified, this.Name))); 381new InvalidOperationException(SR2.GetString(SR2.Error_MethodInfoNotAvailable, this.Name))); 497new InvalidOperationException(SR2.GetString(SR2.Error_ServiceOperationInfoNotSpecified, this.Name))); 602new InvalidOperationException(SR2.GetString(SR2.Error_ServiceOperationInfoNotSpecified, activity.Name))); 609new InvalidOperationException(SR2.GetString(SR2.Error_MethodInfoNotAvailable, activity.Name))); 676new InvalidOperationException(SR2.GetString(SR2.Error_ParameterBindingMissing, 711new InvalidOperationException(SR2.GetString(SR2.Error_ParameterBindingMissing, 726new InvalidOperationException(SR2.GetString(SR2.Error_ParameterBindingMissing,
System\Workflow\Activities\SendActivityValidator.cs (1)
31throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(
System\Workflow\Activities\ValidationHelper.cs (1)
598new InvalidOperationException(SR2.GetString(SR2.General_MissingService, typeof(ITypeProvider).Name)));
System\Workflow\Activities\WorkflowServiceAttributes.cs (1)
144throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.NoWorkflowServiceBehavior)));
System\Workflow\Activities\WorkflowServiceAttributesDynamicPropertyValidator.cs (2)
33new InvalidOperationException(SR2.GetString(SR2.Error_ContextStackMissing))); 40new InvalidOperationException(SR2.GetString(SR2.Error_ContextStackItemMissing, typeof(Activity).Name)));
System\Workflow\Runtime\Hosting\ChannelManagerService.cs (2)
279new InvalidOperationException(SR2.GetString(SR2.Error_CannotProvideChannel_ServiceStopped, logicalChannel.ConfigurationName, logicalChannel.CustomAddress))); 304new InvalidOperationException(SR2.GetString(SR2.Error_CannotProvideChannel, logicalChannel.ConfigurationName, logicalChannel.CustomAddress)));
System.Xml (29)
System\Xml\Core\XmlReader.cs (2)
1374return new InvalidOperationException(AddLineInfo(Res.GetString(Res.Xml_InvalidReadContentAs, new string[] { methodName, nodeType.ToString() }), lineInfo)); 1378return new InvalidOperationException(AddLineInfo(Res.GetString(Res.Xml_InvalidReadElementContentAs, new string[] { methodName, nodeType.ToString() }), lineInfo));
System\Xml\Core\XmlWellFormedWriter.cs (1)
1829throw new InvalidOperationException(wrongTokenMessage);
System\Xml\Core\XsdCachingReader.cs (1)
505throw new InvalidOperationException();
System\Xml\Core\XsdValidatingReader.cs (2)
1219throw new InvalidOperationException(); 1579throw new InvalidOperationException();
System\Xml\Core\XsdValidatingReaderAsync.cs (1)
424throw new InvalidOperationException();
System\Xml\Dom\DocumentXmlWriter.cs (5)
154throw new InvalidOperationException(); 167throw new InvalidOperationException(); 192throw new InvalidOperationException(); 230throw new InvalidOperationException(); 422throw new InvalidOperationException();
System\Xml\Dom\XmlDocument.cs (1)
848throw new InvalidOperationException( String.Format( CultureInfo.InvariantCulture, Res.GetString(Res.Xdom_Import), node.NodeType.ToString() ) );
System\Xml\Dom\XmlLoader.cs (1)
873return new InvalidOperationException( string.Format( CultureInfo.InvariantCulture, Res.GetString(Res.Xml_UnexpectedNodeType), nodetype.ToString()));
System\Xml\Dom\XmlNamedNodeMap.SmallXmlNodeList.cs (1)
137throw new InvalidOperationException();
System\Xml\Dom\XmlNode.cs (1)
92set { throw new InvalidOperationException(string.Format(CultureInfo.InvariantCulture, Res.GetString(Res.Xdom_Node_SetVal), NodeType.ToString()));}
System\Xml\Schema\ContentValidator.cs (6)
327throw new InvalidOperationException(); 361throw new InvalidOperationException(); 366get { throw new InvalidOperationException(); } 980throw new InvalidOperationException(); 985throw new InvalidOperationException(); 990throw new InvalidOperationException();
System\Xml\Schema\NamespaceList.cs (1)
82throw new InvalidOperationException();
System\Xml\Serialization\CodeGenerator.cs (2)
1441throw new InvalidOperationException("ArrayTypeIsNotSupported"); //.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(SR.GetString(SR.ArrayTypeIsNotSupported, DataContract.GetClrTypeFullName(arrayElementType)))); 1516throw new InvalidOperationException("ArrayTypeIsNotSupported"); //.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(SR.GetString(SR.ArrayTypeIsNotSupported, DataContract.GetClrTypeFullName(arrayElementType))));
System\Xml\Serialization\Compiler.cs (1)
213throw new InvalidOperationException(stringWriter.ToString());
System\Xml\Serialization\XmlSchemas.cs (2)
439throw new InvalidOperationException(MergeFailedMessage(o, dest, schema.TargetNamespace)); 664throw new InvalidOperationException(GetSchemaItem(source, null, message), exception);
System\Xml\XPath\Internal\UnionExpr.cs (1)
136public override int CurrentPosition { get { throw new InvalidOperationException(); } }
UIAutomationClient (1)
MS\Internal\Automation\Misc.cs (1)
287throw new InvalidOperationException();
UIAutomationClientsideProviders (6)
MS\Internal\AutomationProxies\Misc.cs (1)
1727throw new InvalidOperationException();
MS\Internal\AutomationProxies\WindowsEditBox.cs (1)
946throw new InvalidOperationException();
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (2)
470throw new InvalidOperationException(); 475throw new InvalidOperationException();
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (2)
363throw new InvalidOperationException(); 368throw new InvalidOperationException();
WindowsBase (13)
Base\MS\Internal\IO\Packaging\CompoundFile\CompoundFileDeflateTransform.cs (1)
468throw new InvalidOperationException();
Base\MS\Internal\PriorityQueue.cs (1)
76throw new InvalidOperationException();
Base\System\Windows\DependencyPropertyKey.cs (1)
44throw new InvalidOperationException();
Base\System\Windows\Threading\DispatcherOperationTaskSource.cs (5)
26throw new InvalidOperationException(); 36throw new InvalidOperationException(); 46throw new InvalidOperationException(); 56throw new InvalidOperationException(); 66throw new InvalidOperationException();
parent\parent\InternalApis\NDP_FX\inc\ZLibNative.cs (2)
446throw new InvalidOperationException(); 621throw new InvalidOperationException("InitializationState != " + requiredState.ToString());
Shared\MS\Win32\HwndSubclass.cs (2)
351throw new InvalidOperationException(); 465throw new InvalidOperationException();
Shared\MS\Win32\HwndWrapper.cs (1)
394throw new InvalidOperationException();
XamlBuildTask (2)
Microsoft\Build\Tasks\Xaml\ClassImporter.cs (2)
559return new LoggableException(new InvalidOperationException(exceptionMessage)) 568return new LoggableException(new InvalidOperationException(exceptionMessage))
1018 references to InvalidOperationException
mscorlib (25)
microsoft\win32\registrykey.cs (1)
1587catch (InvalidOperationException) {
system\appdomain.cs (1)
4130catch (InvalidOperationException) { /* Can happen for poorly formed assembly names */ return false; }
system\runtime\compilerservices\AsyncMethodBuilder.cs (13)
95/// <exception cref="System.InvalidOperationException">The builder is incorrectly initialized.</exception> 200/// <exception cref="System.InvalidOperationException">The builder is not initialized.</exception> 327/// <exception cref="System.InvalidOperationException">The builder is incorrectly initialized.</exception> 365/// <exception cref="System.InvalidOperationException">The builder is not initialized.</exception> 372/// <exception cref="System.InvalidOperationException">The builder is not initialized.</exception> 373/// <exception cref="System.InvalidOperationException">The task has already completed.</exception> 387/// <exception cref="System.InvalidOperationException">The builder is not initialized.</exception> 388/// <exception cref="System.InvalidOperationException">The task has already completed.</exception> 482/// <exception cref="System.InvalidOperationException">The builder is incorrectly initialized.</exception> 585/// <exception cref="System.InvalidOperationException">The task has already completed.</exception> 620/// <exception cref="System.InvalidOperationException">The task has already completed.</exception> 646/// <exception cref="System.InvalidOperationException">The task has already completed.</exception> 883/// <exception cref="System.InvalidOperationException">The builder is incorrectly initialized.</exception>
system\runtime\compilerservices\TaskAwaiter.cs (2)
88/// <exception cref="System.InvalidOperationException">The awaiter was not properly initialized.</exception> 99/// <exception cref="System.InvalidOperationException">The awaiter was not properly initialized.</exception>
system\runtime\interopservices\safebuffer.cs (1)
388private static InvalidOperationException NotInitialized()
system\runtime\interopservices\windowsruntime\enumeratortoiteratoradapter.cs (1)
138catch (InvalidOperationException e)
system\threading\SpinLock.cs (1)
750catch (InvalidOperationException)
system\threading\Tasks\Task.cs (5)
1041/// <exception cref="InvalidOperationException"> 1066/// <exception cref="InvalidOperationException"> 1126/// <exception cref="InvalidOperationException"> 1151/// <exception cref="InvalidOperationException"> 2961/// <exception cref="System.InvalidOperationException">The awaiter was not properly initialized.</exception>
PresentationCore (48)
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (1)
276catch (InvalidOperationException)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (1)
301catch (InvalidOperationException) // Matrix.Parse failed.
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (1)
182catch (InvalidOperationException)
Core\CSharp\MS\Internal\Media3D\GeneralTransform2Dto3Dto2D.cs (1)
290catch (InvalidOperationException)
Core\CSharp\System\Windows\Duration.cs (1)
397/// <exception cref="System.InvalidOperationException">Thrown if this Duration represents null.</exception>
Core\CSharp\System\Windows\FreezableCollection.cs (1)
977/// <exception cref="InvalidOperationException"> raised when changing the collection
Core\CSharp\System\Windows\Interop\HwndTarget.cs (1)
77/// thread than it was created will throw a <see cref="System.InvalidOperationException"/>.
Core\CSharp\System\Windows\LayoutManager.cs (3)
616catch(InvalidOperationException) //this will happen if element is being resurrected after finalization 719catch(InvalidOperationException) //this will happen if element is being resurrected after finalization 773catch(InvalidOperationException) //this will happen if element is being resurrected after finalization
Core\CSharp\System\Windows\Markup\XmlLanguage.cs (3)
181/// <exception cref="InvalidOperationException"> 221/// <exception cref="InvalidOperationException"> 662catch (InvalidOperationException)
Core\CSharp\System\Windows\Media\Animation\Generated\BooleanAnimationUsingKeyFrames.cs (1)
291/// <exception cref="InvalidOperationException">Timelines have no way
Core\CSharp\System\Windows\Media\Animation\Generated\ByteAnimationUsingKeyFrames.cs (1)
291/// <exception cref="InvalidOperationException">Timelines have no way
Core\CSharp\System\Windows\Media\Animation\Generated\CharAnimationUsingKeyFrames.cs (1)
291/// <exception cref="InvalidOperationException">Timelines have no way
Core\CSharp\System\Windows\Media\Animation\Generated\ColorAnimationUsingKeyFrames.cs (1)
291/// <exception cref="InvalidOperationException">Timelines have no way
Core\CSharp\System\Windows\Media\Animation\Generated\DecimalAnimationUsingKeyFrames.cs (1)
291/// <exception cref="InvalidOperationException">Timelines have no way
Core\CSharp\System\Windows\Media\Animation\Generated\DoubleAnimationUsingKeyFrames.cs (1)
291/// <exception cref="InvalidOperationException">Timelines have no way
Core\CSharp\System\Windows\Media\Animation\Generated\Int16AnimationUsingKeyFrames.cs (1)
291/// <exception cref="InvalidOperationException">Timelines have no way
Core\CSharp\System\Windows\Media\Animation\Generated\Int32AnimationUsingKeyFrames.cs (1)
291/// <exception cref="InvalidOperationException">Timelines have no way
Core\CSharp\System\Windows\Media\Animation\Generated\Int64AnimationUsingKeyFrames.cs (1)
291/// <exception cref="InvalidOperationException">Timelines have no way
Core\CSharp\System\Windows\Media\Animation\Generated\MatrixAnimationUsingKeyFrames.cs (1)
291/// <exception cref="InvalidOperationException">Timelines have no way
Core\CSharp\System\Windows\Media\Animation\Generated\ObjectAnimationUsingKeyFrames.cs (1)
291/// <exception cref="InvalidOperationException">Timelines have no way
Core\CSharp\System\Windows\Media\Animation\Generated\Point3DAnimationUsingKeyFrames.cs (1)
291/// <exception cref="InvalidOperationException">Timelines have no way
Core\CSharp\System\Windows\Media\Animation\Generated\PointAnimationUsingKeyFrames.cs (1)
291/// <exception cref="InvalidOperationException">Timelines have no way
Core\CSharp\System\Windows\Media\Animation\Generated\QuaternionAnimationUsingKeyFrames.cs (1)
291/// <exception cref="InvalidOperationException">Timelines have no way
Core\CSharp\System\Windows\Media\Animation\Generated\RectAnimationUsingKeyFrames.cs (1)
291/// <exception cref="InvalidOperationException">Timelines have no way
Core\CSharp\System\Windows\Media\Animation\Generated\Rotation3DAnimationUsingKeyFrames.cs (1)
291/// <exception cref="InvalidOperationException">Timelines have no way
Core\CSharp\System\Windows\Media\Animation\Generated\SingleAnimationUsingKeyFrames.cs (1)
291/// <exception cref="InvalidOperationException">Timelines have no way
Core\CSharp\System\Windows\Media\Animation\Generated\SizeAnimationUsingKeyFrames.cs (1)
291/// <exception cref="InvalidOperationException">Timelines have no way
Core\CSharp\System\Windows\Media\Animation\Generated\StringAnimationUsingKeyFrames.cs (1)
291/// <exception cref="InvalidOperationException">Timelines have no way
Core\CSharp\System\Windows\Media\Animation\Generated\Vector3DAnimationUsingKeyFrames.cs (1)
291/// <exception cref="InvalidOperationException">Timelines have no way
Core\CSharp\System\Windows\Media\Animation\Generated\VectorAnimationUsingKeyFrames.cs (1)
291/// <exception cref="InvalidOperationException">Timelines have no way
Core\CSharp\System\Windows\Media\Animation\KeyTime.cs (2)
235/// <exception cref="System.InvalidOperationException"> 257/// <exception cref="System.InvalidOperationException">
Core\CSharp\System\Windows\Media\Animation\RepeatBehavior.cs (2)
129/// <exception cref="System.InvalidOperationException">Thrown if this RepeatBehavior does not represent an iteration count.</exception> 148/// <exception cref="System.InvalidOperationException">Thrown if this RepeatBehavior does not represent a repeat duration.</exception>
Core\CSharp\System\Windows\Media\Animation\TimelineGroup.cs (1)
213/// <exception cref="InvalidOperationException">Timelines have no way
Core\CSharp\System\Windows\Media\MediaPlayerState.cs (1)
961catch (InvalidOperationException)
Core\CSharp\System\Windows\Media\Visual.cs (4)
4355/// <exception cref="InvalidOperationException">If the Visuals are not connected.</exception> 4379/// <exception cref="InvalidOperationException">If the Visuals are not connected.</exception> 4401/// <exception cref="InvalidOperationException">If the Visuals are not connected.</exception> 4421/// <exception cref="InvalidOperationException">If the Visuals are not connected.</exception>
Core\CSharp\System\Windows\Media3D\Matrix3D.cs (1)
663/// <exception cref="InvalidOperationException">
Core\CSharp\System\Windows\Media3D\Visual3D.cs (3)
1641/// <exception cref="InvalidOperationException">If the Visual3Ds are not connected.</exception> 1665/// <exception cref="InvalidOperationException">If the Visual3Ds are not connected.</exception> 1815/// <exception cref="InvalidOperationException">If the Visual3D and Visual are not connected.</exception>
PresentationFramework (129)
src\Framework\Microsoft\Win32\FileDialog.cs (1)
1786/// <exception cref="System.InvalidOperationException">
src\Framework\Microsoft\Win32\OpenFileDialog.cs (3)
75/// <exception cref="System.InvalidOperationException"> 129/// <exception cref="System.InvalidOperationException"> 363/// <exception cref="InvalidOperationException">
src\Framework\Microsoft\Win32\SaveFileDialog.cs (2)
78/// <exception cref="System.InvalidOperationException"> 326/// <exception cref="InvalidOperationException">
src\Framework\MS\Internal\AnimatedTypeHelpers.cs (1)
27/// <exception cref="System.InvalidOperationException">
src\Framework\MS\Internal\Annotations\Anchoring\LocatorManager.cs (1)
925/// <exception cref="InvalidOperationException">if a locator set is resolved and the individual selections
src\Framework\MS\Internal\AppModel\INavigator.cs (3)
127///<exception cref="System.InvalidOperationException"> 248///<exception cref="System.InvalidOperationException"> 258///<exception cref="System.InvalidOperationException">
src\Framework\MS\Internal\AppModel\XappLauncher.cs (2)
203if (!(ex is InvalidComObjectException || ex is COMException || ex is InvalidOperationException) || 563if (exception0.GetType() == typeof(InvalidOperationException) &&
src\Framework\MS\Internal\Controls\InnerItemCollectionView.cs (1)
228/// <exception cref="InvalidOperationException">
src\Framework\MS\Internal\Data\EnumerableCollectionView.cs (1)
577catch (InvalidOperationException)
src\Framework\MS\Internal\Data\IndexedEnumerable.cs (1)
437catch (InvalidOperationException)
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (1)
270catch (InvalidOperationException)
src\Framework\MS\Internal\Documents\ParentUndoUnit.cs (3)
118/// <exception cref="InvalidOperationException"> 230/// <exception cref="InvalidOperationException"> 278/// <exception cref="InvalidOperationException">
src\Framework\MS\Internal\Documents\UndoManager.cs (7)
205/// <exception cref="InvalidOperationException"> 255/// <exception cref="InvalidOperationException"> 336/// <exception cref="InvalidOperationException"> 430/// <exception cref="InvalidOperationException"> 507/// <exception cref="InvalidOperationException"> 532/// <exception cref="InvalidOperationException"> 599/// <exception cref="InvalidOperationException">
src\Framework\MS\Internal\Text\DynamicPropertyReader.cs (1)
316catch (InvalidOperationException)
src\Framework\System\Windows\Annotations\AnnotationHelper.cs (4)
61/// <exception cref="InvalidOperationException">selection is of zero length</exception> 91/// <exception cref="InvalidOperationException">selection is of zero length</exception> 107/// <exception cref="InvalidOperationException">selection is of zero length</exception> 900/// <exception cref="InvalidOperationException">selection is of zero length</exception>
src\Framework\System\Windows\Annotations\AnnotationService.cs (8)
183/// <exception cref="InvalidOperationException">DocumentViewerBase has content which is neither 185/// <exception cref="InvalidOperationException">this service or another service is already 249/// <exception cref="InvalidOperationException">service isn't enabled</exception> 374/// <exception cref="InvalidOperationException">service is not enabled</exception> 416/// <exception cref="InvalidOperationException">service is not enabled</exception> 457/// <exception cref="InvalidOperationException">service is not enabled</exception> 909/// <exception cref="InvalidOperationException">service is not enabled</exception> 1099/// <exception cref="InvalidOperationException">Other Instance of AnnotationService Is Already Set</exception>
src\Framework\System\Windows\Annotations\Storage\XmlStreamStore.cs (5)
137/// <exception cref="InvalidOperationException">if no stream has been set on the store</exception> 186/// <exception cref="InvalidOperationException">if no stream has been set on the store</exception> 253/// <exception cref="InvalidOperationException">the stream is null</exception> 384/// <exception cref="InvalidOperationException">if no stream has been set on the store</exception> 571/// <exception cref="InvalidOperationException">if no stream has been set on the store</exception>
src\Framework\System\Windows\Controls\DataGrid.cs (2)
7159catch (InvalidOperationException invalidOperationException) 7254catch (InvalidOperationException invalidOperationException)
src\Framework\System\Windows\Controls\Frame.cs (5)
880/// <exception cref="InvalidOperationException"> The frame doesn't own a journal. </exception> 953/// <exception cref="InvalidOperationException"> The frame doesn't own a journal. </exception> 954/// <exception cref="InvalidOperationException"> There is no forward journal entry to go to. </exception> 967/// <exception cref="InvalidOperationException"> The frame doesn't own a journal. </exception> 968/// <exception cref="InvalidOperationException"> There is no back journal entry to go to. </exception>
src\Framework\System\Windows\Controls\ItemCollection.cs (6)
235/// <exception cref="InvalidOperationException"> 252/// <exception cref="InvalidOperationException"> 382/// <exception cref="InvalidOperationException"> 400/// <exception cref="InvalidOperationException"> 424/// <exception cref="InvalidOperationException"> 527/// <exception cref="InvalidOperationException">
src\Framework\System\Windows\Controls\RichTextBox.cs (1)
210/// <exception cref="System.InvalidOperationException">
src\Framework\System\Windows\Controls\TextAdaptor.cs (2)
368catch (InvalidOperationException) 410catch (InvalidOperationException)
src\Framework\System\Windows\Controls\TextBlock.cs (1)
406/// <exception cref="System.InvalidOperationException">
src\Framework\System\Windows\Controls\TextSearch.cs (1)
843catch (InvalidOperationException)
src\Framework\System\Windows\Data\BindingExpression.cs (1)
2378catch (InvalidOperationException)
src\Framework\System\Windows\Data\BindingGroup.cs (1)
448/// <exception cref="InvalidOperationException">
src\Framework\System\Windows\Data\CollectionView.cs (2)
1018/// <exception cref="InvalidOperationException"> 1035/// <exception cref="InvalidOperationException">
src\Framework\System\Windows\Data\CollectionViewSource.cs (1)
839catch (InvalidOperationException)
src\Framework\System\Windows\Data\RelativeSource.cs (3)
146/// <exception cref="InvalidOperationException"> RelativeSource Mode is immutable after initialization; 168/// <exception cref="InvalidOperationException"> RelativeSource is not in FindAncestor mode </exception> 207/// <exception cref="InvalidOperationException"> RelativeSource is not in FindAncestor mode </exception>
src\Framework\System\Windows\Documents\DocumentSequenceTextView.cs (9)
79/// <exception cref="System.InvalidOperationException"> 120/// <exception cref="System.InvalidOperationException"> 207/// <exception cref="System.InvalidOperationException"> 255/// <exception cref="System.InvalidOperationException"> 296/// <exception cref="System.InvalidOperationException"> 339/// <exception cref="System.InvalidOperationException"> 368/// <exception cref="System.InvalidOperationException"> 414/// <exception cref="System.InvalidOperationException"> 441/// <exception cref="System.InvalidOperationException">
src\Framework\System\Windows\Documents\FixedDocument.cs (3)
142/// <exception cref="InvalidOperationException">A PageContent cannot be added while previous partial page isn't completely Loaded.</exception> 703if (e is InvalidOperationException || e is ApplicationException) 990if (!(e is System.Net.WebException || e is System.InvalidOperationException))
src\Framework\System\Windows\Documents\FixedTextView.cs (8)
76/// <exception cref="System.InvalidOperationException"> 152/// <exception cref="System.InvalidOperationException"> 340/// <exception cref="System.InvalidOperationException"> 442/// <exception cref="System.InvalidOperationException"> 504/// <exception cref="System.InvalidOperationException"> 573/// <exception cref="System.InvalidOperationException"> 592/// <exception cref="System.InvalidOperationException"> 650/// <exception cref="System.InvalidOperationException">
src\Framework\System\Windows\Documents\ITextView.cs (10)
52/// <exception cref="System.InvalidOperationException"> 76/// <exception cref="System.InvalidOperationException"> 113/// <exception cref="System.InvalidOperationException"> 173/// <exception cref="System.InvalidOperationException"> 220/// <exception cref="System.InvalidOperationException"> 252/// <exception cref="System.InvalidOperationException"> 291/// <exception cref="System.InvalidOperationException"> 317/// <exception cref="System.InvalidOperationException"> 346/// <exception cref="System.InvalidOperationException"> 375/// <exception cref="System.InvalidOperationException">
src\Framework\System\Windows\Documents\PageContent.cs (1)
181/// <exception cref="InvalidOperationException">A child already exists (a PageContent can have at most one child).</exception>
src\Framework\System\Windows\Documents\PageContentCollection.cs (1)
59/// <exception cref="InvalidOperationException">
src\Framework\System\Windows\Documents\Speller.cs (1)
1620catch (InvalidOperationException)
src\Framework\System\Windows\Documents\TextContainer.cs (2)
215/// <exception cref="System.InvalidOperationException"> 262/// <exception cref="System.InvalidOperationException">
src\Framework\System\Windows\Documents\TextPointer.cs (11)
1155/// <exception cref="System.InvalidOperationException"> 1396/// <exception cref="InvalidOperationException"> 1428/// <exception cref="InvalidOperationException"> 1596/// <exception cref="System.InvalidOperationException"> 1867/// <exception cref="System.InvalidOperationException"> 1893/// <exception cref="System.InvalidOperationException"> 1967/// <exception cref="System.InvalidOperationException"> 2033/// <exception cref="System.InvalidOperationException"> 2067/// <exception cref="System.InvalidOperationException"> 2111/// <exception cref="System.InvalidOperationException"> 2202/// <exception cref="InvalidOperationException">
src\Framework\System\Windows\Documents\TextStore.cs (2)
4049catch (InvalidOperationException) 4064catch (InvalidOperationException)
src\Framework\System\Windows\Documents\WinRTSpellerInterop.cs (3)
157catch (InvalidOperationException) 761catch(InvalidOperationException) 817/// <exception cref="InvalidOperationException">
src\Framework\System\Windows\Markup\Primitives\ElementMarkupObject.cs (1)
391catch (InvalidOperationException)
src\Framework\System\Windows\Media\Animation\Generated\ThicknessAnimationUsingKeyFrames.cs (1)
291/// <exception cref="InvalidOperationException">Timelines have no way
src\Framework\System\Windows\Navigation\NavigationService.cs (1)
3329/// <exception cref="System.InvalidOperationException">
src\Framework\System\Windows\Navigation\NavigationWindow.cs (2)
349/// <exception cref="System.InvalidOperationException"> 361/// <exception cref="System.InvalidOperationException">
src\Framework\System\Windows\Standard\Verify.cs (1)
34/// <exception cref="InvalidOperationException">
src\Framework\System\Windows\SystemResources.cs (1)
941catch (InvalidOperationException)
System (16)
compmod\system\collections\objectmodel\observablecollection.cs (1)
311/// <exception cref="InvalidOperationException"> raised when changing the collection
net\System\Net\_NetworkingPerfCounters.cs (3)
144catch (InvalidOperationException e) 222catch (InvalidOperationException e) 337catch (InvalidOperationException e)
net\System\Net\FtpWebRequest.cs (1)
622catch (InvalidOperationException invalidOpException)
net\System\Net\HttpWebResponse.cs (6)
763if(e is System.IO.InvalidDataException || e is InvalidOperationException || e is IndexOutOfRangeException){ 785if(e is System.IO.InvalidDataException || e is InvalidOperationException || e is IndexOutOfRangeException){ 814if(e is System.IO.InvalidDataException || e is InvalidOperationException || e is IndexOutOfRangeException){ 869if(e is System.IO.InvalidDataException || e is InvalidOperationException || e is IndexOutOfRangeException){ 891if(e is System.IO.InvalidDataException || e is InvalidOperationException || e is IndexOutOfRangeException){ 919if(e is System.IO.InvalidDataException || e is InvalidOperationException || e is IndexOutOfRangeException){
net\System\Net\NetRegistryConfiguration.cs (1)
179catch (InvalidOperationException) { }
services\monitoring\system\diagnosticts\EventLogInternal.cs (1)
1046catch (InvalidOperationException) {
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (2)
824catch (InvalidOperationException) { 1367catch (InvalidOperationException) {
sys\system\collections\concurrent\BlockingCollection.cs (1)
406/// <exception cref="System.InvalidOperationException">the collection has already been marked
System.Activities (3)
System\Activities\Statements\CompensationParticipant.cs (1)
403InvalidOperationException exception = null;
System\Activities\XamlIntegration\ActivityXamlServices.cs (1)
320InvalidOperationException exception = new InvalidOperationException(SR.ActivityXamlServicesCompilationFailed(messages.ToString()));
System\Activities\XamlIntegration\TextExpressionCompiler.cs (1)
558new CodeObjectCreateExpression(typeof(InvalidOperationException), new CodePrimitiveExpression(SR.CompiledExpressionsDuplicateName(name))));
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\TryCatchDesigner.xaml.cs (1)
79typeof(InvalidOperationException),
System\ServiceModel\Activities\Presentation\ServiceContractImporter.cs (1)
90catch (InvalidOperationException e)
System.Activities.DurableInstancing (1)
System\Activities\DurableInstancing\SqlCommandAsyncResult.cs (1)
313catch (InvalidOperationException)
System.Activities.Presentation (22)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryBase.cs (1)
154catch (InvalidOperationException exception)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\NewItemFactoryTypeModel.cs (1)
56catch (InvalidOperationException exception)
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelEditingScope.cs (2)
59/// <exception cref="InvalidOperationException">If ModelEditingScope 114/// <exception cref="InvalidOperationException">If ModelEditingScope
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelFactory.cs (2)
34/// <exception cref="InvalidOperationException">if there is no editing model in the context that can create new items.</exception> 58/// <exception cref="InvalidOperationException">if there is no editing model in the context that can create new items.</exception>
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemCollection.cs (3)
95/// <exception cref="InvalidOperationException">if the collection is read only.</exception> 105/// <exception cref="InvalidOperationException">if the collection is read only.</exception> 111/// <exception cref="InvalidOperationException">if the collection is read only.</exception>
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemDictionary.cs (7)
51/// <exception cref="InvalidOperationException">if the dictionary is read only and you set a new value.</exception> 63/// <exception cref="InvalidOperationException">if the dictionary is read only and you set a new value.</exception> 126/// <exception cref="InvalidOperationException">if the dictionary is read only.</exception> 137/// <exception cref="InvalidOperationException">if the dictionary is read only.</exception> 143/// <exception cref="InvalidOperationException">if the dictionary is read only.</exception> 207/// <exception cref="InvalidOperationException">if the dictionary is read only.</exception> 215/// <exception cref="InvalidOperationException">if the dictionary is read only.</exception>
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (2)
667catch (InvalidOperationException exception) 704catch (InvalidOperationException exception)
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (2)
129catch (InvalidOperationException) 1098catch (InvalidOperationException)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (1)
142if (e.Exception is InvalidOperationException)
System.Activities.Presentation\System\Activities\Presentation\View\VirtualizedContainerService.cs (1)
450catch (InvalidOperationException)
System.AddIn (1)
System\Addin\Hosting\AddInActivator.cs (1)
677/// <exception cref="InvalidOperationException">
System.ComponentModel.DataAnnotations (35)
DataAnnotations\CustomValidationAttribute.cs (2)
126/// <exception cref="InvalidOperationException"> is thrown if the current attribute is malformed.</exception> 177/// <exception cref="InvalidOperationException"> is thrown if the current attribute is malformed.</exception>
DataAnnotations\DataTypeAttribute.cs (3)
28/// <exception cref="InvalidOperationException"> is thrown if the current attribute is ill-formed.</exception> 92/// <exception cref="InvalidOperationException"> is thrown if the current attribute is ill-formed.</exception> 107/// <exception cref="InvalidOperationException"> is thrown if the current attribute is ill-formed.</exception>
DataAnnotations\DisplayAttribute.cs (8)
227/// <exception cref="System.InvalidOperationException"> 253/// <exception cref="System.InvalidOperationException"> 279/// <exception cref="System.InvalidOperationException"> 319/// <exception cref="System.InvalidOperationException"> 349/// <exception cref="System.InvalidOperationException"> 375/// <exception cref="System.InvalidOperationException"> 401/// <exception cref="System.InvalidOperationException"> 427/// <exception cref="System.InvalidOperationException">
DataAnnotations\FilterUIHintAttribute.cs (1)
34/// <exception cref="InvalidOperationException"> is thrown if the current attribute is ill-formed.</exception>
DataAnnotations\LocalizableString.cs (1)
97/// <exception cref="System.InvalidOperationException">
DataAnnotations\MaxLengthAttribute.cs (2)
53/// <exception cref = "InvalidOperationException">Length is zero or less than negative one.</exception> 90/// <exception cref="InvalidOperationException">Length is zero or less than negative one.</exception>
DataAnnotations\MinLengthAttribute.cs (2)
38/// <exception cref = "InvalidOperationException">Length is less than zero.</exception> 75/// <exception cref="InvalidOperationException">Length is less than zero.</exception>
DataAnnotations\RangeAttribute.cs (2)
86/// <exception cref="InvalidOperationException"> is thrown if the current attribute is ill-formed.</exception> 128/// <exception cref="InvalidOperationException"> is thrown if the current attribute is ill-formed.</exception>
DataAnnotations\RegularExpressionAttribute.cs (3)
52/// <exception cref="InvalidOperationException"> is thrown if the current attribute is ill-formed.</exception> 83/// <exception cref="InvalidOperationException"> is thrown if the current attribute is ill-formed.</exception> 96/// <exception cref="InvalidOperationException"> is thrown if the current attribute is ill-formed.</exception>
DataAnnotations\StringLengthAttribute.cs (2)
44/// <exception cref="InvalidOperationException"> is thrown if the current attribute is ill-formed.</exception> 65/// <exception cref="InvalidOperationException"> is thrown if the current attribute is ill-formed.</exception>
DataAnnotations\UIHintAttribute.cs (2)
39/// <exception cref="InvalidOperationException"> is thrown if the current attribute is ill-formed.</exception> 163} catch (InvalidOperationException) {
DataAnnotations\ValidationAttribute.cs (7)
200/// <exception cref="InvalidOperationException"> is thrown if the current attribute is malformed.</exception> 296/// <exception cref="InvalidOperationException"> is thrown if the current attribute is malformed.</exception> 314/// <exception cref="InvalidOperationException"> is thrown if the current attribute is malformed.</exception> 349/// <exception cref="InvalidOperationException"> is thrown if the current attribute is malformed.</exception> 406/// <exception cref="InvalidOperationException"> is thrown if the current attribute is malformed.</exception> 447/// <exception cref="InvalidOperationException"> is thrown if the current attribute is malformed.</exception> 468/// <exception cref="InvalidOperationException"> is thrown if the current attribute is malformed.</exception>
System.Configuration (1)
System\Configuration\ExceptionUtil.cs (1)
29static internal InvalidOperationException UnexpectedError(string methodName) {
System.Core (7)
Microsoft\Scripting\Ast\ExpressionVisitor.cs (2)
145/// <exception cref="InvalidOperationException">The visit method for this node returned a different type.</exception> 165/// <exception cref="InvalidOperationException">The visit method for this node returned a different type.</exception>
Microsoft\Scripting\Ast\UnaryExpression.cs (4)
455/// <exception cref="InvalidOperationException">Thrown when the unary minus operator is not defined for <see cref="P:Expression.Type"></see></exception> 468/// <exception cref="InvalidOperationException">Thown when <paramref name="method"/> is null and the unary minus operator is not defined for expression.Type or expression.Type (or its corresponding non-nullable type if it is a nullable value type) is not assignable to the argument type of the method represented by method.</exception> 486/// <exception cref="InvalidOperationException">Thown when the unary minus operator is not defined for expression.Type.</exception> 499/// <exception cref="InvalidOperationException">Thown when <paramref name="method"/> is null and the unary minus operator is not defined for expression.Type or expression.Type (or its corresponding non-nullable type if it is a nullable value type) is not assignable to the argument type of the method represented by method.</exception>
System\Linq\ParallelEnumerable.cs (1)
183/// <exception cref="InvalidOperationException">
System.Data (109)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryBase.cs (1)
154catch (InvalidOperationException exception)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\NewItemFactoryTypeModel.cs (1)
56catch (InvalidOperationException exception)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelEditingScope.cs (2)
59/// <exception cref="InvalidOperationException">If ModelEditingScope 114/// <exception cref="InvalidOperationException">If ModelEditingScope
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelFactory.cs (2)
34/// <exception cref="InvalidOperationException">if there is no editing model in the context that can create new items.</exception> 58/// <exception cref="InvalidOperationException">if there is no editing model in the context that can create new items.</exception>
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemCollection.cs (3)
95/// <exception cref="InvalidOperationException">if the collection is read only.</exception> 105/// <exception cref="InvalidOperationException">if the collection is read only.</exception> 111/// <exception cref="InvalidOperationException">if the collection is read only.</exception>
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemDictionary.cs (7)
51/// <exception cref="InvalidOperationException">if the dictionary is read only and you set a new value.</exception> 63/// <exception cref="InvalidOperationException">if the dictionary is read only and you set a new value.</exception> 126/// <exception cref="InvalidOperationException">if the dictionary is read only.</exception> 137/// <exception cref="InvalidOperationException">if the dictionary is read only.</exception> 143/// <exception cref="InvalidOperationException">if the dictionary is read only.</exception> 207/// <exception cref="InvalidOperationException">if the dictionary is read only.</exception> 215/// <exception cref="InvalidOperationException">if the dictionary is read only.</exception>
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (2)
667catch (InvalidOperationException exception) 704catch (InvalidOperationException exception)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (2)
129catch (InvalidOperationException) 1098catch (InvalidOperationException)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (1)
142if (e.Exception is InvalidOperationException)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VirtualizedContainerService.cs (1)
450catch (InvalidOperationException)
fx\src\data\System\Data\Common\AdapterUtil.cs (59)
206static internal InvalidOperationException InvalidOperation(string error) { 207InvalidOperationException e = new InvalidOperationException(error); 216static internal InvalidOperationException InvalidOperation(string error, Exception inner) 218InvalidOperationException e = new InvalidOperationException(error, inner); 270static internal InvalidOperationException DataAdapter(string error) { 273static internal InvalidOperationException DataAdapter(string error, Exception inner) { 276static private InvalidOperationException Provider(string error) { 285static internal InvalidOperationException MethodCalledTwice(string method) { 286InvalidOperationException e = new InvalidOperationException(Res.GetString(Res.ADP_CalledTwice, method)); 724static internal InvalidOperationException ConfigProviderInvalid() { 779static internal InvalidOperationException InvalidDataDirectory() { 795static internal InvalidOperationException InvalidMixedUsageOfSecureAndClearCredential() { 803static internal InvalidOperationException InvalidMixedUsageOfSecureCredentialAndIntegratedSecurity() { 811static internal InvalidOperationException InvalidMixedUsageOfSecureCredentialAndContextConnection() 821static internal InvalidOperationException InvalidMixedUsageOfAccessTokenAndContextConnection() { 825static internal InvalidOperationException InvalidMixedUsageOfAccessTokenAndIntegratedSecurity() { 829static internal InvalidOperationException InvalidMixedUsageOfAccessTokenAndUserIDPassword() { 848static internal InvalidOperationException NoConnectionString() { 962static internal InvalidOperationException TransactionConnectionMismatch() { 965static internal InvalidOperationException TransactionCompletedButNotDisposed() 969static internal InvalidOperationException TransactionRequired(string method) { 974static internal InvalidOperationException MissingSelectCommand(string method) { 981static private InvalidOperationException DataMapping(string error) { 986static internal InvalidOperationException ColumnSchemaExpression(string srcColumn, string cacheColumn) { 991static internal InvalidOperationException ColumnSchemaMismatch(string srcColumn, Type srcType, DataColumn column) { 996static internal InvalidOperationException ColumnSchemaMissing(string cacheColumn, string tableName, string srcColumn) { 1004static internal InvalidOperationException MissingColumnMapping(string srcColumn) { 1009static internal InvalidOperationException MissingTableSchema(string cacheTable, string srcTable) { 1014static internal InvalidOperationException MissingTableMapping(string srcTable) { 1019static internal InvalidOperationException MissingTableMappingDestination(string dstTable) { 1089static internal InvalidOperationException CommandAsyncOperationCompleted() { 1097static internal InvalidOperationException ConnectionRequired(string method) { 1100static internal InvalidOperationException OpenConnectionRequired(string method, ConnectionState state) { 1105static internal InvalidOperationException UpdateConnectionRequired(StatementType statementType, bool isRowUpdatingCommand) { 1136static internal InvalidOperationException ConnectionRequired_Res(string method) { 1153static internal InvalidOperationException UpdateOpenConnectionRequired(StatementType statementType, bool isRowUpdatingCommand, ConnectionState state) { 1246static internal InvalidOperationException NonSequentialColumnAccess(int badCol, int currCol) { 1275static internal InvalidOperationException MissingDataReaderFieldType(int index) { 1278static internal InvalidOperationException OnlyOneTableForStartRecordOrMaxRecords() { 1287static internal InvalidOperationException UpdateRequiresSourceTable(string defaultSrcTableName) { 1290static internal InvalidOperationException UpdateRequiresSourceTableName(string srcTable) { 1323static internal InvalidOperationException UpdateRequiresCommand(StatementType statementType, bool isRowUpdatingCommand) { 1362static internal InvalidOperationException ResultsNotAllowedDuringBatch() { 1509static internal InvalidOperationException AsyncOperationPending() { 1526static internal InvalidOperationException DynamicSQLJoinUnsupported() { 1529static internal InvalidOperationException DynamicSQLNoTableInfo() { 1532static internal InvalidOperationException DynamicSQLNoKeyInfoDelete() { 1535static internal InvalidOperationException DynamicSQLNoKeyInfoUpdate() { 1538static internal InvalidOperationException DynamicSQLNoKeyInfoRowVersionDelete() { 1541static internal InvalidOperationException DynamicSQLNoKeyInfoRowVersionUpdate() { 1544static internal InvalidOperationException DynamicSQLNestedQuote(string name, string quote) { 1547static internal InvalidOperationException NoQuoteChange() { 1550static internal InvalidOperationException ComputerNameEx(int lastError) { 1553static internal InvalidOperationException MissingSourceCommand() { 1556static internal InvalidOperationException MissingSourceCommandConnection() { 1735static internal InvalidOperationException InvalidDateTimeDigits(string dataTypeName) { 1743static internal InvalidOperationException InvalidMaximumScale(string dataTypeName) { 1759static internal InvalidOperationException QuotePrefixNotSet(string method) { 1763static internal InvalidOperationException UnableToCreateBooleanLiteral() {
fx\src\data\System\Data\Common\DataStorage.cs (2)
502/// <exception cref="InvalidOperationException">when type implements IDynamicMetaObjectProvider and not IXmlSerializable</exception> 525/// <exception cref="InvalidOperationException">when type implements IDynamicMetaObjectProvider and not IXmlSerializable</exception>
fx\src\data\System\Data\Common\ObjectStorage.cs (1)
461/// <exception cref="InvalidOperationException">DataSet will not serialize types that implement IDynamicMetaObjectProvider but do not also implement IXmlSerializable</exception>
fx\src\data\System\Data\DataException.cs (2)
304static private InvalidOperationException _InvalidOperation(string error) { 305InvalidOperationException e = new InvalidOperationException(error);
fx\src\data\System\Data\Odbc\Odbc32.cs (1)
80static internal InvalidOperationException NoMappingForSqlTransactionLevel(int value) {
fx\src\data\System\Data\OleDb\OLEDB_Util.cs (17)
172static internal InvalidOperationException MDACNotAvailable(Exception inner) { 178static internal InvalidOperationException CommandTextNotSupported(string provider, Exception inner) { 181static internal InvalidOperationException PossiblePromptNotUserInteractive() { 184static internal InvalidOperationException ProviderUnavailable(string provider, Exception inner) { 188static internal InvalidOperationException TransactionsNotSupported(string provider, Exception inner) { 219static internal InvalidOperationException BadAccessor() { 228static internal InvalidOperationException SignMismatch(Type type) { 231static internal InvalidOperationException DataOverflow(Type type) { 234static internal InvalidOperationException CantCreate(Type type) { 237static internal InvalidOperationException Unavailable(Type type) { 240static internal InvalidOperationException UnexpectedStatusValue(DBStatus status) { 243static internal InvalidOperationException GVtUnknown(int wType) { 246static internal InvalidOperationException SVtUnknown(int wType) { 251static internal InvalidOperationException BadStatusRowAccessor(int i, DBBindStatus rowStatus) { 254static internal InvalidOperationException ThreadApartmentState(Exception innerException) { 279static internal InvalidOperationException DBBindingGetVector() { 302static internal InvalidOperationException IDBInfoNotSupported() {
fx\src\data\System\Data\OleDb\OledbConnectionStringbuilder.cs (1)
468catch(System.InvalidOperationException e) {
fx\src\data\System\Data\ProviderBase\DbConnectionPoolCounters.cs (1)
113catch (InvalidOperationException e) {
fx\src\data\System\Data\SqlClient\SqlDelegatedTransaction.cs (3)
194catch (InvalidOperationException e) 280catch (InvalidOperationException e) { 365catch (InvalidOperationException e) {
System.Data.DataSetExtensions (3)
System\Data\DataSetUtil.cs (1)
64internal static InvalidOperationException InvalidOperation(string message)
System\Data\DataTableExtensions.cs (2)
56/// <exception cref="InvalidOperationException">if source is empty</exception> 109/// <exception cref="InvalidOperationException">if source DataRow is in Deleted or Detached state</exception>
System.Data.Entity (234)
System\Data\Common\EntityUtil.cs (146)
303static internal InvalidOperationException InvalidOperation(string error) { 306static internal InvalidOperationException InvalidOperation(string error, Exception inner) { 428static internal InvalidOperationException ClosedDataReaderError() { 431static internal InvalidOperationException DataReaderClosed(string method) { 434static internal InvalidOperationException ImplicitlyClosedDataReaderError() { 449static internal InvalidOperationException MustUseSequentialAccess() { 452static internal InvalidOperationException NoData() { 455static internal InvalidOperationException NonSequentialArrayOffsetAccess(long badIndex, long currIndex, string method) { 458static internal InvalidOperationException NonSequentialColumnAccess(int badCol, int currCol) { 509static internal InvalidOperationException SqlTypesAssemblyNotFound() 551static internal InvalidOperationException MoreThanOneItemMatchesIdentity(string identity) { 554static internal InvalidOperationException OperationOnReadOnlyCollection() { 558static internal InvalidOperationException ItemCollectionAlreadyRegistered(DataSpace space) { 561static internal InvalidOperationException NoCollectionForSpace(DataSpace space) { 564static internal InvalidOperationException InvalidCollectionSpecified(DataSpace space) { 609static internal InvalidOperationException OperationOnReadOnlyItem() { 749internal static InvalidOperationException OriginalValuesDoesNotExist() { 753internal static InvalidOperationException CurrentValuesDoesNotExist() { 761internal static InvalidOperationException ObjectStateEntryinInvalidState() { 765internal static InvalidOperationException CantModifyDetachedDeletedEntries() { 769internal static InvalidOperationException SetModifiedStates(string methodName) 774internal static InvalidOperationException EntityCantHaveMultipleChangeTrackers() { 778internal static InvalidOperationException CantModifyRelationValues() { 782internal static InvalidOperationException CantModifyRelationState() { 786internal static InvalidOperationException CannotModifyKeyProperty(string fieldName) { 790internal static InvalidOperationException CantSetEntityKey() { 794internal static InvalidOperationException CannotAccessKeyEntryValues() { 798internal static InvalidOperationException CannotModifyKeyEntryState() { 803internal static InvalidOperationException CannotCallDeleteOnKeyEntry() { 810internal static InvalidOperationException NoEntryExistForEntityKey() { 817internal static InvalidOperationException ObjectStateManagerContainsThisEntityKey() { 820internal static InvalidOperationException ObjectStateManagerDoesnotAllowToReAddUnchangedOrModifiedOrDeletedEntity(EntityState state) { 823internal static InvalidOperationException CannotFixUpKeyToExistingValues() { 826internal static InvalidOperationException KeyPropertyDoesntMatchValueInKey(bool forAttach) 867internal static InvalidOperationException InvalidKey() { 870internal static InvalidOperationException AcceptChangesEntityKeyIsNotValid() { 873internal static InvalidOperationException EntityConflictsWithKeyEntry() { 876internal static InvalidOperationException ObjectDoesNotHaveAKey(object entity) { 879internal static InvalidOperationException EntityValueChangedWithoutEntityValueChanging() { 882internal static InvalidOperationException ChangedInDifferentStateFromChanging(EntityState currentState, EntityState previousState) { 896internal static InvalidOperationException NoEntryExistsForObject(object entity) 900internal static InvalidOperationException EntityNotTracked() 904internal static InvalidOperationException SetOriginalComplexProperties(string propertyName) 908internal static InvalidOperationException NullOriginalValueForNonNullableProperty(string propertyName, string clrMemberName, string clrTypeName) 912internal static InvalidOperationException SetOriginalPrimaryKey(string propertyName) 953internal static InvalidOperationException ValueInvalidCast(Type valueType, Type destinationType) 970internal static InvalidOperationException ValueNullReferenceCast(Type destinationType) 979internal static InvalidOperationException AddedEntityAlreadyExists(EntityKey key) { 982internal static InvalidOperationException CannotReEnumerateQueryResults() { 991internal static InvalidOperationException CannotReplacetheEntityorRow() { 997internal static InvalidOperationException WriteOperationNotAllowedOnReadOnlyBindingList() { 1000internal static InvalidOperationException AddNewOperationNotAllowedOnAbstractBindingList() { 1006internal static InvalidOperationException CannotResolveTheEntitySetforGivenEntity(Type type) { 1015internal static InvalidOperationException NoRelationshipSetMatched(string relationshipName) { 1019internal static InvalidOperationException ExpectedCollectionGotReference(string typeName, string roleName, string relationshipName) { 1022internal static InvalidOperationException CannotFillTryDifferentMergeOption(string relationshipName, string roleName) { 1025internal static InvalidOperationException CannotRemergeCollections() { 1028internal static InvalidOperationException ExpectedReferenceGotCollection(string typeName, string roleName, string relationshipName) { 1031internal static InvalidOperationException CannotAddMoreThanOneEntityToEntityReference(string roleName, string relationshipName) { 1037internal static InvalidOperationException EntityKeyValueMismatch() { 1040internal static InvalidOperationException RelatedEndNotAttachedToContext(string relatedEndType) { 1043internal static InvalidOperationException CannotCreateRelationshipBetweenTrackedAndNoTrackedEntities(string roleName) { 1046internal static InvalidOperationException CannotCreateRelationshipEntitiesInDifferentContexts() { 1049internal static InvalidOperationException InvalidContainedTypeCollection(string entityType, string relatedEndType) { 1052internal static InvalidOperationException InvalidContainedTypeReference(string entityType, string relatedEndType) { 1055internal static InvalidOperationException CannotAddToFixedSizeArray(object collectionType) { 1058internal static InvalidOperationException CannotRemoveFromFixedSizeArray(object collectionType) { 1061internal static InvalidOperationException OwnerIsNull() { 1064internal static InvalidOperationException UnableToAddRelationshipWithDeletedEntity() { 1067internal static InvalidOperationException ConflictingChangeOfRelationshipDetected() { 1070internal static InvalidOperationException InvalidRelationshipFixupDetected(string propertyName, string entityType) { 1073internal static InvalidOperationException LessThanExpectedRelatedEntitiesFound() 1077internal static InvalidOperationException MoreThanExpectedRelatedEntitiesFound() { 1080internal static InvalidOperationException CannotChangeReferentialConstraintProperty() { 1083internal static InvalidOperationException RelatedEndNotFound() { 1086internal static InvalidOperationException LoadCalledOnNonEmptyNoTrackedRelatedEnd() { 1089internal static InvalidOperationException LoadCalledOnAlreadyLoadedNoTrackedRelatedEnd() { 1092internal static InvalidOperationException MismatchedMergeOptionOnLoad(MergeOption mergeOption) { 1095internal static InvalidOperationException EntitySetIsNotValidForRelationship(string entitySetContainerName, string entitySetName, string roleName, string associationSetContainerName, string associationSetName) { 1098internal static InvalidOperationException UnableToRetrieveReferentialConstraintProperties() { 1101internal static InvalidOperationException InconsistentReferentialConstraintProperties() { 1104internal static InvalidOperationException CircularRelationshipsWithReferentialConstraints() { 1113internal static InvalidOperationException OwnerIsNotSourceType(string ownerType, string sourceRoleType, string sourceRoleName, string relationshipName) { 1116internal static InvalidOperationException UnexpectedNullContext() { 1119internal static InvalidOperationException ReferenceAlreadyInitialized() { 1122internal static InvalidOperationException RelationshipManagerAttached() { 1125internal static InvalidOperationException CollectionAlreadyInitialized() { 1128internal static InvalidOperationException CollectionRelationshipManagerAttached() { 1159internal static InvalidOperationException InvalidEntityStateSource() { 1162internal static InvalidOperationException InvalidEntityStateLoad(string relatedEndType) { 1165internal static InvalidOperationException InvalidOwnerStateForAttach() { 1168internal static InvalidOperationException InvalidNthElementNullForAttach(int index) { 1171internal static InvalidOperationException InvalidNthElementContextForAttach(int index) { 1174internal static InvalidOperationException InvalidNthElementStateForAttach(int index) { 1177internal static InvalidOperationException InvalidEntityContextForAttach() { 1180internal static InvalidOperationException InvalidEntityStateForAttach() { 1183internal static InvalidOperationException UnableToAddToDisconnectedRelatedEnd() { 1186internal static InvalidOperationException UnableToRemoveFromDisconnectedRelatedEnd() { 1189internal static InvalidOperationException ProxyMetadataIsUnavailable(Type type, Exception inner) { 1192internal static InvalidOperationException DuplicateTypeForProxyType(Type type) { 1198internal static InvalidOperationException ClientEntityRemovedFromStore(string entitiesKeys) { 1201internal static InvalidOperationException StoreEntityNotPresentInClient() { 1204internal static InvalidOperationException ContextMetadataHasChanged() { 1224internal static InvalidOperationException InvalidDataAdapter() { 1230internal static InvalidOperationException NthElementInAddedState(int i) { 1233internal static InvalidOperationException NthElementIsDuplicate(int i) { 1236internal static InvalidOperationException NthElementIsNull(int i) { 1239internal static InvalidOperationException NthElementNotInObjectStateManager(int i) { 1248internal static InvalidOperationException InvalidEntityType(Type type) { 1252internal static InvalidOperationException CannotDeleteEntityNotInObjectStateManager() { 1255internal static InvalidOperationException CannotDetachEntityNotInObjectStateManager() { 1258internal static InvalidOperationException EntitySetNotFoundForName(string entitySetName) { 1261internal static InvalidOperationException EntityContainterNotFoundForName(string entityContainerName) { 1267internal static InvalidOperationException EntityAlreadyExistsInObjectStateManager() { 1270internal static InvalidOperationException InvalidEntitySetInKey(string keyContainer, string keyEntitySet, string expectedContainer, string expectedEntitySet) { 1273internal static InvalidOperationException InvalidEntitySetInKeyFromName(string keyContainer, string keyEntitySet, string expectedContainer, string expectedEntitySet, string argument) { 1276internal static InvalidOperationException CannotAttachEntityWithoutKey() { 1279internal static InvalidOperationException CannotAttachEntityWithTemporaryKey() { 1282internal static InvalidOperationException EntitySetNameOrEntityKeyRequired() { 1285internal static InvalidOperationException ExecuteFunctionTypeMismatch(Type typeArgument, EdmType expectedElementType) { 1290internal static InvalidOperationException ExecuteFunctionCalledWithNonReaderFunction(EdmFunction functionImport) { 1311internal static InvalidOperationException CannotSetDefaultContainerName() { 1317internal static InvalidOperationException EntityMustBeUnchangedOrModified(EntityState state) { 1320internal static InvalidOperationException EntityMustBeUnchangedOrModifiedOrDeleted(EntityState state) { 1323internal static InvalidOperationException EntityNotTrackedOrHasTempKey() 1328internal static InvalidOperationException AcceptAllChangesFailure(Exception e) { 1337internal static InvalidOperationException RequiredMetadataNotAvailable() { 1352internal static InvalidOperationException EntityNotInObjectSet_Delete(string actualContainerName, string actualEntitySetName, string expectedContainerName, string expectedEntitySetName) { 1356internal static InvalidOperationException EntityNotInObjectSet_Detach(string actualContainerName, string actualEntitySetName, string expectedContainerName, string expectedEntitySetName) { 1374internal static InvalidOperationException NullableComplexTypesNotSupported(string propertyName) 1378internal static InvalidOperationException ComplexObjectAlreadyAttachedToParent() 1416internal static InvalidOperationException DataRecordMustBeEntity() { 1422internal static InvalidOperationException EntityTypesDoNotMatch(string recordType, string entitySetType) { 1428internal static InvalidOperationException IncorrectNumberOfKeyValuePairsInvalidOperation(string typeName, int expectedNumFields, int actualNumFields) 1435internal static InvalidOperationException IncorrectValueTypeInvalidOperation(string keyField, string expectedTypeName, string actualTypeName) { 1441internal static InvalidOperationException NoCorrespondingOSpaceTypeForEnumKeyFieldInvalidOperation(string keyField, string cspaceTypeName) { 1450internal static InvalidOperationException NullKeyValue(string keyField, string typeName) 1454internal static InvalidOperationException MissingKeyValueInvalidOperation(string keyField, string typeName) 1470internal static InvalidOperationException MissingQualifiedEntitySetName() { 1473internal static InvalidOperationException CannotChangeEntityKey() { 1477internal static InvalidOperationException UnexpectedNullEntityKey() 1481internal static InvalidOperationException EntityKeyDoesntMatchKeySetOnEntity(object entity) 1499internal static InvalidOperationException UnexpectedNullRelationshipManager() 1503internal static InvalidOperationException InvalidRelationshipManagerOwner() 1694static internal InvalidOperationException FunctionHasNoDefinition(EdmFunction function) 1699static internal InvalidOperationException FunctionDefinitionResultTypeMismatch(EdmFunction function, TypeUsage generatedDefinitionResultType)
System\Data\EntityClient\EntityCommand.cs (1)
456/// <exception cref="InvalidOperationException">For stored procedure commands, if called
System\Data\EntityClient\EntityCommandDefinition.cs (2)
367/// <exception cref="InvalidOperationException">behavior must specify CommandBehavior.SequentialAccess</exception> 368/// <exception cref="InvalidOperationException">input parameters in the entityCommand.Parameters collection must have non-null values.</exception>
System\Data\EntityModel\SchemaObjectModel\Schema.cs (1)
228catch (InvalidOperationException ex)
System\Data\Metadata\Edm\AssociationSetEnd.cs (3)
54/// <exception cref="System.InvalidOperationException">Thrown if Setter is called when the AssociationSetEnd instance is in ReadOnly state</exception> 68/// <exception cref="System.InvalidOperationException">Thrown if Setter is called when the AssociationSetEnd instance is in ReadOnly state</exception> 94/// <exception cref="System.InvalidOperationException">Thrown if Setter is called when the AssociationSetEnd instance is in ReadOnly state</exception>
System\Data\Metadata\Edm\EdmProperty.cs (2)
104/// <exception cref="System.InvalidOperationException">Thrown if the setter is called when the EdmProperty instance is in ReadOnly state</exception> 116/// <exception cref="System.InvalidOperationException">Thrown if the setter is called when the EdmProperty instance is in ReadOnly state</exception>
System\Data\Metadata\Edm\EdmType.cs (3)
139/// <exception cref="System.InvalidOperationException">Thrown if the setter is called on instance that is in ReadOnly state</exception> 156/// <exception cref="System.InvalidOperationException">Thrown if the setter is called on instance that is in ReadOnly state</exception> 207/// <exception cref="System.InvalidOperationException">Thrown if the setter is called on instance that is in ReadOnly state</exception>
System\Data\Metadata\Edm\EntitySetBase.cs (3)
124/// <exception cref="System.InvalidOperationException">Thrown if the setter is called when EntitySetBase instance is in ReadOnly state</exception> 138/// <exception cref="System.InvalidOperationException">Thrown if the setter is called when the EntitySetBase instance or the EntityContainer passed into the setter is in ReadOnly state</exception> 151/// <exception cref="System.InvalidOperationException">Thrown if the setter is called when EntitySetBase instance is in ReadOnly state</exception>
System\Data\Metadata\Edm\EntitySetBaseCollection.cs (3)
65/// <exception cref="System.InvalidOperationException">Always thrown on setter</exception> 85/// <exception cref="System.InvalidOperationException">Always thrown on setter</exception> 105/// <exception cref="System.InvalidOperationException">Thrown if the item passed in or the collection itself instance is in ReadOnly state</exception>
System\Data\Metadata\Edm\EntityTypeBase.cs (2)
95/// <exception cref="System.InvalidOperationException">Thrown if the EntityType has a base type of another EntityTypeBase. In this case KeyMembers should be added to the base type</exception> 96/// <exception cref="System.InvalidOperationException">If the EntityType instance is in ReadOnly state</exception>
System\Data\Metadata\Edm\Facet.cs (1)
160/// <exception cref="System.InvalidOperationException">Thrown if the Facet instance is in ReadOnly state</exception>
System\Data\Metadata\Edm\FunctionParameter.cs (1)
59/// <exception cref="System.InvalidOperationException">Thrown if the FunctionParameter instance is in ReadOnly state</exception>
System\Data\Metadata\Edm\ItemCollection.cs (2)
84/// <exception cref="System.InvalidOperationException">Thrown if the item passed in or the collection itself instance is in ReadOnly state</exception> 99/// <exception cref="System.InvalidOperationException">Thrown if the item passed in or the collection itself instance is in ReadOnly state</exception>
System\Data\Metadata\Edm\LightweightCodeGenerator.cs (2)
58/// <exception cref="System.InvalidOperationException"> 301/// <exception cref="System.InvalidOperationException">
System\Data\Metadata\Edm\MemberCollection.cs (3)
99/// <exception cref="System.InvalidOperationException">Always thrown on setter</exception> 126/// <exception cref="System.InvalidOperationException">Always thrown on setter</exception> 144/// <exception cref="System.InvalidOperationException">Thrown if the member passed in or the collection itself instance is in ReadOnly state</exception>
System\Data\Metadata\Edm\MetadataCollection.cs (10)
143/// <exception cref="System.InvalidOperationException">Always thrown on setter</exception> 163/// <exception cref="System.InvalidOperationException">Always thrown on setter</exception> 201/// <exception cref="System.InvalidOperationException">Thrown if the item passed in or the collection itself instance is in ReadOnly state</exception> 280/// <exception cref="System.InvalidOperationException">Thrown if the item passed in or the collection itself instance is in ReadOnly state</exception> 307/// <exception cref="System.InvalidOperationException">Thrown if the item passed in or the collection itself instance is in ReadOnly state</exception> 373/// <exception cref="System.InvalidOperationException">Thrown if the item passed in or the collection itself instance is in ReadOnly state</exception> 411/// <exception cref="System.InvalidOperationException">Thrown if the item passed in or the collection itself instance is in ReadOnly state</exception> 422/// <exception cref="System.InvalidOperationException">Always thrown</exception> 432/// <exception cref="System.InvalidOperationException">Always thrown</exception> 441/// <exception cref="System.InvalidOperationException">Always thrown</exception>
System\Data\Metadata\Edm\MetadataProperty.cs (2)
106/// <exception cref="System.InvalidOperationException">Thrown if the MetadataProperty instance is in readonly state</exception> 128/// <exception cref="System.InvalidOperationException">Thrown if the MetadataProperty instance is in readonly state</exception>
System\Data\Metadata\Edm\NavigationProperty.cs (3)
80/// <exception cref="System.InvalidOperationException">Thrown if the NavigationProperty instance is in ReadOnly state</exception> 97/// <exception cref="System.InvalidOperationException">Thrown if the NavigationProperty instance is in ReadOnly state</exception> 114/// <exception cref="System.InvalidOperationException">Thrown if the NavigationProperty instance is in ReadOnly state</exception>
System\Data\Metadata\Edm\ReferentialConstraint.cs (2)
72/// <exception cref="System.InvalidOperationException">Thrown if the ReferentialConstraint instance is in ReadOnly state</exception> 86/// <exception cref="System.InvalidOperationException">Thrown if the ReferentialConstraint instance is in ReadOnly state</exception>
System\Data\Metadata\MetadataWorkspace.cs (14)
175/// <exception cref="System.InvalidOperationException">If ItemCollection has not been registered for the space passed in</exception> 191/// <exception cref="System.InvalidOperationException">If there is an ItemCollection that has already been registered for collection's space passed in</exception> 473/// <exception cref="System.InvalidOperationException">If ItemCollection has not been registered for the space passed in</exception> 509/// <exception cref="System.InvalidOperationException">If ItemCollection has not been registered for the space passed in</exception> 544/// <exception cref="System.InvalidOperationException">If ItemCollection has not been registered for the space passed in</exception> 560/// <exception cref="System.InvalidOperationException">If ItemCollection has not been registered for the space passed in</exception> 597/// <exception cref="System.InvalidOperationException">If ItemCollection has not been registered for the space passed in</exception> 633/// <exception cref="System.InvalidOperationException">If ItemCollection has not been registered for the space passed in</exception> 667/// <exception cref="System.InvalidOperationException">If ItemCollection has not been registered for the space passed in</exception> 704/// <exception cref="System.InvalidOperationException">If ItemCollection has not been registered for the space passed in</exception> 724/// <exception cref="System.InvalidOperationException">If ItemCollection has not been registered for the space passed in</exception> 776/// <exception cref="System.InvalidOperationException">If ItemCollection has not been registered for the space passed in</exception> 790/// <exception cref="System.InvalidOperationException">If ItemCollection has not been registered for the space passed in</exception> 805/// <exception cref="System.InvalidOperationException">If ItemCollection has not been registered for the space passed in</exception>
System\Data\Objects\DataClasses\EntityCollection.cs (2)
245/// <exception cref="InvalidOperationException">Thrown when an entity in the given 271/// <exception cref="InvalidOperationException">Thrown when the entity cannot be related via the current relationship end.</exception>
System\Data\Objects\DataClasses\EntityReference_TResultType.cs (1)
249/// <exception cref="InvalidOperationException">Thrown when the entity cannot be related via the current relationship end.</exception>
System\Data\Objects\DataClasses\IRelatedEnd.cs (2)
129/// <exception cref="InvalidOperationException">Thrown when the entity cannot be related via the current relationship end.</exception> 145/// <exception cref="InvalidOperationException">Thrown when the entity cannot be related via the current relationship end.</exception>
System\Data\Objects\DataClasses\RelatedEnd.cs (2)
815/// <exception cref="InvalidOperationException">Thrown when the entity cannot be related via the current relationship end.</exception> 832/// <exception cref="InvalidOperationException">Thrown when the entity cannot be related via the current relationship end.</exception>
System\Data\Objects\EntityEntry.cs (2)
208/// <exception cref="InvalidOperationException">If State is not Modified or Unchanged</exception> 2982/// <exception cref="InvalidOperationException">the property is not editable</exception>
System\Data\Objects\Internal\EntityProxyFactory.cs (2)
980static readonly ConstructorInfo s_InvalidOperationConstructor = typeof(InvalidOperationException).GetConstructor(Type.EmptyTypes); 1059static readonly ConstructorInfo s_InvalidOperationConstructor = typeof(InvalidOperationException).GetConstructor(new Type[] { typeof(string) });
System\Data\Objects\IObjectSet.cs (1)
46/// <exception cref="InvalidOperationException">Throws if the specified object is not in the set.</exception>
System\Data\Objects\ObjectContext.cs (6)
249catch (InvalidOperationException e) 1832/// <exception cref="InvalidOperationException">the entity set could not be found for the given name</exception> 1833/// <exception cref="InvalidOperationException">the entity container could not be found for the given name</exception> 2555/// <exception cref="InvalidOperationException">If function is invalid (syntax, 2571/// <exception cref="InvalidOperationException">If function is invalid (syntax, 2602/// <exception cref="InvalidOperationException">If function is invalid (syntax,
System\Data\Objects\ObjectParameterCollection.cs (1)
485/// otherwise an <see cref="InvalidOperationException"/> is thrown.
System\Data\Objects\ObjectSet.cs (2)
101/// <exception cref="InvalidOperationException">Throws if the specified object is not in the EntitySet.</exception> 115/// <exception cref="InvalidOperationException">Throws if the specified object is not in the EntitySet.</exception>
System\Data\Objects\ObjectStateEntry.cs (3)
163/// <exception cref="InvalidOperationException">If State is not Modified or Unchanged</exception> 171/// <exception cref="InvalidOperationException">If State is not Modified or Unchanged</exception> 211/// <exception cref="InvalidOperationException">The entry is a stub or represents a relationship</exception>
System\Data\Objects\ObjectStateManager.cs (1)
2629/// <exception cref="InvalidOperationException">The entity does not implement IEntityWithRelationships and is not tracked by this ObjectStateManager</exception>
System\Data\Objects\RelationshipEntry.cs (1)
139/// <exception cref="InvalidOperationException">If State is not Modified or Unchanged</exception>
System\Data\Spatial\Internal\SpatialExceptions.cs (2)
32/// <returns><see cref="InvalidOperationException"/></returns> 33internal static InvalidOperationException WellKnownValueSerializationPropertyNotDirectlySettable()
System.Data.Entity.Design (7)
System\Data\Entity\Design\Common\EDesignUtil.cs (6)
106static internal InvalidOperationException InvalidOperation(string error) 108InvalidOperationException e = new InvalidOperationException(error); 122static internal InvalidOperationException EntityStoreGeneratorSchemaNotLoaded() { 126static internal InvalidOperationException EntityModelGeneratorSchemaNotLoaded() { 130static internal InvalidOperationException NonSerializableType(BuiltInTypeKind kind) 135static internal InvalidOperationException MissingGenerationPatternForType(BuiltInTypeKind kind)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
204catch (InvalidOperationException)
System.Data.Linq (1)
DataContext.cs (1)
994/// <exception cref="InvalidOperationException">Throws if the specified object is not in the set.</exception>
System.Data.Services (11)
parent\Client\System\Data\Services\Client\BatchStream.cs (1)
287/// <exception cref="InvalidOperationException">if multipart/mixed without boundary</exception>
System\Data\Services\DataServiceHostWrapper.cs (1)
457/// <exception cref="InvalidOperationException">If the given object is not of Type T.</exception>
System\Data\Services\Error.cs (8)
129internal static InvalidOperationException BatchStreamInternalBufferRequestTooSmall() 137internal static InvalidOperationException BatchStreamInvalidMethodHeaderSpecified(string header) 146internal static InvalidOperationException BatchStreamInvalidHttpVersionSpecified(string actualVersion, string expectedVersion) 155internal static InvalidOperationException BatchStreamInvalidNumberOfHeadersAtOperationStart(string header1, string header2) 164internal static InvalidOperationException BatchStreamMissingOrInvalidContentEncodingHeader(string headerName, string headerValue) 173internal static InvalidOperationException BatchStreamInvalidNumberOfHeadersAtChangeSetStart(string header1, string header2) 181internal static InvalidOperationException BatchStreamMissingContentTypeHeader(string headerName) 192internal static InvalidOperationException BatchStreamInvalidContentTypeSpecified(string headerName, string headerValue, string mime1, string mime2)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (1)
2466catch (InvalidOperationException exception)
System.Data.Services.Client (67)
System\Data\Services\Client\BatchStream.cs (1)
287/// <exception cref="InvalidOperationException">if multipart/mixed without boundary</exception>
System\Data\Services\Client\Binding\BindingEntityInfo.cs (1)
208catch (InvalidOperationException)
System\Data\Services\Client\ClientType.cs (2)
648/// <exception cref="InvalidOperationException">for unknown properties on closed types</exception> 694/// <exception cref="InvalidOperationException">if the mapping is ambiguous</exception>
System\Data\Services\Client\DataServiceContext.cs (31)
1041/// <exception cref="InvalidOperationException">problem in request or materializing results of query into objects</exception> 1058/// <exception cref="InvalidOperationException">problem materializing results of query into objects</exception> 1217/// <exception cref="InvalidOperationException">if link already exists</exception> 1218/// <exception cref="InvalidOperationException">if source or target are detached</exception> 1219/// <exception cref="InvalidOperationException">if source or target are in deleted state</exception> 1220/// <exception cref="InvalidOperationException">if sourceProperty is not a collection</exception> 1243/// <exception cref="InvalidOperationException">if binding already exists</exception> 1244/// <exception cref="InvalidOperationException">if source or target are in added state</exception> 1245/// <exception cref="InvalidOperationException">if source or target are in deleted state</exception> 1288/// <exception cref="InvalidOperationException">if source or target are detached</exception> 1289/// <exception cref="InvalidOperationException">if source or target are in added state</exception> 1290/// <exception cref="InvalidOperationException">if sourceProperty is not a collection</exception> 1339/// <exception cref="InvalidOperationException">if link already exists</exception> 1340/// <exception cref="InvalidOperationException">if source or target are detached</exception> 1341/// <exception cref="InvalidOperationException">if source or target are in deleted state</exception> 1342/// <exception cref="InvalidOperationException">if sourceProperty is not a reference property</exception> 1379/// <exception cref="InvalidOperationException">if entity is already being tracked by the context</exception> 1476/// <exception cref="InvalidOperationException">if entity is already being tracked by the context</exception> 1493/// <exception cref="InvalidOperationException">if entity is already being tracked by the context</exception> 1514/// <exception cref="InvalidOperationException">if entity is not being tracked by the context</exception> 1653InvalidOperationException failure = null; 1840/// <exception cref="InvalidOperationException">if entity is already being tracked by the context</exception> 1841/// <exception cref="InvalidOperationException">if identity is pointing to another entity</exception> 2149/// <exception cref="InvalidOperationException">if ResolveType function returns a type not assignable to the userType</exception> 3468/// <exception cref="InvalidOperationException">Can only relate ends with keys.</exception> 3470/// <exception cref="InvalidOperationException">If adding relationship where one of the ends is in the deleted state.</exception> 3471/// <exception cref="InvalidOperationException">If attaching relationship where one of the ends is in the added or deleted state.</exception> 3755catch (InvalidOperationException ex) 4419catch (InvalidOperationException e) 5357catch (InvalidOperationException ex) 5455catch (InvalidOperationException e)
System\Data\Services\Client\DataServiceRequest.cs (2)
165catch (InvalidOperationException ex) 230catch (InvalidOperationException ex)
System\Data\Services\Client\Error.cs (25)
35internal static InvalidOperationException InvalidOperation(string message) 46internal static InvalidOperationException InvalidOperation(string message, Exception innerException) 77internal static InvalidOperationException HttpHeaderFailure(int errorCode, string message) 84internal static InvalidOperationException BatchStreamMissingBoundary() 92internal static InvalidOperationException BatchStreamContentExpected(BatchStreamState state) 100internal static InvalidOperationException BatchStreamContentUnexpected(BatchStreamState state) 107internal static InvalidOperationException BatchStreamGetMethodNotSupportInChangeset() 114internal static InvalidOperationException BatchStreamInvalidBatchFormat() 122internal static InvalidOperationException BatchStreamInvalidDelimiter(string delimiter) 129internal static InvalidOperationException BatchStreamMissingEndChangesetDelimiter() 137internal static InvalidOperationException BatchStreamInvalidHeaderValueSpecified(string headerValue) 145internal static InvalidOperationException BatchStreamInvalidContentLengthSpecified(string contentLength) 152internal static InvalidOperationException BatchStreamOnlyGETOperationsCanBeSpecifiedInBatch() 159internal static InvalidOperationException BatchStreamInvalidOperationHeaderSpecified() 167internal static InvalidOperationException BatchStreamInvalidHttpMethodName(string methodName) 174internal static InvalidOperationException BatchStreamMoreDataAfterEndOfBatch() 181internal static InvalidOperationException BatchStreamInternalBufferRequestTooSmall() 211internal static InvalidOperationException BatchStreamInvalidMethodHeaderSpecified(string header) 220internal static InvalidOperationException BatchStreamInvalidHttpVersionSpecified(string actualVersion, string expectedVersion) 229internal static InvalidOperationException BatchStreamInvalidNumberOfHeadersAtOperationStart(string header1, string header2) 238internal static InvalidOperationException BatchStreamMissingOrInvalidContentEncodingHeader(string headerName, string headerValue) 247internal static InvalidOperationException BatchStreamInvalidNumberOfHeadersAtChangeSetStart(string header1, string header2) 255internal static InvalidOperationException BatchStreamMissingContentTypeHeader(string headerName) 266internal static InvalidOperationException BatchStreamInvalidContentTypeSpecified(string headerName, string headerValue, string mime1, string mime2) 274internal static InvalidOperationException InternalError(InternalError value)
System\Data\Services\Client\GetReadStreamResult.cs (1)
149InvalidOperationException failure = null;
System\Data\Services\Client\QueryOperationResponseOfT.cs (1)
49/// <exception cref="InvalidOperationException">
System\Data\Services\Client\QueryResponse.cs (1)
64/// <exception cref="InvalidOperationException">
System\Data\Services\Client\QueryResult.cs (1)
135catch (InvalidOperationException ex)
System\Data\Services\Client\WebUtil.cs (1)
87internal static void GetHttpWebResponse(InvalidOperationException exception, ref HttpWebResponse response)
System.Data.Services.Design (3)
System\Data\Entity\Design\Common\EDesignUtil.cs (2)
69static internal InvalidOperationException InvalidOperation(string error) 71InvalidOperationException e = new InvalidOperationException(error);
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
363catch (InvalidOperationException ex)
System.Drawing (2)
commonui\System\Drawing\Image.cs (1)
112catch (InvalidOperationException e) {
commonui\System\Drawing\SystemFonts.cs (1)
243ex is InvalidOperationException ||
System.IdentityModel (74)
System\IdentityModel\Configuration\IdentityConfiguration.cs (5)
70/// <exception cref="InvalidOperationException">Thrown if loadConfig is set to true but there is no 97/// <exception cref="InvalidOperationException">Thrown if loadConfig is set to true but there is no 109/// <exception cref="InvalidOperationException">Thrown if there is no &lt;System.IdentityModel> configuration element</exception> 134/// <exception cref="InvalidOperationException">Thrown if there is no &lt;System.IdentityModel> configuration element</exception> 301/// <exception cref="InvalidOperationException">If this method is invoked more than once.</exception>
System\IdentityModel\Configuration\SecurityTokenServiceConfiguration.cs (1)
176/// <exception cref="InvalidOperationException">Unable to create a SecurityTokenService instance from the configuration.</exception>
System\IdentityModel\CryptoHelper.cs (3)
866catch (InvalidOperationException) 902catch (InvalidOperationException) 954catch (InvalidOperationException)
System\IdentityModel\EncryptedDataElement.cs (2)
42/// <exception cref="InvalidOperationException">When no cipher data has been read</exception> 153/// <exception cref="InvalidOperationException">When KeyIdentifier is null</exception>
System\IdentityModel\Metadata\MetadataSerializer.cs (1)
3335|| inner is InvalidOperationException
System\IdentityModel\Protocols\WSTrust\WSTrustRequestSerializer.cs (1)
71/// <exception cref="InvalidOperationException">An Issue Request for an Asymmetric Key did not specify UseKey.</exception>
System\IdentityModel\Protocols\WSTrust\WSTrustResponseSerializer.cs (1)
71/// <exception cref="InvalidOperationException">An Response for an IssueRequest does not contain the RequestedSecurityToken.</exception>
System\IdentityModel\RsaEncryptionCookieTransform.cs (2)
140/// <exception cref="InvalidOperationException">There are no decryption keys or none of the keys match.</exception> 259/// <exception cref="InvalidOperationException">The EncryptionKey is null.</exception>
System\IdentityModel\RsaSignatureCookieTransform.cs (3)
136/// <exception cref="InvalidOperationException">There are no verification keys.</exception> 228/// <exception cref="InvalidOperationException">The SigningKey is null.</exception> 230/// <exception cref="InvalidOperationException">The SigningKey is null, is not an RSACryptoServiceProvider, or does not contain a private key.</exception>
System\IdentityModel\Tokens\ConfigurationBasedIssuerNameRegistry.cs (2)
47/// <exception cref="InvalidOperationException">The configuration contains element that is not 180/// <exception cref="InvalidOperationException">The issuer specified by 'certificateThumbprint' argument has already been configured.</exception>
System\IdentityModel\Tokens\DefaultTokenReplayCache.cs (1)
106/// <exception cref="InvalidOperationException">Thrown if the expiration time is infinite.</exception>
System\IdentityModel\Tokens\EncryptedSecurityTokenHandler.cs (5)
112/// <exception cref="InvalidOperationException">One of the properties 'Configuration' or 'Configuration.ServiceTokenResolver' is null. This property is required for obtaining keys for decryption.</exception> 116/// <exception cref="InvalidOperationException">The ContainingCollection (<see cref="SecurityTokenHandlerCollection"/>) is unable to find a <see cref="SecurityTokenHandler"/> that is able to read the decrypted xml and return a <see cref="SecurityToken"/>.</exception> 228/// <exception cref="InvalidOperationException">If the <paramref name="reader"/> is not positioned at an EncryptedKey element.</exception> 280/// <exception cref="InvalidOperationException">The property 'Configuration' is null. This property is required for obtaining keys for encryption.</exception> 281/// <exception cref="InvalidOperationException">The ContaingCollection was unable to find a <see cref="SecurityTokenHandler"/> that is able to write
System\IdentityModel\Tokens\KerberosSecurityTokenHandler.cs (2)
67/// <exception cref="InvalidOperationException">Configuration <see cref="SecurityTokenHandlerConfiguration"/>is null.</exception> 68/// <exception cref="InvalidOperationException">The <see cref="WindowsIdentity"/> of the <see cref="KerberosReceiverSecurityToken"/>is null.</exception>
System\IdentityModel\Tokens\KeyInfoSerializer.cs (1)
333return ((e is ArgumentException) || (e is FormatException) || (e is InvalidOperationException));
System\IdentityModel\Tokens\RsaSecurityKey.cs (1)
245catch (InvalidOperationException)
System\IdentityModel\Tokens\RsaSecurityToken.cs (1)
108catch (InvalidOperationException ex)
System\IdentityModel\Tokens\RsaSecurityTokenHandler.cs (2)
146/// <exception cref="InvalidOperationException">Configuration <see cref="SecurityTokenHandlerConfiguration"/>is null.</exception> 203/// <exception cref="InvalidOperationException">The input argument 'token' is either null or not of type
System\IdentityModel\Tokens\Saml2Assertion.cs (1)
202/// <exception cref="InvalidOperationException">When no source data is available</exception>
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (11)
80/// <exception cref="InvalidOperationException">Custom configuration specified was invalid.</exception> 307/// <exception cref="InvalidOperationException">Configuration <see cref="SecurityTokenHandlerConfiguration"/>is null.</exception> 310/// <exception cref="InvalidOperationException">Saml2SecurityToken.Assertion is null.</exception> 607|| inner is InvalidOperationException 624/// <exception cref="InvalidOperationException">Is thrown if 'Configuration', 'Configruation.IssuerTokenResolver' or 'Configuration.ServiceTokenResolver is null.</exception> 838|| inner is InvalidOperationException 1632/// <exception cref="InvalidOperationException">Configuration or Configuration.TokenReplayCache property is null.</exception> 1878/// <exception cref="InvalidOperationException">Will be thrown if the Saml2Attribute does not contain any 2798/// <exception cref="InvalidOperationException"> The <paramref name="data"/> has both <see cref="EncryptingCredentials"/> and <see cref="ReceivedEncryptingCredentials"/> properties null.</exception> 2799/// <exception cref="InvalidOperationException">The <paramref name="data"/> must have a <see cref="Saml2Subject"/> if no <see cref="Saml2Statement"/> are present.</exception> 2800/// <exception cref="InvalidOperationException">The SAML2 authentication, attribute, and authorization decision <see cref="Saml2Statement"/> require a <see cref="Saml2Subject"/>.</exception>
System\IdentityModel\Tokens\SamlAssertion.cs (1)
679/// <exception cref="InvalidOperationException">When no source data is available</exception>
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (7)
85/// <exception cref="InvalidOperationException">Custom configuration specified was invalid.</exception> 768/// <exception cref="InvalidOperationException">Configuration or Configuration.TokenReplayCache property is null.</exception> 953/// <exception cref="InvalidOperationException">Configuration <see cref="SecurityTokenHandlerConfiguration"/>is null.</exception> 1079/// <exception cref="InvalidOperationException">If more than one UPN claim is contained in 1429/// <exception cref="InvalidOperationException">Will be thrown if the SamlAttribute does not contain any valid SamlAttributeValues.</exception> 1531/// <exception cref="InvalidOperationException">Is thrown if 'Configuration' or 'Configruation.IssuerTokenResolver' is null.</exception> 3453/// <exception cref="InvalidOperationException">Unable to read the KeyIdentifier from the XmlReader.</exception>
System\IdentityModel\Tokens\SecurityTokenDescriptor.cs (1)
43/// <exception cref="InvalidOperationException">Thrown if not an absolute URI.</exception>
System\IdentityModel\Tokens\SecurityTokenElement.cs (1)
132/// <exception cref="InvalidOperationException">If either parameter 'securityTokenXml' or 'securityTokenHandlers' are null.</exception>
System\IdentityModel\Tokens\SecurityTokenHandlerCollection.cs (1)
353/// <exception cref="InvalidOperationException">A <see cref="SecurityTokenHandler"/> cannot be found that can validate the <see cref="SecurityToken"/>.</exception>
System\IdentityModel\Tokens\SecurityTokenSerializerAdapter.cs (1)
124/// <exception cref="InvalidOperationException">If the <paramref name="reader"/> is not positioned at KeyInfo element.</exception>
System\IdentityModel\Tokens\SessionSecurityToken.cs (3)
128/// <exception cref="InvalidOperationException">The value of lifetime &lt;= TimeSpan.Zero."</exception> 149/// <exception cref="InvalidOperationException">The value of lifetime &lt;= TimeSpan.Zero."</exception> 996/// <exception cref="InvalidOperationException">If 'windowsLogonName' is not of the form domain\\user or user@domain.</exception>
System\IdentityModel\Tokens\SessionSecurityTokenHandler.cs (4)
71/// <exception cref="InvalidOperationException">Is thrown if 'tokenLifetime' is less than or equal to TimeSpan.Zero.</exception> 93/// <exception cref="InvalidOperationException">Custom configuration specified was invalid.</exception> 669/// <exception cref="InvalidOperationException">Thrown if 'Configuration' is null.</exception> 734/// <exception cref="InvalidOperationException">The input argument 'token' is either null or not of type
System\IdentityModel\Tokens\UserNameSecurityTokenHandler.cs (2)
94/// <exception cref="InvalidOperationException">An unknown element was found in the SecurityToken or 172/// <exception cref="InvalidOperationException">The given token is not a UsernameSecurityToken.</exception>
System\IdentityModel\Tokens\WindowsUserNameSecurityTokenHandler.cs (1)
50/// <exception cref="InvalidOperationException">Configuration <see cref="SecurityTokenHandlerConfiguration"/>is null.</exception>
System\IdentityModel\Tokens\X509AsymmetricSecurityKey.cs (1)
480catch (InvalidOperationException)
System\IdentityModel\Tokens\X509DataSecurityKeyIdentifierClauseSerializer.cs (1)
62/// <exception cref="InvalidOperationException">The XmlReader is not positioned at a valid X.509 SecurityTokenReference.</exception>
System\IdentityModel\Tokens\X509SecurityTokenHandler.cs (4)
89/// <exception cref="InvalidOperationException">Custom configuration specified was invalid.</exception> 492/// <exception cref="InvalidOperationException">Configuration <see cref="SecurityTokenHandlerConfiguration"/>is null.</exception> 494/// <exception cref="InvalidOperationException">Configuration.IssuerNameRegistry is null.</exception> 613/// <exception cref="InvalidOperationException">The property WriteXmlDSigDefinedClauseTypes is false.</exception>
System.IO.Log (2)
System\IO\Log\AppendHelper.cs (1)
74catch (InvalidOperationException exception)
System\IO\Log\LogRecordSequence.cs (1)
958catch (InvalidOperationException)
System.Net (1)
net\PeerToPeer\PeerNameRegistration.cs (1)
674catch (InvalidOperationException)
System.Runtime.Caching (1)
System\Caching\SRef.cs (1)
103catch (InvalidOperationException) {
System.Runtime.Serialization (1)
System\Runtime\Serialization\DataContractSet.cs (1)
409catch (InvalidOperationException)
System.ServiceModel (37)
System\ServiceModel\Administration\ServiceInfo.cs (1)
155catch (InvalidOperationException e)
System\ServiceModel\Channels\HttpHeaderInfo.cs (1)
109catch (InvalidOperationException ex)
System\ServiceModel\Channels\MessageFault.cs (1)
94catch (InvalidOperationException e)
System\ServiceModel\Channels\MsmqDecodeHelper.cs (1)
455catch (InvalidOperationException e)
System\ServiceModel\Channels\PeerFlooder.cs (1)
484|| (exception is InvalidOperationException)
System\ServiceModel\Channels\PeerNeighborManager.cs (1)
424if (e is InvalidOperationException || e is CommunicationException || e is TimeoutException)
System\ServiceModel\Channels\PeerSecurityManager.cs (1)
183catch (InvalidOperationException e)
System\ServiceModel\Channels\PnrpPeerResolver.cs (2)
1663if (e is InvalidOperationException || e is TimeoutException) 1671catch (InvalidOperationException e)
System\ServiceModel\Channels\ServiceChannel.cs (1)
925catch (InvalidOperationException e)
System\ServiceModel\Channels\SharedConnectionListener.cs (1)
1181catch (InvalidOperationException exception)
System\ServiceModel\ComIntegration\ComPlusTypeLoader.cs (1)
400catch (InvalidOperationException e)
System\ServiceModel\Description\MessageContractImporter.cs (1)
1732catch (InvalidOperationException ex)
System\ServiceModel\Diagnostics\PerformanceCounters.cs (1)
178catch (InvalidOperationException)
System\ServiceModel\Dispatcher\ChannelDispatcher.cs (5)
695catch (InvalidOperationException e) 702InvalidOperationException CreateOuterExceptionWithEndpointsInformation(InvalidOperationException e) 761catch (InvalidOperationException e) 780catch (InvalidOperationException e)
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (1)
446catch (System.InvalidOperationException e)
System\ServiceModel\Dispatcher\InstanceContextManager.cs (2)
101catch (InvalidOperationException e) 141catch (InvalidOperationException e)
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (4)
130catch (InvalidOperationException e) 240catch (InvalidOperationException e) 308catch (InvalidOperationException e) 392catch (InvalidOperationException e)
System\ServiceModel\InstanceContext.cs (1)
381catch (InvalidOperationException e)
System\ServiceModel\MsmqException.cs (2)
130faultSender = true; faultReceiver = true; outerExceptionType = typeof(InvalidOperationException); break; 132faultSender = false; faultReceiver = false; outerExceptionType = typeof(InvalidOperationException); break;
System\ServiceModel\Security\CryptoHelper.cs (2)
181catch (InvalidOperationException) 284catch (InvalidOperationException)
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (1)
685|| e is InvalidOperationException
System\ServiceModel\Security\SecuritySessionFilter.cs (1)
71|| (e is InvalidOperationException)
System\ServiceModel\Security\WSSecurityTokenSerializer.cs (1)
206return ((e is ArgumentException) || (e is FormatException) || (e is InvalidOperationException));
System\ServiceModel\Security\WsSecurityTokenSerializerAdapter.cs (1)
332/// <exception cref="InvalidOperationException">If the <paramref name="reader"/> is not positioned at KeyInfo element.</exception>
System\ServiceModel\Security\WSTrustServiceContract.cs (2)
1970/// <exception cref="InvalidOperationException">The namespace 'ns' is not a recognized WS-Trust namespace.</exception> 2032/// <exception cref="InvalidOperationException">The namespace 'ns' is not a recognized WS-Trust namespace.</exception>
System.ServiceModel.Activation (2)
System\ServiceModel\Activation\HostedHttpRequestAsyncResult.cs (1)
783InvalidOperationException invalidOpException = new InvalidOperationException(SR.Hosting_TransportBindingNotFound(OriginalRequestUri.ToString()));
System\ServiceModel\ServiceHostingEnvironment.cs (1)
1417InvalidOperationException exception = new InvalidOperationException(
System.ServiceModel.Discovery (3)
System\ServiceModel\Discovery\DiscoveryClient.cs (1)
500[Fx.Tag.Throws(typeof(InvalidOperationException), "If there are more than one operations pending that are associated with the specified userState.")]
System\ServiceModel\Discovery\DiscoveryClientChannelBase.cs (2)
251catch (InvalidOperationException invalidOperationException) 610catch (InvalidOperationException invalidOperationException)
System.ServiceModel.Web (4)
System\ServiceModel\Dispatcher\DataContractJsonSerializerOperationFormatter.cs (3)
180catch (System.InvalidOperationException e) 372catch (System.InvalidOperationException e) 469catch (System.InvalidOperationException e)
System\ServiceModel\Dispatcher\HttpUnhandledOperationInvoker.cs (1)
123catch (InvalidOperationException)
System.Web (14)
AspNetSynchronizationContext.cs (2)
112InvalidOperationException ex = new InvalidOperationException(SR.GetString(SR.Async_operation_cannot_be_started)); 152InvalidOperationException ex = new InvalidOperationException(SR.GetString(SR.Async_operation_cannot_be_pending));
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (1)
136new CodeTypeReference(typeof(System.InvalidOperationException)),
Compilation\WsdlBuildProvider.cs (1)
38catch (InvalidOperationException e) {
Hosting\ApplicationManager.cs (1)
1268catch (InvalidOperationException) {
ModelBinding\Error.cs (3)
8public static InvalidOperationException BindingBehavior_ValueNotFound(string fieldName) { 32public static InvalidOperationException ModelBinderProviderCollection_BinderForTypeNotFound(Type modelType) { 64public static InvalidOperationException ModelBindingContext_ModelMetadataMustBeSet() {
parent\DataAnnotations\DataAnnotations\LocalizableString.cs (1)
97/// <exception cref="System.InvalidOperationException">
Security\MembershipPasswordAttribute.cs (3)
237/// <exception cref="System.InvalidOperationException"> 267/// <exception cref="System.InvalidOperationException"> 296/// <exception cref="System.InvalidOperationException">
Util\ExceptionUtil.cs (1)
28static internal InvalidOperationException UnexpectedError(string methodName) {
Util\FastPropertyAccessor.cs (1)
150ConstructorInfo cons = typeof(InvalidOperationException).GetConstructor(Type.EmptyTypes);
System.Web.DataVisualization (6)
Common\DataManager\DataPoint.cs (2)
443catch (InvalidOperationException) 1367 catch(InvalidOperationException)
Common\General\Chart.cs (3)
332catch (InvalidOperationException) 753catch (InvalidOperationException) 1159catch (InvalidOperationException)
WebForm\ChartWebControl.cs (1)
919catch (InvalidOperationException)
System.Web.DynamicData (3)
DynamicData\FilterRepeater.cs (1)
166} catch (InvalidOperationException e) {
DynamicData\FilterUserControlBase.cs (2)
153} catch (InvalidOperationException e) { 181} catch (InvalidOperationException e) {
System.Web.Extensions (4)
Compilation\WCFModel\MapFileLoader.cs (1)
254catch (InvalidOperationException ex)
Compilation\WCFModel\VSWCFServiceContractGenerator.cs (3)
1470else if (ex is InvalidOperationException) 1486generationError = new ProxyGenerationError(ProxyGenerationError.GeneratorState.LoadMetadata, metadataItem.FileName, (InvalidOperationException)ex); 1624catch (InvalidOperationException)
System.Windows.Forms (5)
winforms\Managed\System\WinForms\Control.cs (2)
14528catch (InvalidOperationException) { 14543catch (InvalidOperationException) {
winforms\Managed\System\WinForms\DateTimePicker.cs (1)
1587catch (InvalidOperationException) { } //if the destination thread does not exist, don't send.
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
2272catch (InvalidOperationException) { } //if the destination thread does not exist, don't send.
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyDescriptorGridEntry.cs (1)
964} catch (InvalidOperationException ex) {
System.Windows.Forms.DataVisualization (5)
Common\DataManager\DataPoint.cs (2)
443catch (InvalidOperationException) 1367 catch(InvalidOperationException)
Common\General\Chart.cs (3)
332catch (InvalidOperationException) 753catch (InvalidOperationException) 1159catch (InvalidOperationException)
System.Workflow.Activities (21)
Rules\Design\Dialogs\BasicBrowserDialog.cs (4)
157catch (InvalidOperationException ex) 180catch (InvalidOperationException ex) 203catch (InvalidOperationException ex) 238catch (InvalidOperationException ex)
Rules\Executor.cs (1)
686InvalidOperationException exception = new InvalidOperationException(Messages.ConditionMustBeBoolean);
Rules\Expressions.cs (14)
484InvalidOperationException exception = new InvalidOperationException(message); 997InvalidOperationException exception = new InvalidOperationException(message); 1169InvalidOperationException exception = new InvalidOperationException(message); 1179InvalidOperationException exception = new InvalidOperationException(message); 1209InvalidOperationException exception = new InvalidOperationException(message); 1459InvalidOperationException exception = new InvalidOperationException(message); 1469InvalidOperationException exception = new InvalidOperationException(message); 1517InvalidOperationException exception = new InvalidOperationException(message); 2168InvalidOperationException exception = new InvalidOperationException(message); 2438InvalidOperationException exception = new InvalidOperationException(message); 2448InvalidOperationException exception = new InvalidOperationException(message); 2492InvalidOperationException exception = new InvalidOperationException(message); 3033InvalidOperationException exception = new InvalidOperationException(Messages.ExpressionNotValidated); 3391InvalidOperationException exception = new InvalidOperationException(Messages.ExpressionNotValidated);
StateMachineWorkflowInstance.cs (2)
64catch (InvalidOperationException) 281catch (InvalidOperationException)
System.Workflow.Runtime (23)
Hosting\SqlWorkflowPersistenceService.cs (1)
960catch (InvalidOperationException ioe)
System\Activities\Statements\Interop.cs (1)
321catch (InvalidOperationException e)
Tracking.cs (1)
136catch (InvalidOperationException)
WorkflowExecutor.cs (1)
1354catch (InvalidOperationException)
WorkflowInstance.cs (17)
81catch (InvalidOperationException) 101catch (InvalidOperationException) 124catch (InvalidOperationException) 154catch (InvalidOperationException) 181catch (InvalidOperationException) 220catch (InvalidOperationException) 257catch (InvalidOperationException) 283catch (InvalidOperationException) 294catch (InvalidOperationException) 318catch (InvalidOperationException) 345catch (InvalidOperationException) 369catch (InvalidOperationException) 393catch (InvalidOperationException) 415catch (InvalidOperationException) 438catch (InvalidOperationException) 459catch (InvalidOperationException) 496catch (InvalidOperationException)
WorkflowRuntime.cs (2)
871/// <exception cref="InvalidOperationException"/> 1332catch (InvalidOperationException)
System.Xml.Linq (19)
System\Xml\Linq\XLinq.cs (19)
1532/// <exception cref="InvalidOperationException"> 1554/// <exception cref="InvalidOperationException"> 1574/// <exception cref="InvalidOperationException"> 1599/// <exception cref="InvalidOperationException"> 1647/// <exception cref="InvalidOperationException"> 1826/// <exception cref="InvalidOperationException"> 1855/// <exception cref="InvalidOperationException"> 2045/// <exception cref="InvalidOperationException"> 2063/// <exception cref="InvalidOperationException"> 2502/// <exception cref="InvalidOperationException"> 4584/// <exception cref="InvalidOperationException"> 4625/// <exception cref="InvalidOperationException"> 4666/// <exception cref="InvalidOperationException"> 4707/// <exception cref="InvalidOperationException"> 4748/// <exception cref="InvalidOperationException"> 4789/// <exception cref="InvalidOperationException"> 4830/// <exception cref="InvalidOperationException"> 4912/// <exception cref="InvalidOperationException"> 6676/// <exception cref="InvalidOperationException">
UIAutomationClient (2)
MS\Internal\Automation\HwndProxyElementProvider.cs (1)
476catch (InvalidOperationException /*err*/)
MS\Internal\Automation\WindowInteractionStateTracker.cs (1)
99catch (InvalidOperationException)
WindowsBase (60)
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptionTransform.cs (1)
217/// <exception cref="InvalidOperationException">
Base\MS\Internal\IO\Packaging\XmlDigitalSignatureProcessor.cs (1)
95/// <exception cref="InvalidOperationException">throws if no certificate found in the signature</exception>
Base\MS\Internal\Verify.cs (1)
30/// <exception cref="InvalidOperationException">
Base\System\IO\Packaging\Package.cs (4)
282/// <exception cref="InvalidOperationException">If a PackagePart with the given partUri already exists in the Package</exception> 305/// <exception cref="InvalidOperationException">If a PackagePart with the given partUri already exists in the Package</exception> 354/// <exception cref="InvalidOperationException">If the requested part does not exists in the Package</exception> 751/// <exception cref="InvalidOperationException">If the requested relationship does not exist in the Package</exception>
Base\System\IO\Packaging\PackageDigitalSignature.cs (13)
82/// <exception cref="InvalidOperationException">Thrown if associated digital signature has been deleted.</exception> 101/// <exception cref="InvalidOperationException">Thrown if associated digital signature has been deleted.</exception> 119/// <exception cref="InvalidOperationException">Thrown if associated digital signature has been deleted.</exception> 134/// <exception cref="InvalidOperationException">Thrown if associated digital signature has been deleted.</exception> 149/// <exception cref="InvalidOperationException">Thrown if associated digital signature has been deleted.</exception> 163/// <exception cref="InvalidOperationException">Thrown if associated digital signature has been deleted.</exception> 178/// <exception cref="InvalidOperationException">Thrown if associated digital signature has been deleted.</exception> 192/// <exception cref="InvalidOperationException">Thrown if associated digital signature has been deleted.</exception> 214/// <exception cref="InvalidOperationException">Thrown if associated digital signature has been deleted.</exception> 235/// <exception cref="InvalidOperationException">Thrown if associated digital signature has been deleted.</exception> 268/// <exception cref="InvalidOperationException">Thrown if associated digital signature has been deleted.</exception> 282/// <exception cref="InvalidOperationException">Thrown if associated digital signature has been deleted.</exception> 299/// <exception cref="InvalidOperationException">Thrown if associated digital signature has been deleted.</exception>
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (5)
437/// <exception cref="InvalidOperationException">Thrown if any TransformMapping 527catch (InvalidOperationException) 601/// <exception cref="InvalidOperationException">Cannot CounterSign an unsigned package.</exception> 622/// <exception cref="InvalidOperationException">Cannot CounterSign an unsigned package.</exception> 654/// <exception cref="InvalidOperationException">Cannot CounterSign an unsigned package.</exception>
Base\System\IO\Packaging\PackagePart.cs (30)
165/// <exception cref="InvalidOperationException">If this part has been deleted</exception> 166/// <exception cref="InvalidOperationException">If the parent package has been closed or disposed</exception> 188/// <exception cref="InvalidOperationException">If this part has been deleted</exception> 189/// <exception cref="InvalidOperationException">If the parent package has been closed or disposed</exception> 190/// <exception cref="InvalidOperationException">If the subclass fails to provide a non-null content type value.</exception> 233/// <exception cref="InvalidOperationException">If this part has been deleted</exception> 234/// <exception cref="InvalidOperationException">If the parent package has been closed or disposed</exception> 248/// <exception cref="InvalidOperationException">If this part has been deleted</exception> 249/// <exception cref="InvalidOperationException">If the parent package has been closed or disposed</exception> 304/// <exception cref="InvalidOperationException">If this part has been deleted</exception> 305/// <exception cref="InvalidOperationException">If the parent package has been closed or disposed</exception> 322/// <exception cref="InvalidOperationException">If this part has been deleted</exception> 323/// <exception cref="InvalidOperationException">If the parent package has been closed or disposed</exception> 345/// <exception cref="InvalidOperationException">If this part has been deleted</exception> 346/// <exception cref="InvalidOperationException">If the parent package has been closed or disposed</exception> 406/// <exception cref="InvalidOperationException">If this part has been deleted</exception> 407/// <exception cref="InvalidOperationException">If the parent package has been closed or disposed</exception> 430/// <exception cref="InvalidOperationException">If this part has been deleted</exception> 431/// <exception cref="InvalidOperationException">If the parent package has been closed or disposed</exception> 455/// <exception cref="InvalidOperationException">If this part has been deleted</exception> 456/// <exception cref="InvalidOperationException">If the parent package has been closed or disposed</exception> 480/// <exception cref="InvalidOperationException">If this part has been deleted</exception> 481/// <exception cref="InvalidOperationException">If the parent package has been closed or disposed</exception> 498/// <exception cref="InvalidOperationException">If this part has been deleted</exception> 499/// <exception cref="InvalidOperationException">If the parent package has been closed or disposed</exception> 523/// <exception cref="InvalidOperationException">If this part has been deleted</exception> 524/// <exception cref="InvalidOperationException">If the parent package has been closed or disposed</exception> 528/// <exception cref="InvalidOperationException">If the requested relationship does not exist in the Package</exception> 546/// <exception cref="InvalidOperationException">If this part has been deleted</exception> 547/// <exception cref="InvalidOperationException">If the parent package has been closed or disposed</exception>
Base\System\IO\Packaging\RightsManagementInformation.cs (1)
92/// <exception cref="InvalidOperationException">
Base\System\Windows\Freezable.cs (3)
187/// <exception cref="System.InvalidOperationException">This exception 249/// <exception cref="System.InvalidOperationException"> 735/// <exception cref="System.InvalidOperationException">This exception
Base\System\Windows\Media\Matrix.cs (1)
442/// <exception cref="InvalidOperationException">
WsatConfig (1)
Configuration\Utilities.cs (1)
227(e is System.OutOfMemoryException) || (e is System.InvalidOperationException) ||
WsatUI (1)
Configuration\Utilities.cs (1)
227(e is System.OutOfMemoryException) || (e is System.InvalidOperationException) ||
XamlBuildTask (2)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (1)
820CreateType = new CodeTypeReference(typeof(InvalidOperationException)),
Microsoft\Build\Tasks\Xaml\ClassImporter.cs (1)
406catch (InvalidOperationException e)