7 implementations of IsDefinition
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
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)
1186Private ReadOnly Property ISymbol_IsDefinition As Boolean Implements ISymbol.IsDefinition, ISymbolInternal.IsDefinition
Microsoft.CodeAnalysis.Workspaces (1)
CodeGenerationSymbol.cs (1)
92public bool IsDefinition => true;
29 references to IsDefinition
Microsoft.CodeAnalysis.CodeStyle (6)
ISymbolExtensions_Accessibility.cs (3)
191if (!type.IsDefinition) 382Debug.Assert(current.IsDefinition); 443Debug.Assert(current.IsDefinition);
SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
207x.IsDefinition != y.IsDefinition ||
SymbolEquivalenceComparer.GetHashCodeVisitor.cs (1)
123Hash.Combine(x.IsDefinition,
Microsoft.CodeAnalysis.CSharp (1)
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
217if (ITypeSymbolHelpers.IsNullableType(symbol) && !symbol.IsDefinition)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
CodeGen\CodeGenTupleTest.cs (2)
6503Assert.False(tuple9WithoutNames.IsDefinition); 6524Assert.False(tuple9WithNames.IsDefinition);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\NullableReferenceTypesTests.cs (3)
153222Assert.True(method1.IsDefinition); 153226Assert.False(method2.IsDefinition); 153229Assert.True(method3.IsDefinition);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (7)
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);
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)
1186Private ReadOnly Property ISymbol_IsDefinition As Boolean Implements ISymbol.IsDefinition, ISymbolInternal.IsDefinition
Microsoft.CodeAnalysis.Workspaces (6)
ISymbolExtensions_Accessibility.cs (3)
191if (!type.IsDefinition) 382Debug.Assert(current.IsDefinition); 443Debug.Assert(current.IsDefinition);
SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
207x.IsDefinition != y.IsDefinition ||
SymbolEquivalenceComparer.GetHashCodeVisitor.cs (1)
123Hash.Combine(x.IsDefinition,
Microsoft.VisualStudio.LanguageServices.Implementation (1)
CodeModel\AbstractCodeModelService.cs (1)
578if (!typeSymbol.IsDefinition)