21 references to _0_cannot_be_null_or_empty
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (20)
CodeActions\InitializeParameter\AddParameterCheckTests.cs (20)
548
throw new ArgumentException($"{{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(a)}").Replace("""
557
throw new ArgumentException($"{{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(b)}").Replace("""
566
throw new ArgumentException($"{{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(c)}").Replace("""
638
throw new ArgumentException($"{{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(a)}").Replace("""
647
throw new ArgumentException($"{{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(b)}").Replace("""
699
throw new ArgumentException($"{{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(a)}").Replace("""
708
throw new ArgumentException($"{{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(c)}").Replace("""
743
throw new ArgumentException($"{{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(a)}").Replace("""
752
throw new ArgumentException($"{{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(c)}").Replace("""
788
throw new ArgumentException($"{{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(a)}").Replace("""
802
throw new ArgumentException($"{{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(c)}").Replace("""
1872
throw new ArgumentException($"{{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(s)}").Replace("""
1975
throw new ArgumentException($"{{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(s)}").Replace("""
2029
throw new ArgumentException($"{{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(bar)}").Replace("""
2594
throw new ArgumentException($"{{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(s)}").Replace("""
2634
throw new ArgumentException($"{{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(s)}").Replace("""
2675
throw new ArgumentException($"{{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(s)}").Replace("""
2715
if (string.IsNullOrEmpty(s)) throw new ArgumentException($"{{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(s)}").Replace("""
2754
if (string.IsNullOrEmpty(s)) throw new ArgumentException($"{{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(s)}").Replace("""
2795
throw new ArgumentException($"{{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(s)}").Replace("""
Microsoft.CodeAnalysis.Features (1)
InitializeParameter\AbstractAddParameterCheckCodeRefactoringProvider.cs (1)
964
nameof(string.IsNullOrEmpty) => FeaturesResources.
_0_cannot_be_null_or_empty
,