34 references to Name
PresentationFramework (7)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (4)
2045return type.Name; 2049return $"{prefix}:{type.Name}"; 2057throw new InvalidOperationException($"Could not find prefix for type: {type.Name}"); 2387throw new XamlParseException(SR.Format(SR.RecordOutOfOrder, parentType.Name));
System\Windows\Markup\Baml2006\WpfXamlType.cs (2)
467xamlMember = System.Windows.Markup.XamlReader.BamlSharedSchemaContext.CreateKnownMember(wpfXamlType.Name, name); 471xamlMember = System.Windows.Markup.XamlReader.BamlSharedSchemaContext.CreateKnownAttachableMember(wpfXamlType.Name, name);
System\Windows\TemplateContent.cs (1)
104string type = (this.Type == null) ? String.Empty : this.Type.Name;
System.Xaml (27)
System\Xaml\Context\ObjectWriterContext.cs (2)
311throw new ArgumentException(SR.Format(SR.NotAmbientProperty, xamlMember.DeclaringType.Name, xamlMember.Name), nameof(properties)); 428throw new ArgumentException(SR.Format(SR.NotAmbientType, xamlType.Name), nameof(types));
System\Xaml\Context\ObjectWriterFrame.cs (1)
75string type = (XamlType == null) ? string.Empty : XamlType.Name;
System\Xaml\Context\XamlContext.cs (1)
346if (tagNs != propNs && tagType.Name != propTypeName &&
System\Xaml\InfosetObjects\XamlNodes.cs (1)
122str += XamlType.Name;
System\Xaml\InfosetObjects\XamlObjectWriter.cs (4)
1050throw lineInfo.WithLineInfo(new XamlObjectWriterException(SR.Format(SR.MissingKey, instanceType.Name))); 1216string msg = string.Format(TypeConverterHelper.InvariantEnglishUS, SR.NoSuchConstructor, rawArgs.Count, meType.Name); 1232Logic_CreateFromValue(ctx, pparamType.TypeConverter, pparam.Value, null, pparamType.Name) : 1255inst = Logic_CreateFromValue(ctx, ts, value, null, xamlType.Name);
System\Xaml\Parser\XamlScanner.cs (2)
798attrProperty.DeclaringType.Name == "Glyphs"); 859KS.Eq(XamlLanguage.XData.Name, name);
System\Xaml\Runtime\ClrObjectRuntime.cs (1)
49throw CreateException(SR.Format(SR.CannotCreateBadType, xamlType.Name));
System\Xaml\Schema\XamlValueConverter.cs (2)
98return $"{ConverterType.Name}({TargetType.Name})"; 104return TargetType.Name;
System\Xaml\XamlException.cs (1)
147: base(SR.Format(SR.DuplicateMemberSet, (member != null) ? member.Name : null, (type != null) ? type.Name : null))
System\Xaml\XamlMarkupExtensionWriter.cs (1)
415string local = $"{property.DeclaringType.Name}.{property.Name}";
System\Xaml\XamlObjectReader.cs (2)
1722throw new XamlObjectReaderException(SR.Format(SR.ObjectReaderTypeIsNested, xamlType.Name)); 1726throw new XamlObjectReaderException(SR.Format(SR.ObjectReaderTypeCannotRoundtrip, xamlType.Name));
System\Xaml\XamlType.cs (1)
1369sb.Append(Name);
System\Xaml\XamlTypeName.cs (1)
45Name = xamlType.Name;
System\Xaml\XamlXmlWriter.cs (7)
169throw new ArgumentException(SR.Format(SR.TypeHasInvalidXamlName, type.Name), nameof(type)); 661string typeName = type.Name; 662if (type.IsMarkupExtension && type.Name.EndsWith("Extension", false, TypeConverterHelper.InvariantEnglishUS)) 664typeName = type.Name.Substring(0, type.Name.Length - "Extension".Length); 1276throw new InvalidOperationException(SR.Format(SR.WhiteSpaceInCollection, value, containingXamlType.Name)); 1474throw new InvalidOperationException(SR.Format(SR.WhiteSpaceInCollection, writer.deferredValue, containingXamlType.Name));