Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / Reflection / Emit / EventToken.cs / 1 / EventToken.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: EventToken ** ** ** Propertybuilder is for client to define properties for a class ** ** ===========================================================*/ namespace System.Reflection.Emit { using System; using System.Reflection; using System.Security.Permissions; [Serializable()] [System.Runtime.InteropServices.ComVisible(true)] public struct EventToken { public static readonly EventToken Empty = new EventToken(); internal int m_event; internal EventToken(int str) { m_event=str; } public int Token { get { return m_event; } } public override int GetHashCode() { return m_event; } public override bool Equals(Object obj) { if (obj is EventToken) return Equals((EventToken)obj); else return false; } public bool Equals(EventToken obj) { return obj.m_event == m_event; } public static bool operator ==(EventToken a, EventToken b) { return a.Equals(b); } public static bool operator !=(EventToken a, EventToken b) { return !(a == b); } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- LookupNode.cs
- DecodeHelper.cs
- ManipulationStartingEventArgs.cs
- BlurBitmapEffect.cs
- ApplicationContext.cs
- XPathDocumentNavigator.cs
- AnimationLayer.cs
- GeneratedView.cs
- NavigationWindow.cs
- ClaimComparer.cs
- XmlMembersMapping.cs
- CollectionBuilder.cs
- StandardToolWindows.cs
- AnnotationDocumentPaginator.cs
- AnnouncementDispatcherAsyncResult.cs
- TextFindEngine.cs
- EntityDataSource.cs
- LocalFileSettingsProvider.cs
- IPHostEntry.cs
- _ListenerResponseStream.cs
- CustomAttribute.cs
- ISAPIWorkerRequest.cs
- ShadowGlyph.cs
- FlowLayoutPanel.cs
- CounterSampleCalculator.cs
- DataRowView.cs
- PiiTraceSource.cs
- HMACSHA512.cs
- CSharpCodeProvider.cs
- ExtensionMethods.cs
- IndexedDataBuffer.cs
- ClientSponsor.cs
- SoapCommonClasses.cs
- XmlAttributeAttribute.cs
- ExpressionPrinter.cs
- ThreadStartException.cs
- RtfFormatStack.cs
- XmlBufferedByteStreamReader.cs
- PersonalizationStateQuery.cs
- BaseAutoFormat.cs
- DeclarativeCatalogPart.cs
- SectionVisual.cs
- DoubleLink.cs
- PieceNameHelper.cs
- SingleAnimationBase.cs
- XamlFigureLengthSerializer.cs
- NodeLabelEditEvent.cs
- GenericWebPart.cs
- BamlBinaryReader.cs
- PageAsyncTaskManager.cs
- ActivityPreviewDesigner.cs
- PermissionSetTriple.cs
- TextFormatterHost.cs
- SqlBooleanizer.cs
- PlainXmlWriter.cs
- VisualTransition.cs
- ContainerAction.cs
- HttpRequest.cs
- TreeViewDesigner.cs
- ObjectViewQueryResultData.cs
- OleDbEnumerator.cs
- LayoutTableCell.cs
- WindowsListViewItem.cs
- _ListenerResponseStream.cs
- CoordinationService.cs
- PathParser.cs
- FlowDocumentReader.cs
- EventToken.cs
- AssemblyNameUtility.cs
- ImpersonationContext.cs
- WebMessageEncodingElement.cs
- WebBrowser.cs
- _Semaphore.cs
- VerifyHashRequest.cs
- Profiler.cs
- FragmentNavigationEventArgs.cs
- SqlPersonalizationProvider.cs
- HybridDictionary.cs
- SoapReflectionImporter.cs
- MissingFieldException.cs
- IPGlobalProperties.cs
- TemplatePagerField.cs
- MergeFilterQuery.cs
- TableLayoutSettingsTypeConverter.cs
- SmtpMail.cs
- SByte.cs
- SQLMoneyStorage.cs
- Button.cs
- DelayedRegex.cs
- Line.cs
- SynchronizedCollection.cs
- DmlSqlGenerator.cs
- AlphabeticalEnumConverter.cs
- DataGridPreparingCellForEditEventArgs.cs
- CrossSiteScriptingValidation.cs
- UIElement3D.cs
- SplitterPanel.cs
- StrongNameUtility.cs
- GZipDecoder.cs
- SafeBitVector32.cs