7 implementations of IsDefinition
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationSymbol.cs (1)
92public bool IsDefinition => true;
Microsoft.CodeAnalysis.CSharp (3)
Symbols\PublicModel\PreprocessingSymbol.cs (1)
114bool ISymbol.IsDefinition => true;
Symbols\PublicModel\Symbol.cs (1)
211bool ISymbol.IsDefinition => UnderlyingSymbol.IsDefinition;
Symbols\PublicModel\TypeSymbol.cs (1)
41bool ISymbol.IsDefinition
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\AbstractMetadataAsSourceService.AbstractWrappedSymbol.cs (1)
47public bool IsDefinition => _symbol.IsDefinition;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Symbol.vb (1)
1247Private ReadOnly Property ISymbol_IsDefinition As Boolean Implements ISymbol.IsDefinition, ISymbolInternal.IsDefinition
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationSymbol.cs (1)
92public bool IsDefinition => true;
35 references to IsDefinition
Microsoft.CodeAnalysis.CodeStyle (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions_Accessibility.cs (3)
185if (!type.IsDefinition) 376Debug.Assert(current.IsDefinition); 437Debug.Assert(current.IsDefinition);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
205x.IsDefinition != y.IsDefinition ||
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (1)
120Hash.Combine(x.IsDefinition,
Microsoft.CodeAnalysis.CSharp (1)
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
220if (ITypeSymbolHelpers.IsNullableType(symbol) && !symbol.IsDefinition)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
CodeGen\CodeGenTupleTest.cs (3)
4477Assert.True(vt2.IsDefinition); 6508Assert.False(tuple9WithoutNames.IsDefinition); 6529Assert.False(tuple9WithNames.IsDefinition);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\NameOfTests.cs (2)
3059Assert.True(nameofType.IsDefinition); 3062Assert.False(typeofType.IsDefinition);
Semantics\NullableReferenceTypesTests.cs (3)
157630Assert.True(method1.IsDefinition); 157634Assert.False(method2.IsDefinition); 157637Assert.True(method3.IsDefinition);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (11)
DocumentationComments\CrefTests.cs (5)
3013Assert.False(actualTypeA.IsDefinition); 3025Assert.False(actualTypeB.IsDefinition); 3040Assert.False(actualMethod.IsDefinition); 5856Assert.False(symbol.IsDefinition); 6192Assert.True(parameterTypeSymbol.IsDefinition);
Symbols\AnonymousTypesSemanticsTests.cs (2)
722Assert.True(type.IsDefinition); 741Assert.True(type.IsDefinition);
Symbols\TypeTests.cs (4)
471Assert.True(field1.IsDefinition); 486Assert.True(field1.IsDefinition); 642Assert.True(obj.IsDefinition); 650Assert.True(dyn.IsDefinition);
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\AbstractMetadataAsSourceService.AbstractWrappedSymbol.cs (1)
47public bool IsDefinition => _symbol.IsDefinition;
Microsoft.CodeAnalysis.VisualBasic (2)
SymbolDisplay\SymbolDisplayVisitor.Types.vb (1)
304(Not symbol.IsDefinition AndAlso TypeOf symbol.OriginalDefinition Is MissingMetadataTypeSymbol)) Then
Symbols\Symbol.vb (1)
1247Private ReadOnly Property ISymbol_IsDefinition As Boolean Implements ISymbol.IsDefinition, ISymbolInternal.IsDefinition
Microsoft.CodeAnalysis.Workspaces (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions_Accessibility.cs (3)
185if (!type.IsDefinition) 376Debug.Assert(current.IsDefinition); 437Debug.Assert(current.IsDefinition);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
205x.IsDefinition != y.IsDefinition ||
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.GetHashCodeVisitor.cs (1)
120Hash.Combine(x.IsDefinition,