Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- OciEnlistContext.cs
- SqlIdentifier.cs
- ThousandthOfEmRealDoubles.cs
- Pair.cs
- PointCollectionConverter.cs
- ProfessionalColorTable.cs
- DataBoundControlParameterTarget.cs
- XPathNavigatorReader.cs
- OnOperation.cs
- FilterEventArgs.cs
- ComPlusInstanceContextInitializer.cs
- Operator.cs
- CopyAttributesAction.cs
- FormViewRow.cs
- XmlDocumentFragment.cs
- WeakReference.cs
- TypeListConverter.cs
- DataGridPagerStyle.cs
- ServiceHttpHandlerFactory.cs
- OrderByExpression.cs
- Paragraph.cs
- HijriCalendar.cs
- StructuralType.cs
- TrackBar.cs
- EdmPropertyAttribute.cs
- RadioButtonBaseAdapter.cs
- TreeNodeSelectionProcessor.cs
- Imaging.cs
- Int64KeyFrameCollection.cs
- TemplateNodeContextMenu.cs
- ConnectionConsumerAttribute.cs
- CompressedStack.cs
- ProvideValueServiceProvider.cs
- XmlSchema.cs
- AnnotationComponentChooser.cs
- XamlGridLengthSerializer.cs
- HierarchicalDataSourceControl.cs
- QueryInterceptorAttribute.cs
- ContainerControlDesigner.cs
- Registration.cs
- TablePatternIdentifiers.cs
- ParameterBuilder.cs
- XmlDataProvider.cs
- ExtenderProvidedPropertyAttribute.cs
- RtfNavigator.cs
- OrderedEnumerableRowCollection.cs
- FixedTextPointer.cs
- _CacheStreams.cs
- StrongName.cs
- MonitorWrapper.cs
- PersistChildrenAttribute.cs
- ListenerConnectionDemuxer.cs
- FillRuleValidation.cs
- SkewTransform.cs
- SHA1.cs
- HatchBrush.cs
- DrawingAttributesDefaultValueFactory.cs
- BackgroundWorker.cs
- EntityContainerEmitter.cs
- CaseInsensitiveComparer.cs
- HtmlFormParameterWriter.cs
- XmlQueryTypeFactory.cs
- PrimitiveCodeDomSerializer.cs
- indexingfiltermarshaler.cs
- TextProviderWrapper.cs
- Matrix.cs
- SqlRetyper.cs
- AuthenticationModulesSection.cs
- DesignerAutoFormatStyle.cs
- FacetValues.cs
- ManualResetEventSlim.cs
- IdnElement.cs
- AuthenticationModulesSection.cs
- BindingContext.cs
- ScrollItemPattern.cs
- ModuleConfigurationInfo.cs
- ItemsPanelTemplate.cs
- TimerElapsedEvenArgs.cs
- ExpressionEditorAttribute.cs
- WebPartConnectVerb.cs
- ExtractorMetadata.cs
- StatusBar.cs
- DefaultProxySection.cs
- PathStreamGeometryContext.cs
- Int32Storage.cs
- Models.cs
- Vector3DIndependentAnimationStorage.cs
- ImageButton.cs
- DeferredTextReference.cs
- KeyToListMap.cs
- Token.cs
- CacheHelper.cs
- FontConverter.cs
- TransformGroup.cs
- StrokeCollectionDefaultValueFactory.cs
- SafeNativeMemoryHandle.cs
- FormatSettings.cs
- XLinq.cs
- TrackingProfileCache.cs
- CreateUserWizard.cs