Click or drag to resize

ModelExtensions Class



Inheritance Hierarchy
SystemObject
  Microsoft.CodeAnalysisModelExtensions

Namespace:  Microsoft.CodeAnalysis
Assembly:  Microsoft.CodeAnalysis (in Microsoft.CodeAnalysis.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public static class ModelExtensions

The ModelExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAnalyzeControlFlow(SemanticModel, SyntaxNode)
Analyze control-flow within a part of a method body.
Public methodStatic memberAnalyzeControlFlow(SemanticModel, SyntaxNode, SyntaxNode)
Analyze control-flow within a part of a method body.
Public methodStatic memberAnalyzeDataFlow(SemanticModel, SyntaxNode)
Analyze data-flow within a part of a method body.
Public methodStatic memberAnalyzeDataFlow(SemanticModel, SyntaxNode, SyntaxNode)
Analyze data-flow within a part of a method body.
Public methodStatic memberGetAliasInfo
If "nameSyntax" resolves to an alias name, return the IAliasSymbol corresponding to A. Otherwise return null.
Public methodStatic memberGetDeclaredSymbol
Gets the symbol associated with a declaration syntax node.
Public methodStatic memberGetMemberGroup
Gets a list of method or indexed property symbols for a syntax node.
Public methodStatic memberGetSpeculativeAliasInfo
Binds the name in the context of the specified location and sees if it resolves to an alias name. If it does, return the AliasSymbol corresponding to it. Otherwise, return null.
Public methodStatic memberGetSpeculativeSymbolInfo
Binds the node in the context of the specified location and get semantic information such as type, symbols and diagnostics. This method is used to get semantic information about an expression that did not actually appear in the source code.
Public methodStatic memberGetSpeculativeTypeInfo
Binds the node in the context of the specified location and get semantic information such as type, symbols and diagnostics. This method is used to get semantic information about an expression that did not actually appear in the source code.
Public methodStatic memberGetSymbolInfo
Gets symbol information about a syntax node.
Public methodStatic memberGetTypeInfo
Gets type information about a syntax node.
Top
See Also