CompilationPipeline.GetDefinesFromAssemblyName

Switch to Manual
public static string[] GetDefinesFromAssemblyName (string assemblyName);

Parameters

assemblyNameThe name of the assembly without the extension.

Returns

string[] A string array of #define directives declared for the assembly. Returns null if the assembly is not found.

Description

Lists all the #define directives used to compile the specified assembly.