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