3 writes to Namespace
PresentationFramework (1)
System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (1)
60
XamlTypeName fullTypeName = new XamlTypeName {
Namespace
= xamlNamespace, Name = name };
System.Xaml (2)
System\Xaml\XamlTypeName.cs (2)
32
Namespace
= xamlNamespace;
44
Namespace
= xamlType.GetXamlNamespaces()[0];
21 references to Namespace
System.Xaml (10)
System\Xaml\Context\XamlContext.cs (2)
269
Debug.Assert(typeName.
Namespace
is not null);
289
xamlType = new XamlType(typeName.
Namespace
, typeName.Name, typeArgs, SchemaContext);
System\Xaml\Parser\MeScanner.cs (1)
312
_tokenNamespace = typeName.
Namespace
;
System\Xaml\Schema\XamlTypeTypeConverter.cs (1)
112
result = new XamlType(typeName.
Namespace
, typeName.Name, typeArgs, schemaContext);
System\Xaml\XamlSchemaContext.cs (2)
283
if (xamlTypeName.
Namespace
is null)
307
return GetXamlType(xamlTypeName.
Namespace
, xamlTypeName.Name, typeArgs);
System\Xaml\XamlTypeName.cs (4)
208
if (
Namespace
is null)
221
result.Append(
Namespace
);
226
string prefix = prefixGenerator.Invoke(
Namespace
);
229
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
);