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
- XmlSchemaProviderAttribute.cs
- BitmapEffectGroup.cs
- ApplicationGesture.cs
- MTConfigUtil.cs
- UICuesEvent.cs
- EntityException.cs
- MemberNameValidator.cs
- SiteOfOriginPart.cs
- DeviceContexts.cs
- TaiwanCalendar.cs
- VoiceSynthesis.cs
- DateTimeOffsetAdapter.cs
- DefaultHttpHandler.cs
- XamlPointCollectionSerializer.cs
- linebase.cs
- xmlformatgeneratorstatics.cs
- DebugInfoGenerator.cs
- DockAndAnchorLayout.cs
- ChtmlTextWriter.cs
- XamlDesignerSerializationManager.cs
- SamlAuthorizationDecisionClaimResource.cs
- CallSiteOps.cs
- ProviderSettingsCollection.cs
- SemanticAnalyzer.cs
- ExpressionBuilderCollection.cs
- DefaultMemberAttribute.cs
- StyleXamlParser.cs
- SimpleWebHandlerParser.cs
- ObjectParameter.cs
- _AuthenticationState.cs
- DataGridViewTextBoxEditingControl.cs
- ServiceBehaviorElement.cs
- PropertyDescriptorCollection.cs
- FunctionMappingTranslator.cs
- HwndSourceParameters.cs
- XmlEnumAttribute.cs
- ColumnPropertiesGroup.cs
- TextParagraphView.cs
- SafeNativeMethods.cs
- TypeLibConverter.cs
- ZipIOFileItemStream.cs
- RoleManagerModule.cs
- _UriTypeConverter.cs
- FrameDimension.cs
- FlowDocument.cs
- BinaryObjectWriter.cs
- ButtonChrome.cs
- ASCIIEncoding.cs
- FactoryGenerator.cs
- SoapIncludeAttribute.cs
- HttpStaticObjectsCollectionWrapper.cs
- ValueSerializer.cs
- TextMessageEncodingElement.cs
- ExtenderProvidedPropertyAttribute.cs
- OutArgumentConverter.cs
- Span.cs
- KeyValueInternalCollection.cs
- ConstructorBuilder.cs
- SqlAliaser.cs
- BaseUriHelper.cs
- KeyValueSerializer.cs
- smtpconnection.cs
- SafeNativeMethods.cs
- SharedDp.cs
- _LazyAsyncResult.cs
- DeploymentExceptionMapper.cs
- DataListCommandEventArgs.cs
- DNS.cs
- EventlogProvider.cs
- XmlBinaryReader.cs
- SpecialFolderEnumConverter.cs
- ComponentDispatcherThread.cs
- CmsUtils.cs
- EntityContainerRelationshipSet.cs
- TransportationConfigurationTypeInstallComponent.cs
- MsmqInputChannel.cs
- MarkupCompilePass1.cs
- LogStore.cs
- ManagementDateTime.cs
- DataGridViewColumnTypeEditor.cs
- ProgressBar.cs
- XmlPreloadedResolver.cs
- DesignerAttribute.cs
- MenuItemStyle.cs
- AtomMaterializerLog.cs
- SystemDiagnosticsSection.cs
- ObjectSet.cs
- Baml6Assembly.cs
- EnumerableCollectionView.cs
- IFlowDocumentViewer.cs
- GridViewColumnCollectionChangedEventArgs.cs
- CodeArrayCreateExpression.cs
- PrintPageEvent.cs
- XmlSchemaAttribute.cs
- MergeLocalizationDirectives.cs
- EventManager.cs
- SecurityKeyIdentifier.cs
- _RequestLifetimeSetter.cs
- SortQuery.cs
- ContentType.cs