257 writes to Name
Microsoft.Activities.Build (1)
Microsoft\Activities\Build\BeforeInitializeComponentExtension.cs (1)
149
Name
= classData.Name,
PresentationBuildTasks (15)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (15)
895
_ccRoot.StyleConnectorFn.
Name
= CONNECT;
1127
_ccRoot.HookupFn.
Name
= CONNECT;
1996
cmmEventHandler.
Name
= mei.eventHandler.Trim();
2015
cmmEventHandlerHelper.
Name
= cmmEventHandler.Name + HELPER;
2166
field.
Name
= name;
2404
ctdClass.
Name
= className;
2510
cmmCD.
Name
= CREATEDELEGATEHELPER;
2628
cmfCL.
Name
= CONTENT_LOADED;
2662
ctdClass.
Name
= XamlTypeMapper.GeneratedInternalTypeHelperClassName;
2683
cmmCI.
Name
= "CreateInstance";
2718
cmmGPV.
Name
= "GetPropertyValue";
2747
cmmSPV.
Name
= "SetPropertyValue";
2782
cmmCD.
Name
= "CreateDelegate";
2829
cmmAEH.
Name
= "AddEventHandler";
3354
_initializeComponentFn.
Name
= INITIALIZE_COMPONENT;
System (13)
compmod\microsoft\visualbasic\VBCodeProvider.cs (6)
1726
e.
Name
= impl + "_" + e.Name;
1847
e.
Name
= impl + "_" + e.Name;
1929
e.
Name
= methodName;
1984
e.
Name
= impl + "_" + e.Name;
2056
e.
Name
= propName;
2075
e.
Name
= propName;
compmod\system\codedom\CodeConstructor.cs (1)
37
Name
= ".ctor";
compmod\system\codedom\CodeMemberField.cs (3)
47
Name
= name;
55
Name
= name;
63
Name
= name;
compmod\system\codedom\CodeTypeConstructor.cs (1)
34
Name
= ".cctor";
compmod\system\codedom\CodeTypeDeclaration.cs (1)
79
Name
= name;
compmod\system\codedom\CodeTypeDelegate.cs (1)
51
Name
= name;
System.Activities (26)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (26)
471
accessorField.
Name
= memberData.Name;
539
accessorProperty.
Name
= memberData.Name;
554
accessorProperty.
Name
= name;
570
accessorPropertyForReadOnly.
Name
= name;
720
languageProperty.
Name
= "GetLanguage";
732
dataContextActivitiesField.
Name
= dataContextActivitiesFieldName;
739
forImplementationField.
Name
= forImplementationName;
807
getLocationsMethod.
Name
= "GetRequiredLocations";
882
getExpressionTreeForExpressionMethod.
Name
= "GetExpressionTreeForExpression";
923
invokeExpressionMethod.
Name
= "InvokeExpression";
1268
isValidMethod.
Name
= "CanExecuteExpression";
1477
expressionMethod.
Name
= string.Format(CultureInfo.InvariantCulture, expressionGetTreeString, nextExpressionId);
1536
expressionMethod.
Name
= string.Format(CultureInfo.InvariantCulture, expressionGetString, nextExpressionId);
1553
wrapperMethod.
Name
= valueTypeAccessorString + expressionMethod.Name;
1581
expressionMethod.
Name
= string.Format(CultureInfo.InvariantCulture, expressionSetString, nextExpressionId);
1600
wrapperMethod.
Name
= valueTypeAccessorString + expressionMethod.Name;
1631
expressionMethod.
Name
= string.Format(CultureInfo.InvariantCulture, expressionStatementString, nextExpressionId);
1647
wrapperMethod.
Name
= valueTypeAccessorString + expressionMethod.Name;
1672
fetchMethod.
Name
= getValueTypeValuesString;
1710
pushMethod.
Name
= setValueTypeValuesString;
1778
offsetField.
Name
= locationsOffsetFieldName;
1785
expectedLocationsCountField.
Name
= expectedLocationsCountFieldName;
1815
dataContextActivitiesHelper.
Name
= "GetDataContextActivitiesHelper";
1851
setLocationsOffsetMethod.
Name
= "SetLocationsOffset";
1878
cacheHelper.
Name
= "GetCompiledDataContextCacheHelper";
2187
validateMethod.
Name
= "Validate";
System.Data (6)
fx\src\data\System\Data\CodeGen\datacache.cs (6)
752
rowClass.
Name
= stRowClassName;
958
rowClass.
Name
= stRowClassName + "ChangeEvent";
1507
method.
Name
= name;
1517
property.
Name
= name;
1526
property.
Name
= name;
1536
anEvent.
Name
= name;
System.Data.Entity.Design (13)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (2)
488
getViewAtMethod.
Name
= EntityViewGenerationConstants.GetViewAtMethodName;
540
viewMethod.
Name
= "GetView" + index.ToString(CultureInfo.InvariantCulture);
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (5)
272
onContextCreatedPartialMethod.
Name
= _onContextCreatedString;
297
codeField.
Name
= Utils.FieldNameFromPropName(set.Name);
328
codeProperty.
Name
= set.Name;
436
codeMethod.
Name
= ("AddTo" + set.Name);
499
method.
Name
= functionImport.Name;
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (2)
109
property.
Name
= Item.Name;
112
property.
Name
+= "Reference";
System\Data\EntityModel\Emitters\PropertyEmitter.cs (3)
96
onChangingDomMethod.
Name
= OnChangingPartialMethodName(PropertyName);
104
onChangedDomMethod.
Name
= OnChangedPartialMethodName(PropertyName);
915
memberProperty.
Name
= PropertyName;
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (1)
174
method.
Name
= "Create" + Item.Name;
System.Data.Services.Design (13)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (2)
775
propertyChangedEvent.
Name
= "PropertyChanged";
784
propertyChangedMethod.
Name
= "OnPropertyChanged";
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (6)
234
onContextCreatedPartialMethod.
Name
= _onContextCreatedString;
257
resolveTypeFromName.
Name
= "ResolveTypeFromName";
319
resolveNameFromType.
Name
= "ResolveNameFromType";
458
codeField.
Name
= Utils.FieldNameFromPropName(set.Name);
486
codeProperty.
Name
= set.Name;
597
codeMethod.
Name
= ("AddTo" + set.Name);
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (1)
122
property.
Name
= Item.Name;
System\Data\EntityModel\Emitters\PropertyEmitter.cs (3)
102
onChangingDomMethod.
Name
= OnChangingPartialMethodName(PropertyName);
109
onChangedDomMethod.
Name
= OnChangedPartialMethodName(PropertyName);
840
memberProperty.
Name
= PropertyName;
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (1)
164
method.
Name
= "Create" + Item.Name;
System.Management (66)
WmiGenerator.cs (66)
524
cc.
Name
= cp.CreateValidIdentifier(cc.Name);
973
cmp.
Name
= propName;
1010
cmp.
Name
= propName;
1054
cmp.
Name
= PublicNamesUsed["PathProperty"].ToString();
1184
cmp.
Name
= (new string(strPropName)).ToUpper(CultureInfo.InvariantCulture); //ConvertToTitleCase(new string(strPropName));
1197
cf.
Name
= PrivateNamesUsed["LateBoundObject"].ToString();
1231
cmp.
Name
= PublicProperties[prop.Name].ToString();
1256
cmp2.
Name
= IsValidPropName;
1424
cmm.
Name
= "ShouldSerialize" + PublicProperties[prop.Name].ToString();
1494
cmm2.
Name
= "Reset" + PublicProperties[prop.Name].ToString();
1884
cmf.
Name
= Values[i].ToString();
1918
cmf.
Name
= "NULL_ENUM_VALUE";
1928
cmf.
Name
= "NULL_ENUM_VALUE";
1937
cmf.
Name
= "INVALID_ENUM_VALUE";
1989
cmf.
Name
= BitValues[i].ToString();
2024
cmf.
Name
= "NULL_ENUM_VALUE";
2034
cmf.
Name
= "NULL_ENUM_VALUE";
2053
cmf.
Name
= "INVALID_ENUM_VALUE";
2087
cmm.
Name
= PublicNamesUsed["ConstructPathFunction"].ToString();
2720
cmmInit.
Name
= PrivateNamesUsed["InitialObjectFunc"].ToString();
2863
cmm.
Name
= PublicMethods[meth.Name].ToString();
3335
cmm.
Name
= PublicNamesUsed["FilterFunction"].ToString();
3365
cmm.
Name
= PublicNamesUsed["FilterFunction"].ToString();
3396
cmm.
Name
= PublicNamesUsed["FilterFunction"].ToString();
3428
cmm.
Name
= PublicNamesUsed["FilterFunction"].ToString();
3475
cmm.
Name
= PublicNamesUsed["FilterFunction"].ToString();
3586
cmm.
Name
= PublicNamesUsed["FilterFunction"].ToString();
3618
cmm.
Name
= PublicNamesUsed["FilterFunction"].ToString();
3659
cmm.
Name
= PublicNamesUsed["FilterFunction"].ToString();
3756
cf.
Name
= memberName;
3808
cf.
Name
= baseTypeMemberVariable;
3815
cf.
Name
= typeMemberVariable;
3856
cmm.
Name
= "CanConvertFrom";
3880
cmm.
Name
= "CanConvertTo";
3904
cmm.
Name
= "ConvertFrom";
3932
cmm.
Name
= "CreateInstance";
3953
cmm.
Name
= "GetCreateInstanceSupported";
3973
cmm.
Name
= "GetProperties";
3998
cmm.
Name
= "GetPropertiesSupported";
4017
cmm.
Name
= "GetStandardValues";
4036
cmm.
Name
= "GetStandardValuesExclusive";
4055
cmm.
Name
= "GetStandardValuesSupported";
4103
cmm.
Name
= "ConvertTo";
4310
cf.
Name
= strObjectCollection;
4342
cmp.
Name
= "Count";
4360
cmp.
Name
= "IsSynchronized";
4377
cmp.
Name
= "SyncRoot";
4398
cmm.
Name
= "CopyTo";
4466
cmm.
Name
= "GetEnumerator";
4525
cf.
Name
= strObjectEnumerator;
4559
cmp.
Name
= "Current";
4591
cmm.
Name
= "MoveNext";
4610
cmm.
Name
= "Reset";
5050
cmm.
Name
= PublicNamesUsed["CommitMethod"].ToString();
5079
cmm.
Name
= PublicNamesUsed["CommitMethod"].ToString();
5420
cmp.
Name
= PublicNamesUsed["ClassNameProperty"].ToString();
5506
cmm.
Name
= PrivateNamesUsed["ClassNameCheckFunc"].ToString();
5580
cmm.
Name
= PrivateNamesUsed["ClassNameCheckFunc"].ToString();
6071
cmp.
Name
= PublicNamesUsed["ScopeProperty"].ToString();
6298
cmm.
Name
= PublicNamesUsed["CreateInst"].ToString();
6378
cmm.
Name
= PublicNamesUsed["DeleteInst"].ToString();
6439
cmmdt.
Name
= PrivateNamesUsed["ToDateTimeMethod"].ToString();
6890
cmmts.
Name
= PrivateNamesUsed["ToDMTFTimeIntervalMethod"].ToString();
7152
cmmdt.
Name
= PrivateNamesUsed["ToDMTFDateTimeMethod"].ToString();
7479
cmmts.
Name
= PrivateNamesUsed["ToTimeSpanMethod"].ToString();
7808
cmmInit.
Name
= PrivateNamesUsed["initVariable"].ToString();
System.Runtime.Serialization (14)
System\Runtime\Serialization\CodeExporter.cs (14)
880
field.
Name
= fieldName;
1109
enumMember.
Name
= GetMemberName(stringValue, contractCodeDomInfo);
1657
nodeArrayField.
Name
= Globals.NodeArrayFieldName;
1667
readXmlMethod.
Name
= "ReadXml";
1688
writeXmlMethod.
Name
= "WriteXml";
1710
getSchemaMethod.
Name
= "GetSchema";
1724
getSchemaStaticMethod.
Name
= Globals.ExportSchemaMethod;
1787
serializationInfoField.
Name
= Globals.SerializationInfoFieldName;
1806
getObjectDataMethod.
Name
= Globals.GetObjectDataMethodName;
1872
extensionDataObjectField.
Name
= Globals.ExtensionDataObjectFieldName;
1884
extensionDataObjectProperty.
Name
= Globals.ExtensionDataObjectPropertyName;
1906
raisePropertyChangedEventMethod.
Name
= "RaisePropertyChanged";
1925
propertyChangedEvent.
Name
= "PropertyChanged";
1941
property.
Name
= propertyName;
System.ServiceModel (21)
System\ServiceModel\Description\ClientClassGenerator.cs (15)
165
clientType.
Name
= NamingHelper.GetUniqueName(GetClientClassName(context.ContractType.Name), DoesMethodNameExist, context.Operations);
265
helperMethod.
Name
= method.Name;
472
m.
Name
= method.Name;
571
resultsField.
Name
= NamingHelper.GetUniqueName("results", DoesMemberNameExist, argsType);
577
argsType.
Name
= NamingHelper.GetUniqueName(GetOperationCompletedEventArgsTypeName(syncMethodName),
602
property.
Name
= propertyName;
632
operationCompletedEvent.
Name
= NamingHelper.GetUniqueName(GetOperationCompletedEventName(syncMethodName),
645
beginOperationDelegate.
Name
= NamingHelper.GetUniqueName(GetBeginOperationDelegateName(syncMethodName),
658
onBeginOperationMethod.
Name
= NamingHelper.GetUniqueName(GetBeginOperationMethodName(syncMethodName),
700
endOperationDelegate.
Name
= NamingHelper.GetUniqueName(GetEndOperationDelegateName(syncMethodName),
712
onEndOperationMethod.
Name
= NamingHelper.GetUniqueName(GetEndOperationMethodName(syncMethodName), DoesMethodNameExist, context.Operations);
775
operationCompletedDelegate.
Name
= NamingHelper.GetUniqueName(GetOperationCompletedDelegateName(syncMethodName),
787
operationCompletedMethod.
Name
= NamingHelper.GetUniqueName(GetOperationCompletedMethodName(syncMethodName),
845
eventAsyncMethod.
Name
= NamingHelper.GetUniqueName(GetEventAsyncMethodName(syncMethodName),
893
eventAsyncMethodOverload.
Name
= eventAsyncMethod.Name;
System\ServiceModel\Description\OperationGenerator.cs (1)
567
memberDecl.
Name
= name = this.memberScope.AddUnique(name, "member");
System\ServiceModel\Description\ServiceContractGenerator.cs (4)
333
syncMethod.
Name
= syncMethodName;
342
beginMethod.
Name
= ServiceReflector.BeginMethodNamePrefix + syncMethodName;
349
endMethod.
Name
= ServiceReflector.EndMethodNamePrefix + syncMethodName;
375
CodeMemberMethod taskBasedAsyncMethod = new CodeMemberMethod {
Name
= syncMethodName + ServiceReflector.AsyncMethodNameSuffix };
System\ServiceModel\Description\UniqueCodeIdentifierScope.cs (1)
139
codeType.
Name
= base.AddUnique(name, defaultName);
System.ServiceModel.Activation (1)
System\ServiceModel\Activities\Activation\XamlBuildProviderExtension.cs (1)
167
codeMemberMethod.
Name
= CreateExpressionRootMethodName;
System.Web (39)
Compilation\BaseCodeDomTreeGenerator.cs (6)
367
method.
Name
= InitMethodName;
516
prop.
Name
= "Profile";
552
prop.
Name
= propName;
612
prop.
Name
= propName;
660
prop.
Name
= entry.Name;
782
method.
Name
= "GenerateMethod";
Compilation\BaseTemplateCodeDomTreeGenerator.cs (5)
177
method.
Name
= methodName;
984
method.
Name
= methodName;
1234
method.
Name
= methodName;
1375
method.
Name
= methodName;
1441
method.
Name
= "__Render" + builder.ID;
Compilation\BrowserCapabilitiesCompiler.cs (4)
289
factoryType.
Name
= TypeName;
300
method.
Name
= "ConfigureCustomCapabilities";
342
cmm.
Name
= methodName;
423
cmm.
Name
= methodName;
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (1)
84
method.
Name
= GetCreateMethodNameForType(typeToCreate);
Compilation\PageCodeDomTreeGenerator.cs (6)
352
method.
Name
= "GetTypeHashCode";
455
method.
Name
= "BeginProcessRequest";
482
method.
Name
= "EndProcessRequest";
513
method.
Name
= "BeginProcessRequest";
540
method.
Name
= "EndProcessRequest";
568
method.
Name
= "ProcessRequest";
Compilation\PageThemeCodeDomTreeGenerator.cs (1)
43
member.
Name
= name;
Compilation\ProfileBuildProvider.cs (5)
109
type.
Name
= ProfileTypeName;
188
prop.
Name
= name;
238
prop.
Name
= groupName;
260
grpType.
Name
= "ProfileGroup" + groupName;
276
method.
Name
= "GetProfile";
Compilation\TemplateControlCodeDomTreeGenerator.cs (5)
125
prop.
Name
= propertyName;
149
bindMethod.
Name
= "Bind";
173
method.
Name
= "FrameworkInitialize";
235
prop.
Name
= "SupportAutoEvents";
261
prop.
Name
= "ApplicationInstance";
Configuration\BrowserCapabilitiesCodeGenerator.cs (6)
728
factoryType.
Name
= TypeName;
736
method.
Name
= "ConfigureBrowserCapabilities";
895
method.
Name
= _browserElementsMethodName;
958
method.
Name
= _matchedHeadersMethodName;
990
cmm.
Name
= prefix + bd.Name + "Process";
1101
cmm.
Name
= methodName;
System.Web.Services (5)
System\Web\Services\Description\WebCodeGenerator.cs (5)
92
prop.
Name
= name;
169
method.
Name
= methodName;
261
eventCompleted.
Name
= handlerName;
281
callback.
Name
= callbackMember;
405
prop.
Name
= name;
System.Workflow.Activities (1)
WebServiceReceive.cs (1)
790
webMethod.
Name
= methodInfo.Name;
System.Workflow.ComponentModel (4)
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (1)
1098
invokeMethod.
Name
= "Invoke";
AuthoringOM\Compiler\TypeSystem\EventInfo.cs (2)
62
codeAddMethod.
Name
= "add_" + this.name;
81
codeRemoveMethod.
Name
= "remove_" + this.name;
AuthoringOM\Serializer\ActivityTypeCodeDomSerializer.cs (1)
40
method.
Name
= _initMethodName;
System.Xml (3)
System\Xml\Serialization\CodeExporter.cs (3)
301
prop.
Name
= name;
353
raisePropertyChangedEventMethod.
Name
= "RaisePropertyChanged";
372
propertyChangedEvent.
Name
= "PropertyChanged";
XamlBuildTask (16)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (16)
94
result.Members.Add(new CodeMemberField() {
Name
= "_contentLoaded", Type = new CodeTypeReference(typeof(bool)) });
165
Name
= classData.Name,
370
Name
= fieldData.Name,
387
Name
= "InitializeComponent",
699
Name
= "FindResource",
851
Name
= "BeginInit",
866
Name
= "EndInit",
917
Name
= "_" + property.Name,
929
Name
= property.Name,
1058
Name
= className,
1093
Name
= "assemblyListField",
1101
Name
= "AssemblyList",
1143
Name
= "schemaContextField",
1151
Name
= "SchemaContext",
1213
Name
= "Load",
1292
Name
= "LoadAssemblies",
184 references to Name
PresentationBuildTasks (11)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (10)
1998
CodeMethodInvokeExpression cmieOnEvent = new CodeMethodInvokeExpression(null, cmmEventHandler.
Name
);
2015
cmmEventHandlerHelper.Name = cmmEventHandler.
Name
+ HELPER;
2668
GenerateXmlComments(ctdClass, ctdClass.
Name
);
2709
GenerateXmlComments(cmmCI, cmmCI.
Name
);
2738
GenerateXmlComments(cmmGPV, cmmGPV.
Name
);
2767
GenerateXmlComments(cmmSPV, cmmSPV.
Name
);
2820
GenerateXmlComments(cmmCD, cmmCD.
Name
);
2845
GenerateXmlComments(cmmAEH, cmmAEH.
Name
);
2936
classFullName = GetFullClassName(_ccRoot.CodeNS.Name, _ccRoot.CodeClass.
Name
);
3038
: GetFullClassName(_ccRoot.CodeNS.Name, _ccRoot.CodeClass.
Name
);
BuildTasks\Ms\Internal\MarkupCompiler\ParserExtension.cs (1)
675
MarkupCompiler.GenerateXmlComments(_nameField, _nameField.
Name
+ " Name Field");
System (36)
compmod\microsoft\csharp\csharpcodeprovider.cs (9)
298
return currentClass.
Name
;
1648
string name = e.
Name
;
1758
OutputIdentifier(e.
Name
);
1773
OutputTypeNamePair(e.Type, e.
Name
);
1882
OutputIdentifier(e.
Name
);
1962
if (e.Parameters.Count > 0 && String.Compare(e.
Name
, "Item", StringComparison.OrdinalIgnoreCase) == 0) {
1968
OutputIdentifier(e.
Name
);
2403
OutputIdentifier(e.
Name
);
2409
OutputIdentifier(e.
Name
);
compmod\microsoft\visualbasic\VBCodeProvider.cs (19)
1721
string eventName = e.
Name
;
1726
e.Name = impl + "_" + e.
Name
;
1731
OutputTypeNamePair(e.Type, e.
Name
);
1772
OutputIdentifier(e.
Name
);
1792
OutputTypeNamePair(e.Type, e.
Name
);
1814
&& meth.
Name
.Equals(e.
Name
, StringComparison.OrdinalIgnoreCase)
1843
string methodName = e.
Name
;
1847
e.Name = impl + "_" + e.
Name
;
1876
OutputIdentifier(e.
Name
);
1956
&& prop.
Name
.Equals(e.
Name
, StringComparison.OrdinalIgnoreCase)
1979
string propName = e.
Name
;
1984
e.Name = impl + "_" + e.
Name
;
2000
if (e.Parameters.Count > 0 && String.Compare(e.
Name
, "Item", StringComparison.OrdinalIgnoreCase) == 0) {
2012
OutputIdentifier(e.
Name
);
2190
OutputIdentifier(e.
Name
);
2207
OutputIdentifier(e.
Name
);
2223
OutputIdentifier(e.
Name
);
compmod\system\codedom\compiler\CodeGenerator.cs (2)
58
return currentClass.
Name
;
83
return currentMember.
Name
;
compmod\system\codedom\compiler\CodeValidator.cs (6)
210
ValidateIdentifier(e,"Name",e.
Name
);
254
if (e.Parameters.Count > 0 && String.Compare(e.
Name
, "Item", StringComparison.OrdinalIgnoreCase) == 0) {
258
ValidateIdentifier(e,"Name",e.
Name
);
313
ValidateIdentifier(e,"Name",e.
Name
);
331
ValidateIdentifier(e,"Name",e.
Name
);
510
ValidateIdentifier(e,"Name",e.
Name
);
System.Activities (16)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (16)
1415
descriptor.TypeName = typeDeclaration.
Name
;
1443
descriptor.GetMethodName = expressionGetValueTypeAccessorMethod.
Name
;
1454
descriptor.SetMethodName = expressionSetValueTypeAccessorMethod.
Name
;
1465
descriptor.StatementMethodName = expressionSetValueTypeAccessorMethod.
Name
;
1479
expressionDescriptor.GetExpressionTreeMethodName = expressionMethod.
Name
;
1553
wrapperMethod.Name = valueTypeAccessorString + expressionMethod.
Name
;
1565
expressionMethod.
Name
))));
1600
wrapperMethod.Name = valueTypeAccessorString + expressionMethod.
Name
;
1613
expressionMethod.
Name
));
1647
wrapperMethod.Name = valueTypeAccessorString + expressionMethod.
Name
;
1657
expressionMethod.
Name
));
1702
fetchMethod.
Name
)));
1737
pushMethod.
Name
)));
1758
baseTypeName = this.compiledDataContexts.Peek().CodeTypeDeclarationForReadOnly.
Name
;
1762
baseTypeName = this.compiledDataContexts.Peek().CodeTypeDeclaration.
Name
;
2275
new CodeTypeReferenceExpression(baseType.
Name
),
System.Data (1)
fx\src\data\System\Data\DataSet.cs (1)
3673
string typeName = dsClass.
Name
;
System.Data.Entity.Design (10)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (1)
525
CodeMethodReturnStatement returnViewMethodCall = new CodeMethodReturnStatement(new CodeMethodInvokeExpression(new CodeMethodReferenceExpression(null, viewMethod.
Name
)));
System\Data\EntityModel\Emitters\AttributeEmitter.cs (1)
174
generator.AddError(Strings.InvalidAttributeSuppliedForProperty(propertyDecl.
Name
),
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (5)
113
if (IsNameAlreadyAMemberName(Item.DeclaringType, property.
Name
, Generator.LanguageAppropriateStringComparer))
115
Generator.AddError(Strings.GeneratedNavigationPropertyNameConflict(Item.Name, Item.DeclaringType.Name, property.
Name
),
117
EdmSchemaErrorSeverity.Error, Item.DeclaringType.FullName, property.
Name
);
138
PropertyEmitter.AddGetterSetterFixUp(Generator.FixUps, GetFullyQualifiedPropertyName(property.
Name
),
140
PropertyEmitter.AddGetterSetterFixUp(Generator.FixUps, GetFullyQualifiedPropertyName(property.
Name
),
System\Data\EntityModel\Emitters\PropertyEmitter.cs (1)
925
if (hidesBaseProperty || AncestorClassDefinesName(memberProperty.
Name
))
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (2)
175
if (NavigationPropertyEmitter.IsNameAlreadyAMemberName(Item, method.
Name
, Generator.LanguageAppropriateStringComparer))
177
Generator.AddError(Strings.GeneratedFactoryMethodNameConflict(method.
Name
, Item.Name),
System.Data.Services.Design (5)
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (2)
181
PropertyEmitter.AddGetterSetterFixUp(Generator.FixUps, GetFullyQualifiedPropertyName(property.
Name
),
183
PropertyEmitter.AddGetterSetterFixUp(Generator.FixUps, GetFullyQualifiedPropertyName(property.
Name
),
System\Data\EntityModel\Emitters\PropertyEmitter.cs (1)
850
if (hidesBaseProperty || AncestorClassDefinesName(memberProperty.
Name
))
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (2)
165
if (NavigationPropertyEmitter.IsNameAlreadyAMemberName(Item, method.
Name
, Generator.LanguageAppropriateStringComparer))
167
Generator.AddError(Strings.GeneratedFactoryMethodNameConflict(method.
Name
, Item.Name),
System.Data.SqlXml (2)
System\Xml\Xsl\Xslt\Scripts.cs (1)
170
Type clrType = assembly.GetType(ScriptClassesNamespace + Type.Delimiter + script.typeDecl.
Name
);
System\Xml\Xsl\XsltOld\Compiler.cs (1)
823
this.stylesheet.ScriptObjectTypes.Add(ns, assembly.GetType(nsName + "." + scriptClass.
Name
));
System.Management (1)
WmiGenerator.cs (1)
524
cc.Name = cp.CreateValidIdentifier(cc.
Name
);
System.Runtime.Serialization (15)
System\Runtime\Serialization\CodeExporter.cs (15)
119
AddGlobalTypeName(codeTypeDecl.
Name
);
757
if (String.Compare(typeName, type.
Name
, StringComparison.OrdinalIgnoreCase) == 0)
782
if (String.Compare(typeName, ((CodeTypeDeclaration)member).
Name
, StringComparison.OrdinalIgnoreCase) == 0)
888
if (dataMemberName != property.
Name
)
1045
contractCodeDomInfo.GetMemberNames().Add(extensionDataObjectField.
Name
, null);
1048
contractCodeDomInfo.GetMemberNames().Add(extensionDataObjectProperty.
Name
, null);
1064
contractCodeDomInfo.GetMemberNames().Add(memberEvent.
Name
, null);
1065
contractCodeDomInfo.GetMemberNames().Add(raisePropertyChangedEventMethod.
Name
, null);
1111
if (enumMember.
Name
!= stringValue)
1130
if (contractCodeDomInfo.TypeDeclaration.
Name
!= expectedName)
1131
throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(SR.GetString(SR.InvalidClrNameGeneratedForISerializable, dataContract.StableName.Name, dataContract.StableName.Namespace, contractCodeDomInfo.TypeDeclaration.
Name
)));
1357
if (memberName == contractCodeDomInfo.TypeDeclaration.
Name
)
1761
baseConstructor.Statements.Add(new CodeAssignStatement(new CodePropertyReferenceExpression(ThisReference, PropertyChangedEvent.
Name
), NullReference));
1911
raisePropertyChangedEventMethod.Statements.Add(new CodeVariableDeclarationStatement(typeof(PropertyChangedEventHandler), propertyChanged.VariableName, new CodeEventReferenceExpression(ThisReference, PropertyChangedEvent.
Name
)));
1972
ifStatement.TrueStatements.Add(new CodeMethodInvokeExpression(ThisReference, RaisePropertyChangedEventMethod.
Name
, new CodePrimitiveExpression(propertyName)));
System.ServiceModel (46)
System\ServiceModel\Description\ClientClassGenerator.cs (31)
165
clientType.Name = NamingHelper.GetUniqueName(GetClientClassName(context.ContractType.
Name
), DoesMethodNameExist, context.Operations);
217
GenerateEventAsyncMethods(context, clientType, operationContext.SyncMethod.
Name
, beginMethod, endMethod);
265
helperMethod.Name = method.
Name
;
267
CodeMethodInvokeExpression invokeMethod = new CodeMethodInvokeExpression(new CodeMethodReferenceExpression(new CodeCastExpression(ifaceType, new CodeThisReferenceExpression()), method.
Name
));
320
CodeFieldReferenceExpression fieldRef = new CodeFieldReferenceExpression(target, field.
Name
);
339
param = new CodeParameterDeclarationExpression(field.Type, NamingHelper.GetUniqueName(field.
Name
, DoesParameterNameExist, helperMethod));
356
if (p.Name == field.
Name
)
373
if (string.Compare(typeDeclaration.
Name
, name, StringComparison.OrdinalIgnoreCase) == 0)
380
if (string.Compare(member.
Name
, name, StringComparison.OrdinalIgnoreCase) == 0)
394
if (string.Compare(codeTypeDeclaration.
Name
, name, StringComparison.OrdinalIgnoreCase) == 0)
424
if (String.Compare(operationContext.SyncMethod.
Name
, name, StringComparison.OrdinalIgnoreCase) == 0)
428
if (String.Compare(operationContext.BeginMethod.
Name
, name, StringComparison.OrdinalIgnoreCase) == 0)
430
if (String.Compare(operationContext.EndMethod.
Name
, name, StringComparison.OrdinalIgnoreCase) == 0)
435
if (String.Compare(operationContext.TaskMethod.
Name
, name, StringComparison.OrdinalIgnoreCase) == 0)
445
if (String.Compare(method.
Name
, name, StringComparison.OrdinalIgnoreCase) == 0)
458
CodeMethodInvokeExpression methodInvoke = new CodeMethodInvokeExpression(GetChannelReference(), method.
Name
);
472
m.Name = method.
Name
;
572
resultsFieldReference.FieldName = resultsField.
Name
;
629
operationCompletedEvent.Type.TypeArguments.Add(operationCompletedEventArgsType.
Name
);
666
CodeMethodInvokeExpression invokeBegin = new CodeMethodInvokeExpression(new CodeThisReferenceExpression(), beginMethod.
Name
);
715
CodeMethodInvokeExpression invokeEnd = new CodeMethodInvokeExpression(new CodeThisReferenceExpression(), endMethod.
Name
);
803
newEventArgsExpr = new CodeObjectCreateExpression(operationCompletedEventArgsType.
Name
,
817
CodeEventReferenceExpression completedEvent = new CodeEventReferenceExpression(new CodeThisReferenceExpression(), operationCompletedEvent.
Name
);
870
invokeAsync.Parameters.Add(new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), beginOperationDelegate.
Name
));
879
invokeAsync.Parameters.Add(new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), endOperationDelegate.
Name
));
880
invokeAsync.Parameters.Add(new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), operationCompletedDelegate.
Name
));
893
eventAsyncMethodOverload.Name = eventAsyncMethod.
Name
;
897
new CodeThisReferenceExpression(), eventAsyncMethod.
Name
);
924
new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), delegateField.
Name
),
928
new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), delegateField.
Name
),
930
new CodeThisReferenceExpression(), delegateMethod.
Name
)));
System\ServiceModel\Description\OperationGenerator.cs (9)
152
this.DefaultName = this.Method.
Name
;
160
this.DefaultName = this.Method.
Name
.Substring(5);
320
WrapTypedMessage(ns, typedMessageDecl.
Name
, message, isReply, this.Context.IsInherited, hideFromEditor);
416
this.ins = new ParametersPartCodeGenerator(this, beginMethod.
Name
, beginMethod.Parameters, beginMethod.CustomAttributes, FieldDirection.In);
417
this.outs = new ParametersPartCodeGenerator(this, beginMethod.
Name
, endMethod.Parameters, beginMethod.CustomAttributes, FieldDirection.Out);
561
this.memberScope.AddReserved(typeDecl.
Name
);
834
CodeParameterDeclarationExpression param = new CodeParameterDeclarationExpression(field.Type, field.
Name
);
836
otherCtor.Statements.Add(new CodeAssignStatement(new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), field.
Name
), new CodeArgumentReferenceExpression(param.Name)));
958
this.DefaultName = this.Context.SyncMethod.
Name
;
System\ServiceModel\Description\ServiceContractGenerator.cs (4)
399
if (context.ContractType.
Name
!= context.Contract.CodeName)
496
new UniqueCodeNamespaceScope(context.Namespace).AddUnique(channelType, context.ContractType.
Name
+ Strings.ChannelTypeSuffix, Strings.ChannelTypeSuffix);
819
CodeTypeReference codeTypeReference = new CodeTypeReference(String.IsNullOrEmpty(codeNamespace.Name) ? codeType.
Name
: codeNamespace.Name + '.' + codeType.
Name
);
System\ServiceModel\Description\UniqueCodeIdentifierScope.cs (1)
153
if (String.Compare(codeType.
Name
, typeName, StringComparison.OrdinalIgnoreCase) == 0)
System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (1)
213
if (typeDecl.
Name
== comparableTypeName)
System.Web (7)
Compilation\BaseCodeDomTreeGenerator.cs (3)
150
return Util.MakeFullTypeName(_sourceDataNamespace.Name, _sourceDataClass.
Name
);
155
return Util.MakeFullTypeName(Parser.BaseTypeNamespace, _intermediateClass.
Name
);
331
string fullClassName = Util.MakeFullTypeName(_sourceDataNamespace.Name, _sourceDataClass.
Name
);
Compilation\BaseTemplateCodeDomTreeGenerator.cs (1)
186
method.Parameters.Add(new CodeParameterDeclarationExpression(_sourceDataClass.
Name
, "__ctrl"));
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (1)
154
if(StringUtil.Equals(typeToCreate, ns.Name + "." + type.
Name
)) {
Compilation\ProfileBuildProvider.cs (1)
252
cmie.Parameters.Add(new CodePrimitiveExpression(prop.
Name
));
Compilation\TemplateControlCodeDomTreeGenerator.cs (1)
194
new CodeBaseReferenceExpression(), method.
Name
);
System.Web.Services (4)
System\Web\Services\Description\WebCodeGenerator.cs (4)
95
ret.Expression = new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), field.
Name
);
98
CodeExpression left = new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), field.
Name
);
388
ctor.Statements.Add(new CodeAssignStatement(new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), data.
Name
), new CodeArgumentReferenceExpression(results)));
410
valueRef.TargetObject = new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), field.
Name
);
System.Workflow.Activities (3)
Common\CompModHelpers.cs (1)
510
if (typeDecl.
Name
== className)
WebServiceReceive.cs (2)
679
if (member is CodeMemberMethod && String.Compare(member.
Name
, methodInfo.Name, language == SupportedLanguages.CSharp ? StringComparison.InvariantCulture : StringComparison.InvariantCultureIgnoreCase) == 0)
720
if (codeTypeDeclaration.
Name
== webServiceTypeName)
System.Workflow.ComponentModel (12)
AuthoringOM\Compiler\TypeSystem\CodeDomLoader.cs (2)
40
string typename = Helper.EnsureTypeName(codeTypeDeclaration.
Name
);
48
partialType = new DesignTimeType(null, codeTypeDeclaration.
Name
, codeNamespace.Imports, codeNamespace.Name, this.typeProvider);
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (2)
1161
if (nestedType.Name.Equals(Helper.EnsureTypeName(codeType.
Name
)))
1169
partialType = new DesignTimeType(this, codeType.
Name
, this.codeNamespaceImports, this.fullName, this.typeProvider);
AuthoringOM\Compiler\TypeSystem\EventInfo.cs (1)
42
this.name = Helper.EnsureTypeName(codeDomEvent.
Name
);
AuthoringOM\Compiler\TypeSystem\FieldInfo.cs (1)
84
return Helper.EnsureTypeName(this.codeDomField.
Name
);
AuthoringOM\Compiler\TypeSystem\MethodInfo.cs (1)
256
return Helper.EnsureTypeName(this.methodInfo.
Name
);
AuthoringOM\Compiler\TypeSystem\PropertyInfo.cs (1)
159
return Helper.EnsureTypeName(this.property.
Name
);
AuthoringOM\Serializer\ActivityTypeCodeDomSerializer.cs (2)
67
if (method != null && method.
Name
.Equals(_initMethodName) && method.Parameters.Count == 0)
121
if (field.
Name
== manager.GetName(activity) &&
Shared\CompModHelpers.cs (1)
508
if (typeDecl.
Name
== className)
Shared\XomlSerializationHelpers.cs (1)
347
if (method == null && typeMember is CodeMemberMethod && typeMember.
Name
.Equals("InitializeComponent", StringComparison.Ordinal))
System.Xml (8)
System\Xml\Serialization\Advanced\SchemaImporterExtension.cs (1)
174
if (clrType == type.
Name
) {
System\Xml\Serialization\CodeExporter.cs (4)
306
ret.Expression = new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), field.
Name
);
310
CodeExpression left = new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), field.
Name
);
318
prop.SetStatements.Add(new CodeMethodInvokeExpression(new CodeThisReferenceExpression(), RaisePropertyChangedEventMethod.
Name
, new CodePrimitiveExpression(name)));
358
raisePropertyChangedEventMethod.Statements.Add(new CodeVariableDeclarationStatement(typeof(PropertyChangedEventHandler), propertyChanged.VariableName, new CodeEventReferenceExpression(new CodeThisReferenceExpression(), PropertyChangedEvent.
Name
)));
System\Xml\Serialization\SchemaImporter.cs (2)
208
scope.AddReserved(CodeExporter.PropertyChangedEvent.
Name
);
209
scope.AddReserved(CodeExporter.RaisePropertyChangedEventMethod.
Name
);
System\Xml\Serialization\XmlCodeExporter.cs (1)
477
assign.Left = new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), field.
Name
);
XamlBuildTask (7)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (7)
396
initializeMethod.Comments.AddRange(GenerateXmlComments(initializeMethod.
Name
));
618
new CodeVariableReferenceExpression(field.
Name
),
624
new CodePrimitiveExpression(field.
Name
)))));
867
Statements = { CodeThis.Invoke(initializeMethod.
Name
) },
886
Statements = { CodeThis.Invoke(initializeMethod.
Name
) },
933
new CodeMethodReturnStatement(CodeThis.Field(fieldMember.
Name
))
939
Left = CodeThis.Field(fieldMember.
Name
),