Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- AsyncOperationManager.cs
- SystemResources.cs
- ZipIOModeEnforcingStream.cs
- ProtocolsSection.cs
- DbProviderSpecificTypePropertyAttribute.cs
- TextEditor.cs
- NodeFunctions.cs
- DiscriminatorMap.cs
- SecurityPolicySection.cs
- BoundConstants.cs
- ReadOnlyMetadataCollection.cs
- DeviceContext2.cs
- MetadataUtilsSmi.cs
- ToolStrip.cs
- DataBindingCollection.cs
- InputScopeNameConverter.cs
- ScrollChangedEventArgs.cs
- InstanceValue.cs
- PointUtil.cs
- MD5.cs
- ConstraintConverter.cs
- EraserBehavior.cs
- ObjectStateManager.cs
- ObjectQueryProvider.cs
- XmlSchemaObjectTable.cs
- MemberAccessException.cs
- NativeRightsManagementAPIsStructures.cs
- GradientStopCollection.cs
- Exceptions.cs
- EncryptedData.cs
- TextTreeInsertElementUndoUnit.cs
- ProcessHost.cs
- XmlJsonWriter.cs
- CharacterBuffer.cs
- GeometryCombineModeValidation.cs
- FamilyMap.cs
- TextSpan.cs
- ParentUndoUnit.cs
- ToolBar.cs
- FtpWebResponse.cs
- SqlTopReducer.cs
- RawTextInputReport.cs
- HeaderedContentControl.cs
- WebControl.cs
- ContentPlaceHolder.cs
- NativeMethods.cs
- OleDbStruct.cs
- ProtocolElementCollection.cs
- DataViewListener.cs
- Path.cs
- WmpBitmapEncoder.cs
- InstancePersistenceException.cs
- shaperfactoryquerycacheentry.cs
- SqlUserDefinedAggregateAttribute.cs
- QueryTask.cs
- TypeToStringValueConverter.cs
- TouchesOverProperty.cs
- ConfigXmlText.cs
- XmlDocumentFragment.cs
- _BaseOverlappedAsyncResult.cs
- Mappings.cs
- SemanticValue.cs
- MissingMethodException.cs
- TableColumn.cs
- DataGridSortCommandEventArgs.cs
- DragSelectionMessageFilter.cs
- NavigationService.cs
- RuntimeArgumentHandle.cs
- ImageSourceConverter.cs
- DbConnectionFactory.cs
- HttpListenerRequest.cs
- GetFileNameResult.cs
- XmlWrappingReader.cs
- DataGridDesigner.cs
- IriParsingElement.cs
- DataGridViewControlCollection.cs
- ParseChildrenAsPropertiesAttribute.cs
- EDesignUtil.cs
- WrapPanel.cs
- Win32PrintDialog.cs
- ProgressiveCrcCalculatingStream.cs
- COM2ComponentEditor.cs
- CodeLabeledStatement.cs
- DataGridBeginningEditEventArgs.cs
- ScriptingScriptResourceHandlerSection.cs
- BaseServiceProvider.cs
- ClientSettings.cs
- WindowVisualStateTracker.cs
- Stopwatch.cs
- ProgressiveCrcCalculatingStream.cs
- TextBlock.cs
- Context.cs
- TaiwanLunisolarCalendar.cs
- MonitoringDescriptionAttribute.cs
- ChooseAction.cs
- AppDomainManager.cs
- WebPartRestoreVerb.cs
- Double.cs
- FormatConvertedBitmap.cs
- TreeNodeCollectionEditor.cs