Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / InvalidProgramException.cs / 1305376 / InvalidProgramException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: InvalidProgramException ** ** ** Purpose: The exception class for programs with invalid IL or bad metadata. ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; [Serializable] [System.Runtime.InteropServices.ComVisible(true)] public sealed class InvalidProgramException : SystemException { public InvalidProgramException() : base(Environment.GetResourceString("InvalidProgram_Default")) { SetErrorCode(__HResults.COR_E_INVALIDPROGRAM); } public InvalidProgramException(String message) : base(message) { SetErrorCode(__HResults.COR_E_INVALIDPROGRAM); } public InvalidProgramException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_INVALIDPROGRAM); } internal InvalidProgramException(SerializationInfo info, StreamingContext context) : base(info, context) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ToolStripSystemRenderer.cs
- SqlLiftIndependentRowExpressions.cs
- SizeFConverter.cs
- DetailsViewPageEventArgs.cs
- PropertyGroupDescription.cs
- ObjectCloneHelper.cs
- Padding.cs
- MethodToken.cs
- FillRuleValidation.cs
- XamlReaderConstants.cs
- LostFocusEventManager.cs
- SerializationBinder.cs
- ListViewItemSelectionChangedEvent.cs
- SynchronizingStream.cs
- HttpCapabilitiesSectionHandler.cs
- MasterPageBuildProvider.cs
- SkipStoryboardToFill.cs
- ModelTreeEnumerator.cs
- Types.cs
- StandardToolWindows.cs
- InputReferenceExpression.cs
- PackagingUtilities.cs
- ParameterBuilder.cs
- ListMarkerLine.cs
- HtmlElementErrorEventArgs.cs
- BitmapEffectGeneralTransform.cs
- HttpWriter.cs
- Rfc2898DeriveBytes.cs
- BufferModesCollection.cs
- QueryableFilterUserControl.cs
- WpfSharedBamlSchemaContext.cs
- InternalBufferOverflowException.cs
- ImportContext.cs
- BooleanConverter.cs
- ComponentCommands.cs
- AdRotator.cs
- FederatedMessageSecurityOverHttpElement.cs
- EventLogger.cs
- MetafileEditor.cs
- Compiler.cs
- ListBindableAttribute.cs
- BamlBinaryReader.cs
- ScrollViewerAutomationPeer.cs
- UrlPath.cs
- CompositeActivityTypeDescriptorProvider.cs
- PriorityQueue.cs
- PropertyGridDesigner.cs
- HashCodeCombiner.cs
- SettingsProviderCollection.cs
- ListBoxChrome.cs
- PrinterResolution.cs
- DrawingGroup.cs
- Transaction.cs
- Config.cs
- XmlBinaryWriter.cs
- BooleanFacetDescriptionElement.cs
- GridItem.cs
- SmiEventSink_Default.cs
- UserCancellationException.cs
- DigitShape.cs
- _CacheStreams.cs
- Convert.cs
- Keywords.cs
- Vector3DValueSerializer.cs
- CompositeDispatchFormatter.cs
- DbDataSourceEnumerator.cs
- SizeChangedEventArgs.cs
- FontFamilyValueSerializer.cs
- DataGridViewTextBoxColumn.cs
- BaseWebProxyFinder.cs
- PerformanceCounter.cs
- DataRecordObjectView.cs
- ContainerFilterService.cs
- Point3DAnimationUsingKeyFrames.cs
- SingleObjectCollection.cs
- Pipe.cs
- ProtectedProviderSettings.cs
- CfgParser.cs
- SqlDataSourceCache.cs
- ParenthesizePropertyNameAttribute.cs
- CaseInsensitiveComparer.cs
- regiisutil.cs
- ForeignKeyConstraint.cs
- M3DUtil.cs
- XamlPathDataSerializer.cs
- X509CertificateTrustedIssuerElement.cs
- RealProxy.cs
- MediaEntryAttribute.cs
- FixedPageAutomationPeer.cs
- SerializationHelper.cs
- BinarySecretSecurityToken.cs
- XmlTextReaderImpl.cs
- listitem.cs
- ObjectParameterCollection.cs
- ZipIOLocalFileBlock.cs
- CustomBindingElement.cs
- WizardForm.cs
- SectionVisual.cs
- WebPartTracker.cs
- InputLanguageSource.cs