67 references to AssemblyResources
Microsoft.Build.Tasks.Core (23)
AppDomainIsolatedTaskExtension.cs (3)
24
base(
AssemblyResources
.PrimaryResources, "MSBuild.")
28
AssemblyResources
.PrimaryResources,
29
AssemblyResources
.SharedResources,
AssemblyResources.cs (2)
37
internal static ResourceManager PrimaryResources { get; } = new ResourceManager("Microsoft.Build.Tasks.Core.Strings", typeof(
AssemblyResources
).GetTypeInfo().Assembly);
44
internal static ResourceManager SharedResources { get; } = new ResourceManager("Microsoft.Build.Tasks.Core.Strings.shared", typeof(
AssemblyResources
).GetTypeInfo().Assembly);
CodeTaskFactory.cs (2)
182
TaskResources =
AssemblyResources
.PrimaryResources,
321
TaskResources =
AssemblyResources
.PrimaryResources,
FileUtilities.cs (1)
490
string message = ResourceUtilities.FormatString(
AssemblyResources
.GetString("Shared.PathTooLong"), path, NativeMethodsShared.MaxPath);
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)
147
=>
AssemblyResources
.GetString(resourceName);
460
string unformattedMessage =
AssemblyResources
.GetString(resourceName);
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (1)
150
TaskResources =
AssemblyResources
.PrimaryResources,
SignFile.cs (1)
27
: 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,
XamlTaskFactory\XamlDataDrivenToolTask.cs (2)
49
TaskResources =
AssemblyResources
.PrimaryResources,
423
TaskResources =
AssemblyResources
.PrimaryResources,
XamlTaskFactory\XamlTaskFactory.cs (1)
92
TaskResources =
AssemblyResources
.PrimaryResources,
Microsoft.Build.Tasks.UnitTests (44)
AssemblyDependency\ResolveAssemblyReferenceCacheSerialization.cs (1)
31
TaskResources =
AssemblyResources
.PrimaryResources
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 (9)
24
private Microsoft.Build.UnitTests.MockEngine.GetStringDelegate _resourceDelegate = new Microsoft.Build.UnitTests.MockEngine.GetStringDelegate(
AssemblyResources
.GetString);
194
log1.TaskResources =
AssemblyResources
.PrimaryResources;
212
log2.TaskResources =
AssemblyResources
.PrimaryResources;
230
log3.TaskResources =
AssemblyResources
.PrimaryResources;
248
log3a.TaskResources =
AssemblyResources
.PrimaryResources;
270
log4.TaskResources =
AssemblyResources
.PrimaryResources;
287
log5.TaskResources =
AssemblyResources
.PrimaryResources;
317
log.TaskResources =
AssemblyResources
.PrimaryResources;
389
log.TaskResources =
AssemblyResources
.PrimaryResources;
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);
RoslynCodeTaskFactory_Tests.cs (2)
778
TaskResources = Shared.
AssemblyResources
.PrimaryResources
804
TaskResources = Shared.
AssemblyResources
.PrimaryResources
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);