Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- LogSwitch.cs
- XmlHelper.cs
- ResourceReferenceExpression.cs
- QueryAccessibilityHelpEvent.cs
- MobileControl.cs
- DataTableMapping.cs
- ImageMapEventArgs.cs
- DataObjectFieldAttribute.cs
- Html32TextWriter.cs
- securitycriticaldata.cs
- Int64Storage.cs
- RuntimeIdentifierPropertyAttribute.cs
- ObjectSpanRewriter.cs
- ScrollBarAutomationPeer.cs
- XmlWrappingReader.cs
- FixedSOMPageElement.cs
- GZipUtils.cs
- UiaCoreApi.cs
- SqlBuffer.cs
- ImageCodecInfo.cs
- HttpWebResponse.cs
- SubpageParaClient.cs
- ellipse.cs
- RepeaterCommandEventArgs.cs
- Imaging.cs
- ClientApiGenerator.cs
- HtmlControlPersistable.cs
- SmiSettersStream.cs
- CodeLabeledStatement.cs
- ProfileGroupSettingsCollection.cs
- CapabilitiesSection.cs
- ProfilePropertyNameValidator.cs
- MarshalByRefObject.cs
- TextAdaptor.cs
- RadialGradientBrush.cs
- TabControlAutomationPeer.cs
- DataTableExtensions.cs
- Keyboard.cs
- MimeObjectFactory.cs
- ObjectHelper.cs
- PackagePart.cs
- XmlSerializerSection.cs
- HttpCachePolicy.cs
- SubclassTypeValidator.cs
- Misc.cs
- DataGrid.cs
- DataGridViewCellEventArgs.cs
- TraceListener.cs
- ServiceEndpointCollection.cs
- ExtendedPropertyCollection.cs
- DeliveryRequirementsAttribute.cs
- RangeValuePatternIdentifiers.cs
- OpCopier.cs
- ObjectItemCollection.cs
- SetterTriggerConditionValueConverter.cs
- UdpChannelFactory.cs
- MetadataArtifactLoaderCompositeResource.cs
- DataGridViewComboBoxEditingControl.cs
- ExecutionScope.cs
- DataRowView.cs
- DesignerObject.cs
- SelectionItemPattern.cs
- HtmlElementEventArgs.cs
- KeyValuePair.cs
- EntityContainerEmitter.cs
- isolationinterop.cs
- StyleXamlTreeBuilder.cs
- SqlDataReaderSmi.cs
- externdll.cs
- FlowDocumentPaginator.cs
- DelegatingTypeDescriptionProvider.cs
- TableItemProviderWrapper.cs
- GeneralTransform.cs
- SqlClientFactory.cs
- EventLogPermission.cs
- LockCookie.cs
- ColorInterpolationModeValidation.cs
- DaylightTime.cs
- Config.cs
- CalendarTable.cs
- LabelLiteral.cs
- ChtmlCommandAdapter.cs
- FastPropertyAccessor.cs
- _Rfc2616CacheValidators.cs
- ListViewItemMouseHoverEvent.cs
- TextBoxAutomationPeer.cs
- DependencyObject.cs
- GeometryGroup.cs
- TouchFrameEventArgs.cs
- OutputCacheSettingsSection.cs
- BamlRecords.cs
- RegexCompiler.cs
- BufferedGraphicsManager.cs
- XmlAnyElementAttributes.cs
- FunctionParameter.cs
- SByteStorage.cs
- XmlSchemaValidator.cs
- Transaction.cs
- VerticalAlignConverter.cs
- ConnectionPoint.cs