3 overrides of Name
Mono.Cecil (3)
Mono.Cecil\MethodDefinition.cs (1)
37 public override string Name {
Mono.Cecil\MethodSpecification.cs (1)
25 public override string Name {
Mono.Cecil\TypeReference.cs (1)
65 public override string Name {
9 writes to Name
Mono.Cecil (9)
Mono.Cecil\AssemblyReader.cs (2)
2328 member.Name = name; 2359 member.Name = name;
Mono.Cecil\FunctionPointerType.cs (1)
97 this.function.Name = "method";
Mono.Cecil\Import.cs (4)
363 Name = field.Name, 393 Name = method.Name, 681 Name = field.Name, 698 Name = method.Name,
Mono.Cecil\MethodDefinition.cs (1)
43 base.Name = value;
Mono.Cecil\TypeReference.cs (1)
70 base.Name = value;
113 references to Name
illink (41)
Microsoft.Maui.Controls.Build.Tasks (43)
BindablePropertyReferenceExtensions.cs (10)
14 if (!bpRef.Name.EndsWith("Property", StringComparison.InvariantCulture)) 15 throw new BuildException(BuildExceptionCode.BPName, iXmlLineInfo, null, bpRef.Name); 16 var bpName = bpRef.Name.Substring(0, bpRef.Name.Length - 8); 19 var getter = owner.GetProperty(cache, pd => pd.Name == bpName, out TypeReference declaringTypeRef)?.GetMethod; 36 var bpName = bpRef.Name.EndsWith("Property", StringComparison.Ordinal) ? bpRef.Name.Substring(0, bpRef.Name.Length - 8) : bpRef.Name; 37 var property = owner.GetProperty(cache, pd => pd.Name == bpName, out TypeReference propertyDeclaringType);
CompiledConverters\BindablePropertyConverter.cs (1)
110 FieldReference bpRef = typeRef.GetField(cache, fd => fd.Name == $"{propertyName}Property" && fd.IsStatic && fd.IsPublic, out declaringTypeReference);
CompiledMarkupExtensions\StaticExtension.cs (2)
84 FieldReference fRef = typeRef.GetField(cache, fd => fd.Name == fieldName 111 PropertyDefinition pDef = typeRef.GetProperty(cache, pd => pd.Name == propertyName
CompiledMarkupExtensions\StaticResourceExtension.cs (3)
131 var propertyRef = parentType.GetProperty(context.Cache, pd => pd.Name == localName, out var declaringTypeReference); 163 var keyProperty = staticResourceExtensionType.GetProperty(context.Cache, pd => pd.Name == "Key", out _); 180 propertyRef = parentType.GetProperty(context.Cache, pd => pd.Name == localName, out declaringTypeReference);
FieldReferenceExtensions.cs (1)
15 var fieldReference = new FieldReference(self.Name, fieldType)
MethodReferenceExtensions.cs (2)
16 var reference = new MethodReference(self.Name, ImportUnresolvedType(self.ReturnType, module)) 68 var reference = new MethodReference(self.Name, self.ReturnType)
ModuleDefinitionExtensions.cs (3)
110 string.Equals(pd.Name, propertyName, caseSensitive ? StringComparison.InvariantCulture : StringComparison.InvariantCultureIgnoreCase) 130 pd.Name == propertyName 242 string.Equals(fd.Name, fieldName, caseSensitive ? StringComparison.InvariantCulture : StringComparison.InvariantCultureIgnoreCase)
NodeILExtensions.cs (4)
360 if (field.Name == "value__") 370 if (field.Name == "value__") 372 if (field.Name == v.Trim()) 565 yield return Create(Ldstr, propertyRef.Name);
SetFieldVisitor.cs (1)
33 var field = Context.Body.Method.DeclaringType.Fields.SingleOrDefault(fd => fd.Name == ((string)node.Value).Trim());
SetPropertiesVisitor.cs (16)
115 propertyRef = Context.Variables[(IElementNode)parentNode].VariableType.GetProperty(Context.Cache, pd => pd.Name == localName, out declaringTypeReference); 667 && parentType.GetProperty(context.Cache, pd => pd.Name == propertyName.LocalName, out var propertyDeclaringTypeRef) is PropertyDefinition propertyDef 709 var property = previousPartTypeRef.GetProperty(context.Cache, pd => pd.Name == p && pd.GetMethod != null && pd.GetMethod.IsPublic && !pd.GetMethod.IsStatic, out var propDeclTypeRef); 727 pd => pd.Name == indexerName 732 pd => pd.Name == indexerName 737 pd => pd.Name == indexerName 802 throw new BuildException(BindingIndexerParse, lineInfo, null, indexArg, property.Name); 1007 throw new BuildException(BindingIndexerParse, node as IXmlLineInfo, null, lastIndexArg, lastProperty.Name); 1143 var propertyName = properties[i].Item1.Name; 1232 fd => fd.Name == name && 1249 return !attached && valueNode is ValueNode && parent.VariableType.GetEvent(context.Cache, ed => ed.Name == localName, out _) != null; 1257 var eventinfo = elementType.GetEvent(context.Cache, ed => ed.Name == localName, out eventDeclaringTypeRef); 1549 var property = parent.VariableType.GetProperty(context.Cache, pd => pd.Name == localName, out declaringTypeReference); 1587 var property = parent.VariableType.GetProperty(context.Cache, pd => pd.Name == localName, out declaringTypeReference); 1606 var property = parent.VariableType.GetProperty(context.Cache, pd => pd.Name == localName, out declaringTypeReference); 1657 var property = parent.VariableType.GetProperty(context.Cache, pd => pd.Name == localName, out var declaringTypeReference);
Mono.Cecil (26)
Mono.Cecil\AssemblyWriter.cs (4)
1629 GetStringIndex (field.Name), 1816 GetStringIndex (property.Name), 1858 GetStringIndex (@event.Name), 2048 GetStringIndex (member.Name),
Mono.Cecil\FunctionPointerType.cs (2)
55 get { return function.Name; } 84 signature.Append (function.Name);
Mono.Cecil\GenericInstanceMethod.cs (1)
59 .Append (method.Name);
Mono.Cecil\GenericParameterResolver.cs (1)
8 if (methodReference.DeclaringType.IsArray && methodReference.Name == "Get")
Mono.Cecil\Import.cs (3)
89 return method.DeclaringType.GetElementType ().FullName + "." + method.Name; 681 Name = field.Name, 698 Name = method.Name,
Mono.Cecil\MetadataResolver.cs (3)
206 if (field.Name != reference.Name) 271 if (method.Name != reference.Name)
Mono.Cecil\MethodDefinition.cs (2)
38 get { return base.Name; } 40 if (IsWindowsRuntimeProjection && value != base.Name)
Mono.Cecil\MethodReferenceComparer.cs (3)
40 if (x.Name != y.Name) 140 return TypeReferenceEqualityComparer.GetHashCodeFor (obj.DeclaringType) * hashCodeMultiplier + obj.Name.GetHashCode ();
Mono.Cecil\MethodSpecification.cs (1)
26 get { return method.Name; }
Mono.Cecil\TypeReference.cs (2)
66 get { return base.Name; } 68 if (IsWindowsRuntimeProjection && value != base.Name)
Mono.Cecil\TypeResolver.cs (3)
50 methodReference = new MethodReference (method.Name, method.ReturnType, declaringType); 67 methodReference = new MethodReference (method.Name, method.ReturnType, declaringType); 89 return new FieldReference (field.Name, field.FieldType, declaringType);
Mono.Cecil\WindowsRuntimeProjections.cs (1)
711 if (declaring_type.Module.MetadataKind == MetadataKind.WindowsMetadata && field.IsRuntimeSpecialName && field.Name == "value__") {
tlens (3)
TLens.Analyzers\RedundantFieldInitializationAnalyzer.cs (1)
117return fr.Name == "Zero";
TLens.Analyzers\UserOperatorCalledForNullCheckAnalyzer.cs (2)
36if (mr.Name != "op_Equality" && mr.Name != "op_Inequality")