3 writes to Namespace
PresentationFramework (1)
System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (1)
60XamlTypeName fullTypeName = new XamlTypeName { Namespace = xamlNamespace, Name = name };
System.Xaml (2)
System\Xaml\XamlTypeName.cs (2)
32Namespace = xamlNamespace; 44Namespace = xamlType.GetXamlNamespaces()[0];
21 references to Namespace
System.Xaml (10)
System\Xaml\Context\XamlContext.cs (2)
269Debug.Assert(typeName.Namespace is not null); 289xamlType = new XamlType(typeName.Namespace, typeName.Name, typeArgs, SchemaContext);
System\Xaml\Parser\MeScanner.cs (1)
312_tokenNamespace = typeName.Namespace;
System\Xaml\Schema\XamlTypeTypeConverter.cs (1)
112result = new XamlType(typeName.Namespace, typeName.Name, typeArgs, schemaContext);
System\Xaml\XamlSchemaContext.cs (2)
283if (xamlTypeName.Namespace is null) 307return GetXamlType(xamlTypeName.Namespace, xamlTypeName.Name, typeArgs);
System\Xaml\XamlTypeName.cs (4)
208if (Namespace is null) 221result.Append(Namespace); 226string prefix = prefixGenerator.Invoke(Namespace); 229throw new InvalidOperationException(SR.Format(SR.XamlTypeNameCannotGetPrefix, Namespace));
System.Xaml.Tests (11)
System\Xaml\Schema\XamlTypeNameTests.cs (11)
18Assert.Null(typeName.Namespace); 30Assert.Equal(xamlNamespace, typeName.Namespace); 47Assert.Equal(xamlNamespace, typeName.Namespace); 57Assert.Equal("unknownTypeNamespace", typeName.Namespace); 68Assert.Equal("unknownTypeNamespace", typeName.Namespace); 70Assert.Equal("typeNamespace", Assert.Single(typeName.TypeArguments).Namespace); 264Assert.Equal("namespace", name.Namespace); 282Assert.Equal("namespace", name.Namespace); 309Assert.Equal("", name.Namespace); 462Assert.Equal(expected[i].Namespace, actual[i].Namespace);