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