36 references to GetString
Microsoft.Build.Tasks.Core (3)
AssemblyDependency\AssemblyInformation.cs (1)
470AssemblyResources.GetString("ResolveAssemblyReference.AssemblyDoesNotContainPEMetadata"),
ResourceUtilities.cs (2)
147=> AssemblyResources.GetString(resourceName); 460string unformattedMessage = AssemblyResources.GetString(resourceName);
Microsoft.Build.Tasks.UnitTests (33)
AssemblyDependency\ResolveAssemblyReferenceTestFixture.cs (1)
45internal Microsoft.Build.UnitTests.MockEngine.GetStringDelegate resourceDelegate = new Microsoft.Build.UnitTests.MockEngine.GetStringDelegate(AssemblyResources.GetString);
AssemblyDependency\SuggestedRedirects.cs (1)
114AssemblyResources.GetString(
Copy_Tests.cs (9)
1138engine.AssertLogContainsMessageFromResource(AssemblyResources.GetString, 1147engine.AssertLogDoesntContainMessageFromResource(AssemblyResources.GetString, 1888MockEngine.GetStringDelegate resourceDelegate = AssemblyResources.GetString; 1893MockEngine.GetStringDelegate resourceDelegate = AssemblyResources.GetString; 2579MockEngine.GetStringDelegate resourceDelegate = AssemblyResources.GetString; 2670MockEngine.GetStringDelegate resourceDelegate = AssemblyResources.GetString; 2765MockEngine.GetStringDelegate resourceDelegate = AssemblyResources.GetString; 2836MockEngine.GetStringDelegate resourceDelegate = AssemblyResources.GetString; 2898MockEngine.GetStringDelegate resourceDelegate = AssemblyResources.GetString;
CreateCSharpManifestResourceName_Tests.cs (1)
766String.Format(AssemblyResources.GetString("CreateManifestResourceName.DefinitionFoundWithinConditionalDirective"), "MyForm.cs", "MyForm.resx"),
GetSDKReference_Tests.cs (1)
200_resourceDelegate = AssemblyResources.GetString;
MakeDir_Tests.cs (6)
46String.Format(AssemblyResources.GetString("MakeDir.Comment"), dir), 108String.Format(AssemblyResources.GetString("MakeDir.Comment"), dir), 149String.Format(AssemblyResources.GetString("MakeDir.Comment"), dir), 160String.Format(AssemblyResources.GetString("MakeDir.Comment"), dir), 195String.Format(AssemblyResources.GetString("MakeDir.Comment"), dir), 217String.Format(AssemblyResources.GetString("MakeDir.Comment"), dir),
MSBuild_Tests.cs (3)
329string message = String.Format(AssemblyResources.GetString("MSBuild.ProjectFileNotFoundMessage"), "this_project_does_not_exist_warn.csproj"); 330string error = String.Format(AssemblyResources.GetString("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist_warn.csproj"); 331string error2 = String.Format(AssemblyResources.GetString("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist_error.csproj");
ResolveSDKReference_Tests.cs (1)
24private Microsoft.Build.UnitTests.MockEngine.GetStringDelegate _resourceDelegate = new Microsoft.Build.UnitTests.MockEngine.GetStringDelegate(AssemblyResources.GetString);
ResourceHandling\GenerateResource_Tests.cs (3)
3758String.Format(AssemblyResources.GetString(messageID), replacements), 3768var unformattedMessage = AssemblyResources.GetString(messageID); 3809Assert.DoesNotContain(String.Format(AssemblyResources.GetString(messageID), replacements), ((MockEngine)t.BuildEngine).Log);
Touch_Tests.cs (6)
203String.Format(AssemblyResources.GetString("Touch.Touching"), myexisting_txt), 225String.Format(AssemblyResources.GetString("Touch.FileDoesNotExist"), mynonexisting_txt), 248String.Format(AssemblyResources.GetString("Touch.CreatingFile"), mynonexisting_txt, "AlwaysCreate"), 358String.Format(AssemblyResources.GetString("Touch.FileDoesNotExist"), mynonexisting_txt), 383String.Format(AssemblyResources.GetString("Touch.CreatingFile"), mynonexisting_txt, "AlwaysCreate"), 407String.Format(AssemblyResources.GetString("Touch.Touching"), myexisting_txt),
WriteLinesToFile_Tests.cs (1)
176engine.AssertLogContainsMessageFromResource(AssemblyResources.GetString, "WriteLinesToFile.UnusedWriteOnlyWhenDifferent", file);