Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / clr / src / BCL / System / Runtime / CompilerServices / DecimalConstantAttribute.cs / 1 / 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. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SqlProfileProvider.cs
- VectorCollectionValueSerializer.cs
- WCFBuildProvider.cs
- QueryConverter.cs
- Int32AnimationBase.cs
- Int64AnimationBase.cs
- PathStreamGeometryContext.cs
- EpmTargetTree.cs
- XmlImplementation.cs
- ClientUrlResolverWrapper.cs
- CapabilitiesUse.cs
- DPAPIProtectedConfigurationProvider.cs
- DataControlLinkButton.cs
- BaseConfigurationRecord.cs
- ChoiceConverter.cs
- TemplateColumn.cs
- Instrumentation.cs
- DeferredReference.cs
- WindowInteropHelper.cs
- ResXResourceReader.cs
- SetterBase.cs
- ParameterCollectionEditorForm.cs
- CodeTryCatchFinallyStatement.cs
- WebProxyScriptElement.cs
- NetPeerTcpBindingElement.cs
- CustomError.cs
- XmlUtf8RawTextWriter.cs
- InputElement.cs
- Animatable.cs
- NeutralResourcesLanguageAttribute.cs
- IndividualDeviceConfig.cs
- Error.cs
- ScaleTransform3D.cs
- DocumentSchemaValidator.cs
- PropertySegmentSerializer.cs
- TreeViewDesigner.cs
- ChineseLunisolarCalendar.cs
- DBConcurrencyException.cs
- StandardToolWindows.cs
- Reference.cs
- WindowsFormsLinkLabel.cs
- RunWorkerCompletedEventArgs.cs
- PropertyChangedEventArgs.cs
- ChannelOptions.cs
- IgnoreFlushAndCloseStream.cs
- EventDriven.cs
- Converter.cs
- RelationshipDetailsRow.cs
- TableItemProviderWrapper.cs
- DashStyles.cs
- TextEditorCopyPaste.cs
- Rect3DValueSerializer.cs
- WebPartMinimizeVerb.cs
- ArithmeticException.cs
- ProcessHost.cs
- RenderOptions.cs
- ServiceContractViewControl.cs
- XmlDataLoader.cs
- DropDownList.cs
- CheckBoxAutomationPeer.cs
- ellipse.cs
- FileRegion.cs
- SchemaComplexType.cs
- AnnotationComponentChooser.cs
- SingleAnimationUsingKeyFrames.cs
- KnownTypeDataContractResolver.cs
- CookieHandler.cs
- Int32Collection.cs
- FontWeightConverter.cs
- xml.cs
- Peer.cs
- HostedTransportConfigurationManager.cs
- ColorConverter.cs
- VariableQuery.cs
- HtmlMeta.cs
- ProjectionCamera.cs
- StringPropertyBuilder.cs
- ProxyFragment.cs
- DispatcherExceptionFilterEventArgs.cs
- ListBox.cs
- SqlUtils.cs
- PersonalizationStateInfoCollection.cs
- CardSpaceSelector.cs
- ConnectionConsumerAttribute.cs
- HtmlAnchor.cs
- SourceFileBuildProvider.cs
- PopupControlService.cs
- StylusPointPropertyInfoDefaults.cs
- DelegateSerializationHolder.cs
- DateTimeFormatInfo.cs
- DiscoveryClientElement.cs
- ListControl.cs
- UInt16.cs
- NestPullup.cs
- ServiceInfo.cs
- Section.cs
- AuthorizationRule.cs
- GlobalAclOperationRequirement.cs
- RotateTransform.cs
- FormatException.cs