Example #1
0
		internal override PhpTypeCode EmitGet(CodeGenerator/*!*/ codeGenerator, ConstructedType constructedType,
            bool runtimeVisibilityCheck, string fallbackName)
		{
			codeGenerator.EmitGetConstantValueOperator(null, this.FullName, fallbackName);
			return PhpTypeCode.Object;
		}
Example #2
0
		internal override PhpTypeCode EmitGet(CodeGenerator/*!*/ codeGenerator, ConstructedType constructedType,
			bool runtimeVisibilityCheck, string fallbackName)
		{
            Debug.Assert(fallbackName == null);

            codeGenerator.EmitGetConstantValueOperator(declaringType, this.FullName, null);
			return PhpTypeCode.Object;
		}