2 writes to Alias
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
CompilationTestUtils.cs (2)
293summary.Alias = semanticModel.GetAliasInfo(identifier); 335summary.Alias = semanticModel.GetSpeculativeAliasInfo(position, (IdentifierNameSyntax)node, bindingOption);
18 references to Alias
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (14)
Semantics\UnsafeTests.cs (14)
8886Assert.Null(summary.Alias); 8921Assert.Null(summary.Alias); 9348Assert.Null(summary.Alias); 10239Assert.Null(summary.Alias); 10306Assert.Null(summary.Alias); 10640Assert.Null(typeSummary.Alias); 10653Assert.Null(sizeOfSummary.Alias); 10702Assert.Null(typeSummary.Alias); 10715Assert.Null(sizeOfSummary.Alias); 10762Assert.Null(typeSummary.Alias); 10775Assert.Null(sizeOfSummary.Alias); 11318Assert.Null(stackAllocSummary.Alias); 11330Assert.Null(typeSummary.Alias); 11344Assert.Null(countSummary.Alias);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Compilation\GetSemanticInfoTests.cs (1)
4295Assert.Null(info.Alias);
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (3)
4094Assert.Null(semanticInfoExpression.Alias); 4099Assert.NotNull(semanticInfoExpression.Alias); 4100Assert.Equal("B=System.Console", semanticInfoExpression.Alias.ToTestDisplayString());