public static string ConvertPropertyValueAst(PropertyValueAst node, MofQuirks quirks = MofQuirks.None, string indent = "") { switch (node) { case PrimitiveTypeValueAst ast: return(AstMofGenerator.ConvertPrimitiveTypeValueAst(ast, quirks, indent)); case ComplexTypeValueAst ast: return(AstMofGenerator.ConvertComplexTypeValueAst(ast, quirks, indent)); //case ReferenceTypeValueAst ast: case EnumTypeValueAst ast: return(AstMofGenerator.ConvertEnumTypeValueAst(ast, quirks)); default: throw new NotImplementedException(); } }