55 references to UserData
PresentationBuildTasks (1)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (1)
2177
field.
UserData
["WithEvents"] = true;
System (6)
compmod\microsoft\csharp\csharpcodeprovider.cs (2)
1020
object o = e.
UserData
[property];
2919
nspace.
UserData
["GenerateImports"] = false;
compmod\microsoft\visualbasic\VBCodeProvider.cs (4)
2372
object o = e.
UserData
["AllowLateBound"];
2382
object o = e.
UserData
["RequireVariableDeclaration"];
2390
object o = e.
UserData
[property];
2442
nspace.
UserData
["GenerateImports"] = false;
System.Data.SqlXml (4)
System\Xml\Xsl\Xslt\Scripts.cs (2)
252
unit.
UserData
["AllowLateBound"] = true; // Allow variables to be declared untyped
253
unit.
UserData
["RequireVariableDeclaration"] = false; // Allow variables to be undeclared
System\Xml\Xsl\XsltOld\Compiler.cs (2)
776
unit.
UserData
["AllowLateBound"] = true; // Allow variables to be undeclared
777
unit.
UserData
["RequireVariableDeclaration"] = false; // Allow variables to be declared untyped
System.Runtime.Serialization (8)
System\Runtime\Serialization\CodeExporter.cs (8)
459
type.
UserData
.Add(surrogateDataKey, dataContractSet.GetSurrogateData(dataContract));
569
typeReference.
UserData
.Add(codeUserDataActualTypeKey, type);
584
type = (Type)typeReference.
UserData
[codeUserDataActualTypeKey];
686
typeReference.
UserData
.Add(codeUserDataActualTypeKey, type);
715
typeReference.
UserData
.Add(codeUserDataActualTypeKey, type);
850
Type actualType = (Type)baseContractCodeDomInfo.TypeReference.
UserData
[codeUserDataActualTypeKey];
885
property.
UserData
.Add(surrogateDataKey, dataContractSet.GetSurrogateData(dataMember));
1163
Type actualType = (Type)baseContractCodeDomInfo.TypeReference.
UserData
[codeUserDataActualTypeKey];
System.ServiceModel (4)
System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (2)
139
foreach (DictionaryEntry userData in codeCompileUnit.
UserData
)
140
targetCompileUnit.
UserData
[userData.Key] = userData.Value;
System\ServiceModel\Description\ServiceContractGenerator.cs (2)
814
return codeTypeReference.
UserData
[referenceKey] as CodeTypeDeclaration;
820
codeTypeReference.
UserData
[referenceKey] = codeType;
System.Web (6)
Compilation\BaseCodeDomTreeGenerator.cs (4)
235
_codeCompileUnit.
UserData
["AllowLateBound"] = !Parser.FStrict;
236
_codeCompileUnit.
UserData
["RequireVariableDeclaration"] = Parser.FExplicit;
260
_intermediateClass.
UserData
["BaseClassDefinition"] = Parser.DefaultBaseType;
262
_intermediateClass.
UserData
["BaseClassDefinition"] = Parser.BaseType;
Compilation\BaseTemplateCodeDomTreeGenerator.cs (1)
1205
field.
UserData
["WithEvents"] = true;
Compilation\CodeDOMUtility.cs (1)
354
castedExpression.
UserData
.Add("CastIsBoxing", true);
System.Workflow.Activities (10)
CorrelationValidator.cs (2)
716
evntHandlerType = parameterDeclaration.
UserData
[typeof(Type)] as Type;
739
correlationParameterType = parameterDeclaration.
UserData
[typeof(Type)] as Type;
Rules\Expressions.cs (3)
1378
if ((methodInvokeInfo == null) && (invokeExpr.
UserData
.Contains(RuleUserDataKeys.QualifiedName)))
1382
string qualifiedName = invokeExpr.
UserData
[RuleUserDataKeys.QualifiedName] as string;
1441
invokeExpr.
UserData
[RuleUserDataKeys.QualifiedName] = mi.DeclaringType.AssemblyQualifiedName;
Rules\Helpers.cs (3)
96
foreach (object key in original.
UserData
.Keys)
99
object newValue = CloneObject(original.
UserData
[key]);
100
result.
UserData
.Add(newKey, newValue);
Rules\RuleValidation.cs (2)
3705
string qualifiedName = typeRef.
UserData
[RuleUserDataKeys.QualifiedName] as string;
3778
typeRef.
UserData
[RuleUserDataKeys.QualifiedName] = resultType.AssemblyQualifiedName;
System.Workflow.ComponentModel (15)
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (2)
225
Type enumBaseType = declaration.
UserData
[typeof(Enum)] as Type;
235
Type enumBaseType2 = reference.
UserData
[typeof(Enum)] as Type;
AuthoringOM\Serializer\ActivityMarkupSerializer.cs (1)
191
if (cs.
UserData
.Contains(UserDataKeys.CodeSegment_New))
AuthoringOM\Serializer\ActivityTypeCodeDomSerializer.cs (3)
36
CodeMemberMethod method = typeDecl.
UserData
[_initMethodKey] as CodeMemberMethod;
42
typeDecl.
UserData
[_initMethodKey] = method;
89
CodeMemberMethod method = codeTypeDeclaration.
UserData
[_initMethodKey] as CodeMemberMethod;
AuthoringOM\Serializer\CodeTypeReferenceSerializer.cs (2)
94
result.
UserData
[QualifiedName] = type.AssemblyQualifiedName;
105
result.
UserData
[QualifiedName] = value;
AuthoringOM\Serializer\PrimitiveCodeDomSerializer.cs (1)
65
expression.
UserData
.Add("CastIsBoxing", true);
Shared\XomlSerializationHelpers.cs (6)
178
codeSegment.
UserData
[UserDataKeys.CodeSegment_New] = newSegment;
179
codeSegment.
UserData
[UserDataKeys.CodeSegment_ColumnNumber] = linePosition + reader.Name.Length - 1;
393
codeNamespace.
UserData
.Add("TruncatedNamespace", null);
398
codeNamespace.
UserData
.Add("TruncatedNamespace", null);
422
if (codeNamespace.
UserData
.Contains("TruncatedNamespace"))
429
codeNamespace.
UserData
.Remove("TruncatedNamespace");
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (1)
374
field.
UserData
["WithEvents"] = true;