Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Core / Microsoft / Scripting / Compiler / DebugInfoGenerator.cs / 1305376 / DebugInfoGenerator.cs
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Microsoft Public License. A * copy of the license can be found in the License.html file at the root of this distribution. If * you cannot locate the Microsoft Public License, please send an email to * dlr@microsoft.com. By using this source code in any fashion, you are agreeing to be bound * by the terms of the Microsoft Public License. * * You must not remove this notice, or any other, from this software. * * * ***************************************************************************/ #if MICROSOFT_SCRIPTING_CORE || SILVERLIGHT using ILGenerator = System.Linq.Expressions.Compiler.OffsetTrackingILGenerator; #endif using System; using System.Collections.Generic; using System.Text; using System.Reflection.Emit; using System.Diagnostics; using System.Diagnostics.SymbolStore; using System.Reflection; using System.Linq.Expressions; namespace System.Runtime.CompilerServices { ////// Generates debug information for lambdas in an expression tree. /// public abstract class DebugInfoGenerator { ////// Creates PDB symbol generator. /// ///PDB symbol generator. public static DebugInfoGenerator CreatePdbGenerator() { return new SymbolDocumentGenerator(); } ////// Marks a sequence point. /// /// The lambda being generated. /// IL offset where to mark the sequence point. /// Debug informaton corresponding to the sequence point. public abstract void MarkSequencePoint(LambdaExpression method, int ilOffset, DebugInfoExpression sequencePoint); internal virtual void MarkSequencePoint(LambdaExpression method, MethodBase methodBase, ILGenerator ilg, DebugInfoExpression sequencePoint) { MarkSequencePoint(method, ilg.ILOffset, sequencePoint); } internal virtual void SetLocalName(LocalBuilder localBuilder, string name) { // nop } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DefaultBinder.cs
- DesignerActionMethodItem.cs
- OSFeature.cs
- PanelDesigner.cs
- PointAnimation.cs
- DetailsViewUpdateEventArgs.cs
- ValidationHelper.cs
- UInt32.cs
- ListBindableAttribute.cs
- MemberDomainMap.cs
- IISMapPath.cs
- Int64.cs
- SqlUdtInfo.cs
- TypeListConverter.cs
- prompt.cs
- XmlQueryType.cs
- NameValuePair.cs
- UriTemplateCompoundPathSegment.cs
- UIElementHelper.cs
- MonthChangedEventArgs.cs
- IInstanceContextProvider.cs
- Assert.cs
- SafeLibraryHandle.cs
- PriorityQueue.cs
- PersonalizationStateQuery.cs
- WebConfigurationFileMap.cs
- PersistenceException.cs
- TableCellCollection.cs
- _DomainName.cs
- TransferMode.cs
- VariantWrapper.cs
- NamespaceInfo.cs
- RenderDataDrawingContext.cs
- LayeredChannelListener.cs
- ScriptManagerProxy.cs
- AddInServer.cs
- Clipboard.cs
- ScaleTransform3D.cs
- DataGridViewRowEventArgs.cs
- DataControlField.cs
- FlowDocumentPage.cs
- Canvas.cs
- SessionStateItemCollection.cs
- FontDriver.cs
- PersonalizationState.cs
- IUnknownConstantAttribute.cs
- MatcherBuilder.cs
- HtmlTitle.cs
- Literal.cs
- QuotaExceededException.cs
- GlyphRunDrawing.cs
- XmlSchemaAttribute.cs
- TypeLoadException.cs
- AutomationPattern.cs
- CroppedBitmap.cs
- SessionPageStatePersister.cs
- wgx_sdk_version.cs
- ThemeDictionaryExtension.cs
- TreeNodeCollectionEditor.cs
- OdbcConnectionHandle.cs
- PropertyChangingEventArgs.cs
- RelatedCurrencyManager.cs
- DocumentXPathNavigator.cs
- XmlObjectSerializerReadContext.cs
- PasswordBoxAutomationPeer.cs
- WebPageTraceListener.cs
- SecurityTokenParametersEnumerable.cs
- SurrogateEncoder.cs
- LongCountAggregationOperator.cs
- PropertyStore.cs
- ThicknessKeyFrameCollection.cs
- InputBuffer.cs
- DataProtection.cs
- WindowsPrincipal.cs
- PlaceHolder.cs
- SqlNodeAnnotation.cs
- ToggleButton.cs
- WorkflowTraceTransfer.cs
- PreservationFileWriter.cs
- RuleInfoComparer.cs
- PackUriHelper.cs
- PromptEventArgs.cs
- CategoriesDocumentFormatter.cs
- Header.cs
- Setter.cs
- SqlClientWrapperSmiStream.cs
- MailBnfHelper.cs
- Attributes.cs
- RawStylusInput.cs
- ServiceReference.cs
- TaiwanLunisolarCalendar.cs
- TextTreeUndo.cs
- Pkcs7Signer.cs
- Vector.cs
- Utils.cs
- securitycriticaldata.cs
- TCPListener.cs
- GridViewRowEventArgs.cs
- XamlTreeBuilderBamlRecordWriter.cs
- ProxyWebPartManager.cs