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
- DelegateSerializationHolder.cs
- DataGridViewCellValidatingEventArgs.cs
- DataObjectFieldAttribute.cs
- OpenTypeCommon.cs
- AuthorizationRule.cs
- MaskedTextBox.cs
- HtmlLiteralTextAdapter.cs
- ReflectionUtil.cs
- SqlDataSourceEnumerator.cs
- SizeLimitedCache.cs
- ILGen.cs
- TTSVoice.cs
- DeclaredTypeElement.cs
- WebInvokeAttribute.cs
- DataSourceConverter.cs
- OpacityConverter.cs
- FormViewModeEventArgs.cs
- ThicknessAnimation.cs
- RepeatInfo.cs
- ObjectReaderCompiler.cs
- EnumDataContract.cs
- CatalogPartChrome.cs
- ResourceSet.cs
- KeyPullup.cs
- HtmlEncodedRawTextWriter.cs
- baseshape.cs
- StructuredProperty.cs
- SafeNativeMethodsOther.cs
- StoryFragments.cs
- TemplatedWizardStep.cs
- PropertyTab.cs
- ServiceDescriptionReflector.cs
- WebSysDisplayNameAttribute.cs
- LazyTextWriterCreator.cs
- EventItfInfo.cs
- DbQueryCommandTree.cs
- ScriptHandlerFactory.cs
- BaseParser.cs
- TimeoutException.cs
- RecordManager.cs
- TextSerializer.cs
- ContainerFilterService.cs
- ImageMapEventArgs.cs
- sqlstateclientmanager.cs
- MeasureData.cs
- AnnotationService.cs
- XmlSchemaElement.cs
- VisualStateGroup.cs
- OuterGlowBitmapEffect.cs
- MailWriter.cs
- ToolstripProfessionalRenderer.cs
- EncryptedKey.cs
- GenerateTemporaryTargetAssembly.cs
- XmlEntity.cs
- OleDbWrapper.cs
- PrimarySelectionGlyph.cs
- ConfigXmlComment.cs
- TypeInitializationException.cs
- RightNameExpirationInfoPair.cs
- JournalNavigationScope.cs
- path.cs
- InteropBitmapSource.cs
- _BaseOverlappedAsyncResult.cs
- SocketElement.cs
- StringKeyFrameCollection.cs
- DefaultProxySection.cs
- hebrewshape.cs
- SecurityPermission.cs
- HeaderElement.cs
- SpecularMaterial.cs
- Rfc4050KeyFormatter.cs
- ToolBar.cs
- PresentationTraceSources.cs
- WebPartsSection.cs
- Transform3DGroup.cs
- MDIClient.cs
- ItemsPresenter.cs
- Metafile.cs
- Classification.cs
- ListViewTableRow.cs
- TogglePatternIdentifiers.cs
- TableLayout.cs
- InputChannelBinder.cs
- CodeAttributeArgumentCollection.cs
- XmlSchemaException.cs
- ProtocolException.cs
- InstanceCreationEditor.cs
- X509KeyIdentifierClauseType.cs
- Wildcard.cs
- HostingEnvironmentSection.cs
- FixedSOMPageElement.cs
- WebPartConnectionsDisconnectVerb.cs
- BaseTemplateBuildProvider.cs
- SurrogateSelector.cs
- LocationChangedEventArgs.cs
- TypeExtension.cs
- CssTextWriter.cs
- TableCell.cs
- ConnectionPoolManager.cs
- AddValidationError.cs