1 write to Symbol
Microsoft.CodeAnalysis (1)
Compilation\PreprocessingSymbolInfo.cs (1)
27
this.
Symbol
= symbol;
46 references to Symbol
Microsoft.CodeAnalysis (3)
Compilation\PreprocessingSymbolInfo.cs (3)
33
return object.Equals(this.
Symbol
, other.
Symbol
)
44
return Hash.Combine(this.IsDefined, Hash.Combine(this.
Symbol
, 0));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (41)
Compilation\GetSemanticInfoTests.cs (41)
4942
Assert.Equal("X", symbolInfo.
Symbol
.Name);
4946
Assert.Equal("Z", symbolInfo.
Symbol
.Name);
4950
Assert.Equal("A", symbolInfo.
Symbol
.Name);
4954
Assert.Equal("B", symbolInfo.
Symbol
.Name);
4957
Assert.True(symbolInfo.
Symbol
.Equals(symbolInfo.
Symbol
));
4958
Assert.False(symbolInfo.
Symbol
.Equals(null));
4960
Assert.NotSame(symbolInfo.
Symbol
, symbolInfo2.
Symbol
);
4961
Assert.Equal(symbolInfo.
Symbol
, symbolInfo2.
Symbol
);
4962
Assert.Equal(symbolInfo.
Symbol
.GetHashCode(), symbolInfo2.
Symbol
.GetHashCode());
4997
Assert.Equal("X", symbolInfo.
Symbol
.Name);
5001
Assert.Equal("x", symbolInfo.
Symbol
.Name);
5005
Assert.Equal("Y", symbolInfo.
Symbol
.Name);
5009
Assert.Equal("Z", symbolInfo.
Symbol
.Name);
5013
Assert.Null(symbolInfo.
Symbol
);
5026
Assert.Equal("Z", symbolInfo.
Symbol
.Name);
5040
Assert.Equal("Z", symbolInfo.
Symbol
.Name);
5056
Assert.Equal("Z", symbolInfo.
Symbol
.Name);
5072
Assert.Equal("Z", symbolInfo.
Symbol
.Name);
5088
Assert.Equal("Z", symbolInfo.
Symbol
.Name);
5104
Assert.Equal("Z", symbolInfo.
Symbol
.Name);
5121
Assert.Equal("Z", symbolInfo.
Symbol
.Name);
5138
Assert.Equal("Z", symbolInfo.
Symbol
.Name);
5154
Assert.Equal("Z", symbolInfo.
Symbol
.Name);
5170
Assert.Equal("Z", symbolInfo.
Symbol
.Name);
5187
Assert.Equal("Z", symbolInfo.
Symbol
.Name);
5204
Assert.Equal("Z", symbolInfo.
Symbol
.Name);
5221
Assert.Equal("Z", symbolInfo.
Symbol
.Name);
5237
Assert.Equal("Z", symbolInfo.
Symbol
.Name);
5253
Assert.Equal("Z", symbolInfo.
Symbol
.Name);
5269
Assert.Equal("Z", symbolInfo.
Symbol
.Name);
5285
Assert.Equal("Z", symbolInfo.
Symbol
.Name);
5302
Assert.Equal("Z", symbolInfo.
Symbol
.Name);
5319
Assert.Equal("Z", symbolInfo.
Symbol
.Name);
5336
Assert.Equal("Z", symbolInfo.
Symbol
.Name);
5353
Assert.Equal("Z", symbolInfo.
Symbol
.Name);
5370
Assert.Equal("Z", symbolInfo.
Symbol
.Name);
5387
Assert.Equal("Z", symbolInfo.
Symbol
.Name);
Microsoft.CodeAnalysis.VisualBasic.Workspaces (2)
CaseCorrection\VisualBasicCaseCorrectionService.Rewriter.vb (2)
80
If preprocessingSymbolInfo.
Symbol
IsNot Nothing Then
81
Dim name = preprocessingSymbolInfo.
Symbol
.Name