Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- DbCommandDefinition.cs
- X509Utils.cs
- WebBrowserUriTypeConverter.cs
- JulianCalendar.cs
- ToolStripLocationCancelEventArgs.cs
- ProxyGenerator.cs
- ZipFileInfoCollection.cs
- InkCanvasFeedbackAdorner.cs
- MD5.cs
- ToolStripTextBox.cs
- AsnEncodedData.cs
- UrlMapping.cs
- CodeCommentStatement.cs
- Propagator.ExtentPlaceholderCreator.cs
- _ConnectStream.cs
- QueryCacheEntry.cs
- SafeProcessHandle.cs
- PageSettings.cs
- SqlGenericUtil.cs
- D3DImage.cs
- FontDifferentiator.cs
- QueryInterceptorAttribute.cs
- RoleGroupCollection.cs
- ProcessProtocolHandler.cs
- OneOfScalarConst.cs
- SiteOfOriginContainer.cs
- HierarchicalDataSourceControl.cs
- PropertyEntry.cs
- DoubleCollectionConverter.cs
- UnlockCardRequest.cs
- Win32.cs
- DesignerActionKeyboardBehavior.cs
- GlyphingCache.cs
- FormViewRow.cs
- ResourceWriter.cs
- GridSplitter.cs
- XmlSchemaSequence.cs
- PropertyGridView.cs
- WebPartAuthorizationEventArgs.cs
- SqlErrorCollection.cs
- ConfigXmlText.cs
- AnnotationObservableCollection.cs
- SafeLocalMemHandle.cs
- LayoutEditorPart.cs
- Token.cs
- EdmFunction.cs
- DbConnectionFactory.cs
- OperationCanceledException.cs
- FakeModelPropertyImpl.cs
- GeometryGroup.cs
- VectorAnimationBase.cs
- thaishape.cs
- DbInsertCommandTree.cs
- MethodBuilder.cs
- WebPartDeleteVerb.cs
- BoundPropertyEntry.cs
- DataGridViewCellStyleChangedEventArgs.cs
- ScriptMethodAttribute.cs
- ObjectViewFactory.cs
- StandardOleMarshalObject.cs
- StorageMappingFragment.cs
- SelectionRangeConverter.cs
- CollectionType.cs
- SafeFileMappingHandle.cs
- ListControlConvertEventArgs.cs
- UInt32.cs
- SafeRightsManagementHandle.cs
- DataGridViewHitTestInfo.cs
- HMACSHA512.cs
- MailBnfHelper.cs
- DataObjectEventArgs.cs
- DbConnectionFactory.cs
- XmlNamespaceManager.cs
- PropertyGroupDescription.cs
- XsltException.cs
- XsdDataContractImporter.cs
- ADMembershipUser.cs
- SemaphoreSlim.cs
- FontStretch.cs
- WebPartTransformerCollection.cs
- Validator.cs
- WSFederationHttpSecurityElement.cs
- UnmanagedMemoryStream.cs
- DragEvent.cs
- HitTestWithGeometryDrawingContextWalker.cs
- InvokePattern.cs
- SafeNativeMethods.cs
- SemaphoreFullException.cs
- HandlerMappingMemo.cs
- Typography.cs
- Grant.cs
- ProjectionPlanCompiler.cs
- _ScatterGatherBuffers.cs
- ObjectStateEntry.cs
- ToolStripPanelRenderEventArgs.cs
- BaseTreeIterator.cs
- VisualBasicSettingsConverter.cs
- Helpers.cs
- ToolZone.cs
- EUCJPEncoding.cs