in Backend/RiderPlugin/ForTea.RiderPlugin/Psi/Resolve/Macros/FeatureAware/T4FeatureAwareLightMacroResolver.cs [62:74]
private void AddMsBuildMacros(Dictionary<string, string> result)
{
var buildTool = SolutionToolset.GetBuildTool();
if (buildTool == null) return;
var container = MsBuildProperties.Get(buildTool);
if (container == null) return;
foreach (string macro in container.GetKeys())
{
string value = container.GetValues(macro).FirstOrDefault();
if (value == null) continue;
result.Add(macro, value);
}
}