CompilationPipeline.GetDefinesFromAssemblyName

Declaration

public static string[] GetDefinesFromAssemblyName(string assemblyName);

Parameters

assemblyName The 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.

Additional resources: Assembly, CompilationPipeline.


Did you find this page useful? Please give it a rating: