You've already forked linux-packaging-mono
Imported Upstream version 5.0.0.42
Former-commit-id: fd56571888259555122d8a0f58c68838229cea2b
This commit is contained in:
parent
1190d13a04
commit
6bdd276d05
9
external/corefx/src/System.Diagnostics.Tracing/ref/Configurations.props
vendored
Normal file
9
external/corefx/src/System.Diagnostics.Tracing/ref/Configurations.props
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<BuildConfigurations>
|
||||
netcoreapp;
|
||||
uap;
|
||||
</BuildConfigurations>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
287
external/corefx/src/System.Diagnostics.Tracing/ref/System.Diagnostics.Tracing.cs
vendored
Normal file
287
external/corefx/src/System.Diagnostics.Tracing/ref/System.Diagnostics.Tracing.cs
vendored
Normal file
@@ -0,0 +1,287 @@
|
||||
// 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.
|
||||
// ------------------------------------------------------------------------------
|
||||
// Changes to this file must follow the http://aka.ms/api-review process.
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
|
||||
namespace System.Diagnostics.Tracing
|
||||
{
|
||||
[System.FlagsAttribute]
|
||||
public enum EventActivityOptions
|
||||
{
|
||||
Detachable = 8,
|
||||
Disable = 2,
|
||||
None = 0,
|
||||
Recursive = 4,
|
||||
}
|
||||
[System.AttributeUsageAttribute((System.AttributeTargets)(64))]
|
||||
public sealed partial class EventAttribute : System.Attribute
|
||||
{
|
||||
public EventAttribute(int eventId) { }
|
||||
public System.Diagnostics.Tracing.EventActivityOptions ActivityOptions { get { throw null; } set { } }
|
||||
public System.Diagnostics.Tracing.EventChannel Channel { get { throw null; } set { } }
|
||||
public int EventId { get { throw null; } }
|
||||
public System.Diagnostics.Tracing.EventKeywords Keywords { get { throw null; } set { } }
|
||||
public System.Diagnostics.Tracing.EventLevel Level { get { throw null; } set { } }
|
||||
public string Message { get { throw null; } set { } }
|
||||
public System.Diagnostics.Tracing.EventOpcode Opcode { get { throw null; } set { } }
|
||||
public System.Diagnostics.Tracing.EventTags Tags { get { throw null; } set { } }
|
||||
public System.Diagnostics.Tracing.EventTask Task { get { throw null; } set { } }
|
||||
public byte Version { get { throw null; } set { } }
|
||||
}
|
||||
public enum EventChannel : byte
|
||||
{
|
||||
Admin = (byte)16,
|
||||
Analytic = (byte)18,
|
||||
Debug = (byte)19,
|
||||
None = (byte)0,
|
||||
Operational = (byte)17,
|
||||
}
|
||||
public enum EventCommand
|
||||
{
|
||||
Disable = -3,
|
||||
Enable = -2,
|
||||
SendManifest = -1,
|
||||
Update = 0,
|
||||
}
|
||||
public partial class EventCommandEventArgs : System.EventArgs
|
||||
{
|
||||
internal EventCommandEventArgs() { }
|
||||
public System.Collections.Generic.IDictionary<string, string> Arguments { get { throw null; } }
|
||||
public System.Diagnostics.Tracing.EventCommand Command { get { throw null; } }
|
||||
public bool DisableEvent(int eventId) { throw null; }
|
||||
public bool EnableEvent(int eventId) { throw null; }
|
||||
}
|
||||
public class EventCounter {
|
||||
public EventCounter(string name, EventSource eventSource) { }
|
||||
public void WriteMetric(float value) { }
|
||||
}
|
||||
[System.AttributeUsageAttribute((System.AttributeTargets)(12), Inherited = false)]
|
||||
public partial class EventDataAttribute : System.Attribute
|
||||
{
|
||||
public EventDataAttribute() { }
|
||||
public string Name { get { throw null; } set { } }
|
||||
}
|
||||
[System.AttributeUsageAttribute((System.AttributeTargets)(128))]
|
||||
public partial class EventFieldAttribute : System.Attribute
|
||||
{
|
||||
public EventFieldAttribute() { }
|
||||
public System.Diagnostics.Tracing.EventFieldFormat Format { get { throw null; } set { } }
|
||||
public System.Diagnostics.Tracing.EventFieldTags Tags { get { throw null; } set { } }
|
||||
}
|
||||
public enum EventFieldFormat
|
||||
{
|
||||
Boolean = 3,
|
||||
Default = 0,
|
||||
Hexadecimal = 4,
|
||||
HResult = 15,
|
||||
Json = 12,
|
||||
String = 2,
|
||||
Xml = 11,
|
||||
}
|
||||
[System.FlagsAttribute]
|
||||
public enum EventFieldTags
|
||||
{
|
||||
None = 0,
|
||||
}
|
||||
[System.AttributeUsageAttribute((System.AttributeTargets)(128))]
|
||||
public partial class EventIgnoreAttribute : System.Attribute
|
||||
{
|
||||
public EventIgnoreAttribute() { }
|
||||
}
|
||||
[System.FlagsAttribute]
|
||||
public enum EventKeywords : long
|
||||
{
|
||||
All = (long)-1,
|
||||
AuditFailure = (long)4503599627370496,
|
||||
AuditSuccess = (long)9007199254740992,
|
||||
CorrelationHint = (long)4503599627370496,
|
||||
EventLogClassic = (long)36028797018963968,
|
||||
None = (long)0,
|
||||
Sqm = (long)2251799813685248,
|
||||
WdiContext = (long)562949953421312,
|
||||
WdiDiagnostic = (long)1125899906842624,
|
||||
MicrosoftTelemetry = (long)562949953421312,
|
||||
}
|
||||
public enum EventLevel
|
||||
{
|
||||
Critical = 1,
|
||||
Error = 2,
|
||||
Informational = 4,
|
||||
LogAlways = 0,
|
||||
Verbose = 5,
|
||||
Warning = 3,
|
||||
}
|
||||
public abstract partial class EventListener : System.IDisposable
|
||||
{
|
||||
protected EventListener() { }
|
||||
public void DisableEvents(System.Diagnostics.Tracing.EventSource eventSource) { }
|
||||
public virtual void Dispose() { }
|
||||
public void EnableEvents(System.Diagnostics.Tracing.EventSource eventSource, System.Diagnostics.Tracing.EventLevel level) { }
|
||||
public void EnableEvents(System.Diagnostics.Tracing.EventSource eventSource, System.Diagnostics.Tracing.EventLevel level, System.Diagnostics.Tracing.EventKeywords matchAnyKeyword) { }
|
||||
public void EnableEvents(System.Diagnostics.Tracing.EventSource eventSource, System.Diagnostics.Tracing.EventLevel level, System.Diagnostics.Tracing.EventKeywords matchAnyKeyword, System.Collections.Generic.IDictionary<string, string> arguments) { }
|
||||
protected static int EventSourceIndex(System.Diagnostics.Tracing.EventSource eventSource) { throw null; }
|
||||
protected internal virtual void OnEventSourceCreated(System.Diagnostics.Tracing.EventSource eventSource) { }
|
||||
protected internal abstract void OnEventWritten(System.Diagnostics.Tracing.EventWrittenEventArgs eventData);
|
||||
}
|
||||
[System.FlagsAttribute]
|
||||
public enum EventManifestOptions
|
||||
{
|
||||
AllCultures = 2,
|
||||
AllowEventSourceOverride = 8,
|
||||
None = 0,
|
||||
OnlyIfNeededForRegistration = 4,
|
||||
Strict = 1,
|
||||
}
|
||||
public enum EventOpcode
|
||||
{
|
||||
DataCollectionStart = 3,
|
||||
DataCollectionStop = 4,
|
||||
Extension = 5,
|
||||
Info = 0,
|
||||
Receive = 240,
|
||||
Reply = 6,
|
||||
Resume = 7,
|
||||
Send = 9,
|
||||
Start = 1,
|
||||
Stop = 2,
|
||||
Suspend = 8,
|
||||
}
|
||||
public partial class EventSource : System.IDisposable
|
||||
{
|
||||
protected EventSource() { }
|
||||
protected EventSource(bool throwOnEventWriteErrors) { }
|
||||
protected EventSource(System.Diagnostics.Tracing.EventSourceSettings settings) { }
|
||||
protected EventSource(System.Diagnostics.Tracing.EventSourceSettings settings, params string[] traits) { }
|
||||
public EventSource(string eventSourceName) { }
|
||||
public EventSource(string eventSourceName, System.Diagnostics.Tracing.EventSourceSettings config) { }
|
||||
public EventSource(string eventSourceName, System.Diagnostics.Tracing.EventSourceSettings config, params string[] traits) { }
|
||||
public System.Exception ConstructionException { get { throw null; } }
|
||||
public static System.Guid CurrentThreadActivityId {[System.Security.SecuritySafeCriticalAttribute]get { throw null; } }
|
||||
public System.Guid Guid { get { throw null; } }
|
||||
public string Name { get { throw null; } }
|
||||
public System.Diagnostics.Tracing.EventSourceSettings Settings { get { throw null; } }
|
||||
public event EventHandler<EventCommandEventArgs> EventCommandExecuted { add {} remove {} }
|
||||
public void Dispose() { }
|
||||
protected virtual void Dispose(bool disposing) { }
|
||||
~EventSource() { }
|
||||
public static string GenerateManifest(System.Type eventSourceType, string assemblyPathToIncludeInManifest) { throw null; }
|
||||
public static string GenerateManifest(System.Type eventSourceType, string assemblyPathToIncludeInManifest, System.Diagnostics.Tracing.EventManifestOptions flags) { throw null; }
|
||||
public static System.Guid GetGuid(System.Type eventSourceType) { throw null; }
|
||||
public static string GetName(System.Type eventSourceType) { throw null; }
|
||||
public static System.Collections.Generic.IEnumerable<System.Diagnostics.Tracing.EventSource> GetSources() { throw null; }
|
||||
public string GetTrait(string key) { throw null; }
|
||||
public bool IsEnabled() { throw null; }
|
||||
public bool IsEnabled(System.Diagnostics.Tracing.EventLevel level, System.Diagnostics.Tracing.EventKeywords keywords) { throw null; }
|
||||
public bool IsEnabled(System.Diagnostics.Tracing.EventLevel level, System.Diagnostics.Tracing.EventKeywords keywords, System.Diagnostics.Tracing.EventChannel channel) { throw null; }
|
||||
protected virtual void OnEventCommand(System.Diagnostics.Tracing.EventCommandEventArgs command) { }
|
||||
public static void SendCommand(System.Diagnostics.Tracing.EventSource eventSource, System.Diagnostics.Tracing.EventCommand command, System.Collections.Generic.IDictionary<string, string> commandArguments) { }
|
||||
public static void SetCurrentThreadActivityId(System.Guid activityId) { }
|
||||
public static void SetCurrentThreadActivityId(System.Guid activityId, out System.Guid oldActivityThatWillContinue) { throw null; }
|
||||
public override string ToString() { throw null; }
|
||||
public void Write(string eventName) { }
|
||||
public void Write(string eventName, System.Diagnostics.Tracing.EventSourceOptions options) { }
|
||||
public void Write<T>(string eventName, T data) { }
|
||||
public void Write<T>(string eventName, System.Diagnostics.Tracing.EventSourceOptions options, T data) { }
|
||||
public void Write<T>(string eventName, ref System.Diagnostics.Tracing.EventSourceOptions options, ref T data) { }
|
||||
public void Write<T>(string eventName, ref System.Diagnostics.Tracing.EventSourceOptions options, ref System.Guid activityId, ref System.Guid relatedActivityId, ref T data) { }
|
||||
protected void WriteEvent(int eventId) { }
|
||||
protected void WriteEvent(int eventId, byte[] arg1) { }
|
||||
protected void WriteEvent(int eventId, int arg1) { }
|
||||
protected void WriteEvent(int eventId, int arg1, int arg2) { }
|
||||
protected void WriteEvent(int eventId, int arg1, int arg2, int arg3) { }
|
||||
protected void WriteEvent(int eventId, int arg1, string arg2) { }
|
||||
protected void WriteEvent(int eventId, long arg1) { }
|
||||
protected void WriteEvent(int eventId, long arg1, byte[] arg2) { }
|
||||
protected void WriteEvent(int eventId, long arg1, long arg2) { }
|
||||
protected void WriteEvent(int eventId, long arg1, long arg2, long arg3) { }
|
||||
protected void WriteEvent(int eventId, long arg1, string arg2) { }
|
||||
protected void WriteEvent(int eventId, params object[] args) { }
|
||||
protected void WriteEvent(int eventId, string arg1) { }
|
||||
protected void WriteEvent(int eventId, string arg1, int arg2) { }
|
||||
protected void WriteEvent(int eventId, string arg1, int arg2, int arg3) { }
|
||||
protected void WriteEvent(int eventId, string arg1, long arg2) { }
|
||||
protected void WriteEvent(int eventId, string arg1, string arg2) { }
|
||||
protected void WriteEvent(int eventId, string arg1, string arg2, string arg3) { }
|
||||
[System.CLSCompliantAttribute(false)]
|
||||
[System.Security.SecurityCriticalAttribute]
|
||||
protected unsafe void WriteEventCore(int eventId, int eventDataCount, System.Diagnostics.Tracing.EventSource.EventData* data) { }
|
||||
protected void WriteEventWithRelatedActivityId(int eventId, System.Guid relatedActivityId, params object[] args) { }
|
||||
[System.CLSCompliantAttribute(false)]
|
||||
[System.Security.SecurityCriticalAttribute]
|
||||
protected unsafe void WriteEventWithRelatedActivityIdCore(int eventId, System.Guid* relatedActivityId, int eventDataCount, System.Diagnostics.Tracing.EventSource.EventData* data) { }
|
||||
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
|
||||
protected internal partial struct EventData
|
||||
{
|
||||
public System.IntPtr DataPointer { get { throw null; } set { } }
|
||||
public int Size { get { throw null; } set { } }
|
||||
}
|
||||
}
|
||||
[System.AttributeUsageAttribute((System.AttributeTargets)(4))]
|
||||
public sealed partial class EventSourceAttribute : System.Attribute
|
||||
{
|
||||
public EventSourceAttribute() { }
|
||||
public string Guid { get { throw null; } set { } }
|
||||
public string LocalizationResources { get { throw null; } set { } }
|
||||
public string Name { get { throw null; } set { } }
|
||||
}
|
||||
public partial class EventSourceException : System.Exception
|
||||
{
|
||||
public EventSourceException() { }
|
||||
public EventSourceException(string message) { }
|
||||
public EventSourceException(string message, System.Exception innerException) { }
|
||||
protected EventSourceException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
|
||||
}
|
||||
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
|
||||
public partial struct EventSourceOptions
|
||||
{
|
||||
public System.Diagnostics.Tracing.EventActivityOptions ActivityOptions { get { throw null; } set { } }
|
||||
public System.Diagnostics.Tracing.EventKeywords Keywords { get { throw null; } set { } }
|
||||
public System.Diagnostics.Tracing.EventLevel Level { get { throw null; } set { } }
|
||||
public System.Diagnostics.Tracing.EventOpcode Opcode { get { throw null; } set { } }
|
||||
public System.Diagnostics.Tracing.EventTags Tags { get { throw null; } set { } }
|
||||
}
|
||||
[System.FlagsAttribute]
|
||||
public enum EventSourceSettings
|
||||
{
|
||||
Default = 0,
|
||||
EtwManifestEventFormat = 4,
|
||||
EtwSelfDescribingEventFormat = 8,
|
||||
ThrowOnEventWriteErrors = 1,
|
||||
}
|
||||
[System.FlagsAttribute]
|
||||
public enum EventTags
|
||||
{
|
||||
None = 0,
|
||||
}
|
||||
public enum EventTask
|
||||
{
|
||||
None = 0,
|
||||
}
|
||||
public partial class EventWrittenEventArgs : System.EventArgs
|
||||
{
|
||||
internal EventWrittenEventArgs() { }
|
||||
public System.Guid ActivityId {[System.Security.SecurityCriticalAttribute]get { throw null; } }
|
||||
public System.Diagnostics.Tracing.EventChannel Channel { get { throw null; } }
|
||||
public int EventId { get { throw null; } }
|
||||
public string EventName { get { throw null; } }
|
||||
public System.Diagnostics.Tracing.EventSource EventSource { get { throw null; } }
|
||||
public System.Diagnostics.Tracing.EventKeywords Keywords { get { throw null; } }
|
||||
public System.Diagnostics.Tracing.EventLevel Level { get { throw null; } }
|
||||
public string Message { get { throw null; } }
|
||||
public System.Diagnostics.Tracing.EventOpcode Opcode { get { throw null; } }
|
||||
public System.Collections.ObjectModel.ReadOnlyCollection<object> Payload { get { throw null; } }
|
||||
public System.Collections.ObjectModel.ReadOnlyCollection<string> PayloadNames { get { throw null; } }
|
||||
public System.Guid RelatedActivityId {[System.Security.SecurityCriticalAttribute]get { throw null; } }
|
||||
public System.Diagnostics.Tracing.EventTags Tags { get { throw null; } }
|
||||
public System.Diagnostics.Tracing.EventTask Task { get { throw null; } }
|
||||
public byte Version { get { throw null; } }
|
||||
}
|
||||
[System.AttributeUsageAttribute((System.AttributeTargets)(64))]
|
||||
public sealed partial class NonEventAttribute : System.Attribute
|
||||
{
|
||||
public NonEventAttribute() { }
|
||||
}
|
||||
}
|
||||
18
external/corefx/src/System.Diagnostics.Tracing/ref/System.Diagnostics.Tracing.csproj
vendored
Normal file
18
external/corefx/src/System.Diagnostics.Tracing/ref/System.Diagnostics.Tracing.csproj
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
|
||||
<PropertyGroup>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Debug|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Release|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'uap-Debug|AnyCPU'" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'uap-Release|AnyCPU'" />
|
||||
<ItemGroup>
|
||||
<Compile Include="System.Diagnostics.Tracing.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\System.Runtime\ref\System.Runtime.csproj" />
|
||||
</ItemGroup>
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
||||
</Project>
|
||||
Reference in New Issue
Block a user