68 references to AssemblyResources
Microsoft.Build.Tasks.Core (18)
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 (1)
161
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)
44
internal Microsoft.Build.UnitTests.MockEngine.GetStringDelegate resourceDelegate = new Microsoft.Build.UnitTests.MockEngine.GetStringDelegate(
AssemblyResources
.GetString);
AssemblyDependency\SuggestedRedirects.cs (1)
113
AssemblyResources
.GetString(
Copy_Tests.cs (9)
1162
engine.AssertLogContainsMessageFromResource(
AssemblyResources
.GetString,
1171
engine.AssertLogDoesntContainMessageFromResource(
AssemblyResources
.GetString,
1926
MockEngine.GetStringDelegate resourceDelegate =
AssemblyResources
.GetString;
1931
MockEngine.GetStringDelegate resourceDelegate =
AssemblyResources
.GetString;
2638
MockEngine.GetStringDelegate resourceDelegate =
AssemblyResources
.GetString;
2730
MockEngine.GetStringDelegate resourceDelegate =
AssemblyResources
.GetString;
2826
MockEngine.GetStringDelegate resourceDelegate =
AssemblyResources
.GetString;
2898
MockEngine.GetStringDelegate resourceDelegate =
AssemblyResources
.GetString;
2961
MockEngine.GetStringDelegate resourceDelegate =
AssemblyResources
.GetString;
CreateCSharpManifestResourceName_Tests.cs (1)
766
String.Format(
AssemblyResources
.GetString("CreateManifestResourceName.DefinitionFoundWithinConditionalDirective"), "MyForm.cs", "MyForm.resx"),
GetSDKReference_Tests.cs (1)
198
_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)
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 (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)
4026
String.Format(
AssemblyResources
.GetString(messageID), replacements),
4036
var unformattedMessage =
AssemblyResources
.GetString(messageID);
4077
Assert.DoesNotContain(String.Format(
AssemblyResources
.GetString(messageID), replacements), ((MockEngine)t.BuildEngine).Log);
RoslynCodeTaskFactory_Tests.cs (8)
923
TaskResources = Shared.
AssemblyResources
.PrimaryResources
949
TaskResources = Shared.
AssemblyResources
.PrimaryResources
1290
TaskResources =
AssemblyResources
.PrimaryResources,
1341
TaskResources =
AssemblyResources
.PrimaryResources,
1387
TaskResources =
AssemblyResources
.PrimaryResources,
1425
TaskResources =
AssemblyResources
.PrimaryResources,
1464
TaskResources =
AssemblyResources
.PrimaryResources,
1503
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)
190
engine.AssertLogContainsMessageFromResource(
AssemblyResources
.GetString, "WriteLinesToFile.UnusedWriteOnlyWhenDifferent", file);