Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / CompilerServices / TypeDependencyAttribute.cs / 1305376 / TypeDependencyAttribute.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== namespace System.Runtime.CompilerServices { using System; using System.Diagnostics.Contracts; // We might want to make this inherited someday. But I suspect it shouldn't // be necessary. [AttributeUsage(AttributeTargets.Struct | AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = true, Inherited = false)] internal sealed class TypeDependencyAttribute: Attribute { private string typeName; public TypeDependencyAttribute (string typeName) { if(typeName == null) throw new ArgumentNullException("typeName"); Contract.EndContractBlock(); this.typeName = typeName; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== namespace System.Runtime.CompilerServices { using System; using System.Diagnostics.Contracts; // We might want to make this inherited someday. But I suspect it shouldn't // be necessary. [AttributeUsage(AttributeTargets.Struct | AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = true, Inherited = false)] internal sealed class TypeDependencyAttribute: Attribute { private string typeName; public TypeDependencyAttribute (string typeName) { if(typeName == null) throw new ArgumentNullException("typeName"); Contract.EndContractBlock(); this.typeName = typeName; } } } // 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
- FormViewPageEventArgs.cs
- Point3DCollection.cs
- MonikerBuilder.cs
- TemplateBindingExpression.cs
- OutOfMemoryException.cs
- cookieexception.cs
- RequestCachePolicy.cs
- ProcessManager.cs
- ImportException.cs
- BindingNavigatorDesigner.cs
- _Win32.cs
- ServiceProviders.cs
- TextBlock.cs
- DataTemplateSelector.cs
- _HeaderInfo.cs
- WindowsFormsHelpers.cs
- SecurityTraceRecordHelper.cs
- Help.cs
- ButtonFieldBase.cs
- MemberCollection.cs
- SafeCertificateStore.cs
- MetadataCache.cs
- WebGetAttribute.cs
- StringAttributeCollection.cs
- TabControlAutomationPeer.cs
- BuildManager.cs
- SoapProtocolReflector.cs
- XPathPatternParser.cs
- SQLDateTimeStorage.cs
- NullReferenceException.cs
- ObjectPersistData.cs
- SessionStateSection.cs
- JsonReader.cs
- SemanticBasicElement.cs
- ImagingCache.cs
- AnimatedTypeHelpers.cs
- objectquery_tresulttype.cs
- ExpressionPrefixAttribute.cs
- XmlReaderSettings.cs
- LiteralControl.cs
- updatecommandorderer.cs
- PersistenceMetadataNamespace.cs
- coordinatorfactory.cs
- MonthCalendar.cs
- MaskInputRejectedEventArgs.cs
- MessageEncodingBindingElementImporter.cs
- EncoderReplacementFallback.cs
- TypeDescriptor.cs
- Vars.cs
- UIAgentMonitorHandle.cs
- CacheSection.cs
- SessionStateSection.cs
- TimelineCollection.cs
- TextLineBreak.cs
- DivideByZeroException.cs
- BoolLiteral.cs
- TextSimpleMarkerProperties.cs
- PolicyLevel.cs
- DmlSqlGenerator.cs
- OptimizedTemplateContentHelper.cs
- CapabilitiesState.cs
- EntityDataSourceContextDisposingEventArgs.cs
- PathGeometry.cs
- Win32NamedPipes.cs
- DataChangedEventManager.cs
- SizeIndependentAnimationStorage.cs
- DataMemberAttribute.cs
- WebPartConnectionsCloseVerb.cs
- ResourceReferenceExpressionConverter.cs
- LayoutExceptionEventArgs.cs
- AssociationTypeEmitter.cs
- IgnoreSection.cs
- PathGeometry.cs
- WorkflowPageSetupDialog.cs
- DynamicValueConverter.cs
- AutoGeneratedFieldProperties.cs
- ExceptionList.cs
- QueryExpr.cs
- NativeCompoundFileAPIs.cs
- TransformValueSerializer.cs
- SocketAddress.cs
- DataContractJsonSerializer.cs
- PhonemeEventArgs.cs
- CodeMemberMethod.cs
- DockingAttribute.cs
- TransformCryptoHandle.cs
- HashCodeCombiner.cs
- DataListCommandEventArgs.cs
- CrossSiteScriptingValidation.cs
- SoapProtocolImporter.cs
- Privilege.cs
- ConnectorEditor.cs
- DependencySource.cs
- SchemaTypeEmitter.cs
- InfoCardMetadataExchangeClient.cs
- SerializationSectionGroup.cs
- Vertex.cs
- QueryRelOp.cs
- DetailsViewInsertedEventArgs.cs
- RawMouseInputReport.cs