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, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

DotNetRuntime Class
DotNetRuntime Members