1 write to IsDefined
Microsoft.CodeAnalysis (1)
Compilation\PreprocessingSymbolInfo.cs (1)
28
this.
IsDefined
= isDefined;
34 references to IsDefined
Microsoft.CodeAnalysis (3)
Compilation\PreprocessingSymbolInfo.cs (3)
34
&& object.Equals(this.
IsDefined
, other.
IsDefined
);
44
return Hash.Combine(this.
IsDefined
, Hash.Combine(this.Symbol, 0));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (31)
Compilation\GetSemanticInfoTests.cs (31)
4943
Assert.True(symbolInfo.
IsDefined
, "must be defined");
4947
Assert.True(symbolInfo.
IsDefined
, "must be defined");
4951
Assert.True(symbolInfo.
IsDefined
, "must be defined");
4955
Assert.True(symbolInfo.
IsDefined
, "must be defined");
4998
Assert.False(symbolInfo.
IsDefined
, "must not be defined");
5002
Assert.False(symbolInfo.
IsDefined
, "must not be defined");
5006
Assert.False(symbolInfo.
IsDefined
, "must not be defined");
5010
Assert.False(symbolInfo.
IsDefined
, "must not be defined");
5027
Assert.False(symbolInfo.
IsDefined
, "must not be defined");
5041
Assert.True(symbolInfo.
IsDefined
, "must be defined");
5057
Assert.True(symbolInfo.
IsDefined
, "must be defined");
5073
Assert.True(symbolInfo.
IsDefined
, "must be defined");
5089
Assert.True(symbolInfo.
IsDefined
, "must be defined");
5105
Assert.False(symbolInfo.
IsDefined
, "must not be defined");
5122
Assert.True(symbolInfo.
IsDefined
, "must be defined");
5139
Assert.True(symbolInfo.
IsDefined
, "must be defined");
5155
Assert.False(symbolInfo.
IsDefined
, "must not be defined");
5171
Assert.False(symbolInfo.
IsDefined
, "must not be defined");
5188
Assert.True(symbolInfo.
IsDefined
, "must be defined");
5205
Assert.True(symbolInfo.
IsDefined
, "must be defined");
5222
Assert.True(symbolInfo.
IsDefined
, "must be defined");
5238
Assert.False(symbolInfo.
IsDefined
, "must not be defined");
5254
Assert.False(symbolInfo.
IsDefined
, "must not be defined");
5270
Assert.False(symbolInfo.
IsDefined
, "must not be defined");
5286
Assert.False(symbolInfo.
IsDefined
, "must not be defined");
5303
Assert.True(symbolInfo.
IsDefined
, "must be defined");
5320
Assert.True(symbolInfo.
IsDefined
, "must be defined");
5337
Assert.False(symbolInfo.
IsDefined
, "must not be defined");
5354
Assert.False(symbolInfo.
IsDefined
, "must not be defined");
5371
Assert.False(symbolInfo.
IsDefined
, "must not be defined");
5388
Assert.False(symbolInfo.
IsDefined
, "must not be defined");