mscorlib(4.0.0.0) API with additions
CodeLinePragma.cs
2 
3 namespace System.CodeDom
4 {
7  [ClassInterface(ClassInterfaceType.AutoDispatch)]
8  [ComVisible(true)]
9  public class CodeLinePragma
10  {
11  private string fileName;
12 
13  private int lineNumber;
14 
17  public string FileName
18  {
19  get
20  {
21  if (fileName != null)
22  {
23  return fileName;
24  }
25  return string.Empty;
26  }
27  set
28  {
29  fileName = value;
30  }
31  }
32 
35  public int LineNumber
36  {
37  get
38  {
39  return lineNumber;
40  }
41  set
42  {
43  lineNumber = value;
44  }
45  }
46 
48  public CodeLinePragma()
49  {
50  }
51 
55  public CodeLinePragma(string fileName, int lineNumber)
56  {
57  FileName = fileName;
58  LineNumber = lineNumber;
59  }
60  }
61 }
CodeLinePragma(string fileName, int lineNumber)
Initializes a new instance of the T:System.CodeDom.CodeLinePragma class.
Definition: __Canon.cs:3
CodeLinePragma()
Initializes a new instance of the T:System.CodeDom.CodeLinePragma class.
string FileName
Gets or sets the name of the associated file.
Specifies that the class can be serialized.
ClassInterfaceType
Identifies the type of class interface that is generated for a class.
Represents a specific location within a specific file.
int LineNumber
Gets or sets the line number of the associated reference.