213 references to Bag
Microsoft.Build.Tasks.Core (211)
Al.cs (63)
78set => Bag[nameof(AlgorithmId)] = value; 79get => (string)Bag[nameof(AlgorithmId)]; 84set => Bag[nameof(BaseAddress)] = value; 85get => (string)Bag[nameof(BaseAddress)]; 90set => Bag[nameof(CompanyName)] = value; 91get => (string)Bag[nameof(CompanyName)]; 96set => Bag[nameof(Configuration)] = value; 97get => (string)Bag[nameof(Configuration)]; 102set => Bag[nameof(Copyright)] = value; 103get => (string)Bag[nameof(Copyright)]; 108set => Bag[nameof(Culture)] = value; 109get => (string)Bag[nameof(Culture)]; 114set => Bag[nameof(DelaySign)] = value; 120set => Bag[nameof(Description)] = value; 121get => (string)Bag[nameof(Description)]; 126set => Bag[nameof(EvidenceFile)] = value; 127get => (string)Bag[nameof(EvidenceFile)]; 132set => Bag[nameof(FileVersion)] = value; 133get => (string)Bag[nameof(FileVersion)]; 138set => Bag["Flags"] = value; 139get => (string)Bag["Flags"]; 144set => Bag[nameof(GenerateFullPaths)] = value; 150set => Bag[nameof(KeyFile)] = value; 151get => (string)Bag[nameof(KeyFile)]; 156set => Bag[nameof(KeyContainer)] = value; 157get => (string)Bag[nameof(KeyContainer)]; 162set => Bag[nameof(MainEntryPoint)] = value; 163get => (string)Bag[nameof(MainEntryPoint)]; 170set => Bag[nameof(OutputAssembly)] = value; 171get => (ITaskItem)Bag[nameof(OutputAssembly)]; 176set => Bag[nameof(Platform)] = value; 177get => (string)Bag[nameof(Platform)]; 198set => Bag[nameof(Prefer32Bit)] = value; 204set => Bag[nameof(ProductName)] = value; 205get => (string)Bag[nameof(ProductName)]; 210set => Bag[nameof(ProductVersion)] = value; 211get => (string)Bag[nameof(ProductVersion)]; 216set => Bag[nameof(ResponseFiles)] = value; 217get => (string[])Bag[nameof(ResponseFiles)]; 222set => Bag[nameof(TargetType)] = value; 223get => (string)Bag[nameof(TargetType)]; 228set => Bag[nameof(TemplateFile)] = value; 229get => (string)Bag[nameof(TemplateFile)]; 234set => Bag[nameof(Title)] = value; 235get => (string)Bag[nameof(Title)]; 240set => Bag[nameof(Trademark)] = value; 241get => (string)Bag[nameof(Trademark)]; 246set => Bag[nameof(Version)] = value; 247get => (string)Bag[nameof(Version)]; 252set => Bag[nameof(Win32Icon)] = value; 253get => (string)Bag[nameof(Win32Icon)]; 258set => Bag[nameof(Win32Resource)] = value; 259get => (string)Bag[nameof(Win32Resource)]; 267set => Bag[nameof(SourceModules)] = value; 268get => (ITaskItem[])Bag[nameof(SourceModules)]; 274set => Bag[nameof(EmbedResources)] = value; 275get => (ITaskItem[])Bag[nameof(EmbedResources)]; 281set => Bag[nameof(LinkResources)] = value; 282get => (ITaskItem[])Bag[nameof(LinkResources)]; 287set => Bag[nameof(SdkToolsPath)] = value; 288get => (string)Bag[nameof(SdkToolsPath)]; 338commandLine.AppendPlusOrMinusSwitch("/delaysign", Bag, "DelaySign"); 343commandLine.AppendWhenTrue("/fullpaths", Bag, "GenerateFullPaths");
AspNetCompiler.cs (14)
96get => (string)Bag[nameof(KeyContainer)]; 97set => Bag[nameof(KeyContainer)] = value; 105get => (string)Bag[nameof(KeyFile)]; 106set => Bag[nameof(KeyFile)] = value; 115get => (string)Bag[nameof(MetabasePath)]; 116set => Bag[nameof(MetabasePath)] = value; 125get => (string)Bag[nameof(PhysicalPath)]; 126set => Bag[nameof(PhysicalPath)] = value; 135get => (string)Bag[nameof(TargetPath)]; 136set => Bag[nameof(TargetPath)] = value; 147get => (string)Bag[nameof(VirtualPath)]; 148set => Bag[nameof(VirtualPath)] = value; 181get => (string)Bag[nameof(TargetFrameworkMoniker)]; 182set => Bag[nameof(TargetFrameworkMoniker)] = value;
AxImp.cs (14)
53get => (string)Bag[nameof(ActiveXControlName)]; 54set => Bag[nameof(ActiveXControlName)] = value; 63set => Bag[nameof(GenerateSource)] = value; 72set => Bag[nameof(NoLogo)] = value; 80get => (string)Bag[nameof(OutputAssembly)]; 81set => Bag[nameof(OutputAssembly)] = value; 89get => (string)Bag[nameof(RuntimeCallableWrapperAssembly)]; 90set => Bag[nameof(RuntimeCallableWrapperAssembly)] = value; 99set => Bag[nameof(Silent)] = value; 108set => Bag[nameof(Verbose)] = value; 131commandLine.AppendWhenTrue("/nologo", Bag, "NoLogo"); 134commandLine.AppendWhenTrue("/silent", Bag, "Silent"); 135commandLine.AppendWhenTrue("/source", Bag, "GenerateSource"); 136commandLine.AppendWhenTrue("/verbose", Bag, "Verbose");
AxTlbBaseTask.cs (8)
35set => Bag[nameof(DelaySign)] = value; 43get => (string)Bag[nameof(KeyContainer)]; 44set => Bag[nameof(KeyContainer)] = value; 52get => (string)Bag[nameof(KeyFile)]; 53set => Bag[nameof(KeyFile)] = value; 61get => (string)Bag[nameof(SdkToolsPath)]; 62set => Bag[nameof(SdkToolsPath)] = value; 151commandLine.AppendWhenTrue("/delaysign", Bag, "DelaySign");
LC.cs (14)
28set => Bag[nameof(Sources)] = value; 29get => (ITaskItem[])Bag[nameof(Sources)]; 38set => Bag[nameof(OutputLicense)] = value; 39get => (ITaskItem)Bag[nameof(OutputLicense)]; 48set => Bag[nameof(LicenseTarget)] = value; 49get => (ITaskItem)Bag[nameof(LicenseTarget)]; 58set => Bag[nameof(OutputDirectory)] = value; 59get => (string)Bag[nameof(OutputDirectory)]; 68set => Bag[nameof(ReferencedAssemblies)] = value; 69get => (ITaskItem[])Bag[nameof(ReferencedAssemblies)]; 77set => Bag[nameof(NoLogo)] = value; 83set => Bag[nameof(SdkToolsPath)] = value; 84get => (string)Bag[nameof(SdkToolsPath)]; 163commandLine.AppendWhenTrue("/nologo", Bag, "NoLogo");
ResGen.cs (23)
101get => (ITaskItem[])Bag[nameof(InputFiles)]; 102set => Bag[nameof(InputFiles)] = value; 113get => (ITaskItem[])Bag[nameof(OutputFiles)]; 114set => Bag[nameof(OutputFiles)] = value; 124set => Bag[nameof(PublicClass)] = value; 132get => (ITaskItem[])Bag[nameof(References)]; 133set => Bag[nameof(References)] = value; 141get => (string)Bag[nameof(SdkToolsPath)]; 142set => Bag[nameof(SdkToolsPath)] = value; 151get => (string)Bag[nameof(StronglyTypedLanguage)]; 152set => Bag[nameof(StronglyTypedLanguage)] = value; 161get => (string)Bag[nameof(StronglyTypedNamespace)]; 162set => Bag[nameof(StronglyTypedNamespace)] = value; 171get => (string)Bag[nameof(StronglyTypedClassName)]; 172set => Bag[nameof(StronglyTypedClassName)] = value; 181get => (string)Bag[nameof(StronglyTypedFileName)]; 182set => Bag[nameof(StronglyTypedFileName)] = value; 192set => Bag[nameof(UseSourcePath)] = value; 492Bag[nameof(OutputFiles)] = outputFiles; 502var pathToTool = (string)Bag["ToolPathWithFile"]; 532Bag["ToolPathWithFile"] = pathToTool; 553resGenArguments.AppendWhenTrue(useSourcePathSwitch, Bag, "UseSourcePath"); 554resGenArguments.AppendWhenTrue(publicClassSwitch, Bag, "PublicClass");
SGen.cs (23)
154Bag[nameof(BuildAssemblyName)] = value; 156get => (string)Bag[nameof(BuildAssemblyName)]; 189set => Bag[nameof(ShouldGenerateSerializer)] = value; 196set => Bag[nameof(UseProxyTypes)] = value; 203set => Bag[nameof(UseKeep)] = value; 209set => Bag[nameof(References)] = value; 210get => (string[])Bag[nameof(References)]; 215set => Bag[nameof(KeyContainer)] = value; 216get => (string)Bag[nameof(KeyContainer)]; 221set => Bag[nameof(KeyFile)] = value; 222get => (string)Bag[nameof(KeyFile)]; 227set => Bag[nameof(DelaySign)] = value; 234set => Bag[nameof(SerializationAssembly)] = value; 235get => (ITaskItem[])Bag[nameof(SerializationAssembly)]; 271set => Bag[nameof(SdkToolsPath)] = value; 272get => (string)Bag[nameof(SdkToolsPath)]; 280set => Bag[nameof(Platform)] = value; 281get => (string)Bag[nameof(Platform)]; 289set => Bag[nameof(Types)] = value; 290get => (string[])Bag[nameof(Types)]; 374commandLineBuilder.AppendWhenTrue("/proxytypes", Bag, "UseProxyTypes"); 377commandLineBuilder.AppendWhenTrue("/keep", Bag, "UseKeep"); 414commandLineBuilder.AppendPlusOrMinusSwitch("/compiler:/delaysign", Bag, "DelaySign");
TlbImp.cs (24)
114get => (string)Bag[nameof(TypeLibName)]; 115set => Bag[nameof(TypeLibName)] = value; 123get => (string)Bag[nameof(AssemblyNamespace)]; 124set => Bag[nameof(AssemblyNamespace)] = value; 132get => (Version)Bag[nameof(AssemblyVersion)]; 133set => Bag[nameof(AssemblyVersion)] = value; 146get => (string)Bag[nameof(Machine)]; 147set => Bag[nameof(Machine)] = value; 156set => Bag[nameof(NoLogo)] = value; 164get => (string)Bag[nameof(OutputAssembly)]; 165set => Bag[nameof(OutputAssembly)] = value; 174set => Bag[nameof(PreventClassMembers)] = value; 183set => Bag[nameof(SafeArrayAsSystemArray)] = value; 192set => Bag[nameof(Silent)] = value; 201set => Bag[nameof(Transform)] = value; 210set => Bag[nameof(Verbose)] = value; 218get => (string[])Bag[nameof(ReferenceFiles)]; 219set => Bag[nameof(ReferenceFiles)] = value; 245commandLine.AppendWhenTrue("/noclassmembers", Bag, "PreventClassMembers"); 246commandLine.AppendWhenTrue("/nologo", Bag, "NoLogo"); 248commandLine.AppendWhenTrue("/silent", Bag, "Silent"); 249commandLine.AppendWhenTrue("/sysarray", Bag, "SafeArrayAsSystemArray"); 251commandLine.AppendWhenTrue("/verbose", Bag, "Verbose"); 296object obj = Bag[parameterName];
ToolTaskExtension.cs (2)
77object obj = Bag[parameterName]; 87object obj = Bag[parameterName];
WinMDExp.cs (26)
35get => (ITaskItem[])Bag[nameof(References)]; 40Bag[nameof(References)] = value; 49get => (string)Bag[nameof(DisabledWarnings)]; 54Bag[nameof(DisabledWarnings)] = value; 63get => (string)Bag[nameof(InputDocumentationFile)]; 68Bag[nameof(InputDocumentationFile)] = value; 77get => (string)Bag[nameof(OutputDocumentationFile)]; 82Bag[nameof(OutputDocumentationFile)] = value; 91get => (string)Bag[nameof(InputPDBFile)]; 96Bag[nameof(InputPDBFile)] = value; 105get => (string)Bag[nameof(OutputPDBFile)]; 110Bag[nameof(OutputPDBFile)] = value; 120get => (string)Bag[nameof(WinMDModule)]; 125Bag[nameof(WinMDModule)] = value; 135get => (string)Bag[nameof(OutputWindowsMetadataFile)]; 140Bag[nameof(OutputWindowsMetadataFile)] = value; 149get => (string)Bag[nameof(SdkToolsPath)]; 150set => Bag[nameof(SdkToolsPath)] = value; 159get => (bool)Bag[nameof(UTF8Output)]; 160set => Bag[nameof(UTF8Output)] = value; 168get => (bool)Bag[nameof(TreatWarningsAsErrors)]; 169set => Bag[nameof(TreatWarningsAsErrors)] = value; 177get => (string)Bag[nameof(AssemblyUnificationPolicy)]; 182Bag[nameof(AssemblyUnificationPolicy)] = value; 222commandLine.AppendWhenTrue("/warnaserror+", Bag, "TreatWarningsAsErrors"); 223commandLine.AppendWhenTrue("/utf8output", Bag, "UTF8Output");
Microsoft.Build.Tasks.UnitTests (2)
ToolTaskExtension_Tests.cs (2)
85t.Bag["Key"] = true; 98t.Bag["Key"] = 5;