12 instantiations of Arg
Microsoft.CodeAnalysis.Features (12)
EditAndContinue\TraceLog.cs (12)
86
public static implicit operator Arg(string? value) =>
new
(value);
87
public static implicit operator Arg(int value) =>
new
(value);
88
public static implicit operator Arg(bool value) =>
new
(value ? "true" : "false");
89
public static implicit operator Arg(ProjectId value) =>
new
(value.DebugName);
90
public static implicit operator Arg(DocumentId value) =>
new
(value.DebugName);
91
public static implicit operator Arg(Diagnostic value) =>
new
(value.ToString());
92
public static implicit operator Arg(ProjectAnalysisSummary value) =>
new
((int)value, s_ProjectAnalysisSummary);
93
public static implicit operator Arg(RudeEditKind value) =>
new
((int)value, s_RudeEditKind);
94
public static implicit operator Arg(ModuleUpdateStatus value) =>
new
((int)value, s_ModuleUpdateStatus);
95
public static implicit operator Arg(EditAndContinueCapabilities value) =>
new
((int)value, s_EditAndContinueCapabilities);
96
public static implicit operator Arg(ImmutableArray<int> tokens) =>
new
(tokens);
97
public static implicit operator Arg(ImmutableArray<string> items) =>
new
(items);
15 references to Arg
Microsoft.CodeAnalysis.Features (15)
EditAndContinue\TraceLog.cs (15)
24
/// <see cref="DebugWrite(string,
Arg
[])"/> are print to <see cref="Debug"/> output.
86
public static implicit operator
Arg
(string? value) => new(value);
87
public static implicit operator
Arg
(int value) => new(value);
88
public static implicit operator
Arg
(bool value) => new(value ? "true" : "false");
89
public static implicit operator
Arg
(ProjectId value) => new(value.DebugName);
90
public static implicit operator
Arg
(DocumentId value) => new(value.DebugName);
91
public static implicit operator
Arg
(Diagnostic value) => new(value.ToString());
92
public static implicit operator
Arg
(ProjectAnalysisSummary value) => new((int)value, s_ProjectAnalysisSummary);
93
public static implicit operator
Arg
(RudeEditKind value) => new((int)value, s_RudeEditKind);
94
public static implicit operator
Arg
(ModuleUpdateStatus value) => new((int)value, s_ModuleUpdateStatus);
95
public static implicit operator
Arg
(EditAndContinueCapabilities value) => new((int)value, s_EditAndContinueCapabilities);
96
public static implicit operator
Arg
(ImmutableArray<int> tokens) => new(tokens);
97
public static implicit operator
Arg
(ImmutableArray<string> items) => new(items);
101
internal readonly struct Entry(string format,
Arg
[]? args)
104
public readonly
Arg
[]? Args = args;