C# Class CodeContractNullability.GeneratedCodeDocumentCache

Within a compilation, caches per-file whether it consists of generated code.
Inspired by StyleCop source code. Path: DotNetAnalyzers/StyleCopAnalyzers/StyleCop.Analyzers/StyleCop.Analyzers/GeneratedCodeAnalysisExtensions.cs
Mostrar archivo Open project: bkoelman/ResharperCodeContractNullability Class Usage Examples

Public Methods

Method Description
IsInGeneratedCodeDocument ( [ symbol, CancellationToken cancellationToken ) : bool

Private Methods

Method Description
IsGeneratedCodeDocument ( [ syntaxTree, CancellationToken cancellationToken ) : bool

Method Details

IsInGeneratedCodeDocument() public method

public IsInGeneratedCodeDocument ( [ symbol, CancellationToken cancellationToken ) : bool
symbol [
cancellationToken System.Threading.CancellationToken
return bool