- Namespace
- Buildalyzer
- Base Types
-
- object
graph TD
Base0["object"]-->Type
Type["AnalyzerResult"]
class Type type-node
Syntax
public class AnalyzerResult
Properties
Name | Value | Summary |
---|---|---|
Analyzer | ProjectAnalyzer |
Gets the
ProjectAnalyzer that generated this result
or null if the result came from a binary log file.
|
Items | IReadOnlyDictionary |
|
Manager | AnalyzerManager | |
PackageReferences | IReadOnlyDictionary |
Contains the
PackageReference items for the project.
The key is a package ID and the value is a IReadOnlyDictionary<TKey, TValue>
that includes all the package reference metadata, typically including a "Version" key.
|
ProjectFilePath | string |
The full normalized path to the project file.
|
ProjectGuid | Guid |
Gets a GUID for the project. This first attempts to get the
ProjectGuid
MSBuild property. If that's not available, checks for a GUID from the
solution (if originally provided). If neither of those are available, it
will generate a UUID GUID by hashing the project path relative to the solution path (so it's repeatable).
|
ProjectReferences | IEnumerable |
|
Properties | IReadOnlyDictionary |
|
References | string[] | |
SourceFiles | string[] | |
Succeeded | bool | |
TargetFramework | string |
Methods
Name | Value | Summary |
---|---|---|
GetProperty |
string |
Gets the value of the specified property and returns
null
if the property could not be found.
|
Extension Methods
Name | Value | Summary |
---|---|---|
AddToWorkspace |
Project |
Adds a result to an existing Roslyn workspace.
|
GetWorkspace |
AdhocWorkspace |
Gets a Roslyn workspace for the analyzed results.
|