Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / Empty.cs / 1 / Empty.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //////////////////////////////////////////////////////////////////////////////// // Empty // This class represents an empty variant //////////////////////////////////////////////////////////////////////////////// namespace System { using System; using System.Runtime.Remoting; using System.Runtime.Serialization; [Serializable()] internal sealed class Empty : ISerializable { private Empty() { } public static readonly Empty Value = new Empty(); public override String ToString() { return String.Empty; } public void GetObjectData(SerializationInfo info, StreamingContext context) { if (info==null) { throw new ArgumentNullException("info"); } UnitySerializationHolder.GetUnitySerializationInfo(info, UnitySerializationHolder.EmptyUnity, null, null); } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ElementHostAutomationPeer.cs
- Rectangle.cs
- __FastResourceComparer.cs
- PropertyDescriptorCollection.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- MembershipPasswordException.cs
- XmlBoundElement.cs
- XmlMembersMapping.cs
- XpsViewerException.cs
- DataTableMappingCollection.cs
- metadatamappinghashervisitor.cs
- dataprotectionpermissionattribute.cs
- ColorTransformHelper.cs
- BrowserCapabilitiesCodeGenerator.cs
- SchemaAttDef.cs
- SqlReorderer.cs
- ClickablePoint.cs
- RoleService.cs
- DockPattern.cs
- RijndaelManagedTransform.cs
- SoapSchemaExporter.cs
- TempEnvironment.cs
- PermissionListSet.cs
- DispatchWrapper.cs
- WaitHandleCannotBeOpenedException.cs
- PeerIPHelper.cs
- XmlValueConverter.cs
- DynamicMetaObject.cs
- SystemFonts.cs
- OptimisticConcurrencyException.cs
- CustomTypeDescriptor.cs
- DropAnimation.xaml.cs
- SecurityUniqueId.cs
- WebEventCodes.cs
- XamlToRtfWriter.cs
- Quaternion.cs
- ReferentialConstraint.cs
- TaiwanLunisolarCalendar.cs
- HitTestFilterBehavior.cs
- BaseTreeIterator.cs
- ProviderIncompatibleException.cs
- DictionaryCustomTypeDescriptor.cs
- OutputCacheProfile.cs
- XmlDocumentType.cs
- WeakReference.cs
- PerSessionInstanceContextProvider.cs
- MouseActionValueSerializer.cs
- HttpApplication.cs
- DataGridViewHeaderCell.cs
- DataGridTableCollection.cs
- LinqDataSourceContextEventArgs.cs
- TracingConnection.cs
- PackageFilter.cs
- SqlGenerator.cs
- TypeInitializationException.cs
- Opcode.cs
- MouseBinding.cs
- Misc.cs
- PrimitiveType.cs
- DetailsViewRowCollection.cs
- DataViewSetting.cs
- ColumnMapVisitor.cs
- ServiceOperationParameter.cs
- SmiGettersStream.cs
- Point3DValueSerializer.cs
- CompilerGlobalScopeAttribute.cs
- FileDialogCustomPlace.cs
- BackgroundFormatInfo.cs
- BooleanConverter.cs
- CapabilitiesPattern.cs
- ServiceHttpModule.cs
- FontNamesConverter.cs
- DrawingVisual.cs
- NullEntityWrapper.cs
- Label.cs
- IndexingContentUnit.cs
- DecoderNLS.cs
- DataSourceNameHandler.cs
- PreservationFileWriter.cs
- ItemsChangedEventArgs.cs
- _CookieModule.cs
- SiteMap.cs
- PathFigureCollectionValueSerializer.cs
- CssTextWriter.cs
- SqlInternalConnectionSmi.cs
- SafeFileHandle.cs
- UIElementParagraph.cs
- SiteMapNodeItem.cs
- BorderSidesEditor.cs
- CompilerScope.Storage.cs
- ConfigurationCollectionAttribute.cs
- Propagator.JoinPropagator.cs
- Comparer.cs
- TextDocumentView.cs
- RecognitionEventArgs.cs
- TextFragmentEngine.cs
- DateTimeOffsetConverter.cs
- WebPartConnectionsConfigureVerb.cs
- CallSiteOps.cs
- SecondaryIndex.cs