69 references to AssemblyResources
Microsoft.Build.Tasks.Core (19)
AssemblyDependency\AssemblyInformation.cs (1)
469
AssemblyResources
.GetString("ResolveAssemblyReference.AssemblyDoesNotContainPEMetadata"),
AssemblyResources.cs (2)
53
internal static ResourceManager PrimaryResources { get; } = new ResourceManager("Microsoft.Build.Tasks.Core.Strings", typeof(
AssemblyResources
).GetTypeInfo().Assembly);
60
internal static ResourceManager SharedResources { get; } = new ResourceManager("Microsoft.Build.Tasks.Core.Strings.shared", typeof(
AssemblyResources
).GetTypeInfo().Assembly);
CodeTaskFactory.cs (1)
1141
TaskResources =
AssemblyResources
.PrimaryResources,
GenerateManifestBase.cs (1)
44
protected GenerateManifestBase() : base(
AssemblyResources
.PrimaryResources, "MSBuild.")
ManifestUtil\OutputMessage.cs (1)
79
private readonly System.Resources.ResourceManager _taskResources = Shared.
AssemblyResources
.PrimaryResources;
ResourceUtilities.cs (2)
144
=>
AssemblyResources
.GetString(resourceName);
450
string unformattedMessage =
AssemblyResources
.GetString(resourceName);
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (2)
149
TaskResources =
AssemblyResources
.PrimaryResources,
172
TaskResources =
AssemblyResources
.PrimaryResources,
SignFile.cs (1)
28
: base(
AssemblyResources
.PrimaryResources, "MSBuild.")
TaskExtension.cs (3)
19
base(
AssemblyResources
.PrimaryResources, "MSBuild.")
23
AssemblyResources
.PrimaryResources,
24
AssemblyResources
.SharedResources,
ToolTaskExtension.cs (3)
29
base(
AssemblyResources
.PrimaryResources, "MSBuild.")
33
AssemblyResources
.PrimaryResources,
34
AssemblyResources
.SharedResources,
WriteCodeFragment.cs (1)
184
string comment =
AssemblyResources
.GetInvariantString("WriteCodeFragment.Comment");
XamlTaskFactory\XamlTaskFactory.cs (1)
276
TaskResources =
AssemblyResources
.PrimaryResources,
Microsoft.Build.Tasks.UnitTests (50)
AssemblyDependency\ResolveAssemblyReferenceCacheSerialization.cs (1)
32
TaskResources =
AssemblyResources
.PrimaryResources
AssemblyDependency\ResolveAssemblyReferenceTestFixture.cs (1)
43
internal Microsoft.Build.UnitTests.MockEngine.GetStringDelegate resourceDelegate = new Microsoft.Build.UnitTests.MockEngine.GetStringDelegate(
AssemblyResources
.GetString);
AssemblyDependency\SuggestedRedirects.cs (1)
112
AssemblyResources
.GetString(
Copy_Tests.cs (9)
1155
engine.AssertLogContainsMessageFromResource(
AssemblyResources
.GetString,
1164
engine.AssertLogDoesntContainMessageFromResource(
AssemblyResources
.GetString,
1919
MockEngine.GetStringDelegate resourceDelegate =
AssemblyResources
.GetString;
1924
MockEngine.GetStringDelegate resourceDelegate =
AssemblyResources
.GetString;
2631
MockEngine.GetStringDelegate resourceDelegate =
AssemblyResources
.GetString;
2723
MockEngine.GetStringDelegate resourceDelegate =
AssemblyResources
.GetString;
2819
MockEngine.GetStringDelegate resourceDelegate =
AssemblyResources
.GetString;
2891
MockEngine.GetStringDelegate resourceDelegate =
AssemblyResources
.GetString;
2954
MockEngine.GetStringDelegate resourceDelegate =
AssemblyResources
.GetString;
CreateCSharpManifestResourceName_Tests.cs (1)
765
String.Format(
AssemblyResources
.GetString("CreateManifestResourceName.DefinitionFoundWithinConditionalDirective"), "MyForm.cs", "MyForm.resx"),
GetSDKReference_Tests.cs (1)
197
_resourceDelegate =
AssemblyResources
.GetString;
MakeDir_Tests.cs (6)
46
String.Format(
AssemblyResources
.GetString("MakeDir.Comment"), dir),
109
String.Format(
AssemblyResources
.GetString("MakeDir.Comment"), dir),
151
String.Format(
AssemblyResources
.GetString("MakeDir.Comment"), dir),
162
String.Format(
AssemblyResources
.GetString("MakeDir.Comment"), dir),
198
String.Format(
AssemblyResources
.GetString("MakeDir.Comment"), dir),
221
String.Format(
AssemblyResources
.GetString("MakeDir.Comment"), dir),
MSBuild_Tests.cs (3)
328
string message = String.Format(
AssemblyResources
.GetString("MSBuild.ProjectFileNotFoundMessage"), "this_project_does_not_exist_warn.csproj");
329
string error = String.Format(
AssemblyResources
.GetString("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist_warn.csproj");
330
string error2 = String.Format(
AssemblyResources
.GetString("MSBuild.ProjectFileNotFound"), "this_project_does_not_exist_error.csproj");
ResolveSDKReference_Tests.cs (9)
23
private Microsoft.Build.UnitTests.MockEngine.GetStringDelegate _resourceDelegate = new Microsoft.Build.UnitTests.MockEngine.GetStringDelegate(
AssemblyResources
.GetString);
193
log1.TaskResources =
AssemblyResources
.PrimaryResources;
211
log2.TaskResources =
AssemblyResources
.PrimaryResources;
229
log3.TaskResources =
AssemblyResources
.PrimaryResources;
247
log3a.TaskResources =
AssemblyResources
.PrimaryResources;
269
log4.TaskResources =
AssemblyResources
.PrimaryResources;
286
log5.TaskResources =
AssemblyResources
.PrimaryResources;
316
log.TaskResources =
AssemblyResources
.PrimaryResources;
388
log.TaskResources =
AssemblyResources
.PrimaryResources;
ResourceHandling\GenerateResource_Tests.cs (3)
4025
String.Format(
AssemblyResources
.GetString(messageID), replacements),
4035
var unformattedMessage =
AssemblyResources
.GetString(messageID);
4076
Assert.DoesNotContain(String.Format(
AssemblyResources
.GetString(messageID), replacements), ((MockEngine)t.BuildEngine).Log);
RoslynCodeTaskFactory_Tests.cs (8)
974
TaskResources = Shared.
AssemblyResources
.PrimaryResources
1000
TaskResources = Shared.
AssemblyResources
.PrimaryResources
1341
TaskResources =
AssemblyResources
.PrimaryResources,
1392
TaskResources =
AssemblyResources
.PrimaryResources,
1438
TaskResources =
AssemblyResources
.PrimaryResources,
1476
TaskResources =
AssemblyResources
.PrimaryResources,
1515
TaskResources =
AssemblyResources
.PrimaryResources,
1554
TaskResources =
AssemblyResources
.PrimaryResources,
Touch_Tests.cs (6)
204
String.Format(
AssemblyResources
.GetString("Touch.Touching"), myexisting_txt),
227
String.Format(
AssemblyResources
.GetString("Touch.FileDoesNotExist"), mynonexisting_txt),
251
String.Format(
AssemblyResources
.GetString("Touch.CreatingFile"), mynonexisting_txt, "AlwaysCreate"),
366
String.Format(
AssemblyResources
.GetString("Touch.FileDoesNotExist"), mynonexisting_txt),
392
String.Format(
AssemblyResources
.GetString("Touch.CreatingFile"), mynonexisting_txt, "AlwaysCreate"),
417
String.Format(
AssemblyResources
.GetString("Touch.Touching"), myexisting_txt),
WriteLinesToFile_Tests.cs (1)
189
engine.AssertLogContainsMessageFromResource(
AssemblyResources
.GetString, "WriteLinesToFile.UnusedWriteOnlyWhenDifferent", file);