Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / CompilerServices / DecimalConstantAttribute.cs / 1305376 / DecimalConstantAttribute.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== // Note: If you add a new ctor overloads you need to update ParameterInfo.RawDefaultValue namespace System.Runtime.CompilerServices { [Serializable] [AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter, Inherited=false)] [System.Runtime.InteropServices.ComVisible(true)] public sealed class DecimalConstantAttribute : Attribute { [CLSCompliant(false)] public DecimalConstantAttribute( byte scale, byte sign, uint hi, uint mid, uint low ) { dec = new System.Decimal((int) low, (int)mid, (int)hi, (sign != 0), scale); } public DecimalConstantAttribute( byte scale, byte sign, int hi, int mid, int low ) { dec = new System.Decimal(low, mid, hi, (sign != 0), scale); } public System.Decimal Value { get { return dec; } } private System.Decimal dec; } } // 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
- CharEnumerator.cs
- ItemsControlAutomationPeer.cs
- FileStream.cs
- Int32Converter.cs
- QilName.cs
- TextAction.cs
- FileAuthorizationModule.cs
- TextCompositionEventArgs.cs
- KeyFrames.cs
- UnmanagedBitmapWrapper.cs
- SpecialTypeDataContract.cs
- SqlDataSourceQueryEditorForm.cs
- DataGridItemEventArgs.cs
- PrintController.cs
- BindingGroup.cs
- FixedSOMTextRun.cs
- MatrixAnimationUsingKeyFrames.cs
- BitmapVisualManager.cs
- CancellationTokenSource.cs
- ScrollItemProviderWrapper.cs
- SafeEventLogReadHandle.cs
- AnnotationResourceChangedEventArgs.cs
- DXD.cs
- BindingListCollectionView.cs
- CryptoHandle.cs
- DataMember.cs
- SimpleRecyclingCache.cs
- Bits.cs
- StringFreezingAttribute.cs
- WpfGeneratedKnownTypes.cs
- ArrayHelper.cs
- ForeignKeyConstraint.cs
- WebPartTracker.cs
- DataGridViewRowPrePaintEventArgs.cs
- CompilationLock.cs
- securitymgrsite.cs
- SafeEventLogWriteHandle.cs
- Quaternion.cs
- RoleGroupCollectionEditor.cs
- BitmapFrameEncode.cs
- ListComponentEditor.cs
- PrePostDescendentsWalker.cs
- ListChangedEventArgs.cs
- WebContext.cs
- ISessionStateStore.cs
- DataSourceCache.cs
- BitmapEffectInputData.cs
- PageAsyncTaskManager.cs
- FormsAuthenticationEventArgs.cs
- Debugger.cs
- IntegerFacetDescriptionElement.cs
- IdnMapping.cs
- WindowsPrincipal.cs
- DirectoryNotFoundException.cs
- MILUtilities.cs
- CodeGotoStatement.cs
- SplashScreenNativeMethods.cs
- EmptyElement.cs
- PrinterSettings.cs
- RuntimeEnvironment.cs
- Operator.cs
- TemplateContent.cs
- UnsafeNativeMethods.cs
- DataListItem.cs
- UiaCoreProviderApi.cs
- HtmlAnchor.cs
- OutputCacheSettingsSection.cs
- __ConsoleStream.cs
- ControlCollection.cs
- TextTreeDeleteContentUndoUnit.cs
- ThreadAttributes.cs
- RegexBoyerMoore.cs
- RuntimeCompatibilityAttribute.cs
- ListSortDescription.cs
- ObjectDisposedException.cs
- ConstraintCollection.cs
- SymLanguageType.cs
- EntityContainerRelationshipSet.cs
- SamlDoNotCacheCondition.cs
- MessageEncodingBindingElementImporter.cs
- Site.cs
- MediaElementAutomationPeer.cs
- WindowsGraphics2.cs
- DateTimeAutomationPeer.cs
- DataBindingList.cs
- ApplicationInfo.cs
- DiscreteKeyFrames.cs
- UpdatableWrapper.cs
- HandlerMappingMemo.cs
- COM2ComponentEditor.cs
- StandardBindingOptionalReliableSessionElement.cs
- NullableIntAverageAggregationOperator.cs
- ModuleElement.cs
- InputQueue.cs
- StatusBarPanelClickEvent.cs
- XmlEncodedRawTextWriter.cs
- ReverseQueryOperator.cs
- CapabilitiesState.cs
- DispatcherExceptionEventArgs.cs
- StringDictionary.cs