3 writes to Namespace
PresentationFramework (1)
System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (1)
59
XamlTypeName fullTypeName = new XamlTypeName {
Namespace
= xamlNamespace, Name = name };
System.Xaml (2)
System\Xaml\XamlTypeName.cs (2)
31
Namespace
= xamlNamespace;
43
Namespace
= xamlType.GetXamlNamespaces()[0];
21 references to Namespace
System.Xaml (10)
System\Xaml\Context\XamlContext.cs (2)
268
Debug.Assert(typeName.
Namespace
is not null);
288
xamlType = new XamlType(typeName.
Namespace
, typeName.Name, typeArgs, SchemaContext);
System\Xaml\Parser\MeScanner.cs (1)
311
_tokenNamespace = typeName.
Namespace
;
System\Xaml\Schema\XamlTypeTypeConverter.cs (1)
111
result = new XamlType(typeName.
Namespace
, typeName.Name, typeArgs, schemaContext);
System\Xaml\XamlSchemaContext.cs (2)
282
if (xamlTypeName.
Namespace
is null)
306
return GetXamlType(xamlTypeName.
Namespace
, xamlTypeName.Name, typeArgs);
System\Xaml\XamlTypeName.cs (4)
204
if (
Namespace
is null)
217
result.Append(
Namespace
);
222
string prefix = prefixGenerator.Invoke(
Namespace
);
225
throw new InvalidOperationException(SR.Format(SR.XamlTypeNameCannotGetPrefix,
Namespace
));
System.Xaml.Tests (11)
System\Xaml\Schema\XamlTypeNameTests.cs (11)
18
Assert.Null(typeName.
Namespace
);
30
Assert.Equal(xamlNamespace, typeName.
Namespace
);
47
Assert.Equal(xamlNamespace, typeName.
Namespace
);
57
Assert.Equal("unknownTypeNamespace", typeName.
Namespace
);
68
Assert.Equal("unknownTypeNamespace", typeName.
Namespace
);
70
Assert.Equal("typeNamespace", Assert.Single(typeName.TypeArguments).
Namespace
);
264
Assert.Equal("namespace", name.
Namespace
);
282
Assert.Equal("namespace", name.
Namespace
);
309
Assert.Equal("", name.
Namespace
);
462
Assert.Equal(expected[i].
Namespace
, actual[i].
Namespace
);