in src/dotnet/ReSharperPlugin.DotNetDisassembler/JitDisasm/JitDisasmConfiguration.cs [40:58]
public Result<JitDisasmConfiguration, Error> Validate()
{
if (CrossgenIsSelected || NativeAotIsSelected)
{
if (UsePgo)
return Result.FailWithValue(new Error(AsmViewerErrorCode.PgoNotSupportedForAot));
if (RunAppMode)
return Result.FailWithValue(new Error(AsmViewerErrorCode.RunModeNotSupportedForAot));
if (UseTieredJit)
return Result.FailWithValue(new Error(AsmViewerErrorCode.TieredJitNotSupportedForAot));
if (FgEnable)
return Result.FailWithValue(new Error(AsmViewerErrorCode.FlowgraphsNotSupportedForAot));
}
return Result.Success(this);
}