Ejemplo n.º 1
0
		internal override PhpTypeCode EmitGet(CodeGenerator/*!*/ codeGenerator, ConstructedType constructedType,
            bool runtimeVisibilityCheck, string fallbackName)
		{
			codeGenerator.EmitGetConstantValueOperator(null, this.FullName, fallbackName);
			return PhpTypeCode.Object;
		}
Ejemplo n.º 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;
		}