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