Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / Remoting / __TransparentProxy.cs / 1305376 / __TransparentProxy.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** File: __TransparentProxy.cs ** ** ** Purpose: Defines Transparent proxy ** ** ===========================================================*/ namespace System.Runtime.Remoting.Proxies { using System.Runtime.Remoting; // Transparent proxy and Real proxy are vital pieces of the // remoting data structures. Transparent proxy magically // creates a message that represents a call on it and delegates // to the Real proxy to do the real remoting work. using System; internal sealed class __TransparentProxy { // Created inside EE private __TransparentProxy() { throw new NotSupportedException(Environment.GetResourceString(ResId.NotSupported_Constructor)); } // Private members called by VM #pragma warning disable 169 [System.Security.SecurityCritical /*auto-generated*/] private RealProxy _rp; // Reference to the real proxy private Object _stubData; // Data used by stubs to decide whether to short circuit calls or not private IntPtr _pMT; // Method table of the class this proxy represents private IntPtr _pInterfaceMT; // Cached interface method table private IntPtr _stub; // Unmanaged code that decides whether to short circuit calls or not #pragma warning restore 169 } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** File: __TransparentProxy.cs ** ** ** Purpose: Defines Transparent proxy ** ** ===========================================================*/ namespace System.Runtime.Remoting.Proxies { using System.Runtime.Remoting; // Transparent proxy and Real proxy are vital pieces of the // remoting data structures. Transparent proxy magically // creates a message that represents a call on it and delegates // to the Real proxy to do the real remoting work. using System; internal sealed class __TransparentProxy { // Created inside EE private __TransparentProxy() { throw new NotSupportedException(Environment.GetResourceString(ResId.NotSupported_Constructor)); } // Private members called by VM #pragma warning disable 169 [System.Security.SecurityCritical /*auto-generated*/] private RealProxy _rp; // Reference to the real proxy private Object _stubData; // Data used by stubs to decide whether to short circuit calls or not private IntPtr _pMT; // Method table of the class this proxy represents private IntPtr _pInterfaceMT; // Cached interface method table private IntPtr _stub; // Unmanaged code that decides whether to short circuit calls or not #pragma warning restore 169 } } // 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
- XPathNodeHelper.cs
- AdapterUtil.cs
- MediaContext.cs
- CodeNamespaceImport.cs
- ActivityStateRecord.cs
- UpdatePanelControlTrigger.cs
- UserPreferenceChangedEventArgs.cs
- DataGridViewIntLinkedList.cs
- DataPagerFieldCollection.cs
- FocusTracker.cs
- ReadOnlyTernaryTree.cs
- AnimationLayer.cs
- InvalidChannelBindingException.cs
- MimeTypeAttribute.cs
- HyperLinkField.cs
- GridViewDeletedEventArgs.cs
- AppModelKnownContentFactory.cs
- DependencyPropertyDescriptor.cs
- DropSource.cs
- RIPEMD160.cs
- PhonemeEventArgs.cs
- SafeRightsManagementSessionHandle.cs
- TextFormatter.cs
- SiteMapNodeItemEventArgs.cs
- DetailsViewUpdateEventArgs.cs
- Image.cs
- DBSchemaTable.cs
- WindowsGraphics2.cs
- Window.cs
- keycontainerpermission.cs
- AxHost.cs
- NoResizeHandleGlyph.cs
- SmiEventStream.cs
- CustomError.cs
- PageThemeCodeDomTreeGenerator.cs
- XmlSchemaCompilationSettings.cs
- WindowsFormsHostAutomationPeer.cs
- HeaderedItemsControl.cs
- UnlockInstanceCommand.cs
- SyntaxCheck.cs
- ValueTypeFixupInfo.cs
- SettingsSavedEventArgs.cs
- AudioDeviceOut.cs
- FloaterBaseParagraph.cs
- DataGridViewCellStyleConverter.cs
- PointF.cs
- Size3D.cs
- RoleManagerSection.cs
- AutomationEvent.cs
- SwitchCase.cs
- BrowserCapabilitiesFactoryBase.cs
- LinkDescriptor.cs
- CalendarDateRangeChangingEventArgs.cs
- TreeNodeSelectionProcessor.cs
- ComponentCommands.cs
- COM2ComponentEditor.cs
- MultiTouchSystemGestureLogic.cs
- SourceChangedEventArgs.cs
- ThumbAutomationPeer.cs
- ResolveMatches11.cs
- ToolStrip.cs
- HtmlTableRow.cs
- DomainConstraint.cs
- ConnectionPoolManager.cs
- IPHostEntry.cs
- DockPatternIdentifiers.cs
- Rectangle.cs
- CodeStatementCollection.cs
- ClientBuildManagerCallback.cs
- BooleanExpr.cs
- DES.cs
- Guid.cs
- XmlSchemaSimpleTypeRestriction.cs
- RightsManagementPermission.cs
- OrderedDictionaryStateHelper.cs
- IntranetCredentialPolicy.cs
- DbMetaDataCollectionNames.cs
- Label.cs
- IssuanceTokenProviderBase.cs
- ConditionalAttribute.cs
- CompiledQuery.cs
- GrammarBuilderWildcard.cs
- ProfileProvider.cs
- JpegBitmapEncoder.cs
- TeredoHelper.cs
- BookmarkManager.cs
- CompositeDesignerAccessibleObject.cs
- HttpModuleAction.cs
- SqlError.cs
- Drawing.cs
- RelatedImageListAttribute.cs
- NavigationFailedEventArgs.cs
- FixedTextView.cs
- TableCell.cs
- DES.cs
- mediaeventargs.cs
- QueryConverter.cs
- ZipIOBlockManager.cs
- SmiEventStream.cs
- IconEditor.cs