4 references to AddMethodIfAvailable
Microsoft.CodeAnalysis.CodeStyle (4)
src\roslyn\src\Analyzers\Core\Analyzers\SimplifyInterpolation\AbstractSimplifyInterpolationHelpers.cs (4)
45AddMethodIfAvailable(dateType, nameof(DateTime.ToLongDateString), "D"); 46AddMethodIfAvailable(dateType, nameof(DateTime.ToShortDateString), "d"); 51AddMethodIfAvailable(timeType, nameof(DateTime.ToLongTimeString), "T"); 52AddMethodIfAvailable(timeType, nameof(DateTime.ToShortTimeString), "t");