C# Class Microsoft.CodeAnalysis.Diagnostics.SymbolDeclaredCompilationEvent

An event for each declaration in the program (namespace, type, method, field, parameter, etc). Note that some symbols may have multiple declarations (namespaces, partial types) and may therefore have multiple events.
Inheritance: Microsoft.CodeAnalysis.Diagnostics.CompilationEvent
Mostra file Open project: lodejard/AllNetCore Class Usage Examples

Public Methods

Method Description
FlushCache ( ) : void
SemanticModel ( SyntaxReference reference ) : SemanticModel
SymbolDeclaredCompilationEvent ( Compilation compilation, ISymbol symbol ) : System
SymbolDeclaredCompilationEvent ( Compilation compilation, ISymbol symbol, Lazy lazySemanticModel ) : System
ToString ( ) : string
WithSemanticModel ( SemanticModel model ) : SymbolDeclaredCompilationEvent

Private Methods

Method Description
SymbolDeclaredCompilationEvent ( SymbolDeclaredCompilationEvent original, SemanticModel newSemanticModel ) : System

Method Details

FlushCache() public method

public FlushCache ( ) : void
return void

SemanticModel() public method

public SemanticModel ( SyntaxReference reference ) : SemanticModel
reference SyntaxReference
return SemanticModel

SymbolDeclaredCompilationEvent() public method

public SymbolDeclaredCompilationEvent ( Compilation compilation, ISymbol symbol ) : System
compilation Compilation
symbol ISymbol
return System

SymbolDeclaredCompilationEvent() public method

public SymbolDeclaredCompilationEvent ( Compilation compilation, ISymbol symbol, Lazy lazySemanticModel ) : System
compilation Compilation
symbol ISymbol
lazySemanticModel Lazy
return System

ToString() public method

public ToString ( ) : string
return string

WithSemanticModel() public method

public WithSemanticModel ( SemanticModel model ) : SymbolDeclaredCompilationEvent
model SemanticModel
return SymbolDeclaredCompilationEvent