Click or drag to resize

Microsoft.CodeAnalysis Namespace

Public classAccessibility
Enumeration for common accessibility combinations.
Public classAdditionalText
Represents a non source code file.
Public classAdhocWorkspace
A workspace that allows full manipulation of projects and documents, but does not persist changes.
Public classAnnotationExtensions
Public classApplyChangesKind
Public classAssemblyIdentity
Represents an identity of an assembly as defined by CLI metadata specification.
Public classAssemblyIdentityComparer
Compares assembly identities. Derived types may implement platform specific unification and portability policies.
Public classAssemblyIdentityComparerComparisonResult
A set of possible outcomes of AssemblyIdentity comparison.
Public classAssemblyIdentityParts
Public classAssemblyMetadata
Represents an immutable snapshot of assembly CLI metadata.
Public classAttributeData
Public classCandidateReason
Indicates the reasons why a candidate (or set of candidate) symbols were not considered correct in SemanticInfo. Higher values take precedence over lower values, so if, for example, there a symbol with a given name that was inaccessible, and other with the wrong arity, only the inaccessible one would be reported in the SemanticInfo.
Public classCaseInsensitiveComparison
Case-insensitive operations (mostly comparison) on unicode strings.
Public classChildSyntaxList
Public classChildSyntaxListEnumerator
Enumerates the elements of a ChildSyntaxList.
Public classChildSyntaxListReversed
Public classChildSyntaxListReversedEnumerator
Public classCommandLineAnalyzerReference
Describes a command line analyzer assembly specification.
Public classCommandLineArguments
The base class for representing command line arguments to a CommonCompiler.
Public classCommandLineParser
Public classCommandLineProject
Public classCommandLineReference
Describes a command line metadata reference (assembly or netmodule) specification.
Public classCommandLineSourceFile
Describes a source file specification stored on command line arguments.
Public classCompilation
The compilation object is an immutable representation of a single invocation of the compiler. Although immutable, a compilation is also on-demand, and will realize and cache data as necessary. A compilation can produce a new compilation from existing compilation with the application of small deltas. In many cases, it is more efficient than creating a new compilation from scratch, as the new compilation can reuse information from the old compilation.
Public classCompilationOptions
Represents compilation options common to C# and VB.
Public classCompilationReference
Reference to another C# or VB compilation.
Public classControlFlowAnalysis
Provides information about statements which transfer control in and out of a region. This information is returned from a call to AnalyzeControlFlow(SyntaxNode).
Public classCSharpExtensions
Public classCustomModifier
Public classDataFlowAnalysis
Provides information about how data flows into and out of a region. This information is returned from a call to AnalyzeDataFlow(SyntaxNode, SyntaxNode), or one of its language-specific overloads, where you pass the first and last statements of the region as parameters. "Inside" means those statements or ones between them. "Outside" are any other statements of the same method.
Public classDesktopAssemblyIdentityComparer
Public classDesktopStrongNameProvider
Provides strong name and signs source assemblies.
Public classDiagnostic
Represents a diagnostic, such as a compiler error or a warning, along with the location where it occurred.
Public classDiagnosticDescriptor
Provides a description about a Diagnostic
Public classDiagnosticFormatter
Formats Diagnostic messages.
Public classDiagnosticSeverity
Describes how severe a diagnostic is.
Public classDllImportData
Information that describes how a method from the underlying Platform is to be invoked.
Public classDocument
Represents a source code document that is part of a project. It provides access to the source text, parsed syntax tree and the corresponding semantic model.
Public classDocumentActiveContextChangedEventArgs
Public classDocumentationCommentId
APIs for constructing documentation comment id's, and finding symbols that match ids.
Public classDocumentationMode
Specifies the different documentation comment processing modes.
Public classDocumentationProvider
A class used to provide XML documentation to the compiler for members from metadata. A custom implementation of this class should be returned from a DocumentationResolver to provide XML documentation comments from custom caches or locations.
Public classDocumentDiagnostic
Public classDocumentEventArgs
Public classDocumentId
An identifier that can be used to retrieve the same Document across versions of the workspace.
Public classDocumentInfo
A class that represents all the arguments necessary to create a new document instance.
Public classEmbeddedText
Represents text to be embedded in a PDB.
Public classExtensionOrderAttribute
Public classFileLinePositionSpan
Represents a span of text in a source code file in terms of file name, line number, and offset within line. However, the file is actually whatever was passed in when asked to parse; there may not really be a file.
Public classFileSystemExtensions
Public classFileTextLoader
Public classISymbolExtensions
Public classLanguageNames
A class that provides constants for common language names.
Public classLineVisibility
The state of the visibility of a line.
Public classLocalizableResourceString
A localizable resource string that may possibly be formatted differently depending on culture.
Public classLocalizableString
A string that may possibly be formatted differently depending on culture. NOTE: Types implementing LocalizableString must be serializable.
Public classLocation
A program location in source code.
Public classLocationKind
Specifies the kind of location (source vs. metadata).
Public classMetadata
Represents immutable assembly or module CLI metadata.
Public classMetadataId
An Id that can be used to identify a metadata instance. If two metadata instances have the same id then they are guaranteed to have the same content. If two metadata instances have different ids, then the contents may or may not be the same. As such, the id is useful as a key in a cache when a client wants to share data for a metadata reference as long as it has not changed.
Public classMetadataImageKind
The kind of metadata a PE file image contains.
Public classMetadataReference
Represents metadata image reference.
Public classMetadataReferenceProperties
Information about a metadata reference.
Public classMetadataReferenceResolver
Resolves references to metadata specified in the source (#r directives).
Public classMethodKind
Enumeration for possible kinds of method symbols.
Public classModelExtensions
Public classModuleMetadata
Represents an immutable snapshot of module CLI metadata.
Public classNamespaceKind
Describes the kind of the namespace extent.
Public classOperationKind
All of the kinds of operations, including statements and expressions.
Public classOptimizationLevel
Determines the level of optimization of the generated code.
Public classOptionalT
Represents a value type that can be assigned null.
Public classOutputKind
Specifies output assembly kinds generated by compiler.
Public classParseOptions
Represents parse options common to C# and VB.
Public classPlatform
Public classPortableExecutableReference
Reference to metadata stored in the standard ECMA-335 metadata format.
Public classPreprocessingSymbolInfo
Public classPreservationMode
The mode in which value is preserved.
Public classProject
Represents a project that is part of a Solution.
Public classProjectChanges
Public classProjectDependencyGraph
A ProjectDependencyGraph models the dependencies between projects in a solution.
Public classProjectDiagnostic
Public classProjectId
An identifier that can be used to refer to the same Project across versions.
Public classProjectInfo
A class that represents all the arguments necessary to create a new project instance.
Public classProjectReference
Public classRefKind
Denotes the kind of reference parameter.
Public classReportDiagnostic
Describes how to report a warning diagnostic.
Public classResourceDescription
Representation of a resource whose contents are to be embedded in the output assembly.
Public classRuleSet
Represents a set of rules as specified in a ruleset file.
Public classRuleSetInclude
Represents a Include tag in a RuleSet file.
Public classScriptCompilationInfo
Public classSemanticModel
Allows asking semantic questions about a tree of syntax nodes in a Compilation. Typically, an instance is obtained by a call to GetBinding on a Compilation or Compilation.
Public classSeparatedSyntaxListTNode
Public classSeparatedSyntaxListTNodeEnumerator
Public classSolution
Represents a set of projects and their source code documents.
Public classSolutionChanges
Public classSolutionId
An identifier that can be used to refer to the same Solution across versions.
Public classSolutionInfo
A class that represents all the arguments necessary to create a new solution instance.
Public classSourceCodeKind
Specifies the C# or VB source code kind.
Public classSourceFileResolver
Resolves references to source files specified in source code.
Public classSourceReferenceResolver
Resolves references to source documents specified in the source.
Public classSpecialType
Specifies the Ids of special runtime types.
Public classSpeculativeBindingOption
Describes the kind of binding to be performed in one of the SemanticModel speculative binding methods.
Public classStrongNameProvider
Provides strong name and signs source assemblies.
Public classSubsystemVersion
Represents subsystem version, see /subsystemversion command line option for details and valid values. The following table lists common subsystem versions of Windows. Windows version Subsystem version - Windows 2000 5.00 - Windows XP 5.01 - Windows Vista 6.00 - Windows 7 6.01 - Windows 8 Release Preview 6.02
Public classSymbolDisplayDelegateStyle
Specifies how to display delegates (just the name or the name with the signature).
Public classSymbolDisplayExtensionMethodStyle
Specifies how to display extension methods.
Public classSymbolDisplayExtensions
Exposes extension methods for displaying symbol descriptions.
Public classSymbolDisplayFormat
Describes the formatting rules that should be used when displaying symbols.
Public classSymbolDisplayGenericsOptions
Specifies the options for how generics are displayed in the description of a symbol.
Public classSymbolDisplayGlobalNamespaceStyle
Specifies the options for how to display the global namespace in the description of a symbol.
Public classSymbolDisplayKindOptions
Specifies which kind keywords should be included when displaying symbols.
Public classSymbolDisplayLocalOptions
Specifies the options for how locals are displayed in the description of a symbol.
Public classSymbolDisplayMemberOptions
Specifies the options for how members are displayed in the description of a symbol.
Public classSymbolDisplayMiscellaneousOptions
Specifies miscellaneous options about the format of symbol descriptions.
Public classSymbolDisplayParameterOptions
Specifies how parameters are displayed in the description of a (member, property/indexer, or delegate) symbol.
Public classSymbolDisplayPart
A single element of a symbol description. For example, a keyword, a punctuation character or a class name.
Public classSymbolDisplayPartKind
Specifies the kinds of a piece of classified text (SymbolDisplayPart).
Public classSymbolDisplayPropertyStyle
Specifies the options for how properties are displayed in symbol descriptions.
Public classSymbolDisplayTypeQualificationStyle
Specifies how much qualification is used in symbol descriptions.
Public classSymbolFilter
Indicate what kinds of declaration symbols will be included
Public classSymbolInfo
Public classSymbolKind
Specifies the possible kinds of symbols.
Public classSymbolVisitor
Public classSymbolVisitorTResult
Public classSyntaxAnnotation
A SyntaxAnnotation is used to annotate syntax elements with additional information. Since syntax elements are immutable, annotating them requires creating new instances of them with the annotations attached.
Public classSyntaxListTNode
A list of SyntaxNode.
Public classSyntaxListTNodeEnumerator
Public classSyntaxNode
Represents a non-terminal node in the syntax tree. This is the language agnostic equivalent of SyntaxNode and SyntaxNode.
Public classSyntaxNodeExtensions
Public classSyntaxNodeOrToken
A wrapper for either a syntax node (SyntaxNode) or a syntax token (SyntaxToken).
Public classSyntaxNodeOrTokenList
A list of SyntaxNodeOrToken structures.
Public classSyntaxNodeOrTokenListEnumerator
Enumerator for lists of SyntaxNodeOrToken structs.
Public classSyntaxReference
A reference to a syntax node.
Public classSyntaxRemoveOptions
Public classSyntaxToken
Represents a token in the syntax tree. This is the language agnostic equivalent of SyntaxToken and SyntaxToken.
Public classSyntaxTokenList
Represents a read-only list of SyntaxToken.
Public classSyntaxTokenListEnumerator
A structure for enumerating a SyntaxTokenList
Public classSyntaxTokenListReversed
Reversed enumerable.
Public classSyntaxTokenListReversedEnumerator
Public classSyntaxTree
The parsed representation of a source document.
Public classSyntaxTrivia
Represents a trivia in the syntax tree. This is the language agnostic equivalent of SyntaxTrivia and SyntaxTrivia.
Public classSyntaxTriviaList
Represents a read-only list of SyntaxTrivia.
Public classSyntaxTriviaListEnumerator
Public classSyntaxTriviaListReversed
Reversed enumerable.
Public classSyntaxTriviaListReversedEnumerator
Public classSyntaxWalker
Walks the syntax tree, allowing subclasses to operate on all nodes, token and trivia. The walker will perform a depth first walk of the tree.
Public classSyntaxWalkerDepth
Syntax the SyntaxWalker should descent into.
Public classTaggedText
A piece of text with a descriptive tag.
Public classTextAndVersion
A class that represents both a source text and its version stamp.
Public classTextDocument
Public classTextLoader
A class that represents access to a source text and its version from a storage location.
Public classTextTags
The set of well known text tags used for the Tag property. These tags influence the presentation of text.
Public classTypedConstant
Represents a constant value used as an argument to a custom attribute.
Public classTypedConstantKind
Represents the kind of a TypedConstant.
Public classTypeInfo
Public classTypeKind
Enumeration for possible kinds of type symbols.
Public classTypeParameterKind
Represents the different kinds of type parameters.
Public classUnresolvedMetadataReference
Represents a metadata reference that can't be or is not yet resolved.
Public classVarianceKind
An enumeration declaring the kinds of variance supported for generic type parameters.
Public classVersionStamp
VersionStamp should be only used to compare versions returned by same API.
Public classVisualBasicExtensions
Addition Visual Basic syntax extension methods.
Public classWellKnownDiagnosticTags
Public classWellKnownMemberNames
Specifies the member names known to the compiler (such as .ctor or op_Explicit).
Public classWorkspace
A workspace provides access to a active set of source code projects and documents and their associated syntax trees, compilations and semantic models. A workspace has a current solution that is an immutable snapshot of the projects and documents. This property may change over time as the workspace is updated either from live interactions in the environment or via call to the workspace's TryApplyChanges(Solution) method.
Public classWorkspaceChangeEventArgs
Public classWorkspaceChangeKind
Public classWorkspaceDiagnostic
Public classWorkspaceDiagnosticEventArgs
Public classWorkspaceDiagnosticKind
Public classWorkspaceKind
Known workspace kinds
Public classWorkspaceRegistration
Public classXmlDocumentationProvider
A class used to provide XML documentation to the compiler for members from metadata from an XML document source.
Public classXmlFileResolver
Resolves references to XML files specified in the source.
Public classXmlReferenceResolver
Resolves references to XML documents specified in source code.
Public interfaceIAliasSymbol
Represents a using alias (Imports alias in Visual Basic).
Public interfaceIAnalyzerAssemblyLoader
Handles loading analyzer assemblies and their dependencies. Before an analyzer assembly is loaded with LoadFromPath(String), its location and the location of all of its dependencies must first be specified by calls to AddDependencyLocation(String).
Public interfaceIArrayTypeSymbol
Represents an array.
Public interfaceIAssemblySymbol
Represents a .NET assembly, consisting of one or more modules.
Public interfaceICompilationUnitSyntax
Interface implemented by any node that is the root 'CompilationUnit' of a SyntaxTree. i.e. any node returned by GetRoot(CancellationToken) where HasCompilationUnitRoot is
will implement this interface. This interface provides a common way to both easily find the root of a SyntaxTree given any SyntaxNode, as well as a common way for handling the special EndOfFileToken that is needed to store all final trivia in a SourceText that is not owned by any other SyntaxToken.
Public interfaceIDiscardSymbol
A symbol representing a discarded value, e.g. a symbol in the result of GetSymbolInfo for `_` in `M(out _)` or `(x, _) = e`.
Public interfaceIDynamicTypeSymbol
Represents the 'dynamic' type in C#.
Public interfaceIErrorTypeSymbol
An IErrorTypeSymbol is used when the compiler cannot determine a symbol object to return because of an error. For example, if a field is declared "Foo x;", and the type "Foo" cannot be found, an IErrorTypeSymbol is returned when asking the field "x" what it's type is.
Public interfaceIEventSymbol
Represents an event.
Public interfaceIFieldSymbol
Represents a field in a class, struct or enum.
Public interfaceILabelSymbol
Represents a label in method body
Public interfaceILocalSymbol
Represents a local variable in method body.
Public interfaceIMethodSymbol
Represents a method or method-like symbol (including constructor, destructor, operator, or property/event accessor).
Public interfaceIModuleSymbol
Represents a module within an assembly. Every assembly contains one or more modules.
Public interfaceINamedTypeSymbol
Represents a type other than an array, a pointer, a type parameter.
Public interfaceINamespaceOrTypeSymbol
Represents either a namespace or a type.
Public interfaceINamespaceSymbol
Represents a namespace.
Public interfaceIOperation
Root type for representing the abstract semantics of C# and VB statements and expressions.
Public interfaceIParameterSymbol
Represents a parameter of a method or property.
Public interfaceIPointerTypeSymbol
Represents a pointer type such as "int *". Pointer types are used only in unsafe code.
Public interfaceIPreprocessingSymbol
Represents a preprocessing conditional compilation symbol.
Public interfaceIPropertySymbol
Represents a property or indexer.
Public interfaceIRangeVariableSymbol
Represents a range variable in a query expression.
Public interfaceISkippedTokensTriviaSyntax
Represents structured trivia that contains skipped tokens. This is implemented by SkippedTokensTriviaSyntax and SkippedTokensTriviaSyntax.
Public interfaceISourceAssemblySymbol
Represents a source assembly symbol exposed by the compiler.
Public interfaceIStructuredTriviaSyntax
Represents the root node of a structured trivia tree (for example, a preprocessor directive or a documentation comment). From this root node you can traverse back up to the containing trivia in the outer tree that contains it.
Public interfaceISymbol
Represents a symbol (namespace, class, method, parameter, etc.) exposed by the compiler.
Public interfaceITypeParameterSymbol
Represents a type parameter in a generic type or generic method.
Public interfaceITypeSymbol
Represents a type.