27 references to _0_cannot_be_null_or_empty
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (20)
InitializeParameter\AddParameterCheckTests.cs (20)
537
throw new ArgumentException($""{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(a)}").Replace("""
546
throw new ArgumentException($""{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(b)}").Replace("""
555
throw new ArgumentException($""{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(c)}").Replace("""
595
throw new ArgumentException($""{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(a)}").Replace("""
604
throw new ArgumentException($""{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(b)}").Replace("""
656
throw new ArgumentException($""{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(a)}").Replace("""
665
throw new ArgumentException($""{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(c)}").Replace("""
701
throw new ArgumentException($""{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(a)}").Replace("""
710
throw new ArgumentException($""{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(c)}").Replace("""
746
throw new ArgumentException($""{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(a)}").Replace("""
760
throw new ArgumentException($""{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(c)}").Replace("""
1883
throw new ArgumentException($""{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(s)}").Replace("""
1956
throw new ArgumentException($""{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(s)}").Replace("""
2010
throw new ArgumentException($""{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(bar)}").Replace("""
2602
throw new ArgumentException($""{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(s)}").Replace("""
2642
throw new ArgumentException($""{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(s)}").Replace("""
2683
throw new ArgumentException($""{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(s)}").Replace("""
2723
if (string.IsNullOrEmpty(s)) throw new ArgumentException($""{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(s)}").Replace("""
2762
if (string.IsNullOrEmpty(s)) throw new ArgumentException($""{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(s)}").Replace("""
2803
throw new ArgumentException($""{string.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{nameof(s)}").Replace("""
Microsoft.CodeAnalysis.Features (1)
InitializeParameter\AbstractAddParameterCheckCodeRefactoringProvider.cs (1)
559
nameof(string.IsNullOrEmpty) => new LocalizableResourceString(nameof(FeaturesResources.
_0_cannot_be_null_or_empty
), FeaturesResources.ResourceManager, typeof(FeaturesResources)).ToString(),
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (6)
InitializeParameter\AddParameterCheckTests.vb (6)
481
Throw New ArgumentException($""{String.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{NameOf(s)}").Replace("""", """""")}"", NameOf(s))
530
Throw New ArgumentException($""{String.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{NameOf(s)}").Replace("""", """""")}"", NameOf(s))
555
Throw New ArgumentException($""{String.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{NameOf(a)}").Replace("""", """""")}"", NameOf(a))
559
Throw New ArgumentException($""{String.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{NameOf(b)}").Replace("""", """""")}"", NameOf(b))
563
Throw New ArgumentException($""{String.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{NameOf(c)}").Replace("""", """""")}"", NameOf(c))
585
Throw New ArgumentException($""{String.Format(FeaturesResources.
_0_cannot_be_null_or_empty
, "{NameOf(b)}").Replace("""", """""")}"", NameOf(b))