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