MetalamaAPI documentationAdvanced APIMetalama.​CompilerMetalama­Compiler­AnnotationsTry­Get­Code­Coverage­Redirection­From­Annotation
Open sandboxFocus

MetalamaCompilerAnnotations.TryGetCodeCoverageRedirectionFromAnnotation Method

TryGetCodeCoverageRedirectionFromAnnotation(SyntaxNode, Compilation, out ISymbol)

Declaration
public static bool TryGetCodeCoverageRedirectionFromAnnotation(this SyntaxNode syntaxNode, Compilation compilation, out ISymbol redirectedSymbol)
Parameters
Type Name Description
Microsoft.CodeAnalysis.SyntaxNode syntaxNode
Microsoft.CodeAnalysis.Compilation compilation
Microsoft.CodeAnalysis.ISymbol redirectedSymbol
Returns
Type Description
System.Boolean