1 //------------------------------------------------------------------------------
2 // <copyright file="CodeSnippetCompileUnit.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 block of code.
23 ClassInterface(ClassInterfaceType.AutoDispatch),
27 public class CodeSnippetCompileUnit : CodeCompileUnit {
29 private CodeLinePragma linePragma;
31 public CodeSnippetCompileUnit() {
34 public CodeSnippetCompileUnit(string value) {
42 /// text of the code block to represent.
47 return (value == null) ? string.Empty : value;
56 /// The line the code block starts on.
59 public CodeLinePragma LinePragma {