mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -10:00
* CodeDomProvider.cs: Removed unneccesary attribute according to corecompare * Executor.cs: Fixed signature with ref calls according to corecompare and made neccessary changes svn path=/trunk/mcs/; revision=16008
69 lines
1.1 KiB
C#
69 lines
1.1 KiB
C#
//
|
|
// System.CodeDom.Compiler.CodeDomProvider.cs
|
|
//
|
|
// Author:
|
|
// Daniel Stodden ([email protected])
|
|
//
|
|
// (C) 2002 Ximian, Inc.
|
|
//
|
|
|
|
using System.ComponentModel;
|
|
using System.IO;
|
|
|
|
namespace System.CodeDom.Compiler
|
|
{
|
|
[ToolboxItem ("")]
|
|
public abstract class CodeDomProvider : Component
|
|
{
|
|
//
|
|
// Constructors
|
|
//
|
|
protected CodeDomProvider()
|
|
{
|
|
}
|
|
|
|
//
|
|
// Properties
|
|
//
|
|
public virtual string FileExtension {
|
|
get {
|
|
return String.Empty;
|
|
}
|
|
}
|
|
|
|
public virtual LanguageOptions LanguageOptions {
|
|
get {
|
|
return LanguageOptions.None;
|
|
}
|
|
}
|
|
|
|
//
|
|
// Methods
|
|
//
|
|
public abstract ICodeCompiler CreateCompiler();
|
|
|
|
public abstract ICodeGenerator CreateGenerator();
|
|
|
|
public virtual ICodeGenerator CreateGenerator (string fileName)
|
|
{
|
|
return CreateGenerator();
|
|
}
|
|
|
|
public virtual ICodeGenerator CreateGenerator (TextWriter output)
|
|
{
|
|
return CreateGenerator();
|
|
}
|
|
|
|
public virtual ICodeParser CreateParser()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
public virtual TypeConverter GetConverter (Type type)
|
|
{
|
|
return TypeDescriptor.GetConverter (type);
|
|
}
|
|
|
|
}
|
|
}
|