Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Base / MS / Internal / KnownBoxes.cs / 1305600 / KnownBoxes.cs
using System; using MS.Internal.WindowsBase; namespace MS.Internal.KnownBoxes { [FriendAccessAllowed] // Built into Base, also used by Core and Framework. internal static class BooleanBoxes { internal static object TrueBox = true; internal static object FalseBox = false; internal static object Box(bool value) { if (value) { return TrueBox; } else { return FalseBox; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. using System; using MS.Internal.WindowsBase; namespace MS.Internal.KnownBoxes { [FriendAccessAllowed] // Built into Base, also used by Core and Framework. internal static class BooleanBoxes { internal static object TrueBox = true; internal static object FalseBox = false; internal static object Box(bool value) { if (value) { return TrueBox; } else { return FalseBox; } } } } // 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
- EnglishPluralizationService.cs
- NumberSubstitution.cs
- DbException.cs
- XmlTypeMapping.cs
- ViewStateModeByIdAttribute.cs
- CodeTypeConstructor.cs
- CodeFieldReferenceExpression.cs
- ActivityWithResultValueSerializer.cs
- TrackingProfileDeserializationException.cs
- SingleQueryOperator.cs
- CompoundFileStreamReference.cs
- LeafCellTreeNode.cs
- CoTaskMemHandle.cs
- SoapIgnoreAttribute.cs
- MeasureData.cs
- MimeMultiPart.cs
- NavigationProgressEventArgs.cs
- SettingsContext.cs
- QuotaExceededException.cs
- DataGridBeginningEditEventArgs.cs
- SystemNetworkInterface.cs
- AutomationPatternInfo.cs
- MultiSelector.cs
- XPathExpr.cs
- LinkLabelLinkClickedEvent.cs
- SystemDropShadowChrome.cs
- DataTablePropertyDescriptor.cs
- FixUp.cs
- _ProxyChain.cs
- LinkConverter.cs
- StateBag.cs
- SiteMap.cs
- COMException.cs
- ResourceWriter.cs
- WebScriptEnablingElement.cs
- ToolStripProgressBar.cs
- SqlNode.cs
- CommonDialog.cs
- TypeLoadException.cs
- KeyGestureConverter.cs
- ConnectionInterfaceCollection.cs
- EncryptedType.cs
- XPathMessageFilterElementCollection.cs
- VisualBasicDesignerHelper.cs
- ExeConfigurationFileMap.cs
- GridLengthConverter.cs
- DeflateInput.cs
- Application.cs
- RowBinding.cs
- WebUtil.cs
- ConstructorArgumentAttribute.cs
- WeakReferenceList.cs
- BaseAppDomainProtocolHandler.cs
- TwoPhaseCommitProxy.cs
- MimeMapping.cs
- CodeStatement.cs
- ElementNotAvailableException.cs
- CompilerTypeWithParams.cs
- HttpMethodAttribute.cs
- ShaperBuffers.cs
- SingleKeyFrameCollection.cs
- ToolstripProfessionalRenderer.cs
- SystemException.cs
- AncillaryOps.cs
- SelectQueryOperator.cs
- OracleConnectionStringBuilder.cs
- EntityDataSource.cs
- SignatureDescription.cs
- WindowPatternIdentifiers.cs
- GeometryConverter.cs
- TraceData.cs
- PhysicalOps.cs
- FamilyCollection.cs
- Span.cs
- ToolTipService.cs
- BindingWorker.cs
- Expr.cs
- DependencyObjectProvider.cs
- DesignerInterfaces.cs
- TargetPerspective.cs
- ProxyManager.cs
- XmlSchemaSimpleType.cs
- SpecialNameAttribute.cs
- RemoteWebConfigurationHost.cs
- XmlConvert.cs
- ClientCultureInfo.cs
- DecimalConverter.cs
- TableLayoutColumnStyleCollection.cs
- WebReferencesBuildProvider.cs
- FilePrompt.cs
- DefaultParameterValueAttribute.cs
- DBSqlParserTableCollection.cs
- FreezableOperations.cs
- PlainXmlWriter.cs
- mediaclock.cs
- XMLSyntaxException.cs
- ExpressionPrefixAttribute.cs
- ClientUrlResolverWrapper.cs
- String.cs
- OutputCacheSettings.cs