55 writes to Name
Microsoft.Build.Tasks.Core (6)
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (3)
215
Name
= taskInfo.Name,
232
Name
= "Execute",
635
Name
= name,
system.design\stronglytypedresourcebuilder.cs (3)
385
resMgr.
Name
= ResMgrPropertyName;
418
culture.
Name
= CultureInfoPropertyName;
571
Name
= propertyName,
PresentationBuildTasks (15)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (15)
886
Name
= CONNECT,
1122
Name
= CONNECT,
2047
cmmEventHandler.
Name
= mei.eventHandler.Trim();
2066
cmmEventHandlerHelper.
Name
= cmmEventHandler.Name + HELPER;
2217
Name
= name,
2457
Name
= className
2569
Name
= CREATEDELEGATEHELPER,
2717
Name
= CONTENT_LOADED,
2755
Name
= XamlTypeMapper.GeneratedInternalTypeHelperClassName
2778
Name
= "CreateInstance",
2817
Name
= "GetPropertyValue",
2850
Name
= "SetPropertyValue",
2889
Name
= "CreateDelegate",
2942
Name
= "AddEventHandler",
3477
Name
= INITIALIZE_COMPONENT,
System.CodeDom (13)
Microsoft\VisualBasic\VBCodeGenerator.cs (6)
1468
e.
Name
= impl + "_" + e.Name;
1595
e.
Name
= impl + "_" + e.Name;
1693
e.
Name
= methodName;
1748
e.
Name
= impl + "_" + e.Name;
1836
e.
Name
= propName;
1857
e.
Name
= propName;
System\CodeDom\CodeConstructor.cs (1)
10
Name
= ".ctor";
System\CodeDom\CodeMemberField.cs (3)
15
Name
= name;
21
Name
= name;
27
Name
= name;
System\CodeDom\CodeTypeConstructor.cs (1)
10
Name
= ".cctor";
System\CodeDom\CodeTypeDeclaration.cs (1)
26
Name
= name;
System\CodeDom\CodeTypeDelegate.cs (1)
22
Name
= name;
System.Runtime.Serialization.Schema (14)
System\Runtime\Serialization\Schema\CodeExporter.cs (14)
855
field.
Name
= fieldName;
1097
enumMember.
Name
= GetMemberName(stringValue, contractCodeDomInfo);
1707
nodeArrayField.
Name
= ImportGlobals.NodeArrayFieldName;
1718
readXmlMethod.
Name
= "ReadXml";
1740
writeXmlMethod.
Name
= "WriteXml";
1762
getSchemaMethod.
Name
= "GetSchema";
1776
getSchemaStaticMethod.
Name
= ImportGlobals.ExportSchemaMethod;
1839
serializationInfoField.
Name
= ImportGlobals.SerializationInfoFieldName;
1858
getObjectDataMethod.
Name
= ImportGlobals.GetObjectDataMethodName;
1924
extensionDataObjectField.
Name
= ImportGlobals.ExtensionDataObjectFieldName;
1936
extensionDataObjectProperty.
Name
= ImportGlobals.ExtensionDataObjectPropertyName;
1958
raisePropertyChangedEventMethod.
Name
= "RaisePropertyChanged";
1977
propertyChangedEvent.
Name
= "PropertyChanged";
1993
property.
Name
= propertyName;
System.Windows.Forms.Design (7)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (3)
400
docDeclaration.
Name
= newDecl.Name;
857
_documentType.
Name
= newName;
875
members[i].
Name
= newName;
System\ComponentModel\Design\Serialization\ComponentTypeCodeDomSerializer.cs (1)
33
Name
= InitMethodName,
System\Resources\Tools\StronglyTypedResourceBuilder.cs (3)
522
Name
= ResourceManagerPropertyName,
553
Name
= CultureInfoPropertyName,
695
Name
= propertyName,
108 references to Name
Microsoft.Build.Tasks.Core (3)
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (2)
238
executeMethod.Statements.Add(new CodeMethodReturnStatement(new CodePropertyReferenceExpression(null, successProperty.
Name
)));
630
FieldName = field.
Name
system.design\stronglytypedresourcebuilder.cs (1)
460
var getAssembly = new CodePropertyReferenceExpression(new CodeTypeOfExpression(new CodeTypeReference(srClass.
Name
)), "Assembly");
PresentationBuildTasks (11)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (10)
2049
CodeMethodInvokeExpression cmieOnEvent = new CodeMethodInvokeExpression(null, cmmEventHandler.
Name
);
2066
cmmEventHandlerHelper.Name = cmmEventHandler.
Name
+ HELPER;
2762
GenerateXmlComments(ctdClass, ctdClass.
Name
);
2807
GenerateXmlComments(cmmCI, cmmCI.
Name
);
2840
GenerateXmlComments(cmmGPV, cmmGPV.
Name
);
2873
GenerateXmlComments(cmmSPV, cmmSPV.
Name
);
2932
GenerateXmlComments(cmmCD, cmmCD.
Name
);
2961
GenerateXmlComments(cmmAEH, cmmAEH.
Name
);
3052
classFullName = GetFullClassName(_ccRoot.CodeNS.Name, _ccRoot.CodeClass.
Name
);
3154
: GetFullClassName(_ccRoot.CodeNS.Name, _ccRoot.CodeClass.
Name
);
MS\Internal\MarkupCompiler\ParserExtension.cs (1)
667
MarkupCompiler.GenerateXmlComments(_nameField, $"{_nameField.
Name
} Name Field");
System.CodeDom (41)
Microsoft\CSharp\CSharpCodeGenerator.cs (9)
69
private string CurrentTypeName => _currentClass != null ? _currentClass.
Name
: "<% unknown %>";
1123
string name = e.
Name
;
1257
OutputIdentifier(e.
Name
);
1275
OutputTypeNamePair(e.Type, e.
Name
);
1388
OutputIdentifier(e.
Name
);
1475
if (e.Parameters.Count > 0 && string.Equals(e.
Name
, "Item", StringComparison.OrdinalIgnoreCase))
1483
OutputIdentifier(e.
Name
);
1920
OutputIdentifier(e.
Name
);
1928
OutputIdentifier(e.
Name
);
Microsoft\VisualBasic\VBCodeGenerator.cs (19)
1463
string eventName = e.
Name
;
1468
e.Name = impl + "_" + e.
Name
;
1473
OutputTypeNamePair(e.Type, e.
Name
);
1516
OutputIdentifier(e.
Name
);
1540
OutputTypeNamePair(e.Type, e.
Name
);
1564
&& meth.
Name
.Equals(e.
Name
, StringComparison.OrdinalIgnoreCase)
1590
string methodName = e.
Name
;
1595
e.Name = impl + "_" + e.
Name
;
1630
OutputIdentifier(e.
Name
);
1724
&& prop.
Name
.Equals(e.
Name
, StringComparison.OrdinalIgnoreCase)
1743
string propName = e.
Name
;
1748
e.Name = impl + "_" + e.
Name
;
1768
if (e.Parameters.Count > 0 && string.Equals(e.
Name
, "Item", StringComparison.OrdinalIgnoreCase))
1784
OutputIdentifier(e.
Name
);
1964
OutputIdentifier(e.
Name
);
1984
OutputIdentifier(e.
Name
);
2003
OutputIdentifier(e.
Name
);
System\CodeDom\Compiler\CodeGenerator.cs (2)
23
protected string CurrentTypeName => _currentClass != null ? _currentClass.
Name
: "<% unknown %>";
27
protected string CurrentMemberName => _currentMember != null ? _currentMember.
Name
: "<% unknown %>";
System\CodeDom\Compiler\CodeValidator.cs (11)
238
ValidateIdentifier(e, nameof(e.
Name
), e.
Name
);
290
if (e.Parameters.Count > 0 && string.Equals(e.
Name
, "Item", StringComparison.OrdinalIgnoreCase))
296
ValidateIdentifier(e, nameof(e.
Name
), e.
Name
);
361
ValidateIdentifier(e, nameof(e.
Name
), e.
Name
);
378
ValidateIdentifier(e, nameof(e.
Name
), e.
Name
);
586
ValidateIdentifier(e, nameof(e.
Name
), e.
Name
);
System.Runtime.Serialization.Schema (15)
System\Runtime\Serialization\Schema\CodeExporter.cs (15)
112
AddGlobalTypeName(codeTypeDecl.
Name
);
726
if (string.Equals(typeName, type.
Name
, StringComparison.OrdinalIgnoreCase))
751
if (string.Equals(typeName, declaration.
Name
, StringComparison.OrdinalIgnoreCase))
864
if (dataMemberName != property.
Name
)
1027
contractCodeDomInfo.AddMemberName(extensionDataObjectField.
Name
);
1030
contractCodeDomInfo.AddMemberName(extensionDataObjectProperty.
Name
);
1046
contractCodeDomInfo.AddMemberName(memberEvent.
Name
);
1047
contractCodeDomInfo.AddMemberName(raisePropertyChangedEventMethod.
Name
);
1099
if (enumMember.
Name
!= stringValue)
1125
if (contractCodeDomInfo.TypeDeclaration.
Name
!= expectedName)
1126
throw ExceptionUtil.ThrowHelperError(new InvalidDataContractException(SR.Format(SR.InvalidClrNameGeneratedForISerializable, classDataContract.XmlName.Name, classDataContract.XmlName.Namespace, contractCodeDomInfo.TypeDeclaration.
Name
)));
1376
if (memberName == contractCodeDomInfo.TypeDeclaration.
Name
)
1813
baseConstructor.Statements.Add(new CodeAssignStatement(new CodePropertyReferenceExpression(ThisReference, PropertyChangedEvent.
Name
), NullReference));
1963
raisePropertyChangedEventMethod.Statements.Add(new CodeVariableDeclarationStatement(typeof(PropertyChangedEventHandler), propertyChanged.VariableName, new CodeEventReferenceExpression(ThisReference, PropertyChangedEvent.
Name
)));
2024
ifStatement.TrueStatements.Add(new CodeMethodInvokeExpression(ThisReference, RaisePropertyChangedEventMethod.
Name
, new CodePrimitiveExpression(propertyName)));
System.Windows.Forms.Design (38)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (20)
241
failures.Add(string.Format(SR.CodeDomDesignerLoaderDocumentFailureTypeNotFound, typeDeclaration.
Name
, typeReference.BaseType));
282
throw new InvalidOperationException(string.Format(SR.CodeDomDesignerLoaderSerializerTypeNotFirstType, typeDeclaration.
Name
));
300
throw new InvalidOperationException(string.Format(SR.CodeDomDesignerLoaderSerializerTypeNotFirstType, typeDeclaration.
Name
));
311
failures.Add(string.Format(SR.CodeDomDesignerLoaderDocumentFailureTypeDesignerNotInstalled, typeDeclaration.
Name
, baseType.FullName));
315
failures.Add(string.Format(SR.CodeDomDesignerLoaderDocumentFailureTypeNotDesignable, typeDeclaration.
Name
, baseType.FullName));
398
if (!string.Equals(docDeclaration.
Name
, newDecl.
Name
, caseInsensitive ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal))
400
docDeclaration.Name = newDecl.
Name
;
430
_ => member.
Name
,
473
string memberName = member is CodeConstructor ? ".ctor" : member.
Name
;
488
if ((string.Equals(newField.
Name
, docField.
Name
)) && newField.Attributes == docField.Attributes && TypesEqual(newField.Type, docField.Type))
652
string oldTypeName = _documentType.
Name
;
672
reload |= (_documentType is null || !_documentType.
Name
.Equals(oldTypeName));
844
SetBaseComponentClassName($"{_documentNamespace.Name}.{_documentType.
Name
}");
872
if (members[i] is CodeMemberField field && members[i].
Name
.Equals(oldName)
896
if (members[i] is CodeMemberField && members[i].
Name
.Equals(name))
1044
memberHash.Add(member.
Name
);
1150
if (string.Equals(member.
Name
, name, StringComparison.OrdinalIgnoreCase))
1242
if (string.Equals(member.
Name
, name, StringComparison.OrdinalIgnoreCase))
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.ModifiersExtenderProvider.cs (1)
152
if (member is CodeMemberField field && field.
Name
.Equals(compName))
System\ComponentModel\Design\Serialization\ComponentTypeCodeDomSerializer.cs (1)
63
if (member is CodeMemberMethod method && method.
Name
.Equals(InitMethodName) && method.Parameters.Count == 0)
System\ComponentModel\Design\Serialization\TypeCodeDomSerializer.cs (14)
56
string baseTypeName = declaration.
Name
;
81
rootObject = manager.CreateInstance(baseType, null, declaration.
Name
, true);
97
if (!string.Equals(member.
Name
, declaration.
Name
, compare))
100
_nameTable[member.
Name
] = member;
104
names[member.
Name
] = GetTypeNameFromCodeTypeReference(manager, member.Type);
126
_nameTable[declaration.
Name
] = rootCtx.Expression;
134
FillStatementTable(manager, _statementTable, names, method.Statements, declaration.
Name
);
149
if (!name.Equals(declaration.
Name
) && _statementTable.TryGetValue(name, out OrderedCodeStatementCollection? statements))
183
if (statements.Name.Equals(declaration.
Name
))
500
if (!methodMap.TryGetValue(method.
Name
, out CodeMethodMap? map))
503
methodMap[method.
Name
] = map;
522
if (!methodMap.TryGetValue(rootMethod.
Name
, out CodeMethodMap? rootMap))
525
methodMap[rootMethod.
Name
] = rootMap;
System\Resources\Tools\StronglyTypedResourceBuilder.cs (2)
594
new CodeTypeOfExpression(new CodeTypeReference(classDeclaration.
Name
)),
603
new CodeTypeOfExpression(new CodeTypeReference(classDeclaration.
Name
)),