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