How to get default script defines?

Is there a way to get the current default script defines which Unity is using?

For example UNITY_EDITOR, UNITY_DEBUG etc.

I found it. For any future pilgrims:

UnityEditor.EditorUserBuildSettings.activeScriptCompilationDefines

You can see prerocessor defines in .csproj files into <DefineConstants>...</DefineConstants> tag.