public void DefineConstant2(string name, VariantStructure value, uint sigToken) { //Mdb doesn't support constant values. //Constant values are lost at compile time and are not part of ILs/Stack. //So in case of PDB this values are stored inside PDB so debugger can display this values in IDE. //But in case of MDB. IDE displays this values from SyntaxTree knowledge. This has drawback //this value can be seen only by hovering mouse over constant name in code and can't be visible in Locals as //in case of PDB.(in theory TypeSystem/SyntaxTree could inform Locals about constants in current method) }
public virtual void DefineConstant2(string name, VariantStructure value, uint sigToken) { throw new NotImplementedException(); }