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
- PrePrepareMethodAttribute.cs
- WmpBitmapDecoder.cs
- PersistChildrenAttribute.cs
- unitconverter.cs
- LinqDataSourceView.cs
- ReachIDocumentPaginatorSerializer.cs
- QueryExtender.cs
- MessageQueueInstaller.cs
- FormViewPagerRow.cs
- UInt32.cs
- OracleBinary.cs
- BaseProcessor.cs
- CustomWebEventKey.cs
- LogicalTreeHelper.cs
- SymbolTable.cs
- MdiWindowListStrip.cs
- WebPartConnectionsDisconnectVerb.cs
- DeploymentSection.cs
- SchemaTypeEmitter.cs
- WmlLabelAdapter.cs
- uribuilder.cs
- AutomationEvent.cs
- KeyValuePairs.cs
- CodeObjectCreateExpression.cs
- InkCollectionBehavior.cs
- HttpListenerException.cs
- CacheEntry.cs
- StateRuntime.cs
- Label.cs
- WpfKnownMemberInvoker.cs
- OleDbInfoMessageEvent.cs
- Win32.cs
- WebDisplayNameAttribute.cs
- ListBase.cs
- NotifyInputEventArgs.cs
- OdbcConnectionString.cs
- SimpleTypeResolver.cs
- ApplicationGesture.cs
- OleDbFactory.cs
- FilterInvalidBodyAccessException.cs
- PackageController.cs
- initElementDictionary.cs
- MultiTargetingUtil.cs
- ResourcePart.cs
- WindowsNonControl.cs
- HttpServerUtilityWrapper.cs
- MsmqAppDomainProtocolHandler.cs
- WindowsPen.cs
- Pkcs7Recipient.cs
- Rect3DValueSerializer.cs
- FixedTextPointer.cs
- StrongNamePublicKeyBlob.cs
- SystemWebSectionGroup.cs
- TraceUtility.cs
- HttpServerVarsCollection.cs
- HostedController.cs
- IdentityHolder.cs
- HttpGetServerProtocol.cs
- ImageSourceValueSerializer.cs
- NetworkInformationException.cs
- ChineseLunisolarCalendar.cs
- ProfileBuildProvider.cs
- FileResponseElement.cs
- XmlDataDocument.cs
- MgmtResManager.cs
- BamlLocalizabilityResolver.cs
- SystemWebExtensionsSectionGroup.cs
- OSFeature.cs
- OperationInvokerBehavior.cs
- AuthStoreRoleProvider.cs
- EdmProviderManifest.cs
- SchemaElement.cs
- userdatakeys.cs
- MemberMemberBinding.cs
- XmlSchemaObject.cs
- FormattedText.cs
- MethodSignatureGenerator.cs
- PolicyManager.cs
- Pair.cs
- XmlLanguage.cs
- LineVisual.cs
- ReadOnlyTernaryTree.cs
- ProxyAttribute.cs
- SocketAddress.cs
- MasterPageCodeDomTreeGenerator.cs
- Activator.cs
- DataBindingHandlerAttribute.cs
- CommandEventArgs.cs
- ReadOnlyHierarchicalDataSourceView.cs
- SimpleHandlerFactory.cs
- NetNamedPipeSecurity.cs
- PersistenceProviderFactory.cs
- BoundField.cs
- FillBehavior.cs
- AxHost.cs
- ArrayWithOffset.cs
- BaseResourcesBuildProvider.cs
- PtsCache.cs
- Sequence.cs
- UserControlAutomationPeer.cs