GeneratorRunResult.Diagnostics Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A collection of Diagnostics reported by Generator
public System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostic> Diagnostics { get; }
member this.Diagnostics : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostic>
Public ReadOnly Property Diagnostics As ImmutableArray(Of Diagnostic)
Property Value
Remarks
When generation fails due to an Exception being thrown, a single diagnostic is added to represent the failure. Any generator reported diagnostics up to the failure point are not included.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.