NDepend.API Documentation
IsNetCore Method
NDepend.DotNet Namespace > DotNetRuntime Class : IsNetCore Method
the kind of .NET runtime.
This extension method returns true if kind is .NET Core or .NET 5/6....
Syntax
[Extension()]
public static bool IsNetCore( 
   DotNetRuntimeKind kind
)

Parameters

kind
the kind of .NET runtime.
Requirements

Target Platforms: Windows 11, 10, 8, 7and Linux, MacOS with net10.0, net9.0 or net8.0 installed

See Also

Reference

DotNetRuntime Class
DotNetRuntime Members