34 references to Name
PresentationFramework (7)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (4)
2040return type.Name; 2044return $"{prefix}:{type.Name}"; 2052throw new InvalidOperationException($"Could not find prefix for type: {type.Name}"); 2382throw new XamlParseException(SR.Format(SR.RecordOutOfOrder, parentType.Name));
System\Windows\Markup\Baml2006\WpfXamlType.cs (2)
464xamlMember = System.Windows.Markup.XamlReader.BamlSharedSchemaContext.CreateKnownMember(wpfXamlType.Name, name); 468xamlMember = System.Windows.Markup.XamlReader.BamlSharedSchemaContext.CreateKnownAttachableMember(wpfXamlType.Name, name);
System\Windows\TemplateContent.cs (1)
101string type = (this.Type == null) ? String.Empty : this.Type.Name;
System.Xaml (27)
System\Xaml\Context\ObjectWriterContext.cs (2)
308throw new ArgumentException(SR.Format(SR.NotAmbientProperty, xamlMember.DeclaringType.Name, xamlMember.Name), nameof(properties)); 425throw new ArgumentException(SR.Format(SR.NotAmbientType, xamlType.Name), nameof(types));
System\Xaml\Context\ObjectWriterFrame.cs (1)
71string type = (XamlType is null) ? string.Empty : XamlType.Name;
System\Xaml\Context\XamlContext.cs (1)
343if (tagNs != propNs && tagType.Name != propTypeName &&
System\Xaml\InfosetObjects\XamlNodes.cs (1)
120str += XamlType.Name;
System\Xaml\InfosetObjects\XamlObjectWriter.cs (4)
1048throw lineInfo.WithLineInfo(new XamlObjectWriterException(SR.Format(SR.MissingKey, instanceType.Name))); 1214string msg = string.Format(TypeConverterHelper.InvariantEnglishUS, SR.NoSuchConstructor, rawArgs.Count, meType.Name); 1230Logic_CreateFromValue(ctx, pparamType.TypeConverter, pparam.Value, null, pparamType.Name) : 1253inst = Logic_CreateFromValue(ctx, ts, value, null, xamlType.Name);
System\Xaml\Parser\XamlScanner.cs (2)
795attrProperty.DeclaringType.Name == "Glyphs"); 856KS.Eq(XamlLanguage.XData.Name, name);
System\Xaml\Runtime\ClrObjectRuntime.cs (1)
47throw 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)
146: base(SR.Format(SR.DuplicateMemberSet, (member is not null) ? member.Name : null, (type is not null) ? type.Name : null))
System\Xaml\XamlMarkupExtensionWriter.cs (1)
414string local = $"{property.DeclaringType.Name}.{property.Name}";
System\Xaml\XamlObjectReader.cs (2)
1717throw new XamlObjectReaderException(SR.Format(SR.ObjectReaderTypeIsNested, xamlType.Name)); 1721throw new XamlObjectReaderException(SR.Format(SR.ObjectReaderTypeCannotRoundtrip, xamlType.Name));
System\Xaml\XamlType.cs (1)
1366sb.Append(Name);
System\Xaml\XamlTypeName.cs (1)
43Name = xamlType.Name;
System\Xaml\XamlXmlWriter.cs (7)
167throw new ArgumentException(SR.Format(SR.TypeHasInvalidXamlName, type.Name), nameof(type)); 659string typeName = type.Name; 660if (type.IsMarkupExtension && type.Name.EndsWith("Extension", false, TypeConverterHelper.InvariantEnglishUS)) 662typeName = type.Name.Substring(0, type.Name.Length - "Extension".Length); 1274throw new InvalidOperationException(SR.Format(SR.WhiteSpaceInCollection, value, containingXamlType.Name)); 1472throw new InvalidOperationException(SR.Format(SR.WhiteSpaceInCollection, writer.deferredValue, containingXamlType.Name));