3 #pragma warning disable 1591
13 namespace JetBrains.Annotations
27 AttributeTargets.Method | AttributeTargets.Parameter |
28 AttributeTargets.Property | AttributeTargets.Delegate |
29 AttributeTargets.Field, AllowMultiple =
false, Inherited =
true)]
30 internal sealed
class CanBeNullAttribute : Attribute { }
41 AttributeTargets.Method | AttributeTargets.Parameter |
42 AttributeTargets.Property | AttributeTargets.Delegate |
43 AttributeTargets.Field, AllowMultiple =
false, Inherited =
true)]
44 internal sealed
class NotNullAttribute : Attribute { }
59 AttributeTargets.Constructor | AttributeTargets.Method,
60 AllowMultiple =
false, Inherited =
true)]
61 internal sealed
class StringFormatMethodAttribute : Attribute
66 public StringFormatMethodAttribute(
string formatParameterName)
68 FormatParameterName = formatParameterName;
71 public string FormatParameterName {
get;
private set; }
85 [AttributeUsage(AttributeTargets.Parameter, AllowMultiple =
false, Inherited =
true)]
86 internal sealed
class InvokerParameterNameAttribute : Attribute { }
124 [AttributeUsage(AttributeTargets.Method, AllowMultiple =
false, Inherited =
true)]
125 internal sealed
class NotifyPropertyChangedInvocatorAttribute : Attribute
127 public NotifyPropertyChangedInvocatorAttribute() { }
128 public NotifyPropertyChangedInvocatorAttribute(
string parameterName)
130 ParameterName = parameterName;
133 public string ParameterName {
get;
private set; }
178 [AttributeUsage(AttributeTargets.Method, AllowMultiple =
true, Inherited =
true)]
179 internal sealed
class ContractAnnotationAttribute : Attribute
181 public ContractAnnotationAttribute([NotNull]
string contract)
182 : this(contract, false) { }
184 public ContractAnnotationAttribute([NotNull]
string contract,
bool forceFullStates)
187 ForceFullStates = forceFullStates;
190 public string Contract {
get;
private set; }
191 public bool ForceFullStates {
get;
private set; }
203 [AttributeUsage(AttributeTargets.All, AllowMultiple =
false, Inherited =
true)]
204 internal sealed
class LocalizationRequiredAttribute : Attribute
206 public LocalizationRequiredAttribute() : this(true) { }
207 public LocalizationRequiredAttribute(
bool required)
212 public bool Required {
get;
private set; }
235 AttributeTargets.Interface | AttributeTargets.Class |
236 AttributeTargets.Struct, AllowMultiple =
false, Inherited =
true)]
237 internal sealed
class CannotApplyEqualityOperatorAttribute : Attribute { }
249 [AttributeUsage(AttributeTargets.Class, AllowMultiple =
true, Inherited =
true)]
250 [BaseTypeRequired(typeof(Attribute))]
251 internal sealed
class BaseTypeRequiredAttribute : Attribute
253 public BaseTypeRequiredAttribute([NotNull] Type baseType)
259 public Type BaseType {
get;
private set; }
267 [AttributeUsage(AttributeTargets.All, AllowMultiple =
false, Inherited =
true)]
268 internal sealed
class UsedImplicitlyAttribute : Attribute
270 public UsedImplicitlyAttribute()
271 : this(ImplicitUseKindFlags.
Default, ImplicitUseTargetFlags.
Default) { }
273 public UsedImplicitlyAttribute(ImplicitUseKindFlags useKindFlags)
274 : this(useKindFlags, ImplicitUseTargetFlags.
Default) { }
276 public UsedImplicitlyAttribute(ImplicitUseTargetFlags targetFlags)
277 : this(ImplicitUseKindFlags.
Default, targetFlags) { }
279 public UsedImplicitlyAttribute(
280 ImplicitUseKindFlags useKindFlags, ImplicitUseTargetFlags targetFlags)
282 UseKindFlags = useKindFlags;
283 TargetFlags = targetFlags;
286 public ImplicitUseKindFlags UseKindFlags {
get;
private set; }
287 public ImplicitUseTargetFlags TargetFlags {
get;
private set; }
295 [AttributeUsage(AttributeTargets.Class, AllowMultiple =
false, Inherited =
true)]
296 internal sealed
class MeansImplicitUseAttribute : Attribute
298 public MeansImplicitUseAttribute()
299 : this(ImplicitUseKindFlags.
Default, ImplicitUseTargetFlags.
Default) { }
301 public MeansImplicitUseAttribute(ImplicitUseKindFlags useKindFlags)
302 : this(useKindFlags, ImplicitUseTargetFlags.
Default) { }
304 public MeansImplicitUseAttribute(ImplicitUseTargetFlags targetFlags)
305 : this(ImplicitUseKindFlags.
Default, targetFlags) { }
307 public MeansImplicitUseAttribute(
308 ImplicitUseKindFlags useKindFlags, ImplicitUseTargetFlags targetFlags)
310 UseKindFlags = useKindFlags;
311 TargetFlags = targetFlags;
315 public ImplicitUseKindFlags UseKindFlags {
get;
private set; }
317 public ImplicitUseTargetFlags TargetFlags {
get;
private set; }
321 internal enum ImplicitUseKindFlags
343 internal enum ImplicitUseTargetFlags
358 internal sealed
class PublicAPIAttribute : Attribute
360 public PublicAPIAttribute() { }
361 public PublicAPIAttribute([NotNull]
string comment)
367 public string Comment {
get;
private set; }
377 [AttributeUsage(AttributeTargets.Parameter, Inherited =
true)]
378 internal sealed
class InstantHandleAttribute : Attribute { }
391 [AttributeUsage(AttributeTargets.Method, Inherited =
true)]
392 internal sealed
class PureAttribute : Attribute { }
399 [AttributeUsage(AttributeTargets.Parameter)]
400 internal class PathReferenceAttribute : Attribute
402 public PathReferenceAttribute() { }
403 public PathReferenceAttribute([PathReference]
string basePath)
409 public string BasePath {
get;
private set; }
414 [AttributeUsage(AttributeTargets.Assembly, AllowMultiple =
true)]
415 internal sealed
class AspMvcAreaMasterLocationFormatAttribute : Attribute
417 public AspMvcAreaMasterLocationFormatAttribute(
string format) { }
420 [AttributeUsage(AttributeTargets.Assembly, AllowMultiple =
true)]
421 internal sealed
class AspMvcAreaPartialViewLocationFormatAttribute : Attribute
423 public AspMvcAreaPartialViewLocationFormatAttribute(
string format) { }
426 [AttributeUsage(AttributeTargets.Assembly, AllowMultiple =
true)]
427 internal sealed
class AspMvcAreaViewLocationFormatAttribute : Attribute
429 public AspMvcAreaViewLocationFormatAttribute(
string format) { }
432 [AttributeUsage(AttributeTargets.Assembly, AllowMultiple =
true)]
433 internal sealed
class AspMvcMasterLocationFormatAttribute : Attribute
435 public AspMvcMasterLocationFormatAttribute(
string format) { }
438 [AttributeUsage(AttributeTargets.Assembly, AllowMultiple =
true)]
439 internal sealed
class AspMvcPartialViewLocationFormatAttribute : Attribute
441 public AspMvcPartialViewLocationFormatAttribute(
string format) { }
444 [AttributeUsage(AttributeTargets.Assembly, AllowMultiple =
true)]
445 internal sealed
class AspMvcViewLocationFormatAttribute : Attribute
447 public AspMvcViewLocationFormatAttribute(
string format) { }
456 [AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Method)]
457 internal sealed
class AspMvcActionAttribute : Attribute
459 public AspMvcActionAttribute() { }
460 public AspMvcActionAttribute([NotNull]
string anonymousProperty)
462 AnonymousProperty = anonymousProperty;
466 public string AnonymousProperty {
get;
private set; }
474 [AttributeUsage(AttributeTargets.Parameter)]
475 internal sealed
class AspMvcAreaAttribute : PathReferenceAttribute
477 public AspMvcAreaAttribute() { }
478 public AspMvcAreaAttribute([NotNull]
string anonymousProperty)
480 AnonymousProperty = anonymousProperty;
484 public string AnonymousProperty {
get;
private set; }
494 [AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Method)]
495 internal sealed
class AspMvcControllerAttribute : Attribute
497 public AspMvcControllerAttribute() { }
498 public AspMvcControllerAttribute([NotNull]
string anonymousProperty)
500 AnonymousProperty = anonymousProperty;
504 public string AnonymousProperty {
get;
private set; }
512 [AttributeUsage(AttributeTargets.Parameter)]
513 internal sealed
class AspMvcMasterAttribute : Attribute { }
520 [AttributeUsage(AttributeTargets.Parameter)]
521 internal sealed
class AspMvcModelTypeAttribute : Attribute { }
530 [AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Method)]
531 internal sealed
class AspMvcPartialViewAttribute : PathReferenceAttribute { }
537 [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
538 internal sealed
class AspMvcSupressViewErrorAttribute : Attribute { }
545 [AttributeUsage(AttributeTargets.Parameter)]
546 internal sealed
class AspMvcDisplayTemplateAttribute : Attribute { }
553 [AttributeUsage(AttributeTargets.Parameter)]
554 internal sealed
class AspMvcEditorTemplateAttribute : Attribute { }
561 [AttributeUsage(AttributeTargets.Parameter)]
562 internal sealed
class AspMvcTemplateAttribute : Attribute { }
570 [AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Method)]
571 internal sealed
class AspMvcViewAttribute : PathReferenceAttribute { }
584 [AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property)]
585 internal sealed
class AspMvcActionSelectorAttribute : Attribute { }
588 AttributeTargets.Parameter | AttributeTargets.Property |
589 AttributeTargets.Field, Inherited =
true)]
590 internal sealed
class HtmlElementAttributesAttribute : Attribute
592 public HtmlElementAttributesAttribute() { }
593 public HtmlElementAttributesAttribute([NotNull]
string name)
599 public string Name {
get;
private set; }
603 AttributeTargets.Parameter | AttributeTargets.Field |
604 AttributeTargets.Property, Inherited =
true)]
605 internal sealed
class HtmlAttributeValueAttribute : Attribute
607 public HtmlAttributeValueAttribute([NotNull]
string name)
613 public string Name {
get;
private set; }
623 [AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Method, Inherited =
true)]
624 internal sealed
class RazorSectionAttribute : Attribute { }
Indicates implicit instantiation of a type with fixed constructor signature. That means any unused co...
Indicates implicit instantiation of a type
Members of entity marked with attribute are considered used
Entity marked with attribute and all its members considered used
Only entity marked with attribute considered used
Indicates implicit assignment to a member