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)];
338
commandLine.AppendPlusOrMinusSwitch("/delaysign",
Bag
, "DelaySign");
343
commandLine.AppendWhenTrue("/fullpaths",
Bag
, "GenerateFullPaths");
AspNetCompiler.cs (14)
96
get => (string)
Bag
[nameof(KeyContainer)];
97
set =>
Bag
[nameof(KeyContainer)] = value;
105
get => (string)
Bag
[nameof(KeyFile)];
106
set =>
Bag
[nameof(KeyFile)] = value;
115
get => (string)
Bag
[nameof(MetabasePath)];
116
set =>
Bag
[nameof(MetabasePath)] = value;
125
get => (string)
Bag
[nameof(PhysicalPath)];
126
set =>
Bag
[nameof(PhysicalPath)] = value;
135
get => (string)
Bag
[nameof(TargetPath)];
136
set =>
Bag
[nameof(TargetPath)] = value;
147
get => (string)
Bag
[nameof(VirtualPath)];
148
set =>
Bag
[nameof(VirtualPath)] = value;
181
get => (string)
Bag
[nameof(TargetFrameworkMoniker)];
182
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)
154
Bag
[nameof(BuildAssemblyName)] = value;
156
get => (string)
Bag
[nameof(BuildAssemblyName)];
189
set =>
Bag
[nameof(ShouldGenerateSerializer)] = value;
196
set =>
Bag
[nameof(UseProxyTypes)] = value;
203
set =>
Bag
[nameof(UseKeep)] = value;
209
set =>
Bag
[nameof(References)] = value;
210
get => (string[])
Bag
[nameof(References)];
215
set =>
Bag
[nameof(KeyContainer)] = value;
216
get => (string)
Bag
[nameof(KeyContainer)];
221
set =>
Bag
[nameof(KeyFile)] = value;
222
get => (string)
Bag
[nameof(KeyFile)];
227
set =>
Bag
[nameof(DelaySign)] = value;
234
set =>
Bag
[nameof(SerializationAssembly)] = value;
235
get => (ITaskItem[])
Bag
[nameof(SerializationAssembly)];
271
set =>
Bag
[nameof(SdkToolsPath)] = value;
272
get => (string)
Bag
[nameof(SdkToolsPath)];
280
set =>
Bag
[nameof(Platform)] = value;
281
get => (string)
Bag
[nameof(Platform)];
289
set =>
Bag
[nameof(Types)] = value;
290
get => (string[])
Bag
[nameof(Types)];
374
commandLineBuilder.AppendWhenTrue("/proxytypes",
Bag
, "UseProxyTypes");
377
commandLineBuilder.AppendWhenTrue("/keep",
Bag
, "UseKeep");
414
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)
35
get => (ITaskItem[])
Bag
[nameof(References)];
40
Bag
[nameof(References)] = value;
49
get => (string)
Bag
[nameof(DisabledWarnings)];
54
Bag
[nameof(DisabledWarnings)] = value;
63
get => (string)
Bag
[nameof(InputDocumentationFile)];
68
Bag
[nameof(InputDocumentationFile)] = value;
77
get => (string)
Bag
[nameof(OutputDocumentationFile)];
82
Bag
[nameof(OutputDocumentationFile)] = value;
91
get => (string)
Bag
[nameof(InputPDBFile)];
96
Bag
[nameof(InputPDBFile)] = value;
105
get => (string)
Bag
[nameof(OutputPDBFile)];
110
Bag
[nameof(OutputPDBFile)] = value;
120
get => (string)
Bag
[nameof(WinMDModule)];
125
Bag
[nameof(WinMDModule)] = value;
135
get => (string)
Bag
[nameof(OutputWindowsMetadataFile)];
140
Bag
[nameof(OutputWindowsMetadataFile)] = value;
149
get => (string)
Bag
[nameof(SdkToolsPath)];
150
set =>
Bag
[nameof(SdkToolsPath)] = value;
159
get => (bool)
Bag
[nameof(UTF8Output)];
160
set =>
Bag
[nameof(UTF8Output)] = value;
168
get => (bool)
Bag
[nameof(TreatWarningsAsErrors)];
169
set =>
Bag
[nameof(TreatWarningsAsErrors)] = value;
177
get => (string)
Bag
[nameof(AssemblyUnificationPolicy)];
182
Bag
[nameof(AssemblyUnificationPolicy)] = value;
222
commandLine.AppendWhenTrue("/warnaserror+",
Bag
, "TreatWarningsAsErrors");
223
commandLine.AppendWhenTrue("/utf8output",
Bag
, "UTF8Output");
Microsoft.Build.Tasks.UnitTests (2)
ToolTaskExtension_Tests.cs (2)
85
t.
Bag
["Key"] = true;
98
t.
Bag
["Key"] = 5;