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
- XmlDomTextWriter.cs
- TagPrefixAttribute.cs
- ErrorWrapper.cs
- XmlLinkedNode.cs
- BinaryMessageEncoder.cs
- CommandHelper.cs
- BuildProviderUtils.cs
- JavaScriptObjectDeserializer.cs
- TableLayoutPanel.cs
- Optimizer.cs
- ProcessHostConfigUtils.cs
- ZoomPercentageConverter.cs
- Bezier.cs
- NegotiateStream.cs
- RuntimeArgumentHandle.cs
- BitmapEffectCollection.cs
- DeclarationUpdate.cs
- ContractComponent.cs
- HwndTarget.cs
- CollectionViewGroup.cs
- HtmlTableCellCollection.cs
- ContractHandle.cs
- DependencySource.cs
- DoubleAnimationUsingPath.cs
- HelpHtmlBuilder.cs
- COMException.cs
- FormatterConverter.cs
- WebScriptEndpoint.cs
- Debug.cs
- TextView.cs
- KeyInterop.cs
- DictionaryBase.cs
- PrimitiveType.cs
- FontUnit.cs
- handlecollector.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- KeyEventArgs.cs
- SiblingIterators.cs
- TextEndOfSegment.cs
- ColorConvertedBitmap.cs
- TableAutomationPeer.cs
- IntellisenseTextBox.designer.cs
- TextBoxAutoCompleteSourceConverter.cs
- WeakHashtable.cs
- GeometryModel3D.cs
- GridErrorDlg.cs
- HostingEnvironmentSection.cs
- FacetValues.cs
- Encoder.cs
- XPathChildIterator.cs
- NonVisualControlAttribute.cs
- baseaxisquery.cs
- MergePropertyDescriptor.cs
- TransactionFilter.cs
- path.cs
- RayMeshGeometry3DHitTestResult.cs
- EventWaitHandleSecurity.cs
- DictionaryItemsCollection.cs
- LineInfo.cs
- DATA_BLOB.cs
- EncoderParameter.cs
- DisableDpiAwarenessAttribute.cs
- SchemaTypeEmitter.cs
- FixedTextBuilder.cs
- QueryContinueDragEvent.cs
- BitArray.cs
- UnauthorizedAccessException.cs
- WebBrowserUriTypeConverter.cs
- ButtonChrome.cs
- Membership.cs
- ManagementException.cs
- UnsafeMethods.cs
- SqlRowUpdatingEvent.cs
- InvalidProgramException.cs
- X509WindowsSecurityToken.cs
- SafeCryptoHandles.cs
- ViewCellRelation.cs
- QilTypeChecker.cs
- AssemblyBuilderData.cs
- PathFigure.cs
- CommandID.cs
- MimeReflector.cs
- XmlElementList.cs
- MetadataPropertyCollection.cs
- IriParsingElement.cs
- SymLanguageType.cs
- PersistenceTypeAttribute.cs
- PiiTraceSource.cs
- PrimaryKeyTypeConverter.cs
- DefinitionUpdate.cs
- FrameworkRichTextComposition.cs
- StyleBamlTreeBuilder.cs
- PixelShader.cs
- sqlnorm.cs
- RoleGroupCollection.cs
- ConnectionManagementElementCollection.cs
- MarkupObject.cs
- ManagedFilter.cs
- NamespaceList.cs
- WebAdminConfigurationHelper.cs