5 writes to Name
PresentationFramework (1)
System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (1)
60
XamlTypeName fullTypeName = new XamlTypeName { Namespace = xamlNamespace,
Name
= name };
System.Xaml (4)
System\Xaml\Parser\MeScanner.cs (2)
299
typeName.
Name
= typeName.Name + KnownStrings.Extension;
307
typeName.
Name
= bareTypeName;
System\Xaml\XamlTypeName.cs (2)
31
Name
= name;
43
Name
= xamlType.Name;
22 references to Name
System.Xaml (11)
System\Xaml\Context\XamlContext.cs (2)
268
Debug.Assert(typeName.
Name
is not null, "typeName.Name cannot be null and should have been checked before now");
289
xamlType = new XamlType(typeName.Namespace, typeName.
Name
, typeArgs, SchemaContext);
System\Xaml\Parser\MeScanner.cs (3)
298
string bareTypeName = typeName.
Name
;
299
typeName.Name = typeName.
Name
+ KnownStrings.Extension;
305
KS.Eq(xamlType.UnderlyingType.Name, typeName.
Name
+ KnownStrings.Extension)))
System\Xaml\Schema\XamlTypeTypeConverter.cs (1)
112
result = new XamlType(typeName.Namespace, typeName.
Name
, typeArgs, schemaContext);
System\Xaml\XamlSchemaContext.cs (2)
278
if (xamlTypeName.
Name
is null)
307
return GetXamlType(xamlTypeName.Namespace, xamlTypeName.
Name
, typeArgs);
System\Xaml\XamlTypeName.cs (3)
213
if (string.IsNullOrEmpty(
Name
))
243
string name = GenericTypeNameScanner.StripSubscript(
Name
, out subscript);
254
result.Append(
Name
);
System.Xaml.Tests (11)
System\Xaml\Schema\XamlTypeNameTests.cs (11)
19
Assert.Null(typeName.
Name
);
31
Assert.Equal(name, typeName.
Name
);
48
Assert.Equal(name, typeName.
Name
);
58
Assert.Equal("unknownTypeName", typeName.
Name
);
69
Assert.Equal("unknownTypeName", typeName.
Name
);
71
Assert.Equal("typeName", Assert.Single(typeName.TypeArguments).
Name
);
265
Assert.Equal(expectedName, name.
Name
);
283
Assert.Equal(expectedName, name.
Name
);
310
Assert.Equal("name", name.
Name
);
463
Assert.Equal(expected[i].
Name
, actual[i].
Name
);