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