linux-packaging-mono/external/api-snapshot/profiles/net_4_x/Microsoft.Build.Utilities.v4.0.cs
Xamarin Public Jenkins (auto-signing) ef583813eb Imported Upstream version 6.4.0.137
Former-commit-id: 943baa9f16a098c33e129777827f3a9d20da00d6
2019-07-26 19:53:28 +00:00

283 lines
21 KiB
C#

// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
[assembly:System.Reflection.AssemblyVersionAttribute("4.0.0.0")]
[assembly:System.CLSCompliantAttribute(true)]
[assembly:System.Diagnostics.DebuggableAttribute(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly:System.Reflection.AssemblyCompanyAttribute("Mono development team")]
[assembly:System.Reflection.AssemblyCopyrightAttribute("(c) Various Mono authors")]
[assembly:System.Reflection.AssemblyDefaultAliasAttribute("Microsoft.Build.Utilities.dll")]
[assembly:System.Reflection.AssemblyDescriptionAttribute("Microsoft.Build.Utilities.dll")]
[assembly:System.Reflection.AssemblyFileVersionAttribute("4.6.57.0")]
[assembly:System.Reflection.AssemblyInformationalVersionAttribute("4.6.57.0")]
[assembly:System.Reflection.AssemblyProductAttribute("Mono Common Language Infrastructure")]
[assembly:System.Reflection.AssemblyTitleAttribute("Microsoft.Build.Utilities.dll")]
[assembly:System.Resources.NeutralResourcesLanguageAttribute("en-US")]
[assembly:System.Resources.SatelliteContractVersionAttribute("4.0.0.0")]
[assembly:System.Runtime.CompilerServices.CompilationRelaxationsAttribute(8)]
[assembly:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows=true)]
[assembly:System.Runtime.InteropServices.ComVisibleAttribute(false)]
namespace Microsoft.Build.Utilities
{
[Microsoft.Build.Framework.LoadInSeparateAppDomainAttribute]
[System.MonoTODOAttribute]
public abstract partial class AppDomainIsolatedTask : System.MarshalByRefObject, Microsoft.Build.Framework.ITask
{
protected AppDomainIsolatedTask() { }
protected AppDomainIsolatedTask(System.Resources.ResourceManager taskResources) { }
protected AppDomainIsolatedTask(System.Resources.ResourceManager taskResources, string helpKeywordPrefix) { }
public Microsoft.Build.Framework.IBuildEngine BuildEngine { get { throw null; } set { } }
protected string HelpKeywordPrefix { get { throw null; } set { } }
public Microsoft.Build.Framework.ITaskHost HostObject { get { throw null; } set { } }
public Microsoft.Build.Utilities.TaskLoggingHelper Log { get { throw null; } }
protected System.Resources.ResourceManager TaskResources { get { throw null; } set { } }
public abstract bool Execute();
public override object InitializeLifetimeService() { throw null; }
}
public partial class CommandLineBuilder
{
public CommandLineBuilder() { }
protected System.Text.StringBuilder CommandLine { get { throw null; } }
public void AppendFileNameIfNotNull(Microsoft.Build.Framework.ITaskItem fileItem) { }
public void AppendFileNameIfNotNull(string fileName) { }
public void AppendFileNamesIfNotNull(Microsoft.Build.Framework.ITaskItem[] fileItems, string delimiter) { }
public void AppendFileNamesIfNotNull(string[] fileNames, string delimiter) { }
protected void AppendFileNameWithQuoting(string fileName) { }
protected void AppendSpaceIfNotEmpty() { }
public void AppendSwitch(string switchName) { }
public void AppendSwitchIfNotNull(string switchName, Microsoft.Build.Framework.ITaskItem parameter) { }
public void AppendSwitchIfNotNull(string switchName, Microsoft.Build.Framework.ITaskItem[] parameters, string delimiter) { }
public void AppendSwitchIfNotNull(string switchName, string parameter) { }
public void AppendSwitchIfNotNull(string switchName, string[] parameters, string delimiter) { }
public void AppendSwitchUnquotedIfNotNull(string switchName, Microsoft.Build.Framework.ITaskItem parameter) { }
public void AppendSwitchUnquotedIfNotNull(string switchName, Microsoft.Build.Framework.ITaskItem[] parameters, string delimiter) { }
public void AppendSwitchUnquotedIfNotNull(string switchName, string parameter) { }
public void AppendSwitchUnquotedIfNotNull(string switchName, string[] parameters, string delimiter) { }
public void AppendTextUnquoted(string textToAppend) { }
protected void AppendTextWithQuoting(string textToAppend) { }
protected virtual bool IsQuotingRequired(string parameter) { throw null; }
public override string ToString() { throw null; }
protected virtual void VerifyThrowNoEmbeddedDoubleQuotes(string switchName, string parameter) { }
}
public enum HostObjectInitializationStatus
{
NoActionReturnFailure = 3,
NoActionReturnSuccess = 2,
UseAlternateToolToExecute = 1,
UseHostObjectToExecute = 0,
}
public abstract partial class Logger : Microsoft.Build.Framework.ILogger
{
protected Logger() { }
public virtual string Parameters { get { throw null; } set { } }
public virtual Microsoft.Build.Framework.LoggerVerbosity Verbosity { get { throw null; } set { } }
public virtual string FormatErrorEvent(Microsoft.Build.Framework.BuildErrorEventArgs args) { throw null; }
public virtual string FormatWarningEvent(Microsoft.Build.Framework.BuildWarningEventArgs args) { throw null; }
public abstract void Initialize(Microsoft.Build.Framework.IEventSource eventSource);
[System.MonoTODOAttribute]
public bool IsVerbosityAtLeast(Microsoft.Build.Framework.LoggerVerbosity checkVerbosity) { throw null; }
public virtual void Shutdown() { }
}
public enum TargetDotNetFrameworkVersion
{
Version11 = 0,
Version20 = 1,
Version30 = 2,
Version35 = 3,
Version40 = 4,
Version45 = 5,
VersionLatest = 5,
}
public abstract partial class Task : Microsoft.Build.Framework.ITask
{
protected Task() { }
protected Task(System.Resources.ResourceManager taskResources) { }
protected Task(System.Resources.ResourceManager taskResources, string helpKeywordPrefix) { }
public Microsoft.Build.Framework.IBuildEngine BuildEngine { get { throw null; } set { } }
public Microsoft.Build.Framework.IBuildEngine2 BuildEngine2 { get { throw null; } }
protected string HelpKeywordPrefix { get { throw null; } set { } }
public Microsoft.Build.Framework.ITaskHost HostObject { get { throw null; } set { } }
public Microsoft.Build.Utilities.TaskLoggingHelper Log { get { throw null; } }
protected System.Resources.ResourceManager TaskResources { get { throw null; } set { } }
public abstract bool Execute();
}
public sealed partial class TaskItem : System.MarshalByRefObject, Microsoft.Build.Framework.ITaskItem, Microsoft.Build.Framework.ITaskItem2
{
public TaskItem() { }
public TaskItem(Microsoft.Build.Framework.ITaskItem sourceItem) { }
public TaskItem(string itemSpec) { }
public TaskItem(string itemSpec, System.Collections.IDictionary itemMetadata) { }
public string ItemSpec { get { throw null; } set { } }
public int MetadataCount { get { throw null; } }
public System.Collections.ICollection MetadataNames { get { throw null; } }
string Microsoft.Build.Framework.ITaskItem2.EvaluatedIncludeEscaped { get { throw null; } set { } }
public System.Collections.IDictionary CloneCustomMetadata() { throw null; }
public void CopyMetadataTo(Microsoft.Build.Framework.ITaskItem destinationItem) { }
public string GetMetadata(string metadataName) { throw null; }
public override object InitializeLifetimeService() { throw null; }
System.Collections.IDictionary Microsoft.Build.Framework.ITaskItem2.CloneCustomMetadataEscaped() { throw null; }
string Microsoft.Build.Framework.ITaskItem2.GetMetadataValueEscaped(string metadataName) { throw null; }
void Microsoft.Build.Framework.ITaskItem2.SetMetadataValueLiteral(string metadataName, string metadataValue) { }
public static explicit operator string (Microsoft.Build.Utilities.TaskItem taskItemToCast) { throw null; }
public void RemoveMetadata(string metadataName) { }
public void SetMetadata(string metadataName, string metadataValue) { }
public override string ToString() { throw null; }
}
public partial class TaskLoggingHelper : System.MarshalByRefObject
{
public TaskLoggingHelper(Microsoft.Build.Framework.ITask taskInstance) { }
protected Microsoft.Build.Framework.IBuildEngine BuildEngine { get { throw null; } }
public bool HasLoggedErrors { get { throw null; } }
public string HelpKeywordPrefix { get { throw null; } set { } }
protected string TaskName { get { throw null; } }
public System.Resources.ResourceManager TaskResources { get { throw null; } set { } }
[System.MonoTODOAttribute]
public string ExtractMessageCode(string message, out string messageWithoutCodePrefix) { throw null; }
[System.MonoTODOAttribute]
public virtual string FormatResourceString(string resourceName, params object[] args) { throw null; }
[System.MonoTODOAttribute]
public virtual string FormatString(string unformatted, params object[] args) { throw null; }
[System.MonoTODOAttribute]
public void LogCommandLine(Microsoft.Build.Framework.MessageImportance importance, string commandLine) { }
[System.MonoTODOAttribute]
public void LogCommandLine(string commandLine) { }
public void LogError(string message, params object[] messageArgs) { }
public void LogError(string subcategory, string errorCode, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { }
public void LogErrorFromException(System.Exception exception) { }
public void LogErrorFromException(System.Exception exception, bool showStackTrace) { }
[System.MonoTODOAttribute("Arguments @showDetail and @file are not honored")]
public void LogErrorFromException(System.Exception exception, bool showStackTrace, bool showDetail, string file) { }
public void LogErrorFromResources(string messageResourceName, params object[] messageArgs) { }
public void LogErrorFromResources(string subcategoryResourceName, string errorCode, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string messageResourceName, params object[] messageArgs) { }
public void LogErrorWithCodeFromResources(string messageResourceName, params object[] messageArgs) { }
public void LogErrorWithCodeFromResources(string subcategoryResourceName, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string messageResourceName, params object[] messageArgs) { }
[System.MonoTODOAttribute]
public void LogExternalProjectFinished(string message, string helpKeyword, string projectFile, bool succeeded) { }
[System.MonoTODOAttribute]
public void LogExternalProjectStarted(string message, string helpKeyword, string projectFile, string targetNames) { }
public void LogMessage(Microsoft.Build.Framework.MessageImportance importance, string message, params object[] messageArgs) { }
public void LogMessage(string message, params object[] messageArgs) { }
public void LogMessageFromResources(Microsoft.Build.Framework.MessageImportance importance, string messageResourceName, params object[] messageArgs) { }
public void LogMessageFromResources(string messageResourceName, params object[] messageArgs) { }
public bool LogMessageFromText(string lineOfText, Microsoft.Build.Framework.MessageImportance messageImportance) { throw null; }
public bool LogMessagesFromFile(string fileName) { throw null; }
public bool LogMessagesFromFile(string fileName, Microsoft.Build.Framework.MessageImportance messageImportance) { throw null; }
public bool LogMessagesFromStream(System.IO.TextReader stream, Microsoft.Build.Framework.MessageImportance messageImportance) { throw null; }
public void LogWarning(string message, params object[] messageArgs) { }
public void LogWarning(string subcategory, string warningCode, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, params object[] messageArgs) { }
public void LogWarningFromException(System.Exception exception) { }
public void LogWarningFromException(System.Exception exception, bool showStackTrace) { }
public void LogWarningFromResources(string messageResourceName, params object[] messageArgs) { }
public void LogWarningFromResources(string subcategoryResourceName, string warningCode, string helpKeyword, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string messageResourceName, params object[] messageArgs) { }
public void LogWarningWithCodeFromResources(string messageResourceName, params object[] messageArgs) { }
public void LogWarningWithCodeFromResources(string subcategoryResourceName, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string messageResourceName, params object[] messageArgs) { }
}
public static partial class ToolLocationHelper
{
[System.MonoTODOAttribute]
public static string PathToSystem { get { throw null; } }
[System.MonoTODOAttribute]
public static string GetDotNetFrameworkRootRegistryKey(Microsoft.Build.Utilities.TargetDotNetFrameworkVersion version) { throw null; }
[System.MonoTODOAttribute]
public static string GetDotNetFrameworkSdkInstallKeyValue(Microsoft.Build.Utilities.TargetDotNetFrameworkVersion version) { throw null; }
[System.MonoTODOAttribute]
public static string GetDotNetFrameworkVersionFolderPrefix(Microsoft.Build.Utilities.TargetDotNetFrameworkVersion version) { throw null; }
public static string GetPathToDotNetFramework(Microsoft.Build.Utilities.TargetDotNetFrameworkVersion version) { throw null; }
public static string GetPathToDotNetFrameworkBinFile(string fileName) { throw null; }
public static string GetPathToDotNetFrameworkFile(string fileName, Microsoft.Build.Utilities.TargetDotNetFrameworkVersion version) { throw null; }
public static string GetPathToDotNetFrameworkSdk(Microsoft.Build.Utilities.TargetDotNetFrameworkVersion version) { throw null; }
[System.MonoTODOAttribute]
public static string GetPathToDotNetFrameworkSdkFile(string fileName, Microsoft.Build.Utilities.TargetDotNetFrameworkVersion version) { throw null; }
public static System.Collections.Generic.IList<string> GetPathToReferenceAssemblies(System.Runtime.Versioning.FrameworkName frameworkName) { throw null; }
public static System.Collections.Generic.IList<string> GetPathToReferenceAssemblies(string targetFrameworkRootPath, System.Runtime.Versioning.FrameworkName frameworkName) { throw null; }
public static System.Collections.Generic.IList<string> GetPathToReferenceAssemblies(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile) { throw null; }
public static string GetPathToStandardLibraries(string targetFrameworkIdentifier, string targetFrameworkVersion, string targetFrameworkProfile) { throw null; }
[System.MonoTODOAttribute]
public static string GetPathToSystemFile(string fileName) { throw null; }
public static System.Collections.Generic.IList<string> GetSupportedTargetFrameworks() { throw null; }
}
public abstract partial class ToolTask : Microsoft.Build.Utilities.Task, Microsoft.Build.Framework.ICancelableTask, Microsoft.Build.Framework.ITask
{
protected ToolTask() { }
protected ToolTask(System.Resources.ResourceManager taskResources) { }
protected ToolTask(System.Resources.ResourceManager taskResources, string helpKeywordPrefix) { }
protected virtual System.Collections.Specialized.StringDictionary EnvironmentOverride { get { throw null; } }
public string[] EnvironmentVariables { get { throw null; } set { } }
[Microsoft.Build.Framework.OutputAttribute]
public int ExitCode { get { throw null; } }
protected virtual bool HasLoggedErrors { get { throw null; } }
public bool LogStandardErrorAsError { get { throw null; } set { } }
protected virtual System.Text.Encoding ResponseFileEncoding { get { throw null; } }
protected virtual System.Text.Encoding StandardErrorEncoding { get { throw null; } }
protected Microsoft.Build.Framework.MessageImportance StandardErrorImportanceToUse { get { throw null; } }
protected virtual Microsoft.Build.Framework.MessageImportance StandardErrorLoggingImportance { get { throw null; } }
protected virtual System.Text.Encoding StandardOutputEncoding { get { throw null; } }
public string StandardOutputImportance { get { throw null; } set { } }
protected Microsoft.Build.Framework.MessageImportance StandardOutputImportanceToUse { get { throw null; } }
protected virtual Microsoft.Build.Framework.MessageImportance StandardOutputLoggingImportance { get { throw null; } }
public virtual int Timeout { get { throw null; } set { } }
protected System.Threading.ManualResetEvent ToolCanceled { get { throw null; } }
public virtual string ToolExe { get { throw null; } set { } }
protected abstract string ToolName { get; }
public string ToolPath { get { throw null; } set { } }
public bool YieldDuringToolExecution { get { throw null; } set { } }
[System.MonoTODOAttribute]
protected virtual bool CallHostObjectToExecute() { throw null; }
public virtual void Cancel() { }
protected void DeleteTempFile(string fileName) { }
public override bool Execute() { throw null; }
protected virtual int ExecuteTool(string pathToTool, string responseFileCommands, string commandLineCommands) { throw null; }
protected virtual string GenerateCommandLineCommands() { throw null; }
protected abstract string GenerateFullPathToTool();
protected virtual string GenerateResponseFileCommands() { throw null; }
protected System.Diagnostics.ProcessStartInfo GetProcessStartInfo(string pathToTool, string commandLineCommands, string responseFileSwitch) { throw null; }
protected virtual string GetResponseFileSwitch(string responseFilePath) { throw null; }
[System.MonoTODOAttribute]
protected virtual string GetWorkingDirectory() { throw null; }
protected virtual bool HandleTaskExecutionErrors() { throw null; }
protected virtual Microsoft.Build.Utilities.HostObjectInitializationStatus InitializeHostObject() { throw null; }
protected virtual void LogEventsFromTextOutput(string singleLine, Microsoft.Build.Framework.MessageImportance messageImportance) { }
[System.MonoTODOAttribute]
protected virtual void LogPathToTool(string toolName, string pathToTool) { }
protected virtual void LogToolCommand(string message) { }
protected virtual bool SkipTaskExecution() { throw null; }
protected virtual bool ValidateParameters() { throw null; }
}
}
namespace System
{
[System.AttributeUsageAttribute(System.AttributeTargets.All, AllowMultiple=true)]
internal partial class MonoDocumentationNoteAttribute : System.MonoTODOAttribute
{
public MonoDocumentationNoteAttribute(string comment) { }
}
[System.AttributeUsageAttribute(System.AttributeTargets.All, AllowMultiple=true)]
internal partial class MonoExtensionAttribute : System.MonoTODOAttribute
{
public MonoExtensionAttribute(string comment) { }
}
[System.AttributeUsageAttribute(System.AttributeTargets.All, AllowMultiple=true)]
internal partial class MonoInternalNoteAttribute : System.MonoTODOAttribute
{
public MonoInternalNoteAttribute(string comment) { }
}
[System.AttributeUsageAttribute(System.AttributeTargets.All, AllowMultiple=true)]
internal partial class MonoLimitationAttribute : System.MonoTODOAttribute
{
public MonoLimitationAttribute(string comment) { }
}
[System.AttributeUsageAttribute(System.AttributeTargets.All, AllowMultiple=true)]
internal partial class MonoNotSupportedAttribute : System.MonoTODOAttribute
{
public MonoNotSupportedAttribute(string comment) { }
}
[System.AttributeUsageAttribute(System.AttributeTargets.All, AllowMultiple=true)]
internal partial class MonoTODOAttribute : System.Attribute
{
public MonoTODOAttribute() { }
public MonoTODOAttribute(string comment) { }
public string Comment { get { throw null; } }
}
}