1 instantiation of PreprocessingSymbolInfo
Microsoft.CodeAnalysis (1)
Compilation\PreprocessingSymbolInfo.cs (1)
12internal static readonly PreprocessingSymbolInfo None = new PreprocessingSymbolInfo(null, false);
44 references to PreprocessingSymbolInfo
Microsoft.CodeAnalysis (8)
Compilation\PreprocessingSymbolInfo.cs (4)
10public readonly struct PreprocessingSymbolInfo : IEquatable<PreprocessingSymbolInfo> 12internal static readonly PreprocessingSymbolInfo None = new PreprocessingSymbolInfo(null, false); 31public bool Equals(PreprocessingSymbolInfo other) 39return obj is PreprocessingSymbolInfo p && this.Equals(p);
Compilation\SemanticModel.cs (4)
858/// If <paramref name="nameSyntax"/> is an identifier name syntax node, return the <see cref="PreprocessingSymbolInfo"/> corresponding 862public PreprocessingSymbolInfo GetPreprocessingSymbolInfo(SyntaxNode nameSyntax) 868/// If <paramref name="nameSyntax"/> is an identifier name syntax node, return the <see cref="PreprocessingSymbolInfo"/> corresponding 872protected abstract PreprocessingSymbolInfo GetPreprocessingSymbolInfoCore(SyntaxNode nameSyntax);
Microsoft.CodeAnalysis.CSharp (4)
Compilation\CSharpSemanticModel.cs (4)
4848public PreprocessingSymbolInfo GetPreprocessingSymbolInfo(IdentifierNameSyntax node) 4858return PreprocessingSymbolInfo.None; 5069protected sealed override PreprocessingSymbolInfo GetPreprocessingSymbolInfoCore(SyntaxNode node) 5073: PreprocessingSymbolInfo.None;
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (27)
Compilation\GetSemanticInfoTests.cs (26)
4941PreprocessingSymbolInfo symbolInfo = GetPreprocessingSymbolInfoForTest(sourceCode, "X //bind"); 4959PreprocessingSymbolInfo symbolInfo2 = GetPreprocessingSymbolInfoForTest(sourceCode, "B //bind"); 4996PreprocessingSymbolInfo symbolInfo = GetPreprocessingSymbolInfoForTest(sourceCode, "X //bind"); 5025PreprocessingSymbolInfo symbolInfo = GetPreprocessingSymbolInfoForTest(sourceCode, "Z //bind"); 5039PreprocessingSymbolInfo symbolInfo = GetPreprocessingSymbolInfoForTest(sourceCode, "Z //bind"); 5055PreprocessingSymbolInfo symbolInfo = GetPreprocessingSymbolInfoForTest(sourceCode, "Z //bind"); 5071PreprocessingSymbolInfo symbolInfo = GetPreprocessingSymbolInfoForTest(sourceCode, "Z //bind"); 5087PreprocessingSymbolInfo symbolInfo = GetPreprocessingSymbolInfoForTest(sourceCode, "Z //bind"); 5103PreprocessingSymbolInfo symbolInfo = GetPreprocessingSymbolInfoForTest(sourceCode, "Z //bind"); 5120PreprocessingSymbolInfo symbolInfo = GetPreprocessingSymbolInfoForTest(sourceCode, "Z //bind"); 5137PreprocessingSymbolInfo symbolInfo = GetPreprocessingSymbolInfoForTest(sourceCode, "Z //bind"); 5153PreprocessingSymbolInfo symbolInfo = GetPreprocessingSymbolInfoForTest(sourceCode, "Z //bind"); 5169PreprocessingSymbolInfo symbolInfo = GetPreprocessingSymbolInfoForTest(sourceCode, "Z //bind"); 5186PreprocessingSymbolInfo symbolInfo = GetPreprocessingSymbolInfoForTest(sourceCode, "Z //bind"); 5203PreprocessingSymbolInfo symbolInfo = GetPreprocessingSymbolInfoForTest(sourceCode, "Z //bind"); 5220PreprocessingSymbolInfo symbolInfo = GetPreprocessingSymbolInfoForTest(sourceCode, "Z //bind"); 5236PreprocessingSymbolInfo symbolInfo = GetPreprocessingSymbolInfoForTest(sourceCode, "Z //bind"); 5252PreprocessingSymbolInfo symbolInfo = GetPreprocessingSymbolInfoForTest(sourceCode, "Z //bind"); 5268PreprocessingSymbolInfo symbolInfo = GetPreprocessingSymbolInfoForTest(sourceCode, "Z //bind"); 5284PreprocessingSymbolInfo symbolInfo = GetPreprocessingSymbolInfoForTest(sourceCode, "Z //bind"); 5301PreprocessingSymbolInfo symbolInfo = GetPreprocessingSymbolInfoForTest(sourceCode, "Z //bind"); 5318PreprocessingSymbolInfo symbolInfo = GetPreprocessingSymbolInfoForTest(sourceCode, "Z //bind"); 5335PreprocessingSymbolInfo symbolInfo = GetPreprocessingSymbolInfoForTest(sourceCode, "Z //bind"); 5352PreprocessingSymbolInfo symbolInfo = GetPreprocessingSymbolInfoForTest(sourceCode, "Z //bind"); 5369PreprocessingSymbolInfo symbolInfo = GetPreprocessingSymbolInfoForTest(sourceCode, "Z //bind"); 5386PreprocessingSymbolInfo symbolInfo = GetPreprocessingSymbolInfoForTest(sourceCode, "Z //bind");
SymbolDisplay\SymbolDisplayTests.cs (1)
8854var preprocessingSymbolInfo = model.GetPreprocessingSymbolInfo(preprocessingNameSyntax);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
SemanticModelTestBase.cs (1)
135internal PreprocessingSymbolInfo GetPreprocessingSymbolInfoForTest(string testSrc, string subStrForPreprocessNameIndex)
Microsoft.CodeAnalysis.VisualBasic (4)
Compilation\PreprocessingSymbolInfo.vb (1)
43Public Shared Widening Operator CType(info As VisualBasicPreprocessingSymbolInfo) As PreprocessingSymbolInfo
Compilation\SemanticModel.vb (1)
3203Protected NotOverridable Overrides Function GetPreprocessingSymbolInfoCore(node As SyntaxNode) As PreprocessingSymbolInfo
VisualBasicExtensions.vb (2)
1279Public Function GetPreprocessingSymbolInfo(semanticModel As SemanticModel, node As IdentifierNameSyntax) As PreprocessingSymbolInfo 1284Return PreprocessingSymbolInfo.None