Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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. // // ==--== // 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
- ServiceModelPerformanceCounters.cs
- StringExpressionSet.cs
- TickBar.cs
- KeyInterop.cs
- InternalDuplexChannelListener.cs
- UIElementPropertyUndoUnit.cs
- TextContainerChangedEventArgs.cs
- OleDbWrapper.cs
- BamlWriter.cs
- ResourceAttributes.cs
- EnumDataContract.cs
- BulletChrome.cs
- CompilerWrapper.cs
- WindowsScrollBarBits.cs
- DocumentAutomationPeer.cs
- Int64AnimationBase.cs
- Aggregates.cs
- StorageComplexTypeMapping.cs
- Int32Collection.cs
- AppSettingsExpressionBuilder.cs
- XhtmlConformanceSection.cs
- URLAttribute.cs
- Part.cs
- DLinqDataModelProvider.cs
- MarkedHighlightComponent.cs
- HybridDictionary.cs
- MarkupExtensionSerializer.cs
- KnownBoxes.cs
- FontStyleConverter.cs
- UMPAttributes.cs
- ValidationRule.cs
- SchemaName.cs
- CatchDesigner.xaml.cs
- FromReply.cs
- EllipseGeometry.cs
- HtmlControl.cs
- ILGenerator.cs
- SerializerProvider.cs
- PropertyValue.cs
- Propagator.ExtentPlaceholderCreator.cs
- StrongNameSignatureInformation.cs
- QilReplaceVisitor.cs
- Decoder.cs
- FaultConverter.cs
- ApplicationSecurityManager.cs
- ComPlusDiagnosticTraceRecords.cs
- SurrogateSelector.cs
- ScrollItemProviderWrapper.cs
- ManagementNamedValueCollection.cs
- XmlProcessingInstruction.cs
- RegionInfo.cs
- WebBrowserSiteBase.cs
- BookmarkUndoUnit.cs
- OrderByBuilder.cs
- RtfToXamlLexer.cs
- WebPartConnectionsDisconnectVerb.cs
- SpecialFolderEnumConverter.cs
- RelatedImageListAttribute.cs
- webeventbuffer.cs
- UTF32Encoding.cs
- HttpListenerContext.cs
- ToolStripDropDown.cs
- MetadataCache.cs
- UnknownBitmapEncoder.cs
- BadImageFormatException.cs
- DataGridViewCellLinkedList.cs
- FullTextBreakpoint.cs
- FacetChecker.cs
- DefaultPropertyAttribute.cs
- XamlDesignerSerializationManager.cs
- SendingRequestEventArgs.cs
- ToolStripDropDownButton.cs
- _Rfc2616CacheValidators.cs
- ViewValidator.cs
- FacetDescription.cs
- AnnotationService.cs
- EditorZoneBase.cs
- PreservationFileReader.cs
- BamlRecordReader.cs
- AnimatedTypeHelpers.cs
- DefaultTraceListener.cs
- SQLConvert.cs
- GridViewRow.cs
- NamespaceImport.cs
- StrongNameUtility.cs
- DeploymentExceptionMapper.cs
- NavigationFailedEventArgs.cs
- CodeTypeMemberCollection.cs
- XhtmlCssHandler.cs
- ClassHandlersStore.cs
- EventListener.cs
- connectionpool.cs
- PropertyRef.cs
- HtmlImage.cs
- ListItemParagraph.cs
- CharacterString.cs
- CharEntityEncoderFallback.cs
- TypedTableBase.cs
- SingleObjectCollection.cs
- DataGridViewSortCompareEventArgs.cs