Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / Reflection / Emit / Label.cs / 1 / Label.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: Label ** ** ** ** Purpose: Represents a Label to the ILGenerator class. ** ** ===========================================================*/ namespace System.Reflection.Emit { using System; using System.Reflection; using System.Security.Permissions; using System.Runtime.InteropServices; // The Label class is an opaque representation of a label used by the // ILGenerator class. The token is used to mark where labels occur in the IL // stream and then the necessary offsets are put back in the code when the ILGenerator // is passed to the MethodWriter. // Labels are created by using ILGenerator.CreateLabel and their position is set // by using ILGenerator.MarkLabel. [Serializable()] [ComVisible(true)] public struct Label { internal int m_label; //public Label() { // m_label=0; //} internal Label (int label) { m_label=label; } internal int GetLabelValue() { return m_label; } public override int GetHashCode() { return m_label; } public override bool Equals(Object obj) { if (obj is Label) return Equals((Label)obj); else return false; } public bool Equals(Label obj) { return obj.m_label == m_label; } public static bool operator ==(Label a, Label b) { return a.Equals(b); } public static bool operator !=(Label a, Label b) { return !(a == b); } } }
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- StatusBarDrawItemEvent.cs
- HwndHost.cs
- CustomPopupPlacement.cs
- NonClientArea.cs
- RequestCacheEntry.cs
- ConstructorBuilder.cs
- ForceCopyBuildProvider.cs
- _OSSOCK.cs
- BamlRecords.cs
- AuthenticationException.cs
- CompareInfo.cs
- DefaultHttpHandler.cs
- Message.cs
- PropertyTab.cs
- NTAccount.cs
- HtmlInputReset.cs
- WindowProviderWrapper.cs
- MenuEventArgs.cs
- TextPointerBase.cs
- SHA512.cs
- MessageSecurityVersion.cs
- ListView.cs
- ContentControl.cs
- XmlValueConverter.cs
- LocalizationComments.cs
- PartitionerQueryOperator.cs
- ToolStripContentPanelRenderEventArgs.cs
- TdsValueSetter.cs
- RegexReplacement.cs
- CaretElement.cs
- BrushValueSerializer.cs
- TraceHandler.cs
- ConvertEvent.cs
- PropertyTabChangedEvent.cs
- StylusShape.cs
- WebServiceData.cs
- WindowHideOrCloseTracker.cs
- ComboBoxItem.cs
- GreaterThanOrEqual.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- XmlTextReaderImplHelpers.cs
- FusionWrap.cs
- NetSectionGroup.cs
- DefaultHttpHandler.cs
- CroppedBitmap.cs
- ExpressionVisitor.cs
- ZoomPercentageConverter.cs
- ObjectViewQueryResultData.cs
- Point3DIndependentAnimationStorage.cs
- StoreItemCollection.Loader.cs
- StateManager.cs
- TransformProviderWrapper.cs
- DrawingCollection.cs
- ConfigurationLockCollection.cs
- RestHandlerFactory.cs
- DataGridColumnStyleMappingNameEditor.cs
- BindingExpressionBase.cs
- DirectoryNotFoundException.cs
- PackWebRequest.cs
- BaseTemplateBuildProvider.cs
- Visual.cs
- WindowsListBox.cs
- _WinHttpWebProxyDataBuilder.cs
- EventArgs.cs
- XmlCharType.cs
- ToolboxItemAttribute.cs
- RectValueSerializer.cs
- FileDialog_Vista.cs
- CatalogPartChrome.cs
- CapabilitiesState.cs
- Point3DKeyFrameCollection.cs
- _ConnectionGroup.cs
- TypeSchema.cs
- TdsParserStaticMethods.cs
- _Connection.cs
- IPCCacheManager.cs
- ProcessStartInfo.cs
- Rotation3DAnimationBase.cs
- XmlFormatReaderGenerator.cs
- Random.cs
- SqlDataSourceEnumerator.cs
- ConversionContext.cs
- ProgressBarHighlightConverter.cs
- WizardPanelChangingEventArgs.cs
- ipaddressinformationcollection.cs
- X509LogoTypeExtension.cs
- EFColumnProvider.cs
- AsyncDataRequest.cs
- MailSettingsSection.cs
- PackagingUtilities.cs
- TextEditorTyping.cs
- SerializationEventsCache.cs
- ConsoleTraceListener.cs
- CompiledELinqQueryState.cs
- DataGridViewTopLeftHeaderCell.cs
- XmlUrlEditor.cs
- SHA512CryptoServiceProvider.cs
- Range.cs
- Decoder.cs
- basecomparevalidator.cs