Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- UserControl.cs
- SecurityUniqueId.cs
- HMACSHA512.cs
- ManipulationStartedEventArgs.cs
- CodeNamespaceCollection.cs
- KnownTypeAttribute.cs
- X500Name.cs
- ChangeInterceptorAttribute.cs
- ConstraintEnumerator.cs
- ObjectListItem.cs
- ImageKeyConverter.cs
- ApplicationCommands.cs
- TriggerCollection.cs
- AnnotationComponentManager.cs
- NamedPipeAppDomainProtocolHandler.cs
- WriterOutput.cs
- IPAddressCollection.cs
- FontDriver.cs
- ListBoxItemWrapperAutomationPeer.cs
- MatrixConverter.cs
- XmlPreloadedResolver.cs
- BindingNavigatorDesigner.cs
- CompressStream.cs
- KeyValuePair.cs
- TreeNodeCollection.cs
- ConfigurationSectionGroup.cs
- WorkflowHostingEndpoint.cs
- ASCIIEncoding.cs
- Menu.cs
- PKCS1MaskGenerationMethod.cs
- DecoderNLS.cs
- FixedDSBuilder.cs
- DataGridViewRowStateChangedEventArgs.cs
- XmlSchemaNotation.cs
- AssociationTypeEmitter.cs
- ProfessionalColors.cs
- HitTestWithPointDrawingContextWalker.cs
- GroupPartitionExpr.cs
- VideoDrawing.cs
- ShapeTypeface.cs
- Size3DConverter.cs
- RelatedPropertyManager.cs
- RepeatBehavior.cs
- ListQueryResults.cs
- GetWinFXPath.cs
- StringBuilder.cs
- TextElementEnumerator.cs
- SimpleTextLine.cs
- unsafeIndexingFilterStream.cs
- EntityCommand.cs
- PolygonHotSpot.cs
- FocusManager.cs
- ImageField.cs
- DecimalFormatter.cs
- StoreContentChangedEventArgs.cs
- ProgressChangedEventArgs.cs
- RadialGradientBrush.cs
- RoutedEventValueSerializer.cs
- ConnectionOrientedTransportManager.cs
- ObjectSecurityT.cs
- HttpsChannelListener.cs
- TimeSpanHelper.cs
- ToolStripRenderer.cs
- SimpleTypeResolver.cs
- VectorValueSerializer.cs
- DataFieldConverter.cs
- XPathNodeInfoAtom.cs
- GB18030Encoding.cs
- StylusCollection.cs
- DeferredSelectedIndexReference.cs
- DesignerVerb.cs
- CallbackHandler.cs
- TextRange.cs
- SyntaxCheck.cs
- SettingsSection.cs
- ErrorFormatter.cs
- ObjectHandle.cs
- MemoryMappedViewStream.cs
- RtfToXamlReader.cs
- CqlWriter.cs
- SpnegoTokenProvider.cs
- WebEventTraceProvider.cs
- PrintingPermission.cs
- StringFormat.cs
- ToolboxItemCollection.cs
- ProfileEventArgs.cs
- AdRotator.cs
- SmiContextFactory.cs
- DataGridColumnHeaderItemAutomationPeer.cs
- PageAsyncTaskManager.cs
- GeneralTransform2DTo3DTo2D.cs
- MobileUITypeEditor.cs
- BinaryOperationBinder.cs
- ToolBarButtonDesigner.cs
- DictionaryContent.cs
- MetadataArtifactLoaderFile.cs
- CapabilitiesRule.cs
- XLinq.cs
- BufferAllocator.cs
- PanelDesigner.cs