1 write to DeclaringSyntaxReference
Microsoft.CodeAnalysis (1)
Compilation\IImportScope.cs (1)
117
DeclaringSyntaxReference
= declaringSyntaxReference;
17 references to DeclaringSyntaxReference
Microsoft.CodeAnalysis (1)
Compilation\IImportScope.cs (1)
17
/// cref="ImportedXmlNamespace.
DeclaringSyntaxReference
"/> respectively.
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (16)
Compilation\GetImportScopesTests.vb (16)
350
Assert.True(TypeOf scopes.Single().XmlNamespaces.Single().
DeclaringSyntaxReference
.GetSyntax() Is XmlNamespaceImportsClauseSyntax)
351
Assert.Equal("<xmlns:r1=""http://roslyn"">", scopes.Single().XmlNamespaces.Single().
DeclaringSyntaxReference
.GetSyntax().ToString())
368
Assert.True(TypeOf scopes.Single().XmlNamespaces.Single().
DeclaringSyntaxReference
.GetSyntax() Is XmlNamespaceImportsClauseSyntax)
369
Assert.Equal("<xmlns:r1=""http://roslyn"">", scopes.Single().XmlNamespaces.Single().
DeclaringSyntaxReference
.GetSyntax().ToString())
390
Assert.True(TypeOf scopes.Single().XmlNamespaces.Single().
DeclaringSyntaxReference
.GetSyntax() Is XmlNamespaceImportsClauseSyntax)
391
Assert.Equal("<xmlns:r1=""http://roslyn"">", scopes.Single().XmlNamespaces.Single().
DeclaringSyntaxReference
.GetSyntax().ToString())
410
Assert.True(TypeOf scopes.Single().XmlNamespaces.First().
DeclaringSyntaxReference
.GetSyntax() Is XmlNamespaceImportsClauseSyntax)
411
Assert.True(scopes.Single().XmlNamespaces.Any(Function(x) x.
DeclaringSyntaxReference
.GetSyntax().ToString() = "<xmlns:r1=""http://roslyn"">"))
414
Assert.True(TypeOf scopes.Single().XmlNamespaces.Last().
DeclaringSyntaxReference
.GetSyntax() Is XmlNamespaceImportsClauseSyntax)
415
Assert.True(scopes.Single().XmlNamespaces.Any(Function(x) x.
DeclaringSyntaxReference
.GetSyntax().ToString() = "<xmlns:r2=""http://roslyn2"">"))
441
Assert.True(TypeOf scopes.Single().XmlNamespaces.Single().
DeclaringSyntaxReference
.GetSyntax() Is XmlNamespaceImportsClauseSyntax)
442
Assert.Equal("<xmlns:r1=""http://roslyn"">", scopes.Single().XmlNamespaces.Single().
DeclaringSyntaxReference
.GetSyntax().ToString())
465
Assert.True(TypeOf scopes.Single().XmlNamespaces.Single().
DeclaringSyntaxReference
.GetSyntax() Is XmlNamespaceImportsClauseSyntax)
466
Assert.Equal("<xmlns:r1=""http://roslyn"">", scopes.Single().XmlNamespaces.Single().
DeclaringSyntaxReference
.GetSyntax().ToString())
491
Assert.True(TypeOf scopes.Single().XmlNamespaces.Single().
DeclaringSyntaxReference
.GetSyntax() Is XmlNamespaceImportsClauseSyntax)
492
Assert.Equal("<xmlns:r1=""http://roslyn"">", scopes.Single().XmlNamespaces.Single().
DeclaringSyntaxReference
.GetSyntax().ToString())