Home
last modified time | relevance | path

Searched refs:IsWarning (Results 1 – 25 of 205) sorted by relevance

123456789

/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Workflow.ComponentModel/AuthoringOM/Compiler/
H A DXomlCompilerError.cs18 bool IsWarning { get; } property
68 this.IsWarning = error.IsWarning; in WorkflowCompilerError()
99 …tureInfo.CurrentCulture, "{0} : {1} {2}: {3}", new object[] { FileName, IsWarning ? "warning" : "e… in ToString()
101 …n ? Line + 1 : Line, this.incrementLineAndColumn ? Column + 1 : Column, IsWarning ? "warning" : "e… in ToString()
105 …return string.Format(CultureInfo.CurrentCulture, "{0} {1}: {2}", IsWarning ? "warning" : "error", … in ToString()
119 bool IWorkflowCompilerError.IsWarning
123 return this.IsWarning;
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.CodeDom/tests/CodeCollections/
H A DCompilerErrorCollectionTests.cs49 collection.Add(new CompilerError() { IsWarning = false }); in HasWarnings_OnlyErrors_ReturnsFalse()
57 collection.Add(new CompilerError() { IsWarning = true }); in HasWarnings_OnlyWarnings_ReturnsTrue()
65 collection.Add(new CompilerError() { IsWarning = false }); in HasWarnings_WarningsAndErrors_ReturnsTrue()
66 collection.Add(new CompilerError() { IsWarning = true }); in HasWarnings_WarningsAndErrors_ReturnsTrue()
81 collection.Add(new CompilerError() { IsWarning = false }); in HasErrors_OnlyErrors_ReturnsTrue()
89 collection.Add(new CompilerError() { IsWarning = true }); in HasErrors_OnlyWarnings_ReturnsFalse()
97 collection.Add(new CompilerError() { IsWarning = false }); in HasErrors_WarningsAndErrors_ReturnsTrue()
98 collection.Add(new CompilerError() { IsWarning = true }); in HasErrors_WarningsAndErrors_ReturnsTrue()
/dports/www/firefox-esr/firefox-91.8.0/js/src/vm/
H A DWarnings.cpp24 using js::IsWarning;
33 ok = ReportErrorVA(cx, IsWarning::Yes, format, ArgumentsAreASCII, ap); in WarnASCII()
44 ok = ReportErrorVA(cx, IsWarning::Yes, format, ArgumentsAreLatin1, ap); in WarnLatin1()
55 ok = ReportErrorVA(cx, IsWarning::Yes, format, ArgumentsAreUTF8, ap); in WarnUTF8()
74 bool ok = ReportErrorNumberVA(cx, IsWarning::Yes, GetErrorMessage, nullptr, in WarnNumberASCII()
83 bool ok = ReportErrorNumberVA(cx, IsWarning::Yes, GetErrorMessage, nullptr, in WarnNumberLatin1()
92 bool ok = ReportErrorNumberVA(cx, IsWarning::Yes, GetErrorMessage, nullptr, in WarnNumberUTF8()
101 bool ok = ReportErrorNumberVA(cx, IsWarning::Yes, GetErrorMessage, nullptr, in WarnNumberUC()
H A DErrorReporting.h123 enum class IsWarning { No, Yes }; enum
129 extern bool ReportErrorVA(JSContext* cx, IsWarning isWarning,
133 extern bool ReportErrorNumberVA(JSContext* cx, IsWarning isWarning,
138 extern bool ReportErrorNumberUCArray(JSContext* cx, IsWarning isWarning,
143 extern bool ReportErrorNumberUTF8Array(JSContext* cx, IsWarning isWarning,
H A DErrorReporting.cpp464 bool js::ReportErrorNumberVA(JSContext* cx, IsWarning isWarning, in ReportErrorNumberVA()
469 report.isWarning_ = isWarning == IsWarning::Yes; in ReportErrorNumberVA()
499 static bool ReportErrorNumberArray(JSContext* cx, IsWarning isWarning, in ReportErrorNumberArray()
509 report.isWarning_ = isWarning == IsWarning::Yes; in ReportErrorNumberArray()
523 bool js::ReportErrorNumberUCArray(JSContext* cx, IsWarning isWarning, in ReportErrorNumberUCArray()
531 bool js::ReportErrorNumberUTF8Array(JSContext* cx, IsWarning isWarning, in ReportErrorNumberUTF8Array()
539 bool js::ReportErrorVA(JSContext* cx, IsWarning isWarning, const char* format, in ReportErrorVA()
552 report.isWarning_ = isWarning == IsWarning::Yes; in ReportErrorVA()
/dports/www/firefox/firefox-99.0/js/src/vm/
H A DWarnings.cpp24 using js::IsWarning;
33 ok = ReportErrorVA(cx, IsWarning::Yes, format, ArgumentsAreASCII, ap); in WarnASCII()
44 ok = ReportErrorVA(cx, IsWarning::Yes, format, ArgumentsAreLatin1, ap); in WarnLatin1()
55 ok = ReportErrorVA(cx, IsWarning::Yes, format, ArgumentsAreUTF8, ap); in WarnUTF8()
74 bool ok = ReportErrorNumberVA(cx, IsWarning::Yes, GetErrorMessage, nullptr, in WarnNumberASCII()
83 bool ok = ReportErrorNumberVA(cx, IsWarning::Yes, GetErrorMessage, nullptr, in WarnNumberLatin1()
92 bool ok = ReportErrorNumberVA(cx, IsWarning::Yes, GetErrorMessage, nullptr, in WarnNumberUTF8()
101 bool ok = ReportErrorNumberVA(cx, IsWarning::Yes, GetErrorMessage, nullptr, in WarnNumberUC()
H A DErrorReporting.h123 enum class IsWarning { No, Yes }; enum
129 extern bool ReportErrorVA(JSContext* cx, IsWarning isWarning,
133 extern bool ReportErrorNumberVA(JSContext* cx, IsWarning isWarning,
138 extern bool ReportErrorNumberUCArray(JSContext* cx, IsWarning isWarning,
143 extern bool ReportErrorNumberUTF8Array(JSContext* cx, IsWarning isWarning,
H A DErrorReporting.cpp464 bool js::ReportErrorNumberVA(JSContext* cx, IsWarning isWarning, in ReportErrorNumberVA()
469 report.isWarning_ = isWarning == IsWarning::Yes; in ReportErrorNumberVA()
499 static bool ReportErrorNumberArray(JSContext* cx, IsWarning isWarning, in ReportErrorNumberArray()
509 report.isWarning_ = isWarning == IsWarning::Yes; in ReportErrorNumberArray()
523 bool js::ReportErrorNumberUCArray(JSContext* cx, IsWarning isWarning, in ReportErrorNumberUCArray()
531 bool js::ReportErrorNumberUTF8Array(JSContext* cx, IsWarning isWarning, in ReportErrorNumberUTF8Array()
539 bool js::ReportErrorVA(JSContext* cx, IsWarning isWarning, const char* format, in ReportErrorVA()
552 report.isWarning_ = isWarning == IsWarning::Yes; in ReportErrorVA()
/dports/mail/thunderbird/thunderbird-91.8.0/js/src/vm/
H A DWarnings.cpp24 using js::IsWarning;
33 ok = ReportErrorVA(cx, IsWarning::Yes, format, ArgumentsAreASCII, ap); in WarnASCII()
44 ok = ReportErrorVA(cx, IsWarning::Yes, format, ArgumentsAreLatin1, ap); in WarnLatin1()
55 ok = ReportErrorVA(cx, IsWarning::Yes, format, ArgumentsAreUTF8, ap); in WarnUTF8()
74 bool ok = ReportErrorNumberVA(cx, IsWarning::Yes, GetErrorMessage, nullptr, in WarnNumberASCII()
83 bool ok = ReportErrorNumberVA(cx, IsWarning::Yes, GetErrorMessage, nullptr, in WarnNumberLatin1()
92 bool ok = ReportErrorNumberVA(cx, IsWarning::Yes, GetErrorMessage, nullptr, in WarnNumberUTF8()
101 bool ok = ReportErrorNumberVA(cx, IsWarning::Yes, GetErrorMessage, nullptr, in WarnNumberUC()
H A DErrorReporting.h123 enum class IsWarning { No, Yes }; enum
129 extern bool ReportErrorVA(JSContext* cx, IsWarning isWarning,
133 extern bool ReportErrorNumberVA(JSContext* cx, IsWarning isWarning,
138 extern bool ReportErrorNumberUCArray(JSContext* cx, IsWarning isWarning,
143 extern bool ReportErrorNumberUTF8Array(JSContext* cx, IsWarning isWarning,
H A DErrorReporting.cpp464 bool js::ReportErrorNumberVA(JSContext* cx, IsWarning isWarning, in ReportErrorNumberVA()
469 report.isWarning_ = isWarning == IsWarning::Yes; in ReportErrorNumberVA()
499 static bool ReportErrorNumberArray(JSContext* cx, IsWarning isWarning, in ReportErrorNumberArray()
509 report.isWarning_ = isWarning == IsWarning::Yes; in ReportErrorNumberArray()
523 bool js::ReportErrorNumberUCArray(JSContext* cx, IsWarning isWarning, in ReportErrorNumberUCArray()
531 bool js::ReportErrorNumberUTF8Array(JSContext* cx, IsWarning isWarning, in ReportErrorNumberUTF8Array()
539 bool js::ReportErrorVA(JSContext* cx, IsWarning isWarning, const char* format, in ReportErrorVA()
552 report.isWarning_ = isWarning == IsWarning::Yes; in ReportErrorVA()
/dports/lang/spidermonkey78/firefox-78.9.0/js/src/vm/
H A DWarnings.cpp24 using js::IsWarning;
33 ok = ReportErrorVA(cx, IsWarning::Yes, format, ArgumentsAreASCII, ap); in WarnASCII()
44 ok = ReportErrorVA(cx, IsWarning::Yes, format, ArgumentsAreLatin1, ap); in WarnLatin1()
55 ok = ReportErrorVA(cx, IsWarning::Yes, format, ArgumentsAreUTF8, ap); in WarnUTF8()
74 bool ok = ReportErrorNumberVA(cx, IsWarning::Yes, GetErrorMessage, nullptr, in WarnNumberASCII()
83 bool ok = ReportErrorNumberVA(cx, IsWarning::Yes, GetErrorMessage, nullptr, in WarnNumberLatin1()
92 bool ok = ReportErrorNumberVA(cx, IsWarning::Yes, GetErrorMessage, nullptr, in WarnNumberUTF8()
101 bool ok = ReportErrorNumberVA(cx, IsWarning::Yes, GetErrorMessage, nullptr, in WarnNumberUC()
H A DErrorReporting.h123 enum class IsWarning { No, Yes }; enum
129 extern bool ReportErrorVA(JSContext* cx, IsWarning isWarning,
133 extern bool ReportErrorNumberVA(JSContext* cx, IsWarning isWarning,
138 extern bool ReportErrorNumberUCArray(JSContext* cx, IsWarning isWarning,
143 extern bool ReportErrorNumberUTF8Array(JSContext* cx, IsWarning isWarning,
H A DErrorReporting.cpp463 bool js::ReportErrorNumberVA(JSContext* cx, IsWarning isWarning, in ReportErrorNumberVA()
468 report.isWarning_ = isWarning == IsWarning::Yes; in ReportErrorNumberVA()
498 static bool ReportErrorNumberArray(JSContext* cx, IsWarning isWarning, in ReportErrorNumberArray()
508 report.isWarning_ = isWarning == IsWarning::Yes; in ReportErrorNumberArray()
522 bool js::ReportErrorNumberUCArray(JSContext* cx, IsWarning isWarning, in ReportErrorNumberUCArray()
530 bool js::ReportErrorNumberUTF8Array(JSContext* cx, IsWarning isWarning, in ReportErrorNumberUTF8Array()
538 bool js::ReportErrorVA(JSContext* cx, IsWarning isWarning, const char* format, in ReportErrorVA()
551 report.isWarning_ = isWarning == IsWarning::Yes; in ReportErrorVA()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Activities/System/Activities/Validation/
H A DAddValidationError.cs23 public InArgument<bool> IsWarning property in System.Activities.Validation.AddValidationError
45 metadata.Bind(this.IsWarning, isWarningArgument); in CacheMetadata()
61 if (this.IsWarning != null) in Execute()
63 isWarning = this.IsWarning.Get(context); in Execute()
H A DAssertValidation.cs32 public InArgument<bool> IsWarning property in System.Activities.Validation.AssertValidation
58 metadata.Bind(this.IsWarning, isWarningArgument); in CacheMetadata()
76 if (this.IsWarning != null) in Execute()
78 isWarning = this.IsWarning.Get(context); in Execute()
H A DValidationError.cs50 this.IsWarning = isWarning; in ValidationError()
67 public bool IsWarning property in System.Activities.Validation.ValidationError
114 this.IsWarning); in ToString()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Description/
H A DMetadataConversionError.cs25 public bool IsWarning { get { return isWarning; } } property in System.ServiceModel.Description.MetadataConversionError
31 return otherError.IsWarning == this.IsWarning && otherError.Message == this.Message; in Equals()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.CodeDom.Compiler/
H A DCompilerErrorCas.cs74 Assert.IsFalse (ce.IsWarning, "IsWarning"); in Constructor0_Deny_Unrestricted()
75 ce.IsWarning = true; in Constructor0_Deny_Unrestricted()
95 Assert.IsFalse (ce.IsWarning, "IsWarning"); in Constructor5_Deny_Unrestricted()
96 ce.IsWarning = true; in Constructor5_Deny_Unrestricted()
H A DCompilerErrorCollectionCas.cs76 ce.IsWarning = false; in Constructor0_Deny_Unrestricted()
96 ce.IsWarning = true; in Constructor1_Deny_Unrestricted()
117 ce.IsWarning = false; in Constructor2_Deny_Unrestricted()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Web/Test/System.Web/
H A DTraceContextRecordTest.cs46 Assert.IsFalse (record.IsWarning, "#A 3"); in TraceContextRecordTest_Null()
56 Assert.IsFalse (record.IsWarning, "#B 3"); in TraceContextRecordTest_Empty()
67 Assert.IsTrue (record.IsWarning, "#C 3"); in TraceContextRecordTest_WithData()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/compmod/system/codedom/compiler/
H A DCompilerError.cs119 public bool IsWarning { property in System.CodeDom.Compiler.CompilerError
154 IsWarning ? "warning" : "error", in ToString()
160 IsWarning ? "warning" : "error", in ToString()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.CodeDom/src/System/CodeDom/Compiler/
H A DCompilerError.cs31 public bool IsWarning { get; set; } property in System.CodeDom.Compiler.CompilerError
39 private string WarningString => IsWarning ? "warning" : "error";
/dports/lang/nqc/nqc-3.1.r6_1/compiler/
H A DError.cpp131 bool Error::IsWarning() const in IsWarning() function in Error
157 if (e.IsWarning()) in Raise()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Workflow.ComponentModel/AuthoringOM/Compiler/Validation/
H A DValidationErrorCollection.cs62 if (e != null && !e.IsWarning)
78 if (e != null && e.IsWarning)

123456789