internal IEdmTypeReference GetLiteralEdmTypeReference() { Debug.Assert(this.Kind != ExpressionTokenKind.CustomTypeLiteral || this.LiteralEdmType != null, "ExpressionTokenKind is marked as CustomTypeLiteral but not EdmType was set"); if (this.LiteralEdmType == null && this.Kind != ExpressionTokenKind.CustomTypeLiteral) { this.LiteralEdmType = UriParserHelper.GetLiteralEdmTypeReference(this.Kind); } return(this.LiteralEdmType); }