1 //------------------------------------------------------------------------------
2 // <copyright file="CodeSnippetExpression.cs" company="Microsoft">
4 // <OWNER>Microsoft</OWNER>
5 // Copyright (c) Microsoft Corporation. All rights reserved.
7 //------------------------------------------------------------------------------
9 namespace System.CodeDom {
11 using System.Diagnostics;
13 using Microsoft.Win32;
14 using System.Collections;
15 using System.Runtime.InteropServices;
19 /// Represents a snippet expression.
23 ClassInterface(ClassInterfaceType.AutoDispatch),
27 public class CodeSnippetExpression : CodeExpression {
32 /// Initializes a new instance of <see cref='System.CodeDom.CodeSnippetExpression'/>.
35 public CodeSnippetExpression() {
40 /// Initializes a new instance of <see cref='System.CodeDom.CodeSnippetExpression'/> using the specified snippet
44 public CodeSnippetExpression(string value) {
50 /// Gets or sets the snippet expression.
55 return (value == null) ? string.Empty : value;