Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / clr / src / BCL / System / Runtime / Remoting / __TransparentProxy.cs / 1 / __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 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 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
- DbConnectionPoolCounters.cs
- MetadataItemEmitter.cs
- HttpContextBase.cs
- DocumentPageView.cs
- DefaultTextStore.cs
- TransportSecurityProtocol.cs
- FixedStringLookup.cs
- GlyphingCache.cs
- HyperLinkStyle.cs
- BufferedReceiveElement.cs
- ImageBrush.cs
- WebPartTransformer.cs
- NamespaceCollection.cs
- TemplateColumn.cs
- SplashScreen.cs
- EventEntry.cs
- SecurityContextSecurityTokenResolver.cs
- PropertyValue.cs
- HttpServerVarsCollection.cs
- WmlMobileTextWriter.cs
- AlphaSortedEnumConverter.cs
- StyleSheetRefUrlEditor.cs
- PropertyToken.cs
- UDPClient.cs
- XpsS0ValidatingLoader.cs
- ConstructorBuilder.cs
- TextBoxBase.cs
- TrustSection.cs
- COM2ExtendedUITypeEditor.cs
- ProviderConnectionPoint.cs
- WebPartConnectionsConnectVerb.cs
- ModelProperty.cs
- SqlDataSourceView.cs
- DetailsViewAutoFormat.cs
- CodeMemberEvent.cs
- CompositeFontInfo.cs
- TreeIterator.cs
- VariableAction.cs
- WindowsSecurityToken.cs
- SafeSecurityHelper.cs
- EventSinkActivity.cs
- ILGen.cs
- PtsHelper.cs
- NullReferenceException.cs
- dsa.cs
- ClipboardProcessor.cs
- XPathScanner.cs
- FileChangesMonitor.cs
- RelationshipConverter.cs
- ControlPager.cs
- DrawToolTipEventArgs.cs
- SID.cs
- Stack.cs
- WeakKeyDictionary.cs
- CroppedBitmap.cs
- AssemblyUtil.cs
- SystemBrushes.cs
- XD.cs
- ProcessProtocolHandler.cs
- UriScheme.cs
- AlphaSortedEnumConverter.cs
- Matrix.cs
- AssertUtility.cs
- WindowsIdentity.cs
- SessionParameter.cs
- MemberMemberBinding.cs
- uribuilder.cs
- SByteStorage.cs
- DataFormats.cs
- IgnorePropertiesAttribute.cs
- ComplusTypeValidator.cs
- EndPoint.cs
- DetailsViewDeleteEventArgs.cs
- TcpStreams.cs
- NgenServicingAttributes.cs
- MouseBinding.cs
- AuthStoreRoleProvider.cs
- CustomCategoryAttribute.cs
- UIElement3D.cs
- ScopedKnownTypes.cs
- CollectionViewSource.cs
- ErrorTableItemStyle.cs
- ExtractCollection.cs
- XamlVector3DCollectionSerializer.cs
- DesignerActionPanel.cs
- SemanticValue.cs
- RegexReplacement.cs
- OracleException.cs
- RegexCaptureCollection.cs
- DeploymentExceptionMapper.cs
- HtmlShimManager.cs
- UnsafeNativeMethodsCLR.cs
- LiteralLink.cs
- ConfigXmlReader.cs
- ConfigurationElementCollection.cs
- EllipseGeometry.cs
- WFItemsToSpacerVisibility.cs
- AmbientProperties.cs
- PerformanceCounterLib.cs
- XmlNamespaceManager.cs