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
- Timer.cs
- WebPartConnection.cs
- Mutex.cs
- safemediahandle.cs
- SerializationEventsCache.cs
- TreeIterators.cs
- RegexCode.cs
- PTUtility.cs
- EdmError.cs
- ButtonAutomationPeer.cs
- LinkedResource.cs
- HttpListenerContext.cs
- XmlCustomFormatter.cs
- XsdDuration.cs
- DockingAttribute.cs
- JavaScriptSerializer.cs
- RepeaterItem.cs
- CodeSpit.cs
- OracleColumn.cs
- MissingSatelliteAssemblyException.cs
- DiscreteKeyFrames.cs
- SurrogateSelector.cs
- LayoutTable.cs
- ProtectedConfiguration.cs
- HttpsTransportBindingElement.cs
- _FtpControlStream.cs
- MethodAccessException.cs
- KeyMatchBuilder.cs
- LiteralControl.cs
- LogManagementAsyncResult.cs
- Rfc2898DeriveBytes.cs
- TemplatePropertyEntry.cs
- NonPrimarySelectionGlyph.cs
- UpdateTracker.cs
- PeerCollaboration.cs
- DesignerTransactionCloseEvent.cs
- ConstraintManager.cs
- BuiltInExpr.cs
- CheckBoxAutomationPeer.cs
- EntityType.cs
- PasswordRecoveryDesigner.cs
- CodeSubDirectoriesCollection.cs
- Geometry3D.cs
- XmlEventCache.cs
- UnaryNode.cs
- mongolianshape.cs
- Registry.cs
- CodeAttachEventStatement.cs
- ClientConfigurationHost.cs
- EdmValidator.cs
- HtmlTableRowCollection.cs
- mda.cs
- webbrowsersite.cs
- DataBindEngine.cs
- QueryOperatorEnumerator.cs
- AddInDeploymentState.cs
- FakeModelPropertyImpl.cs
- SmtpDigestAuthenticationModule.cs
- CheckedPointers.cs
- SendKeys.cs
- HttpWrapper.cs
- PrinterResolution.cs
- SpAudioStreamWrapper.cs
- AggregateException.cs
- EncoderNLS.cs
- EntitySqlQueryState.cs
- XmlSchemaObjectCollection.cs
- DataStreamFromComStream.cs
- GorillaCodec.cs
- CorrelationToken.cs
- Mappings.cs
- ClientType.cs
- TextRenderer.cs
- LambdaCompiler.Lambda.cs
- ZipFileInfo.cs
- ResourceExpressionBuilder.cs
- CookieProtection.cs
- GlobalizationSection.cs
- GridSplitter.cs
- Model3DGroup.cs
- FileSystemEnumerable.cs
- RegexCompiler.cs
- ApplicationManager.cs
- UnsafeNativeMethodsPenimc.cs
- CodeTypeParameterCollection.cs
- MaskedTextBox.cs
- CallbackValidatorAttribute.cs
- ExceptionHandlersDesigner.cs
- Base64Encoder.cs
- CodeTypeDeclaration.cs
- ActivityBuilderHelper.cs
- ActiveDocumentEvent.cs
- Cursors.cs
- SQLInt64.cs
- StreamInfo.cs
- BindingElementExtensionElement.cs
- BaseCodeDomTreeGenerator.cs
- ClonableStack.cs
- DiagnosticTraceSchemas.cs
- TabControlAutomationPeer.cs