Base:
property
IsAbstract
Microsoft.CodeAnalysis.CSharp.Symbol.IsAbstract
40 references to IsAbstract
Microsoft.CodeAnalysis.CSharp (40)
Symbols\Source\SourceCustomEventAccessorSymbol.cs (1)
44if (IsExtern && !IsAbstract)
Symbols\Source\SourceMemberContainerSymbol.cs (1)
3395if (sourceMethod.IsAbstract || sourceMethod.SynthesizesLoweredBoundBody)
Symbols\Source\SourceMemberMethodSymbol.cs (3)
1082if (IsExtern && !IsAbstract) 1086else if (IsAbstract && !IsExtern) 1109if (((!hasBody && IsAbstract) || IsVirtual) && !IsExplicitInterfaceImplementation && IsStatic && !ContainingAssembly.RuntimeSupportsStaticAbstractMembersInInterfaces)
Symbols\Source\SourceOrdinaryMethodSymbol.cs (11)
129addRefReadOnlyModifier: IsVirtual || IsAbstract, 798Debug.Assert(!IsStatic || ContainingType.IsInterface || (!IsAbstract && !IsVirtual)); // Otherwise should have been reported and cleared earlier. 807if (IsPartial && IsAbstract) 823else if (this.DeclaredAccessibility == Accessibility.Private && (IsVirtual || (IsAbstract && !isExplicitInterfaceImplementationInInterface) || IsOverride)) 832else if (IsSealed && !IsOverride && !(isExplicitInterfaceImplementationInInterface && IsAbstract)) 847else if (IsAbstract && IsExtern) 851else if (IsAbstract && IsSealed && !isExplicitInterfaceImplementationInInterface) 855else if (IsAbstract && IsVirtual) 859else if (IsAbstract && ContainingType.TypeKind == TypeKind.Struct) 874else if (IsAbstract && !ContainingType.IsAbstract && (ContainingType.TypeKind == TypeKind.Class || ContainingType.TypeKind == TypeKind.Submission)) 888else if (!HasAnyBody && !IsExtern && !IsAbstract && !IsPartial && !IsExpressionBodied)
Symbols\Source\SourcePropertyAccessorSymbol.cs (2)
529if (IsAbstract && !ContainingType.IsAbstract && (ContainingType.TypeKind == TypeKind.Class || ContainingType.TypeKind == TypeKind.Submission)) 539else if (!hasBody && !IsExtern && !IsAbstract && !isAutoPropertyOrExpressionBodied && !IsPartialDefinition)
Symbols\Source\SourceUserDefinedConversionSymbol.cs (1)
84if (IsStatic && (IsAbstract || IsVirtual))
Symbols\Source\SourceUserDefinedOperatorSymbol.cs (1)
84if (IsAbstract || IsVirtual || (name != WellKnownMemberNames.EqualityOperatorName && name != WellKnownMemberNames.InequalityOperatorName))
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (17)
56!(IsAbstract || IsVirtual) && !IsExplicitInterfaceImplementation && 92if (IsAbstract && IsExtern) 96else if (IsAbstract && IsVirtual) 100else if (hasAnyBody && (IsExtern || IsAbstract)) 102Debug.Assert(!(IsAbstract && IsExtern)); 112else if (!hasAnyBody && !IsExtern && !IsAbstract && !IsPartial) 238addRefReadOnlyModifier: IsVirtual || IsAbstract, 394if (IsAbstract || IsVirtual) 470diagnostics.Add(IsAbstract || IsVirtual ? ErrorCode.ERR_AbstractConversionNotInvolvingContainedType : ErrorCode.ERR_ConversionNotInvolvingContainedType, this.GetFirstLocation()); 606diagnostics.Add((IsAbstract || IsVirtual) ? ErrorCode.ERR_BadAbstractUnaryOperatorSignature : ErrorCode.ERR_BadUnaryOperatorSignature, this.GetFirstLocation()); 626diagnostics.Add((IsAbstract || IsVirtual) ? ErrorCode.ERR_BadAbstractUnaryOperatorSignature : ErrorCode.ERR_BadUnaryOperatorSignature, this.GetFirstLocation()); 676diagnostics.Add((IsAbstract || IsVirtual) ? ErrorCode.ERR_BadAbstractIncDecSignature : ErrorCode.ERR_BadIncDecSignature, this.GetFirstLocation()); 680(((IsAbstract || IsVirtual) && IsContainingType(parameterType) && IsSelfConstrainedTypeParameter(this.ReturnType)) || 685diagnostics.Add((IsAbstract || IsVirtual) ? ErrorCode.ERR_BadAbstractIncDecRetType : ErrorCode.ERR_BadIncDecRetType, this.GetFirstLocation()); 693return IsContainingType(type) || ((IsAbstract || IsVirtual) && IsSelfConstrainedTypeParameter(type)); 725diagnostics.Add((IsAbstract || IsVirtual) ? ErrorCode.ERR_BadAbstractShiftOperatorSignature : ErrorCode.ERR_BadShiftOperatorSignature, this.GetFirstLocation()); 744diagnostics.Add((IsAbstract || IsVirtual) ? ErrorCode.ERR_BadAbstractBinaryOperatorSignature : ErrorCode.ERR_BadBinaryOperatorSignature, this.GetFirstLocation());
Symbols\Synthesized\Records\SynthesizedRecordClone.cs (1)
108Debug.Assert(!IsAbstract);
Symbols\Synthesized\SynthesizedEventAccessorSymbol.cs (2)
31Debug.Assert(IsAbstract || IsExtern || IsFieldLikeEventAccessor()); 92if (!IsAbstract && !AssociatedEvent.IsWindowsRuntimeEvent && !ContainingType.IsStructType() &&