mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
57 lines
912 B
C#
Executable File
57 lines
912 B
C#
Executable File
//
|
|
// System.CodeDom CodeLinePragma Class implementation
|
|
//
|
|
// Author:
|
|
// Miguel de Icaza ([email protected])
|
|
//
|
|
// (C) 2001 Ximian, Inc.
|
|
//
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace System.CodeDom
|
|
{
|
|
// <summary>
|
|
// Use objects of this class to keep track of locations where
|
|
// statements are defined
|
|
// </summary>
|
|
[Serializable]
|
|
[ClassInterface(ClassInterfaceType.AutoDispatch)]
|
|
[ComVisible(true)]
|
|
public class CodeLinePragma
|
|
{
|
|
private string fileName;
|
|
private int lineNumber;
|
|
|
|
//
|
|
// Constructors
|
|
//
|
|
public CodeLinePragma (string fileName, int lineNumber)
|
|
{
|
|
this.fileName = fileName;
|
|
this.lineNumber = lineNumber;
|
|
}
|
|
|
|
//
|
|
// Properties
|
|
//
|
|
public string FileName {
|
|
get {
|
|
return fileName;
|
|
}
|
|
set {
|
|
fileName = value;
|
|
}
|
|
}
|
|
|
|
public int LineNumber {
|
|
get {
|
|
return lineNumber;
|
|
}
|
|
set {
|
|
lineNumber = value;
|
|
}
|
|
}
|
|
}
|
|
}
|