public static ICollection <JetTuple <MvcKind, string, IAttributeInstance> > GetMvcKinds( [NotNull] this IAttributesOwner element) { CodeAnnotationsCache codeAnnotations = element.GetPsiServices().GetCodeAnnotationsCache(); return(element .GetAttributeInstances(false) .SelectMany(attr => MvcKinds.Where(pair => codeAnnotations.IsAnnotationAttribute(attr, pair.Key)) .Select(pair => JetTuple.Of ( pair.Value, MvcKindAnonymousPropertyInitializers.ContainsKey(pair.Value) ? MvcKindAnonymousPropertyInitializers[pair.Value](attr) : null, attr ))) .ToList()); }
public InvalidAssertionMessageProblemAnalyzer(CodeAnnotationsCache annotationsCache) { _contractAnnotationProvider = annotationsCache.GetProvider <ContractAnnotationProvider>(); _assertionMethodAnnotationProvider = annotationsCache.GetProvider <AssertionMethodAnnotationProvider>(); _assertionConditionAnnotationProvider = annotationsCache.GetProvider <AssertionConditionAnnotationProvider>(); }
public AbstractBaseMemberCallErrorEnhancer([NotNull] TextStyleHighlighterManager textStyleHighlighterManager, [NotNull] CodeAnnotationsCache codeAnnotationsCache) : base(textStyleHighlighterManager, codeAnnotationsCache) { }
public TypeHighlightingProblemAnalyzer(CodeAnnotationsCache codeAnnotationsCache) { _nullnessProvider = codeAnnotationsCache.GetProvider <NullnessProvider>(); _containerElementNullnessProvider = codeAnnotationsCache.GetProvider <ContainerElementNullnessProvider>(); }
public CannotSpecifyConstructorConstraintForValueTypeErrorEnhancer([NotNull] TextStyleHighlighterManager textStyleHighlighterManager, [NotNull] CodeAnnotationsCache codeAnnotationsCache) : base(textStyleHighlighterManager, codeAnnotationsCache) { }
public ConflictInheritedTypeParameterConstraintErrorEnhancer([NotNull] TextStyleHighlighterManager textStyleHighlighterManager, [NotNull] CodeAnnotationsCache codeAnnotationsCache) : base(textStyleHighlighterManager, codeAnnotationsCache) { }
public CannotCreateInstanceOfTypeParameterWithArgumentsErrorEnhancer([NotNull] TextStyleHighlighterManager textStyleHighlighterManager, [NotNull] CodeAnnotationsCache codeAnnotationsCache) : base(textStyleHighlighterManager, codeAnnotationsCache) { }
public CollectionInitializerAppliedToNonCollectionErrorEnhancer([NotNull] TextStyleHighlighterManager textStyleHighlighterManager, [NotNull] CodeAnnotationsCache codeAnnotationsCache) : base(textStyleHighlighterManager, codeAnnotationsCache) { }
public CatchClauseCannotFollowGeneralCatchClauseErrorEnhancer([NotNull] TextStyleHighlighterManager textStyleHighlighterManager, [NotNull] CodeAnnotationsCache codeAnnotationsCache) : base(textStyleHighlighterManager, codeAnnotationsCache) { }
public CircularDependencyInTypeParameterConstraintErrorEnhancer([NotNull] TextStyleHighlighterManager textStyleHighlighterManager, [NotNull] CodeAnnotationsCache codeAnnotationsCache) : base(textStyleHighlighterManager, codeAnnotationsCache) { }
public CSharpDisposeBuilder(CodeAnnotationsCache codeAnnotationsCache) { myCodeAnnotationsCache = codeAnnotationsCache; }
public IncorrectTrueOrFalseOperatorTypeErrorEnhancer([NotNull] TextStyleHighlighterManager textStyleHighlighterManager, [NotNull] CodeAnnotationsCache codeAnnotationsCache) : base(textStyleHighlighterManager, codeAnnotationsCache) { }
public CannotApplyBinaryOperatorErrorEnhancer([NotNull] TextStyleHighlighterManager textStyleHighlighterManager, [NotNull] CodeAnnotationsCache codeAnnotationsCache) : base(textStyleHighlighterManager, codeAnnotationsCache) { }
public CSharpColorizer([NotNull] RichText richText, [NotNull] TextStyleHighlighterManager textStyleHighlighterManager, [NotNull] CodeAnnotationsCache codeAnnotationsCache, bool useReSharperColors) { _richText = richText; _textStyleHighlighterManager = textStyleHighlighterManager; _codeAnnotationsCache = codeAnnotationsCache; _useReSharperColors = useReSharperColors; }
public ColorizerPresenter([NotNull] TextStyleHighlighterManager textStyleHighlighterManager, [NotNull] CodeAnnotationsCache codeAnnotationsCache) { _textStyleHighlighterManager = textStyleHighlighterManager; _codeAnnotationsCache = codeAnnotationsCache; }
public CannotImplicitlyConvertGotoCaseValueToGoverningTypeWarningEnhancer([NotNull] TextStyleHighlighterManager textStyleHighlighterManager, [NotNull] CodeAnnotationsCache codeAnnotationsCache) : base(textStyleHighlighterManager, codeAnnotationsCache) { }
public FormattingFunctionInvocationInfoProvider(CodeAnnotationsCache codeAnnotationsCache) { myCodeAnnotationsCache = codeAnnotationsCache; }
public CompareNonConstrainedGenericWithNullWarningEnhancer([NotNull] TextStyleHighlighterManager textStyleHighlighterManager, [NotNull] CodeAnnotationsCache codeAnnotationsCache) : base(textStyleHighlighterManager, codeAnnotationsCache) { }
public AddedAccessorInPrivateImplementationErrorEnhancer([NotNull] TextStyleHighlighterManager textStyleHighlighterManager, [NotNull] CodeAnnotationsCache codeAnnotationsCache) : base(textStyleHighlighterManager, codeAnnotationsCache) { }
public ReturnTypeIsVoidErrorEnhancer([NotNull] TextStyleHighlighterManager textStyleHighlighterManager, [NotNull] CodeAnnotationsCache codeAnnotationsCache) : base(textStyleHighlighterManager, codeAnnotationsCache) { }
public ColorizerPresenter([NotNull] TextStyleHighlighterManager textStyleHighlighterManager, [NotNull] CodeAnnotationsCache codeAnnotationsCache) { _textStyleHighlighterManager = textStyleHighlighterManager; _codeAnnotationsCache = codeAnnotationsCache; }
public AwaitExpressionNotUnderAsyncMethodErrorEnhancer([NotNull] TextStyleHighlighterManager textStyleHighlighterManager, [NotNull] CodeAnnotationsCache codeAnnotationsCache) : base(textStyleHighlighterManager, codeAnnotationsCache) { }
public CannotCreateInstanceOfAbstractClassErrorEnhancer([NotNull] TextStyleHighlighterManager textStyleHighlighterManager, [NotNull] CodeAnnotationsCache codeAnnotationsCache) : base(textStyleHighlighterManager, codeAnnotationsCache) { }
public ArrayElementTypeIsForbiddenErrorEnhancer([NotNull] TextStyleHighlighterManager textStyleHighlighterManager, [NotNull] CodeAnnotationsCache codeAnnotationsCache) : base(textStyleHighlighterManager, codeAnnotationsCache) { }
public CannotCreateInstanceOfTypeWithoutConstructorErrorEnhancer([NotNull] TextStyleHighlighterManager textStyleHighlighterManager, [NotNull] CodeAnnotationsCache codeAnnotationsCache) : base(textStyleHighlighterManager, codeAnnotationsCache) { }
public AbstractAccessorIsNotImplementedErrorEnhancer([NotNull] TextStyleHighlighterManager textStyleHighlighterManager, [NotNull] CodeAnnotationsCache codeAnnotationsCache) : base(textStyleHighlighterManager, codeAnnotationsCache) { }
public BinaryMethodsGeneratorBuilder(CodeAnnotationsCache codeAnnotationsCache) { _codeAnnotationsCache = codeAnnotationsCache; }
public AccessRightsErrorEnhancer([NotNull] TextStyleHighlighterManager textStyleHighlighterManager, [NotNull] CodeAnnotationsCache codeAnnotationsCache) : base(textStyleHighlighterManager, codeAnnotationsCache) { }
public AccessorIsMissingInImplementationErrorEnhancer([NotNull] TextStyleHighlighterManager textStyleHighlighterManager, [NotNull] CodeAnnotationsCache codeAnnotationsCache) : base(textStyleHighlighterManager, codeAnnotationsCache) { }
public CannotConstructVoidErrorEnhancer([NotNull] TextStyleHighlighterManager textStyleHighlighterManager, [NotNull] CodeAnnotationsCache codeAnnotationsCache) : base(textStyleHighlighterManager, codeAnnotationsCache) { }
public AtLeastOneParameterOfSignOperatorMustBeContainingTypeErrorEnhancer([NotNull] TextStyleHighlighterManager textStyleHighlighterManager, [NotNull] CodeAnnotationsCache codeAnnotationsCache) : base(textStyleHighlighterManager, codeAnnotationsCache) { }
public ErrorElementHighlighting(CodeAnnotationsCache codeAnnotationsCache) { }
public IncorrectArgumentsErrorEnhancer([NotNull] TextStyleHighlighterManager textStyleHighlighterManager, [NotNull] CodeAnnotationsCache codeAnnotationsCache) : base(textStyleHighlighterManager, codeAnnotationsCache) { }
public ErrorElementHighlightingStage(CodeAnnotationsCache codeAnnotationsCache) { }