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
- ReadContentAsBinaryHelper.cs
- FixedPageStructure.cs
- QueryOperationResponseOfT.cs
- SmiMetaDataProperty.cs
- HtmlGenericControl.cs
- EncryptedKey.cs
- EntityTemplateFactory.cs
- HybridDictionary.cs
- StrongNameHelpers.cs
- NetSectionGroup.cs
- SafeFileMappingHandle.cs
- SyndicationDeserializer.cs
- Propagator.ExtentPlaceholderCreator.cs
- BlobPersonalizationState.cs
- ExpressionBuilderCollection.cs
- Parameter.cs
- FontStretches.cs
- TextPatternIdentifiers.cs
- CodeMemberEvent.cs
- BuildProvider.cs
- ScriptReference.cs
- GcHandle.cs
- CharStorage.cs
- GlyphRunDrawing.cs
- FieldNameLookup.cs
- DrawingState.cs
- ControlPropertyNameConverter.cs
- ISessionStateStore.cs
- RegistryPermission.cs
- ImageMapEventArgs.cs
- SchemaContext.cs
- FontSource.cs
- FileLoadException.cs
- BitFlagsGenerator.cs
- DummyDataSource.cs
- SqlGatherProducedAliases.cs
- XhtmlBasicPhoneCallAdapter.cs
- EntityCommandCompilationException.cs
- ConsoleTraceListener.cs
- XmlSchemaComplexContentExtension.cs
- AdornerLayer.cs
- HtmlControlPersistable.cs
- WindowsListViewScroll.cs
- DirtyTextRange.cs
- FormClosedEvent.cs
- UserControl.cs
- keycontainerpermission.cs
- BindingCollection.cs
- Condition.cs
- TransformDescriptor.cs
- MobileUserControlDesigner.cs
- BamlTreeMap.cs
- AssemblyHash.cs
- CustomErrorCollection.cs
- OnOperation.cs
- InheritedPropertyDescriptor.cs
- PixelFormatConverter.cs
- SoapEnumAttribute.cs
- TableLayoutStyleCollection.cs
- ModelServiceImpl.cs
- UndoManager.cs
- Selector.cs
- ConfigsHelper.cs
- Rect3D.cs
- XmlSchema.cs
- ScopeElementCollection.cs
- TypeListConverter.cs
- Propagator.cs
- TextModifier.cs
- Size.cs
- XomlCompilerHelpers.cs
- FontDifferentiator.cs
- EditingCommands.cs
- ProcessProtocolHandler.cs
- HMACSHA1.cs
- sqlstateclientmanager.cs
- SqlTypeConverter.cs
- RotateTransform3D.cs
- __Filters.cs
- BinaryNode.cs
- X509Certificate.cs
- COM2TypeInfoProcessor.cs
- PointConverter.cs
- PerformanceCounterCategory.cs
- InProcStateClientManager.cs
- DeploymentSectionCache.cs
- XmlDocumentFieldSchema.cs
- TrayIconDesigner.cs
- RequestNavigateEventArgs.cs
- TransactionScope.cs
- XmlSerializerNamespaces.cs
- StickyNoteContentControl.cs
- TransactionalPackage.cs
- MruCache.cs
- CSharpCodeProvider.cs
- SoapFault.cs
- CustomExpressionEventArgs.cs
- TextBlock.cs
- TaskCanceledException.cs
- PropertyPushdownHelper.cs