12028 references to Empty
aspire (20)
Aspire.Azure.AI.Inference.Tests (2)
Aspire.Azure.AI.OpenAI.Tests (5)
Aspire.Azure.Data.Tables.Tests (2)
Aspire.Azure.Messaging.EventHubs (4)
Aspire.Azure.Messaging.EventHubs.Tests (11)
Aspire.Azure.Messaging.ServiceBus (4)
Aspire.Azure.Messaging.ServiceBus.Tests (2)
Aspire.Azure.Messaging.WebPubSub (4)
Aspire.Azure.Messaging.WebPubSub.Tests (3)
Aspire.Azure.Npgsql.EntityFrameworkCore.PostgreSQL.Tests (1)
Aspire.Azure.Npgsql.Tests (2)
Aspire.Azure.Search.Documents.Tests (2)
Aspire.Azure.Security.KeyVault.Tests (7)
Aspire.Azure.Storage.Blobs.Tests (2)
Aspire.Azure.Storage.Queues (4)
Aspire.Azure.Storage.Queues.Tests (4)
Aspire.Cli.Tests (4)
Aspire.Components.Common.TestUtilities (1)
Aspire.Confluent.Kafka (2)
Aspire.Confluent.Kafka.Tests (4)
Aspire.Dashboard (57)
Aspire.Dashboard.Components.Tests (13)
Controls\TextVisualizerDialogTests.cs (8)
45await dialogService.ShowDialogAsync<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawJson, string.Empty, false), []);
67await dialogService.ShowDialogAsync<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawXml, string.Empty, false), []);
94await dialogService.ShowDialogAsync<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawXml, string.Empty, false), []);
110await dialogService.ShowDialogAsync<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawText, string.Empty, false), []);
127await dialogService.ShowDialogAsync<TextVisualizerDialog>(new TextVisualizerDialogViewModel(xml, string.Empty, false), []);
145await dialogService.ShowDialogAsync<TextVisualizerDialog>(new TextVisualizerDialogViewModel(xml, string.Empty, false), []);
167await dialogService.ShowDialogAsync<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawText, string.Empty, ContainsSecret: true), []);
189await dialogService.ShowDialogAsync<TextVisualizerDialog>(new TextVisualizerDialogViewModel(rawText, string.Empty, ContainsSecret: true), []);
Pages\ConsoleLogsTests.cs (2)
551commands: [new CommandViewModel("test-name", CommandViewModelState.Enabled, "test-displayname", "test-displaydescription", confirmationMessage: "", parameter: null, isHighlighted: true, iconName: string.Empty, iconVariant: IconVariant.Regular)]);
615commands: [new CommandViewModel("test-name", CommandViewModelState.Enabled, "test-displayname", "test-displaydescription", confirmationMessage: "", parameter: null, isHighlighted: true, iconName: string.Empty, iconVariant: IconVariant.Regular)]);
Aspire.Dashboard.Tests (44)
Model\ResourceUrlHelpersTests.cs (4)
211new("Zero-Https", new("https://localhost:8079"), isInternal: false, isInactive: false, displayProperties: new UrlDisplayPropertiesViewModel(string.Empty, 0)),
212new("Zero-Http", new("http://localhost:8080"), isInternal: false, isInactive: false, displayProperties: new UrlDisplayPropertiesViewModel(string.Empty, 0)),
213new("Positive", new("http://localhost:8082"), isInternal: false, isInactive: false, displayProperties: new UrlDisplayPropertiesViewModel(string.Empty, 1)),
214new("Negative", new("http://localhost:8083"), isInternal: false, isInactive: false, displayProperties: new UrlDisplayPropertiesViewModel(string.Empty, -1))
TelemetryRepositoryTests\TraceTests.cs (31)
82FilterText = string.Empty,
141FilterText = string.Empty,
196FilterText = string.Empty,
251FilterText = string.Empty,
322FilterText = string.Empty,
399FilterText = string.Empty,
441FilterText = string.Empty,
496FilterText = string.Empty,
565FilterText = string.Empty,
642FilterText = string.Empty,
732FilterText = string.Empty,
748FilterText = string.Empty,
816FilterText = string.Empty,
868FilterText = string.Empty,
940FilterText = string.Empty,
1047FilterText = string.Empty,
1117FilterText = string.Empty,
1181FilterText = string.Empty,
1200FilterText = string.Empty,
1219FilterText = string.Empty,
1271FilterText = string.Empty,
1287FilterText = string.Empty,
1312FilterText = string.Empty,
1515FilterText = string.Empty,
1633FilterText = string.Empty,
1712FilterText = string.Empty,
1818FilterText = string.Empty,
1910FilterText = string.Empty,
1983FilterText = string.Empty,
2062FilterText = string.Empty,
2104FilterText = string.Empty,
Aspire.EndToEnd.Tests (3)
Aspire.Hosting (37)
Aspire.Hosting.Analyzers.Tests (1)
Aspire.Hosting.Azure (8)
Aspire.Hosting.Azure.AppContainers (3)
Aspire.Hosting.Azure.AppService (1)
Aspire.Hosting.Azure.CosmosDB (4)
Aspire.Hosting.Azure.Functions (1)
Aspire.Hosting.Azure.Tests (65)
Aspire.Hosting.Containers.Tests (3)
Aspire.Hosting.Docker (4)
Aspire.Hosting.Garnet.Tests (3)
Aspire.Hosting.Kafka.Tests (4)
Aspire.Hosting.Keycloak.Tests (5)
Aspire.Hosting.Kubernetes (4)
Aspire.Hosting.Milvus.Tests (9)
Aspire.Hosting.MongoDB.Tests (10)
Aspire.Hosting.MySql.Tests (9)
Aspire.Hosting.Nats.Tests (5)
Aspire.Hosting.NodeJs.Tests (7)
Aspire.Hosting.OpenAI (4)
Aspire.Hosting.Oracle.Tests (9)
Aspire.Hosting.PostgreSQL.Tests (10)
Aspire.Hosting.Python.Tests (22)
Aspire.Hosting.Qdrant.Tests (3)
Aspire.Hosting.RabbitMQ.Tests (5)
Aspire.Hosting.Redis (1)
Aspire.Hosting.Redis.Tests (6)
Aspire.Hosting.SqlServer.Tests (6)
Aspire.Hosting.Testing (2)
Aspire.Hosting.Testing.Tests (14)
TestingPublicApiTests.cs (13)
53string[] args = ["arg", isNull ? null! : string.Empty, "arg2"];
74string resourceName = isNull ? null! : string.Empty;
91string resourceName = isNull ? null! : string.Empty;
108string resourceName = isNull ? null! : string.Empty;
136string resourceName = isNull ? null! : string.Empty;
164string resourceName = isNull ? null! : string.Empty;
192string resourceName = isNull ? null! : string.Empty;
229string[] args = ["arg", isNull ? null! : string.Empty, "arg2"];
273string[] args = ["arg", isNull ? null! : string.Empty, "arg2"];
316string[] args = ["arg", isNull ? null! : string.Empty, "arg2"];
376string[] args = ["arg", isNull ? null! : string.Empty, "arg2"];
407string[] args = ["arg", isNull ? null! : string.Empty, "arg2"];
450string[] args = ["arg", isNull ? null! : string.Empty, "arg2"];
Aspire.Hosting.Tests (26)
Aspire.Hosting.Valkey.Tests (3)
Aspire.Keycloak.Authentication.Tests (20)
Aspire.Microsoft.Azure.Cosmos (4)
Aspire.Microsoft.Azure.Cosmos.Tests (3)
Aspire.Microsoft.Data.SqlClient (3)
Aspire.Microsoft.Data.SqlClient.Tests (2)
Aspire.Microsoft.EntityFrameworkCore.Cosmos (4)
Aspire.Microsoft.EntityFrameworkCore.Cosmos.Tests (3)
Aspire.Microsoft.EntityFrameworkCore.SqlServer (2)
Aspire.Microsoft.EntityFrameworkCore.SqlServer.Tests (1)
Aspire.Milvus.Client.Tests (3)
Aspire.MongoDB.Driver.Tests (2)
Aspire.MongoDB.Driver.v3.Tests (2)
Aspire.MySqlConnector (2)
Aspire.MySqlConnector.Tests (2)
Aspire.NATS.Net.Tests (2)
Aspire.Npgsql (1)
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL.Tests (1)
Aspire.Npgsql.Tests (2)
Aspire.OpenAI.Tests (5)
Aspire.Oracle.EntityFrameworkCore.Tests (1)
Aspire.Playground.Tests (2)
Aspire.Pomelo.EntityFrameworkCore.MySql (1)
Aspire.Pomelo.EntityFrameworkCore.MySql.Tests (1)
Aspire.Qdrant.Client.Tests (3)
Aspire.RabbitMQ.Client.Tests (2)
Aspire.Seq.Tests (1)
Aspire.StackExchange.Redis (2)
Aspire.StackExchange.Redis.DistributedCaching.Tests (2)
Aspire.StackExchange.Redis.OutputCaching.Tests (2)
Aspire.StackExchange.Redis.Tests (2)
Aspire.Templates.Tests (4)
Aspire.TestUtilities (1)
AutobahnTestApp (1)
AzureFunctionsEndToEnd.ApiService (1)
BasicWebSite (2)
BasketService (1)
Binding.WS.FederationHttp.IntegrationTests (1)
BlazorUnitedApp (5)
BoundTreeGenerator (4)
BuildActionTelemetryTable (1)
Client.ClientBase.IntegrationTests (2)
CodeGenerator (1)
ConfigurationSchemaGenerator (5)
ConfigurationSchemaGenerator.Tests (2)
csc (2)
CSharpSyntaxGenerator (5)
DemoConsole (2)
dotnet-dev-certs (2)
dotnet-razorpagegenerator (1)
dotnet-svcutil.xmlserializer (5)
dotnet-svcutil-lib (1141)
FrameworkFork\Microsoft.Xml\Xml\BinaryXml\XmlBinaryReader.cs (40)
81this.prefix = this.localname = this.namespaceUri = String.Empty;
252this.symtable[0] = String.Empty;
380AddInitNamespace(String.Empty, String.Empty);
538return String.Empty;
632return string.Empty;
683ns = String.Empty;
731ns = String.Empty;
1132return XmlConvert.ToBoolean(String.Empty);
1222return XmlConvert.ToDateTime(String.Empty, XmlDateTimeSerializationMode.RoundtripKind);
1317return XmlConvert.ToDouble(String.Empty);
1412return XmlConvert.ToSingle(String.Empty);
1507return XmlConvert.ToDecimal(String.Empty);
1602return XmlConvert.ToInt32(String.Empty);
1697return XmlConvert.ToInt64(String.Empty);
1740value = String.Empty;
1780value = String.Empty;
1955prefixStr = String.Empty;
1988throw new XmlException(ResXml.XmlBin_InvalidQNameID, String.Empty);
1996throw new XmlException(ResXml.XmlBin_InvalidQNameID, String.Empty);
2339return String.Empty;
2520name = new QName(string.Empty, _xmlns, _nsxmlns);
2563_attributes[0].Set(new QName(string.Empty, _xnt.Add("version"), string.Empty), ParseText());
2568_attributes[1].Set(new QName(string.Empty, _xnt.Add("encoding"), string.Empty), ParseText());
2579_attributes[_attrCount].Set(new QName(string.Empty, _xnt.Add("standalone"), string.Empty), (standalone == 1) ? "yes" : "no");
2588QName xmlDeclQName = new QName(String.Empty, _xnt.Add("xml"), String.Empty);
2620PushNamespace(curDeclPrefix, string.Empty, false);
2645curDeclPrefix = string.Empty;
2650throw new XmlException(ResXml.Xml_PrefixForEmptyNs, String.Empty);
3148_attributes[_attrCount++].Set(new QName(string.Empty, _xnt.Add("SYSTEM"), string.Empty), ParseText());
3153_attributes[_attrCount++].Set(new QName(string.Empty, _xnt.Add("PUBLIC"), string.Empty), ParseText());
4048throw new XmlException(ResXml.XmlBin_InvalidQNameID, String.Empty);
4197throw new XmlException(ResXml.XmlBin_InvalidQNameID, String.Empty);
4395throw new XmlException(ResXml.XmlBin_InvalidQNameID, String.Empty);
FrameworkFork\Microsoft.Xml\Xml\Cache\XPathDocumentBuilder.cs (29)
102idx = NewNode(out page, XPathNodeType.Text, string.Empty, string.Empty, string.Empty, string.Empty);
112_idxParent = NewNode(out _pageParent, XPathNodeType.Root, string.Empty, string.Empty, string.Empty, baseUri);
139this.WriteStartElement(prefix, localName, ns, string.Empty);
294AddSibling(XPathNodeType.Attribute, localName, namespaceName, prefix, string.Empty);
332AddSibling(XPathNodeType.Comment, string.Empty, string.Empty, string.Empty, string.Empty);
341this.WriteProcessingInstruction(name, text, string.Empty);
352AddSibling(XPathNodeType.ProcessingInstruction, name, string.Empty, string.Empty, baseUri);
440AddSibling(XPathNodeType.Text, string.Empty, string.Empty, string.Empty, string.Empty);
441_pageSibling[_idxSibling].SetValue(string.Empty);
631info = _infoTable.Create(prefix, string.Empty, string.Empty, string.Empty,
765AddSibling((XPathNodeType)textType, string.Empty, string.Empty, string.Empty, string.Empty);
922return string.Empty;
FrameworkFork\Microsoft.Xml\Xml\Core\XmlParserContext.cs (24)
18private String _docTypeName = String.Empty;
19private String _pubId = String.Empty;
20private String _sysId = String.Empty;
21private String _internalSubset = String.Empty;
22private String _xmlLang = String.Empty;
24private String _baseURI = String.Empty;
28: this(nt, nsMgr, null, null, null, null, String.Empty, xmlLang, xmlSpace)
34: this(nt, nsMgr, null, null, null, null, String.Empty, xmlLang, xmlSpace, enc)
61throw new XmlException(ResXml.Xml_NotSameNametable, string.Empty);
72_docTypeName = (null == docTypeName ? String.Empty : docTypeName);
73_pubId = (null == pubId ? String.Empty : pubId);
74_sysId = (null == sysId ? String.Empty : sysId);
75_internalSubset = (null == internalSubset ? String.Empty : internalSubset);
76_baseURI = (null == baseURI ? String.Empty : baseURI);
77_xmlLang = (null == xmlLang ? String.Empty : xmlLang);
114_docTypeName = (null == value ? String.Empty : value);
126_pubId = (null == value ? String.Empty : value);
138_sysId = (null == value ? String.Empty : value);
150_baseURI = (null == value ? String.Empty : value);
162_internalSubset = (null == value ? String.Empty : value);
174_xmlLang = (null == value ? String.Empty : value);
206return (_internalSubset != string.Empty || _pubId != string.Empty || _sysId != string.Empty);
FrameworkFork\Microsoft.Xml\Xml\Core\XmlReader.cs (33)
188return string.Empty;
416return string.Empty;
435return XmlConvert.ToBoolean(string.Empty);
454return XmlConvert.ToDateTime(string.Empty, XmlDateTimeSerializationMode.RoundtripKind);
474return XmlConvert.ToDouble(string.Empty);
494return XmlConvert.ToSingle(string.Empty);
514return XmlConvert.ToDecimal(string.Empty);
534return XmlConvert.ToInt32(string.Empty);
554return XmlConvert.ToInt64(string.Empty);
574return string.Empty;
594return (returnType == typeof(string)) ? string.Empty : XmlUntypedConverter.Untyped.ChangeType(string.Empty, returnType, namespaceResolver);
782return string.Empty;
789return string.Empty;
797return string.Empty;
800string result = string.Empty;
885string result = string.Empty;
912string result = string.Empty;
945string result = string.Empty;
1227return string.Empty;
1232return string.Empty;
1332return string.Empty;
1337return string.Empty;
1605string value = string.Empty;
1679throw new XmlException(ResXml.Xml_MixedReadElementContentAs, string.Empty, this as IXmlLineInfo);
1794return Create(input, (XmlReaderSettings)null, (string)string.Empty);
1800return Create(input, settings, string.Empty);
1820return settings.CreateReader(input, null, (string)string.Empty, inputContext);
1826return Create(input, (XmlReaderSettings)null, (string)string.Empty);
1832return Create(input, settings, string.Empty);
1852return settings.CreateReader(input, string.Empty, inputContext);
1927reader = new XmlSqlBinaryReader(input, bytes, byteCount, string.Empty, settings.CloseInput, settings);
1931reader = new XmlTextReaderImpl(input, bytes, byteCount, settings, null, string.Empty, inputContext, settings.CloseInput);
FrameworkFork\Microsoft.Xml\Xml\Core\XmlSubtreeReader.cs (13)
107_tmpNode.Set(XmlNodeType.None, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty);
1261_nsManager.AddNamespace(string.Empty, reader.Value);
1262RemoveNamespace(string.Empty, _xmlns);
1312_nsAttributes[index].Set(XmlNodeType.Attribute, _xmlns, string.Empty, _xmlns, _xmlnsUri, ns);
1490Debug.Assert(_tmpNode.localName == string.Empty && _tmpNode.prefix == string.Empty && _tmpNode.name == string.Empty && _tmpNode.namespaceUri == string.Empty);
1492_tmpNode.value = string.Empty;
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (51)
190private string _url = string.Empty;
214private string _lastPrefix = string.Empty;
329nt.Add(string.Empty);
402nt.Add(string.Empty);
464internal XmlTextReaderImpl(Stream input) : this(string.Empty, input, new NameTable())
467internal XmlTextReaderImpl(Stream input, XmlNameTable nt) : this(string.Empty, input, nt)
490internal XmlTextReaderImpl(TextReader input) : this(string.Empty, input, new NameTable())
493internal XmlTextReaderImpl(TextReader input, XmlNameTable nt) : this(string.Empty, input, nt)
502_reportedBaseUri = (url != null) ? url : string.Empty;
539xmlFragment = string.Empty;
544InitStringInput(string.Empty, Encoding.Unicode, xmlFragment);
563InitStringInput((context == null) ? string.Empty : context.BaseURI, Encoding.Unicode, string.Concat("<?xml ", xmlFragment, "?>"));
662stream = (Stream)_laterInitParam.inputUriResolver.GetEntity(_laterInitParam.inputbaseUri, string.Empty, typeof(Stream));
774Debug.Assert(baseUriStr == string.Empty, "BaseURI can come either from XmlParserContext or from the constructor argument, not from both");
823InitStringInput(string.Empty, Encoding.Unicode, xmlFragment);
1061namespaceURI = (namespaceURI == null) ? string.Empty : _nameTable.Get(namespaceURI);
1115namespaceURI = (namespaceURI == null) ? string.Empty : _nameTable.Get(namespaceURI);
1300_curNode.SetValueNode(XmlNodeType.Text, string.Empty);
1525throw new XmlException(ResXml.Xml_InternalError, string.Empty);
1551throw new XmlException(ResXml.Xml_InternalError, string.Empty);
1922_curNode.SetValue(string.Empty);
2053_xmlContext.defaultNamespace = _namespaceManager.LookupNamespace(string.Empty);
2061_xmlContext.defaultNamespace = string.Empty;
2117throw new XmlException(ResXml.Xml_WhitespaceHandling, string.Empty);
2154throw new XmlException(ResXml.Xml_EntityHandling, string.Empty);
2233return new StringReader(string.Empty);
2739Throw(res, string.Empty);
2744Throw(res, string.Empty);
2749Throw(new XmlException(res, string.Empty, lineNo, linePos, _ps.baseUriStr));
2795Throw(new XmlException(res, string.Empty, _ps.baseUriStr));
2876InitStreamInput(null, string.Empty, stream, null, 0, encoding);
3051_xmlContext.defaultNamespace = _namespaceManager.LookupNamespace(string.Empty);
3066_ps.baseUriStr = string.Empty;
3618_reportedBaseUri = string.Empty;
5167AddNamespace(string.Empty, ns, attr);
5953_curNode.SetValue(string.Empty);
6162schemaEntity.Text = string.Empty;
6174schemaEntity.Text = string.Empty;
6856_curNode.SetNamedNode(XmlNodeType.DocumentType, _dtdInfo.Name.ToString(), string.Empty, null);
6957_curNode.SetValue(string.Empty);
7818return AddAttribute(localName, string.Empty, localName);
8078ThrowWithoutLineInfo(ResXml.Xml_CannotResolveExternalSubset, new string[] { (publicId != null ? publicId : string.Empty), systemId }, null);
8161InitStringInput(entity.SystemId, enc, string.Empty);
8179InitStringInput((entity.DeclaredUriString != null) ? entity.DeclaredUriString : string.Empty, enc, entity.Text ?? string.Empty);
8715_curNode.SetValueNode(XmlNodeType.Text, string.Empty);
9137_xmlContext.defaultNamespace = _namespaceManager.LookupNamespace(string.Empty);
9151throw new XmlException(ResXml.Xml_NametableMismatch, string.Empty);
9376prefix = string.Empty;
9511_curNode.SetValue(string.Empty);
9748return string.Empty;
FrameworkFork\Microsoft.Xml\Xml\Core\XmlWellformedWriter.cs (27)
281_nsStack[2].Set(string.Empty, string.Empty, NamespaceKind.Implied);
285string defaultNs = _predefinedNamespaces.LookupNamespace(string.Empty);
286_nsStack[2].Set(string.Empty, (defaultNs == null ? string.Empty : defaultNs), NamespaceKind.Implied);
291_elemScopeStack[0].Set(string.Empty, string.Empty, string.Empty, _nsTop);
464prefix = string.Empty;
485ns = string.Empty;
533throw new XmlException(ResXml.Xml_NoStartTag, string.Empty);
584throw new XmlException(ResXml.Xml_NoStartTag, string.Empty);
636prefix = string.Empty;
658prefix = string.Empty;
669namespaceName = string.Empty;
681_curDeclPrefix = String.Empty;
731prefix = string.Empty;
780if (PushNamespaceExplicit(string.Empty, value))
786_rawWriter.WriteStartNamespaceDeclaration(string.Empty);
792_rawWriter.WriteNamespaceDeclaration(string.Empty, value);
797_writer.WriteStartAttribute(string.Empty, "xmlns", XmlReservedNs.NsXmlNs);
887text = string.Empty;
905text = string.Empty;
931text = string.Empty;
1054ws = string.Empty;
1373string prefix = String.Empty;
1787throw DupAttrException((prefix.Length == 0) ? string.Empty : "xmlns", (prefix.Length == 0) ? "xmlns" : prefix);
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlLoader.cs (9)
288node.AppendChildForLoad(_doc.CreateTextNode(string.Empty), _doc);
347node.AppendChildForLoad(direct ? new XmlText(string.Empty) : _doc.CreateTextNode(string.Empty), _doc);
378eref.AppendChildForLoad(_doc.CreateTextNode(string.Empty), _doc);
599XmlParserContext pc = new XmlParserContext(null, new XmlNamespaceManager(_doc.NameTable), null, null, null, null, _doc.BaseURI, string.Empty, XmlSpace.None);
619throw new XmlException(ResXml.Xml_InternalError, string.Empty);
677_doc.AddXmlName(elementDecl.Prefix, elementDecl.Name.Name, string.Empty, null),
678_doc.AddAttrXmlName(attdef.Prefix, attdef.Name.Name, string.Empty, null));
718mgr.AddNamespace(String.Empty, attr.Value);
FrameworkFork\Microsoft.Xml\Xml\schema\DtdParser.cs (20)
157private string _systemId = string.Empty;
158private string _publicId = string.Empty;
201private string _documentBaseUri = string.Empty;
202private string _externalDtdBaseUri = string.Empty;
583SendValidationEvent(_curPos, XmlSeverityType.Error, ResXml.Sch_ParEntityRefNesting, string.Empty);
643SendValidationEvent(_curPos, XmlSeverityType.Error, ResXml.Sch_ParEntityRefNesting, string.Empty);
699Throw(ResXml.Xml_EnumerationRequired, string.Empty, attrDef.LineNumber, attrDef.LinePosition);
739Throw(ResXml.Xml_EnumerationRequired, string.Empty, attrDef.LineNumber, attrDef.LinePosition);
918SendValidationEvent(_curPos, XmlSeverityType.Error, ResXml.Sch_AttListPresence, string.Empty);
1100SendValidationEvent(_curPos, XmlSeverityType.Error, ResXml.Sch_ParEntityRefNesting, string.Empty);
1162SendValidationEvent(_curPos, XmlSeverityType.Error, ResXml.Sch_ParEntityRefNesting, string.Empty);
1187SendValidationEvent(_curPos, XmlSeverityType.Error, ResXml.Sch_ParEntityRefNesting, string.Empty);
1208SendValidationEvent(_curPos, XmlSeverityType.Error, ResXml.Sch_ParEntityRefNesting, string.Empty);
1447SendValidationEvent(_curPos, XmlSeverityType.Error, ResXml.Sch_ParEntityRefNesting, string.Empty);
1472SendValidationEvent(_curPos, XmlSeverityType.Error, ResXml.Sch_ParEntityRefNesting, string.Empty);
1481SendValidationEvent(_curPos, XmlSeverityType.Error, ResXml.Sch_ParEntityRefNesting, string.Empty);
2659Throw(ResXml.Xml_ErrorParsingEntityName, string.Empty, e.LineNumber, e.LinePosition);
3520return (tmp != null) ? tmp.ToString() : string.Empty;
3532Throw(curPos, res, string.Empty);
3627return string.Empty;
FrameworkFork\Microsoft.Xml\Xml\schema\FacetChecker.cs (63)
320throw new XmlSchemaException(ResXml.Sch_TotalDigitsMismatch, string.Empty);
340throw new XmlSchemaException(ResXml.Sch_TotalDigitsMismatch, string.Empty);
385throw new XmlSchemaException(ResXml.Sch_MaxInclusiveMismatch, string.Empty);
392throw new XmlSchemaException(ResXml.Sch_MaxIncExlMismatch, string.Empty);
402throw new XmlSchemaException(ResXml.Sch_MaxExclusiveMismatch, string.Empty);
409throw new XmlSchemaException(ResXml.Sch_MaxExlIncMismatch, string.Empty);
419throw new XmlSchemaException(ResXml.Sch_MinInclusiveMismatch, string.Empty);
426throw new XmlSchemaException(ResXml.Sch_MinIncExlMismatch, string.Empty);
433throw new XmlSchemaException(ResXml.Sch_MinIncMaxExlMismatch, string.Empty);
443throw new XmlSchemaException(ResXml.Sch_MinExclusiveMismatch, string.Empty);
450throw new XmlSchemaException(ResXml.Sch_MinExlIncMismatch, string.Empty);
457throw new XmlSchemaException(ResXml.Sch_MinExlMaxExlMismatch, string.Empty);
477throw new XmlSchemaException(ResXml.Sch_MaxInclusiveExclusive, string.Empty);
484throw new XmlSchemaException(ResXml.Sch_MinInclusiveExclusive, string.Empty);
491throw new XmlSchemaException(ResXml.Sch_LengthAndMinMax, string.Empty);
504throw new XmlSchemaException(ResXml.Sch_MinLengthGtMaxLength, string.Empty);
516throw new XmlSchemaException(ResXml.Sch_MinInclusiveGtMaxInclusive, string.Empty);
526throw new XmlSchemaException(ResXml.Sch_MinInclusiveGtMaxExclusive, string.Empty);
536throw new XmlSchemaException(ResXml.Sch_MinExclusiveGtMaxExclusive, string.Empty);
546throw new XmlSchemaException(ResXml.Sch_MinExclusiveGtMaxInclusive, string.Empty);
553throw new XmlSchemaException(ResXml.Sch_FractionDigitsGtTotalDigits, string.Empty);
885return new XmlSchemaException(ResXml.Sch_PatternConstraintFailed, string.Empty);
1029return new XmlSchemaException(ResXml.Sch_MaxInclusiveConstraintFailed, string.Empty);
1037return new XmlSchemaException(ResXml.Sch_MaxExclusiveConstraintFailed, string.Empty);
1045return new XmlSchemaException(ResXml.Sch_MinInclusiveConstraintFailed, string.Empty);
1053return new XmlSchemaException(ResXml.Sch_MinExclusiveConstraintFailed, string.Empty);
1060return new XmlSchemaException(ResXml.Sch_EnumerationConstraintFailed, string.Empty);
1121return new XmlSchemaException(ResXml.Sch_TotalDigitsConstraintFailed, string.Empty);
1125return new XmlSchemaException(ResXml.Sch_FractionDigitsConstraintFailed, string.Empty);
1150return new XmlSchemaException(ResXml.Sch_MaxInclusiveConstraintFailed, string.Empty);
1157return new XmlSchemaException(ResXml.Sch_MaxExclusiveConstraintFailed, string.Empty);
1165return new XmlSchemaException(ResXml.Sch_MinInclusiveConstraintFailed, string.Empty);
1173return new XmlSchemaException(ResXml.Sch_MinExclusiveConstraintFailed, string.Empty);
1180return new XmlSchemaException(ResXml.Sch_EnumerationConstraintFailed, string.Empty);
1225return new XmlSchemaException(ResXml.Sch_MaxInclusiveConstraintFailed, string.Empty);
1233return new XmlSchemaException(ResXml.Sch_MaxExclusiveConstraintFailed, string.Empty);
1241return new XmlSchemaException(ResXml.Sch_MinInclusiveConstraintFailed, string.Empty);
1249return new XmlSchemaException(ResXml.Sch_MinExclusiveConstraintFailed, string.Empty);
1256return new XmlSchemaException(ResXml.Sch_EnumerationConstraintFailed, string.Empty);
1296return new XmlSchemaException(ResXml.Sch_MaxInclusiveConstraintFailed, string.Empty);
1304return new XmlSchemaException(ResXml.Sch_MaxExclusiveConstraintFailed, string.Empty);
1312return new XmlSchemaException(ResXml.Sch_MinInclusiveConstraintFailed, string.Empty);
1320return new XmlSchemaException(ResXml.Sch_MinExclusiveConstraintFailed, string.Empty);
1327return new XmlSchemaException(ResXml.Sch_EnumerationConstraintFailed, string.Empty);
1396return new XmlSchemaException(ResXml.Sch_LengthConstraintFailed, string.Empty);
1403return new XmlSchemaException(ResXml.Sch_MinLengthConstraintFailed, string.Empty);
1410return new XmlSchemaException(ResXml.Sch_MaxLengthConstraintFailed, string.Empty);
1417return new XmlSchemaException(ResXml.Sch_EnumerationConstraintFailed, string.Empty);
1479return new XmlSchemaException(ResXml.Sch_EmptyAttributeValue, string.Empty);
1483return new XmlSchemaException(ResXml.Sch_InvalidLanguageId, string.Empty);
1528return new XmlSchemaException(ResXml.Sch_LengthConstraintFailed, string.Empty);
1535return new XmlSchemaException(ResXml.Sch_MinLengthConstraintFailed, string.Empty);
1542return new XmlSchemaException(ResXml.Sch_MaxLengthConstraintFailed, string.Empty);
1549return new XmlSchemaException(ResXml.Sch_EnumerationConstraintFailed, string.Empty);
1597return new XmlSchemaException(ResXml.Sch_LengthConstraintFailed, string.Empty);
1604return new XmlSchemaException(ResXml.Sch_MinLengthConstraintFailed, string.Empty);
1611return new XmlSchemaException(ResXml.Sch_MaxLengthConstraintFailed, string.Empty);
1618return new XmlSchemaException(ResXml.Sch_EnumerationConstraintFailed, string.Empty);
1660return new XmlSchemaException(ResXml.Sch_LengthConstraintFailed, string.Empty);
1668return new XmlSchemaException(ResXml.Sch_MinLengthConstraintFailed, string.Empty);
1676return new XmlSchemaException(ResXml.Sch_MaxLengthConstraintFailed, string.Empty);
1684return new XmlSchemaException(ResXml.Sch_EnumerationConstraintFailed, string.Empty);
1714return new XmlSchemaException(ResXml.Sch_EnumerationConstraintFailed, string.Empty);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (7)
81defaultNamespace = String.Empty;
126TypeMapping mapping = ImportTypeMapping(_modelScope.GetTypeModel(type), _defaultNs, ImportContext.Element, string.Empty, null, limiter);
272ElementAccessor element = CreateElementAccessor(ImportTypeMapping(model, ns, ImportContext.Element, string.Empty, a, limiter), ns);
1551accessor.ChoiceIdentifier.Mapping = ImportTypeMapping(_modelScope.GetTypeModel(choiceIdentifierType), ns, ImportContext.Element, String.Empty, null, limiter);
1695element.Mapping = ImportTypeMapping(typeModel, element.Namespace, ImportContext.Element, String.Empty, null, limiter);
1940element.Mapping = ImportTypeMapping(typeModel, element.Namespace, ImportContext.Element, String.Empty, null, false, openModel, limiter);
2260string typeName = string.Empty;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaHelper.cs (1)
105ns = string.Empty;
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlDictionaryReader.cs (19)
331string result = string.Empty;
584value = string.Empty;
604value = XmlConverter.ToBoolean(string.Empty);
624value = XmlConverter.ToInt32(string.Empty);
644value = XmlConverter.ToInt64(string.Empty);
664value = XmlConverter.ToSingle(string.Empty);
684value = XmlConverter.ToDouble(string.Empty);
704value = XmlConverter.ToDecimal(string.Empty);
726value = DateTime.Parse(string.Empty, NumberFormatInfo.InvariantInfo);
730throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException(string.Empty, "DateTime", exception));
734throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException(string.Empty, "DateTime", exception));
757value = new UniqueId(string.Empty);
761throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException(string.Empty, "UniqueId", exception));
765throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException(string.Empty, "UniqueId", exception));
788value = new Guid(string.Empty);
792throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException(string.Empty, "Guid", exception));
796throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException(string.Empty, "Guid", exception));
800throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.CreateConversionException(string.Empty, "Guid", exception));
821value = XmlConverter.ToTimeSpan(string.Empty);
FrameworkFork\System.ServiceModel\System\IdentityModel\Claims\X509CertificateClaimSet.cs (1)
559return String.Empty;
FrameworkFork\System.ServiceModel\System\IdentityModel\Selectors\X509CertificateValidator.cs (1)
109return String.Empty;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ContentOnlyMessage.cs (1)
98: base(string.Empty)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (7)
644return CheckAndAddPart(part.Type, DataContractSerializerMessageContractImporter.GenericMessageTypeName, part.Name, string.Empty, typeof(Message), description, isReply);
678string ns = string.Empty;
1167return string.Empty;
1455return new XmlQualifiedName(part.Name, String.Empty);
1479bodyPart = isHeader ? (MessagePartDescription)new MessageHeaderDescription(part.Name, String.Empty) : new MessagePartDescription(part.Name, String.Empty);
2004MessagePartDescription part = new MessagePartDescription(xmlName, member.Namespace == null ? string.Empty : member.Namespace);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\MessageRpc.cs (1)
593String.Empty);
Metadata\MetadataDocumentLoader.cs (6)
95if (!CanLoad(uri, string.Empty, Directory.GetCurrentDirectory(), out Uri metadataUri))
137if (!CanLoad(uri, string.Empty, Directory.GetCurrentDirectory(), out Uri metadataUri))
184await LoadAsync(this.MetadataSourceUrl.AbsoluteUri, string.Empty, Directory.GetCurrentDirectory(), cancellationToken).ConfigureAwait(false);
190await LoadAsync(fileUri.LocalPath, string.Empty, Directory.GetCurrentDirectory(), cancellationToken).ConfigureAwait(false);
252return CanLoad(uri, string.Empty, string.Empty, out serviceUri);
dotnet-svcutil-lib.Tests (17)
dotnet-user-jwts (12)
FormatterWebSite (1)
GenerateAnalyzerNuspec (6)
GenerateDocumentationAndConfigFiles (63)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleHelpers.cs (1)
193: string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StringExtensions.cs (1)
63: string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionKey2.cs (1)
56: string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationSymbolFactory.cs (1)
394name: string.Empty,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationArrayTypeSymbol.cs (1)
10internal sealed class CodeGenerationArrayTypeSymbol(ITypeSymbol elementType, int rank, NullableAnnotation nullableAnnotation) : CodeGenerationTypeSymbol(null, null, default, Accessibility.NotApplicable, default, string.Empty, SpecialType.None, nullableAnnotation), IArrayTypeSymbol
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationConstructorSymbol.cs (1)
22name: string.Empty,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationDestructorSymbol.cs (1)
18name: string.Empty,
HealthChecksSample (1)
http2cat (2)
Identity.ExternalClaims (14)
IdentitySample.DefaultUI (1)
IdentitySample.Mvc (8)
IIS.FunctionalTests (5)
IIS.LongTests (2)
IIS.NewHandler.FunctionalTests (2)
IIS.NewShim.FunctionalTests (2)
IIS.ShadowCopy.Tests (2)
IISExpress.FunctionalTests (5)
illink (18)
ILLink.RoslynAnalyzer (8)
Infrastructure.Common (6)
InMemory.FunctionalTests (18)
installer.tasks (5)
Interop.FunctionalTests (9)
InteropWebsite (1)
IOperationGenerator (3)
Metrics (29)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleHelpers.cs (1)
193: string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StringExtensions.cs (1)
63: string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionKey2.cs (1)
56: string.Empty;
Metrics.Legacy (29)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleHelpers.cs (1)
193: string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StringExtensions.cs (1)
63: string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionKey2.cs (1)
56: string.Empty;
Microsoft.Analyzers.Extra (6)
Microsoft.Analyzers.Extra.Tests (2)
Microsoft.Analyzers.Local (10)
Microsoft.Analyzers.Local.Tests (10)
Microsoft.Arcade.Common (1)
Microsoft.Arcade.Test.Common (2)
Microsoft.AspNetCore.Antiforgery (8)
Microsoft.AspNetCore.Antiforgery.Test (5)
Microsoft.AspNetCore.App.Analyzers (6)
Microsoft.AspNetCore.App.Analyzers.Test (4)
Microsoft.AspNetCore.App.CodeFixes (2)
Microsoft.AspNetCore.Authentication (5)
Microsoft.AspNetCore.Authentication.Abstractions (1)
Microsoft.AspNetCore.Authentication.Cookies (6)
Microsoft.AspNetCore.Authentication.Core.Test (4)
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (2)
Microsoft.AspNetCore.Authentication.OpenIdConnect (2)
Microsoft.AspNetCore.Authentication.Test (15)
Microsoft.AspNetCore.Authentication.Twitter (1)
Microsoft.AspNetCore.Authentication.WsFederation (2)
Microsoft.AspNetCore.Authorization (2)
Microsoft.AspNetCore.Components (17)
Microsoft.AspNetCore.Components.Endpoints (4)
Microsoft.AspNetCore.Components.Endpoints.Tests (13)
Microsoft.AspNetCore.Components.Forms (1)
Microsoft.AspNetCore.Components.Forms.Tests (7)
Microsoft.AspNetCore.Components.QuickGrid (1)
Microsoft.AspNetCore.Components.QuickGrid.Tests (3)
Microsoft.AspNetCore.Components.Server (1)
Microsoft.AspNetCore.Components.Tests (14)
Microsoft.AspNetCore.Components.Web (11)
Microsoft.AspNetCore.Components.Web.Tests (3)
Microsoft.AspNetCore.Components.WebAssembly (1)
Microsoft.AspNetCore.Components.WebAssembly.Server (2)
Microsoft.AspNetCore.Components.WebAssembly.Tests (4)
Microsoft.AspNetCore.Components.WebView (2)
Microsoft.AspNetCore.Components.WebView.Maui (1)
Microsoft.AspNetCore.Components.WebView.Photino (1)
Microsoft.AspNetCore.Components.WebView.WindowsForms (2)
Microsoft.AspNetCore.Components.WebView.Wpf (2)
Microsoft.AspNetCore.Connections.Abstractions (1)
Microsoft.AspNetCore.CookiePolicy.Test (6)
Microsoft.AspNetCore.Cors (2)
Microsoft.AspNetCore.Cryptography.Internal (1)
Microsoft.AspNetCore.DeveloperCertificates.XPlat (2)
Microsoft.AspNetCore.Diagnostics (7)
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (2)
Microsoft.AspNetCore.Diagnostics.HealthChecks.Tests (1)
Microsoft.AspNetCore.Diagnostics.Middleware (3)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (6)
Microsoft.AspNetCore.Diagnostics.Tests (14)
Microsoft.AspNetCore.FunctionalTests (14)
WebHostFunctionalTests.cs (8)
20await ExecuteStartOrStartWithTest(deploymentResult => deploymentResult.HttpClient.GetAsync(string.Empty), "StartRequestDelegateUrlApp");
32await ExecuteStartOrStartWithTest(deploymentResult => deploymentResult.HttpClient.GetAsync(string.Empty), "StartWithIApplicationBuilderUrlApp");
41var response = await RetryHelper.RetryRequest(() => deploymentResult.HttpClient.GetAsync(string.Empty), logger, deploymentResult.HostShutdownToken, retryCount: 5);
66var response = await RetryHelper.RetryRequest(() => deploymentResult.HttpClient.GetAsync(string.Empty), logger, deploymentResult.HostShutdownToken, retryCount: 5);
93var response = await RetryHelper.RetryRequest(() => deploymentResult.HttpClient.GetAsync(string.Empty), logger, deploymentResult.HostShutdownToken);
132return string.Empty;
139return string.Empty;
167var response = await RetryHelper.RetryRequest(() => deploymentResult.HttpClient.GetAsync(string.Empty), Logger, deploymentResult.HostShutdownToken, retryCount: 5);
Microsoft.AspNetCore.Grpc.JsonTranscoding (7)
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (2)
Microsoft.AspNetCore.Grpc.Swagger (4)
Microsoft.AspNetCore.HeaderParsing.Tests (7)
Microsoft.AspNetCore.Hosting (10)
Microsoft.AspNetCore.Hosting.FunctionalTests (2)
Microsoft.AspNetCore.Html.Abstractions (4)
Microsoft.AspNetCore.Http (20)
Microsoft.AspNetCore.Http.Abstractions (19)
Microsoft.AspNetCore.Http.Abstractions.Tests (16)
Microsoft.AspNetCore.Http.Connections (1)
Microsoft.AspNetCore.Http.Connections.Client (1)
Microsoft.AspNetCore.Http.Connections.Tests (6)
Microsoft.AspNetCore.Http.Extensions (2)
Microsoft.AspNetCore.Http.Extensions.Tests (51)
RequestDelegateGenerator\RequestDelegateCreationTests.cs (6)
190new object[] { fromHeaderRequiredSource, null, 400, string.Empty },
192new object[] { fromHeaderWithNameRequiredSource, null, 400, string.Empty },
194new object[] { fromHeaderWithNullNameRequiredSource, null, 400, string.Empty },
196new object[] { fromHeaderNullableSource, null, 200, string.Empty },
198new object[] { fromHeaderDefaultValueSource, null, 200, string.Empty },
279await VerifyResponseBodyAsync(httpContext, hasService ? "Produced from service!" : string.Empty);
RequestDelegateGenerator\RequestDelegateCreationTests.JsonBody.cs (12)
53new object[] { fromBodyRequiredSource, null, 400, string.Empty },
56new object[] { fromBodyEmptyBodyBehaviorSource, null, 200, string.Empty },
58new object[] { fromBodyAllowEmptySource, null, 200, string.Empty },
60new object[] { fromBodyNullableSource, null, 200, string.Empty },
62new object[] { fromBodyDefaultValueSource, null, 200, string.Empty },
64new object[] { fromBodyRequiredWithFilterSource, null, 400, string.Empty },
66new object[] { fromBodyEmptyBehaviorWithFilterSource, null, 200, string.Empty },
68new object[] { fromBodyAllowEmptyWithFilterSource, null, 200, string.Empty },
70new object[] { fromBodyNullableWithFilterSource, null, 200, string.Empty },
72new object[] { fromBodyDefaultValueSource, null, 200, string.Empty },
110await VerifyResponseBodyAsync(httpContext, string.Empty, expectedStatusCode: 400);
153await VerifyResponseBodyAsync(httpContext, string.Empty);
RequestDelegateGenerator\RequestDelegateCreationTests.JsonBodyOrService.cs (3)
34new object[] { implicitRequiredServiceSource, false, null, false, 400, string.Empty },
36new object[] { implicitRequiredJsonBodySource, true, null, false, 400, string.Empty },
38new object[] { implicitRequiredJsonBodyViaAsParametersSource, true, null, false, 400, string.Empty },
RequestDelegateGenerator\RequestDelegateCreationTests.RouteParameter.cs (11)
30new object[] { fromRouteRequiredSource, null, 400, string.Empty },
32new object[] { fromRouteWithNameRequiredSource, null, 400, string.Empty },
34new object[] { fromRouteWithNullNameRequiredSource, null, 400, string.Empty },
36new object[] { fromRouteNullableSource, null, 200, string.Empty },
38new object[] { fromRouteDefaultValueSource, null, 200, string.Empty },
86new object[] { implicitRouteRequiredSource, false, false, 400, string.Empty },
88new object[] { implicitQueryRequiredSource, false, false, 400, string.Empty },
91new object[] { implicitRouteNullableSource, false, false, 200, string.Empty },
93new object[] { implicitQueryNullableSource, false, false, 200, string.Empty },
96new object[] { implicitRouteDefaultValueSource, false, false, 200, string.Empty },
98new object[] { implicitQueryDefaultValueSource, false, false, 200, string.Empty },
Microsoft.AspNetCore.Http.Features (3)
Microsoft.AspNetCore.Http.Microbenchmarks (3)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (11)
Microsoft.AspNetCore.Http.Results (2)
Microsoft.AspNetCore.Http.Results.Tests (11)
Microsoft.AspNetCore.Http.Tests (5)
Microsoft.AspNetCore.HttpLogging (1)
Microsoft.AspNetCore.HttpLogging.Tests (1)
Microsoft.AspNetCore.HttpOverrides.Tests (1)
Microsoft.AspNetCore.Identity (2)
Microsoft.AspNetCore.Identity.Test (3)
Microsoft.AspNetCore.Identity.UI (34)
Microsoft.AspNetCore.InternalTesting (4)
Microsoft.AspNetCore.InternalTesting.Tests (1)
Microsoft.AspNetCore.Localization (1)
Microsoft.AspNetCore.Localization.Tests (10)
Microsoft.AspNetCore.MiddlewareAnalysis (1)
Microsoft.AspNetCore.MiddlewareAnalysis.Tests (1)
Microsoft.AspNetCore.Mvc.Abstractions (11)
Microsoft.AspNetCore.Mvc.Abstractions.Test (10)
Microsoft.AspNetCore.Mvc.ApiExplorer (14)
EndpointMetadataApiDescriptionProvider.cs (12)
97controllerName = _environment.ApplicationName ?? string.Empty;
203var parameterName = parameter.Name ?? string.Empty;
257var parameterName = parameter.Name ?? string.Empty;
263return (BindingSource.Query, queryAttribute.Name ?? parameter.Name ?? string.Empty, false, parameterType);
267return (BindingSource.Header, headerAttribute.Name ?? parameter.Name ?? string.Empty, false, parameterType);
271return (BindingSource.Body, parameter.Name ?? string.Empty, fromBodyAttribute.AllowEmpty, parameterType);
275return (BindingSource.FormFile, fromFormAttribute.Name ?? parameter.Name ?? string.Empty, false, parameterType);
286return (BindingSource.Services, parameter.Name ?? string.Empty, false, parameterType);
300return (BindingSource.Query, parameter.Name ?? string.Empty, false, displayType);
305return (BindingSource.FormFile, parameter.Name ?? string.Empty, false, parameterType);
312return (BindingSource.Query, parameter.Name ?? string.Empty, false, parameterType);
316return (BindingSource.Body, parameter.Name ?? string.Empty, false, parameterType);
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
Microsoft.AspNetCore.Mvc.Core (38)
Microsoft.AspNetCore.Mvc.Core.Test (132)
Formatters\InputFormatterTest.cs (11)
41modelName: string.Empty,
75modelName: string.Empty,
106modelName: string.Empty,
140modelName: string.Empty,
171modelName: string.Empty,
208modelName: string.Empty,
238modelName: string.Empty,
276modelName: string.Empty,
305modelName: string.Empty,
387string.Empty,
416string.Empty,
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (8)
291ModelName = string.Empty,
317Assert.Equal(string.Empty, keyValuePair.Key);
343ModelName = string.Empty,
361Assert.Equal(string.Empty, keyValuePair.Key);
387ModelName = string.Empty,
405Assert.Equal(string.Empty, keyValuePair.Key);
728Assert.Equal(string.Empty, modelError.ErrorMessage);
1352get { return new BindingSource("Special", string.Empty, isGreedy: true, isFromRequest: true); }
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (9)
303ModelName = string.Empty,
351ModelName = string.Empty,
377Assert.Equal(string.Empty, keyValuePair.Key);
403ModelName = string.Empty,
421Assert.Equal(string.Empty, keyValuePair.Key);
447ModelName = string.Empty,
465Assert.Equal(string.Empty, keyValuePair.Key);
872Assert.Equal(string.Empty, modelError.ErrorMessage);
1527get { return new BindingSource("Special", string.Empty, isGreedy: true, isFromRequest: true); }
ModelBinding\JQueryQueryStringValueProviderFactoryTest.cs (1)
44string.Empty,
ModelBinding\ParameterBinderTest.cs (8)
44{ null, null, "parameterName", string.Empty },
45{ emptyBindingInfo, null, "parameterName", string.Empty },
48{ null, null, "parameterName", string.Empty },
130BinderModelName = string.Empty,
134Name = string.Empty,
143Name = string.Empty,
192var expectedKey = string.Empty;
600modelState.AddModelError(string.Empty, "This is also not valid.");
ModelBinding\Validation\DefaultObjectValidatorTests.cs (25)
96AssertKeysEqual(modelState, string.Empty, "parameter");
228validationState.Add(model, new ValidationStateEntry() { Key = string.Empty });
231validator.Validate(actionContext, validationState, string.Empty, model);
335validationState.Add(model, new ValidationStateEntry() { Key = string.Empty });
338validator.Validate(actionContext, validationState, string.Empty, model);
367validationState.Add(model, new ValidationStateEntry() { Key = string.Empty });
370validator.Validate(actionContext, validationState, string.Empty, model);
740AssertKeysEqual(modelState, string.Empty, "key1", "user.ConfirmPassword", "user.Password");
742var entry = modelState[string.Empty];
794validationState.Add(model, new ValidationStateEntry() { Key = string.Empty });
797validator.Validate(actionContext, validationState, string.Empty, model);
837validationState.Add(model, new ValidationStateEntry() { Key = string.Empty });
840validator.Validate(actionContext, validationState, string.Empty, model);
1036validationState.Add(model, new ValidationStateEntry() { Key = string.Empty });
1039validator.Validate(actionContext, validationState, string.Empty, model);
1098validator.Validate(actionContext, validationState, string.Empty, model);
1120validator.Validate(actionContext, validationState, string.Empty, model);
1238validator.Validate(actionContext, validationState, prefix: string.Empty, model);
1279var ex = Assert.Throws<InvalidOperationException>(() => validator.Validate(actionContext, validationState, prefix: string.Empty, model));
1299validator.Validate(actionContext, validationState, prefix: string.Empty, model);
1328validator.Validate(actionContext, validationState, prefix: string.Empty, model);
1351validator.Validate(actionContext, validationState, prefix: string.Empty, model);
1374validator.Validate(actionContext, validationState, string.Empty, model);
1405validator.Validate(actionContext, validationState, string.Empty, model);
1435validator.Validate(actionContext, validationState, string.Empty, model);
Routing\UrlHelperTestBase.cs (16)
146var helper = CreateUrlHelper(appRoot: string.Empty, host: "www.mysite.com", protocol: null);
161var helper = CreateUrlHelper(appRoot: string.Empty, host: "www.mysite.com", protocol: null);
175var helper = CreateUrlHelper(appRoot: string.Empty, host: "www.mysite.com", protocol: null);
192var helper = CreateUrlHelper(appRoot: string.Empty, host: "www.mysite.com", protocol: null);
210var helper = CreateUrlHelper(appRoot: string.Empty, host: "www.mysite.com", protocol: null);
229var helper = CreateUrlHelper(appRoot: string.Empty, host: "www.mysite.com", protocol: null);
246var helper = CreateUrlHelper(appRoot: string.Empty, host: "www.mysite.com", protocol: null);
265var helper = CreateUrlHelper(appRoot: string.Empty, host: "www.mysite.com", protocol: null);
280var helper = CreateUrlHelper(appRoot: string.Empty, host: "www.mysite.com", protocol: null);
298var helper = CreateUrlHelper(appRoot: string.Empty, host: "www.mysite.com", protocol: null);
317var helper = CreateUrlHelper(appRoot: string.Empty, host: "www.mysite.com", protocol: null);
363host: string.Empty);
385protocol: string.Empty,
862string.Empty,
1125appRoot = string.IsNullOrEmpty(appRoot) ? string.Empty : appRoot;
1147appRoot = string.IsNullOrEmpty(appRoot) ? string.Empty : appRoot;
Microsoft.AspNetCore.Mvc.Core.TestCommon (2)
Microsoft.AspNetCore.Mvc.Cors.Test (2)
Microsoft.AspNetCore.Mvc.DataAnnotations (3)
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (76)
DataAnnotationsMetadataProviderTest.cs (67)
217Name = string.Empty
228Assert.Equal(string.Empty, context.DisplayMetadata.DisplayName());
820new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName("Zero", string.Empty), "0"),
821new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithDisplayNames.One)), "1"),
822new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, "dos value"), "2"),
823new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, "tres value"), "3"),
824new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, "name from resources"), "-2"),
873new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName("Zero", string.Empty), "0"),
874new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithDisplayNames.One)), "1"),
875new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, "dos"), "2"),
876new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, "tres"), "3"),
877new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, "name from resources"), "-2"),
885new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName("Zero", string.Empty), "0"),
886new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithDisplayNames.One)), "1"),
887new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, "dos"), "2"),
888new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, "tres"), "3"),
889new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, "name from resources"), "-2"),
899new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithDuplicates.Zero)), "0"),
900new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithDuplicates.None)), "0"),
901new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithDuplicates.One)), "1"),
902new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithDuplicates.Two)), "2"),
903new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithDuplicates.Duece)), "2"),
904new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithDuplicates.Three)), "3"),
905new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithDuplicates.MoreThanTwo)), "3"),
912new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithDuplicates.Zero)), "0"),
913new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithDuplicates.None)), "0"),
914new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithDuplicates.One)), "1"),
915new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithDuplicates.Two)), "2"),
916new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithDuplicates.Duece)), "2"),
917new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithDuplicates.Three)), "3"),
918new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithDuplicates.MoreThanTwo)), "3"),
925new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithFlags.Zero)), "0"),
926new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithFlags.One)), "1"),
927new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithFlags.Two)), "2"),
928new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithFlags.Four)), "4"),
929new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithFlags.All)), "-1"),
936new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithFlags.Zero)), "0"),
937new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithFlags.One)), "1"),
938new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithFlags.Two)), "2"),
939new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithFlags.Four)), "4"),
940new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithFlags.All)), "-1"),
947new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithFields.Zero)), "0"),
948new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithFields.One)), "1"),
949new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithFields.Two)), "2"),
950new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithFields.Three)), "3"),
951new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithFields.MinusTwo)), "-2"),
952new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithFields.MinusOne)), "-1"),
959new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithFields.Zero)), "0"),
960new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithFields.One)), "1"),
961new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithFields.Two)), "2"),
962new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithFields.Three)), "3"),
963new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithFields.MinusTwo)), "-2"),
964new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithFields.MinusOne)), "-1"),
1000new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithDisplayOrder.Three)), "2"),
1001new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithDisplayOrder.Two)), "1"),
1002new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithDisplayOrder.One)), "0"),
1003new KeyValuePair<EnumGroupAndName, string>(new EnumGroupAndName(string.Empty, nameof(EnumWithDisplayOrder.Null)), "3"),
1745using (new CultureReplacer(string.Empty, string.Empty))
1754using (new CultureReplacer(string.Empty, string.Empty))
1930public string Property1 { get; set; } = string.Empty;
1935public string Property2 { get; set; } = string.Empty;
1940public string? Property2 { get; set; } = string.Empty;
1955public string Property2 { get; set; } = string.Empty;
1960public new string Property1 { get; set; } = string.Empty;
1970public override string Property { get; set; } = string.Empty;
DataAnnotationsModelValidatorTest.cs (9)
65new ModelValidationResult(memberName: string.Empty, message: string.Empty),
272new[] { new ModelValidationResult(memberName: string.Empty, message: errorMessage) } },
276new[] { new ModelValidationResult(memberName: string.Empty, message: errorMessage) }
281new[] { new ModelValidationResult(memberName: string.Empty, message: errorMessage) }
285new[] { string.Empty },
286new[] { new ModelValidationResult(memberName: string.Empty, message: errorMessage) }
292new[] { new ModelValidationResult(memberName: string.Empty, message: errorMessage) }
481string.Empty,
Microsoft.AspNetCore.Mvc.Formatters.Xml (3)
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (10)
Microsoft.AspNetCore.Mvc.FunctionalTests (36)
HtmlGenerationTest.cs (11)
327new KeyValuePair<string,string>("Number", string.Empty),
328new KeyValuePair<string,string>("Name", string.Empty),
329new KeyValuePair<string,string>("Email", string.Empty),
330new KeyValuePair<string,string>("PhoneNumber", string.Empty),
331new KeyValuePair<string,string>("Password", string.Empty)
379new KeyValuePair<string,string>("Number", string.Empty),
380new KeyValuePair<string,string>("Name", string.Empty),
381new KeyValuePair<string,string>("Email", string.Empty),
382new KeyValuePair<string,string>("PhoneNumber", string.Empty),
383new KeyValuePair<string,string>("Password", string.Empty),
384new KeyValuePair<string,string>("Address", string.Empty),
Microsoft.AspNetCore.Mvc.IntegrationTests (45)
CollectionModelBinderIntegrationTest.cs (5)
848{ string.Empty, new[] { "hello", "world" } },
864{ string.Empty, new[] { "hello", "world" } },
880{ string.Empty, new[] { "hello", "world" } },
896{ string.Empty, new[] { "hello", "world" } },
912{ string.Empty, new[] { "hello", "world" } },
TryUpdateModelIntegrationTest.cs (17)
38var result = await TryUpdateModelAsync(model, string.Empty, testContext);
73var result = await TryUpdateModelAsync(model, string.Empty, testContext);
131var result = await TryUpdateModelAsync(model, string.Empty, testContext);
181var result = await TryUpdateModelAsync(model, string.Empty, testContext);
222var result = await TryUpdateModelAsync(model, string.Empty, testContext);
262var result = await TryUpdateModelAsync(model, string.Empty, testContext);
324var result = await TryUpdateModelAsync(model, string.Empty, testContext);
365var result = await TryUpdateModelAsync(model, string.Empty, testContext);
428var result = await TryUpdateModelAsync(model, string.Empty, testContext);
475var result = await TryUpdateModelAsync(model, string.Empty, testContext);
517var result = await TryUpdateModelAsync(model, string.Empty, testContext);
558var result = await TryUpdateModelAsync(model, string.Empty, testContext);
605var result = await TryUpdateModelAsync(model, string.Empty, testContext);
1115var result = await TryUpdateModelAsync(model, string.Empty, testContext);
1159var ex = await Assert.ThrowsAsync<NotSupportedException>(() => TryUpdateModelAsync(model, string.Empty, testContext));
1183var result = await TryUpdateModelAsync(model, string.Empty, testContext);
1235var result = await TryUpdateModelAsync(model, string.Empty, testContext);
Microsoft.AspNetCore.Mvc.Localization.Test (1)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (7)
Microsoft.AspNetCore.Mvc.Razor (2)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (7)
src\Mvc\Mvc.RazorPages\src\ApplicationModels\PageRouteModelFactory.cs (1)
73string.Empty :
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (3)
Microsoft.AspNetCore.Mvc.Razor.Test (20)
RazorPageTest.cs (19)
28private readonly Func<TextWriter, Task> NullAsyncWrite = writer => writer.WriteAsync(string.Empty);
951string.Empty, 9, (object)"Hello", 9, true, "Hello"
958" ", 9, (object)null, 10, false, string.Empty
984uniqueId: string.Empty,
1026uniqueId: string.Empty,
1062Tuple.Create(string.Empty, 9, (object)"prefix", 9, true),
1072uniqueId: string.Empty,
1115uniqueId: string.Empty,
1122page.AddHtmlAttributeValue(string.Empty, 9, attributeValue, 9, valueLength: 0, isLiteral: false);
1145uniqueId: string.Empty,
1152page.AddHtmlAttributeValue(string.Empty, 9, true, 9, valueLength: 0, isLiteral: false);
1176string.Empty, 9, (object)true, 9, false, "someattr=HtmlEncode[[someattr]]"
1179string.Empty, 9, (object)false, 9, false, string.Empty
1182string.Empty, 9, (object)null, 9, false, string.Empty
1208var suffix = string.Empty;
1242var suffix = string.Empty;
1359var buffer = new ViewBuffer(new TestViewBufferScope(), string.Empty, pageSize: 32);
Microsoft.AspNetCore.Mvc.RazorPages (9)
DependencyInjection\PageConventionCollectionExtensions.cs (4)
220AuthorizePage(conventions, pageName, policy: string.Empty);
236=> AuthorizeAreaPage(conventions, areaName, pageName, policy: string.Empty);
309AuthorizeFolder(conventions, folderPath, policy: string.Empty);
325=> AuthorizeAreaFolder(conventions, areaName, folderPath, policy: string.Empty);
Microsoft.AspNetCore.Mvc.RazorPages.Test (16)
Microsoft.AspNetCore.Mvc.TagHelpers (7)
Microsoft.AspNetCore.Mvc.TagHelpers.Test (146)
AnchorTagHelperTest.cs (16)
106output.Content.SetContent(string.Empty);
112string.Empty,
156output.Content.SetContent(string.Empty);
162string.Empty,
208output.Content.SetContent(string.Empty);
216string.Empty,
266output.Content.SetContent(string.Empty);
274string.Empty,
325output.Content.SetContent(string.Empty);
328var expectedRouteValues = new Dictionary<string, object> { { "area", string.Empty } };
333string.Empty,
347Area = string.Empty,
383output.Content.SetContent(string.Empty);
389string.Empty,
434output.Content.SetContent(string.Empty);
440string.Empty,
InputTagHelperTest.cs (23)
210var isChecked = (bool.Parse(possibleBool) ? isCheckedAttr : string.Empty);
265var modelExpression = new ModelExpression(name: string.Empty, modelExplorer: modelExplorer);
308var modelExpression = new ModelExpression(name: string.Empty, modelExplorer: modelExplorer);
360var modelExpression = new ModelExpression(name: string.Empty, modelExplorer: modelExplorer);
416var modelExpression = new ModelExpression(name: string.Empty, modelExplorer: modelExplorer);
472var modelExpression = new ModelExpression(name: string.Empty, modelExplorer: modelExplorer);
521var modelExpression = new ModelExpression(name: string.Empty, modelExplorer: modelExplorer);
590string.Empty },
593string.Empty },
598new NameAndId("NestedModel.Text", "NestedModel_Text"), string.Empty },
603new NameAndId("[0].Text", "z0__Text"), string.Empty },
608new NameAndId("[0].NestedModel.Text", "z0__NestedModel_Text"), string.Empty },
847var modelExpression = new ModelExpression(name: string.Empty, modelExplorer: modelExplorer);
880: string.Empty;
922var modelExpression = new ModelExpression(name: string.Empty, modelExplorer: modelExplorer);
981var modelExpression = new ModelExpression(name: string.Empty, modelExplorer: modelExplorer);
1041var modelExpression = new ModelExpression(name: string.Empty, modelExplorer: modelExplorer);
1101var modelExpression = new ModelExpression(name: string.Empty, modelExplorer: modelExplorer);
1343var modelExpression = new ModelExpression(name: string.Empty, modelExplorer: modelExplorer);
1811Assert.Equal(string.Empty, output.Content.GetContent());
1880Assert.Equal(string.Empty, output.Content.GetContent());
1949Assert.Equal(string.Empty, output.Content.GetContent());
2043Assert.Equal(string.Empty, output.Content.GetContent());
LabelTagHelperTest.cs (51)
43new TagHelperOutputContent(string.Empty, Environment.NewLine, Environment.NewLine, "Text") },
45new TagHelperOutputContent(Environment.NewLine, string.Empty, "HtmlEncode[[Text]]", "Text") },
48new TagHelperOutputContent(string.Empty, Environment.NewLine, Environment.NewLine, "Text") },
50new TagHelperOutputContent(Environment.NewLine, string.Empty, "HtmlEncode[[Text]]", "Text") },
54new TagHelperOutputContent(string.Empty, Environment.NewLine, Environment.NewLine, "Text") },
56new TagHelperOutputContent(Environment.NewLine, string.Empty, "HtmlEncode[[Text]]", "Text") },
60new TagHelperOutputContent(string.Empty, "Hello World", "Hello World", "Text") },
62new TagHelperOutputContent(string.Empty, "Hello World", "Hello World", "Text") },
64new TagHelperOutputContent("Hello World", string.Empty, "Hello World", "Text") },
66new TagHelperOutputContent("Hello World", string.Empty, "Hello World", "Text") },
73new TagHelperOutputContent(Environment.NewLine, string.Empty, "HtmlEncode[[Text]]", "NestedModel_Text") },
77new TagHelperOutputContent(string.Empty, Environment.NewLine, Environment.NewLine, "NestedModel_Text") },
79new TagHelperOutputContent(Environment.NewLine, string.Empty, "HtmlEncode[[Text]]", "NestedModel_Text") },
83new TagHelperOutputContent(string.Empty, Environment.NewLine, Environment.NewLine, "NestedModel_Text") },
85new TagHelperOutputContent(string.Empty, "Hello World", "Hello World", "NestedModel_Text") },
87new TagHelperOutputContent(string.Empty, "Hello World", "Hello World", "NestedModel_Text") },
89new TagHelperOutputContent("Hello World", string.Empty, "Hello World", "NestedModel_Text") },
91new TagHelperOutputContent("Hello World", string.Empty, "Hello World", "NestedModel_Text") },
98new TagHelperOutputContent(Environment.NewLine, string.Empty, "HtmlEncode[[Text]]", "z0__Text") },
102new TagHelperOutputContent(string.Empty, Environment.NewLine, Environment.NewLine, "z0__Text") },
104new TagHelperOutputContent(Environment.NewLine, string.Empty, "HtmlEncode[[Text]]", "z1__Text") },
108new TagHelperOutputContent(string.Empty, Environment.NewLine, Environment.NewLine, "z1__Text") },
110new TagHelperOutputContent(string.Empty, "Hello World", "Hello World", "z0__Text") },
112new TagHelperOutputContent(string.Empty, "Hello World", "Hello World", "z1__Text") },
114new TagHelperOutputContent("Hello World", string.Empty, "Hello World", "z0__Text") },
116new TagHelperOutputContent("Hello World", string.Empty, "Hello World", "z1__Text") },
123new TagHelperOutputContent(Environment.NewLine, string.Empty, "HtmlEncode[[Text]]", "z0__NestedModel_Text") },
127new TagHelperOutputContent(string.Empty, Environment.NewLine, Environment.NewLine, "z0__NestedModel_Text") },
129new TagHelperOutputContent(Environment.NewLine, string.Empty, "HtmlEncode[[Text]]", "z1__NestedModel_Text") },
133new TagHelperOutputContent(string.Empty, Environment.NewLine, Environment.NewLine, "z1__NestedModel_Text") },
135new TagHelperOutputContent(string.Empty, "Hello World", "Hello World", "z0__NestedModel_Text") },
137new TagHelperOutputContent(string.Empty, "Hello World", "Hello World", "z1__NestedModel_Text") },
139new TagHelperOutputContent("Hello World", string.Empty, "Hello World", "z0__NestedModel_Text") },
141new TagHelperOutputContent("Hello World", string.Empty, "Hello World", "z1__NestedModel_Text") },
237null, string.Empty, string.Empty, $"HtmlEncode[[{nameof(NestedModel.Text)}]]", nameof(NestedModel.Text)
240string.Empty, string.Empty, string.Empty, string.Empty, nameof(NestedModel.Text)
243"a label", string.Empty, string.Empty, "HtmlEncode[[a label]]", nameof(NestedModel.Text)
246null, "original label", string.Empty, "original label", nameof(NestedModel.Text)
249string.Empty, "original label", string.Empty, "original label", nameof(NestedModel.Text)
252"a label", "original label", string.Empty, "original label", nameof(NestedModel.Text)
255null, string.Empty, "prefix", $"HtmlEncode[[{nameof(NestedModel.Text)}]]", $"prefix_{nameof(NestedModel.Text)}"
258string.Empty, string.Empty, "prefix", string.Empty, $"prefix_{nameof(NestedModel.Text)}"
261"a label", string.Empty, "prefix", "HtmlEncode[[a label]]", $"prefix_{nameof(NestedModel.Text)}"
OptionTagHelperTest.cs (27)
32null, string.Empty, "value", null,
62null, null, "value", new HashSet<string>(new [] { string.Empty, }),
72null, string.Empty, "value", new HashSet<string>(new [] { string.Empty, }),
92null, null, "value", new HashSet<string>(new [] { string.Empty, "value", }),
102string.Empty, null, null, null,
112string.Empty, string.Empty, null, null,
122string.Empty, "selected", null, null,
132string.Empty, null, null, new HashSet<string>(),
142string.Empty, null, null, new HashSet<string>(new [] { string.Empty, }),
152string.Empty, string.Empty, null,
153new HashSet<string>(new [] { string.Empty, }),
163string.Empty, null, null, new HashSet<string>(new [] { "text", }),
173string.Empty, null, null,
174new HashSet<string>(new [] { string.Empty, "text", }),
194"text", string.Empty, null, null,
224"text", null, null, new HashSet<string>(new [] { string.Empty, }),
244"text", string.Empty, null, new HashSet<string>(new [] { "text", }),
255new HashSet<string>(new [] { string.Empty, "text", }),
265"text", string.Empty, "value", null,
295"text", null, "value", new HashSet<string>(new [] { string.Empty, }),
305"text", string.Empty, "value",
306new HashSet<string>(new [] { string.Empty, }),
337new HashSet<string>(new [] { string.Empty, "value", }),
SelectTagHelperTest.cs (8)
111{ "mUltiple", string.Empty },
149{ typeof(object), string.Empty, false },
466var modelExpression = new ModelExpression(name: string.Empty, modelExplorer: modelExplorer);
580var modelExpression = new ModelExpression(string.Empty, modelExplorer);
588string.Empty, // expression
597string.Empty, // expression
715var modelExpression = new ModelExpression(name: string.Empty, modelExplorer: modelExplorer);
747var modelExpression = new ModelExpression(name: string.Empty, modelExplorer: modelExplorer);
Microsoft.AspNetCore.Mvc.Testing (1)
Microsoft.AspNetCore.Mvc.ViewFeatures (38)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (221)
DefaultDisplayTemplatesTest.cs (15)
127.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
130.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
262.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
265.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
284.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
287.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
306.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
309.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
329.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
332.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
340Assert.Equal(string.Empty, HtmlContentUtilities.HtmlContentToString(result));
358.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
377.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
380.Returns(ViewEngineResult.Found(string.Empty, new Mock<IView>().Object))
385html.Display(expression: string.Empty, templateName: null, htmlFieldName: null, additionalViewData: null);
DefaultEditorTemplatesTest.cs (54)
28{ string.Empty, "__TextBox__ class='text-box single-line'" },
99.Returns(string.Empty);
118writer.Write(string.Empty);
131.Returns(string.Empty);
149{ HtmlString.Empty, string.Empty },
156{ new StringHtmlContent(string.Empty), string.Empty },
159{ noopContentWithEmptyToString.Object, string.Empty },
160{ noopContentWithNonEmptyToString.Object, string.Empty },
161{ busyNoopContentWithNonEmptyToString.Object, string.Empty },
227.DisplayDetails(dd => dd.DisplayName = () => string.Empty);
357.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
575.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
578.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
608.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
611.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
640.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
643.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
683.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
686.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
725.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
728.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
768.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
771.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
809.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
812.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
847.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
850.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
863string.Empty,
913.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
916.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
934var result = helper.Editor(string.Empty);
984.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
987.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
1006var result = helper.Editor(string.Empty);
1054.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
1057.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
1075var result = helper.Editor(string.Empty);
1123.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
1126.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
1145var result = helper.Editor(string.Empty);
1189.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
1192.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
1212var result = helper.Editor(string.Empty);
1226.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
1229.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
1250.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
1253.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
1275.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
1278.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
1306.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
1325.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
1328.Returns(ViewEngineResult.Found(string.Empty, new Mock<IView>().Object))
1333html.Editor(expression: string.Empty, templateName: null, htmlFieldName: null, additionalViewData: null);
DefaultHtmlGeneratorTest.cs (22)
552{ new string[] { null }, true, new [] { string.Empty } },
553{ new [] { string.Empty }, false, new [] { string.Empty } },
554{ new [] { string.Empty }, true, new [] { string.Empty } },
558new [] { string.Empty, "some string", "some other string" }
564new [] { string.Empty, "some string", "some other string" }
647{ new string[] { string.Empty }, new [] { string.Empty } },
737{ new string[] { null }, new [] { string.Empty } },
738{ new [] { string.Empty }, new [] { string.Empty } },
743new [] { string.Empty, "some string", "some other string" }
748new [] { string.Empty, "some string", "some other string" }
854{ nameof(Model.FlagsEnum), string.Empty, new [] { string.Empty } },
872{ nameof(Model.Id), string.Empty, new [] { string.Empty } },
889{ nameof(Model.NullableEnum), string.Empty, new [] { string.Empty } },
909{ nameof(Model.RegularEnum), string.Empty, new [] { string.Empty } },
Rendering\HtmlHelperDisplayExtensionsTest.cs (19)
26.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
29.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
33var displayResult = helper.Display(expression: string.Empty);
57.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
78.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
140.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
166.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
192.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
220.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
248.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
269.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
295.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
326.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
367.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
392.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
420.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
441.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
467.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
494.Returns(ViewEngineResult.NotFound(string.Empty, Enumerable.Empty<string>()));
Rendering\HtmlHelperLinkGenerationTest.cs (4)
58expectedLink = expectedLink.Replace("HtmlEncode[[]]", string.Empty);
127expectedLink = expectedLink.Replace("HtmlEncode[[]]", string.Empty);
160return string.Join(string.Empty, dict.Select(kvp => string.Format(CultureInfo.InvariantCulture, "{0}={1}", kvp.Key, kvp.Value.ToString())));
166return string.Join(string.Empty, dict.Select(kvp => string.Format(CultureInfo.InvariantCulture, " {0}=\"HtmlEncode[[{1}]]\"", kvp.Key, kvp.Value.ToString())));
Rendering\HtmlHelperTest.cs (12)
51{ null, string.Empty },
53{ string.Empty, string.Empty },
71{ null, string.Empty },
72{ string.Empty, string.Empty },
90{ null, string.Empty },
92{ string.Empty, string.Empty },
126{ null, string.Empty },
127{ string.Empty, string.Empty },
Rendering\HtmlHelperValidationSummaryTest.cs (12)
85{ true, false, divWithError, string.Empty },
86{ true, true, divWithError, string.Empty },
117{ false, string.Empty, divWithAllErrors },
120{ true, string.Empty, divWithRootError },
122{ true, "some.unrelated.prefix", string.Empty },
209html.ViewData.ModelState.AddModelError(string.Empty, "This is my validation message");
565helper.ViewData.ModelState.AddModelError(string.Empty, "Error for root");
623helper.ViewData.ModelState.AddModelError(string.Empty, "Error for root");
643helper.ViewData.ModelState.AddModelError(string.Empty, "Error for root");
681modelState.AddModelError(string.Empty, "This is an error for the model root.");
682modelState.AddModelError(string.Empty, "This is another error for the model root.");
683modelState.AddModelError(string.Empty, new InvalidOperationException("Another ignored Exception."), metadata);
Microsoft.AspNetCore.Mvc.Views.TestCommon (1)
Microsoft.AspNetCore.OpenApi (5)
Microsoft.AspNetCore.OpenApi.SourceGenerators (12)
Microsoft.AspNetCore.OpenApi.Tests (16)
Microsoft.AspNetCore.OutputCaching (7)
Microsoft.AspNetCore.OutputCaching.Tests (4)
Microsoft.AspNetCore.Owin (14)
OwinEnvironment.cs (6)
409{ OwinConstants.RequestProtocol, new FeatureMap<IHttpRequestFeature>(feature => feature.Protocol, () => string.Empty, (feature, value) => feature.Protocol = Convert.ToString(value, CultureInfo.InvariantCulture)) },
410{ OwinConstants.RequestScheme, new FeatureMap<IHttpRequestFeature>(feature => feature.Scheme, () => string.Empty, (feature, value) => feature.Scheme = Convert.ToString(value, CultureInfo.InvariantCulture)) },
411{ OwinConstants.RequestMethod, new FeatureMap<IHttpRequestFeature>(feature => feature.Method, () => string.Empty, (feature, value) => feature.Method = Convert.ToString(value, CultureInfo.InvariantCulture)) },
412{ OwinConstants.RequestPathBase, new FeatureMap<IHttpRequestFeature>(feature => feature.PathBase, () => string.Empty, (feature, value) => feature.PathBase = Convert.ToString(value, CultureInfo.InvariantCulture)) },
413{ OwinConstants.RequestPath, new FeatureMap<IHttpRequestFeature>(feature => feature.Path, () => string.Empty, (feature, value) => feature.Path = Convert.ToString(value, CultureInfo.InvariantCulture)) },
414{ OwinConstants.RequestQueryString, new FeatureMap<IHttpRequestFeature>(feature => Utilities.RemoveQuestionMark(feature.QueryString), () => string.Empty, (feature, value) => feature.QueryString = Utilities.AddQuestionMark(Convert.ToString(value, CultureInfo.InvariantCulture))) },
Microsoft.AspNetCore.Razor (1)
Microsoft.AspNetCore.Razor.Runtime (1)
Microsoft.AspNetCore.Razor.Runtime.Test (16)
Runtime\TagHelpers\TagHelperExecutionContextTest.cs (13)
22uniqueId: string.Empty,
45uniqueId: string.Empty,
70uniqueId: string.Empty,
105uniqueId: string.Empty,
124uniqueId: string.Empty,
219uniqueId: string.Empty,
273uniqueId: string.Empty,
301uniqueId: string.Empty,
323uniqueId: string.Empty,
350uniqueId: string.Empty,
377uniqueId: string.Empty,
407uniqueId: string.Empty,
434uniqueId: string.Empty,
Microsoft.AspNetCore.Razor.Test (28)
TagHelpers\TagHelperOutputTest.cs (17)
424tagName: string.Empty,
734tagName: string.Empty,
746tagName: string.Empty,
782tagName: string.Empty,
794tagName: string.Empty,
845tagName: string.Empty,
857tagName: string.Empty,
893tagName: string.Empty,
965tagName: string.Empty,
989tagName: string.Empty,
1001tagName: string.Empty,
1013tagName: string.Empty,
1080Assert.Equal(string.Empty, output.PreElement.GetContent());
1081Assert.Equal(string.Empty, output.PreContent.GetContent());
1082Assert.Equal(string.Empty, output.Content.GetContent());
1083Assert.Equal(string.Empty, output.PostContent.GetContent());
1084Assert.Equal(string.Empty, output.PostElement.GetContent());
Microsoft.AspNetCore.ResponseCaching (2)
Microsoft.AspNetCore.ResponseCaching.Tests (9)
Microsoft.AspNetCore.Rewrite (10)
Microsoft.AspNetCore.Rewrite.Tests (11)
Microsoft.AspNetCore.Routing (34)
Microsoft.AspNetCore.Routing.Abstractions (1)
Microsoft.AspNetCore.Routing.Tests (59)
DefaultLinkGeneratorProcessTemplateTest.cs (38)
34Assert.Equal(string.Empty, result.query.ToUriComponent());
59Assert.Equal(string.Empty, result.query.ToUriComponent());
91Assert.Equal(string.Empty, result.query.ToUriComponent());
114Assert.Equal(string.Empty, result.query.ToUriComponent());
206Assert.Equal(string.Empty, result.query.ToUriComponent());
252Assert.Equal(string.Empty, result.query.ToUriComponent());
280Assert.Equal(string.Empty, result.query.ToUriComponent());
309Assert.Equal(string.Empty, result.query.ToUriComponent());
333Assert.Equal(string.Empty, result.query.ToUriComponent());
365Assert.Equal(string.Empty, result.query.ToUriComponent());
434Assert.Equal(string.Empty, result.query.ToUriComponent());
502Assert.Equal(string.Empty, result.query.ToUriComponent());
535Assert.Equal(string.Empty, result.query.ToUriComponent());
641Assert.Equal(string.Empty, result.query.ToUriComponent());
691Assert.Equal(string.Empty, result.query.ToUriComponent());
741Assert.Equal(string.Empty, result.query.ToUriComponent());
778Assert.Equal(string.Empty, result.query.ToUriComponent());
812Assert.Equal(string.Empty, result.query.ToUriComponent());
845Assert.Equal(string.Empty, result.query.ToUriComponent());
877Assert.Equal(string.Empty, result.query.ToUriComponent());
911Assert.Equal(string.Empty, result.query.ToUriComponent());
941Assert.Equal(string.Empty, result.query.ToUriComponent());
993Assert.Equal(string.Empty, result.query.ToUriComponent());
1019Assert.Equal(string.Empty, result.query.ToUriComponent());
1071Assert.Equal(string.Empty, result.query.ToUriComponent());
1124Assert.Equal(string.Empty, result.query.ToUriComponent());
1147Assert.Equal(string.Empty, result.query.ToUriComponent());
1170Assert.Equal(string.Empty, result.query.ToUriComponent());
1195Assert.Equal(string.Empty, result.query.ToUriComponent());
1220Assert.Equal(string.Empty, result.query.ToUriComponent());
1267Assert.Equal(string.Empty, result.query.ToUriComponent());
1289Assert.Equal(string.Empty, result.query.ToUriComponent());
1312Assert.Equal(string.Empty, result.query.ToUriComponent());
1335Assert.Equal(string.Empty, result.query.ToUriComponent());
1358Assert.Equal(string.Empty, result.query.ToUriComponent());
1381Assert.Equal(string.Empty, result.query.ToUriComponent());
1485Assert.Equal(string.Empty, result.query.ToUriComponent());
1513Assert.Equal(string.Empty, result.query.ToUriComponent());
Microsoft.AspNetCore.Server.HttpSys (27)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (73)
Listener\ServerOnExistingQueueTests.cs (17)
30Assert.Equal(string.Empty, response);
86Assert.Equal(string.Empty, response);
104Assert.Equal(string.Empty, response);
116Assert.Equal(string.Empty, context.Request.PathBase);
121Assert.Equal(string.Empty, response);
146Assert.Equal(string.Empty, response);
166Assert.Equal(string.Empty, response);
180Assert.Equal(string.Empty, context.Request.PathBase);
185Assert.Equal(string.Empty, response);
199Assert.Equal(string.Empty, response);
221Assert.Equal(string.Empty, response);
229Assert.Equal(string.Empty, context.Request.PathBase);
234Assert.Equal(string.Empty, response);
267Assert.Equal(string.Empty, response);
287Assert.Equal(string.Empty, response);
307Assert.Equal(string.Empty, response);
315Assert.Equal(string.Empty, response);
Utilities.cs (5)
47return CreateDynamicHttpServer(string.Empty, out root, out baseAddress, options => { }, app, loggerFactory);
53return CreateDynamicHttpServer(string.Empty, out root, out baseAddress, configureOptions, app, loggerFactory);
65return CreateDynamicHttpServer(string.Empty, out root, out baseAddress, options =>
74return CreateDynamicHost(string.Empty, out root, out var baseAddress, options =>
83return CreateDynamicHost(string.Empty, out var root, out baseAddress, configureOptions, app, loggerFactory);
Microsoft.AspNetCore.Server.HttpSys.NonHelixTests (1)
Microsoft.AspNetCore.Server.IIS (29)
Microsoft.AspNetCore.Server.IISIntegration.Tests (2)
Microsoft.AspNetCore.Server.IntegrationTesting (4)
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
Microsoft.AspNetCore.Server.Kestrel.Core (42)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (24)
src\Shared\test\Shared.Tests\runtime\Http2\HPackDecoderTest.cs (6)
278Assert.Equal(SR.Format(SR.net_http_invalid_header_name, string.Empty), exception.Message);
290TestDecodeWithoutIndexing(encoded, _headerNameString, string.Empty);
302Assert.Equal(SR.Format(SR.net_http_invalid_header_name, string.Empty), exception.Message);
326Assert.Equal(SR.Format(SR.net_http_invalid_header_name, string.Empty), exception.Message);
349TestDecodeWithoutIndexing(encoded, _headerNameString, string.Empty);
372Assert.Equal(SR.Format(SR.net_http_invalid_header_name, string.Empty), exception.Message);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
Microsoft.AspNetCore.Session (5)
Microsoft.AspNetCore.Session.Tests (18)
Microsoft.AspNetCore.Shared.Tests (22)
QueryStringEnumerableTest.cs (7)
41kvp => AssertKeyValuePair("key1", string.Empty, kvp),
42kvp => AssertKeyValuePair("key2", string.Empty, kvp));
49kvp => AssertKeyValuePair(string.Empty, "value1", kvp),
50kvp => AssertKeyValuePair(string.Empty, string.Empty, kvp));
57kvp => AssertKeyValuePair("fields+%5BtodoItems%5D", string.Empty, kvp));
64kvp => AssertKeyValuePair(string.Empty, "fields+%5BtodoItems%5D", kvp));
runtime\Http2\HPackDecoderTest.cs (6)
278Assert.Equal(SR.Format(SR.net_http_invalid_header_name, string.Empty), exception.Message);
290TestDecodeWithoutIndexing(encoded, _headerNameString, string.Empty);
302Assert.Equal(SR.Format(SR.net_http_invalid_header_name, string.Empty), exception.Message);
326Assert.Equal(SR.Format(SR.net_http_invalid_header_name, string.Empty), exception.Message);
349TestDecodeWithoutIndexing(encoded, _headerNameString, string.Empty);
372Assert.Equal(SR.Format(SR.net_http_invalid_header_name, string.Empty), exception.Message);
Microsoft.AspNetCore.SignalR.Client.Core (3)
Microsoft.AspNetCore.SignalR.Client.SourceGenerator (2)
Microsoft.AspNetCore.SignalR.Client.Tests (7)
Microsoft.AspNetCore.SignalR.Common (3)
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
Microsoft.AspNetCore.SignalR.Tests (13)
HubConnectionHandlerTests.cs (7)
2026HubConnectionHandlerTestUtils.AssertHubMessage(new StreamItemMessage(string.Empty, "0"), messages[0]);
2027HubConnectionHandlerTestUtils.AssertHubMessage(new StreamItemMessage(string.Empty, "1"), messages[1]);
2028HubConnectionHandlerTestUtils.AssertHubMessage(new StreamItemMessage(string.Empty, "2"), messages[2]);
2029HubConnectionHandlerTestUtils.AssertHubMessage(new StreamItemMessage(string.Empty, "3"), messages[3]);
2030HubConnectionHandlerTestUtils.AssertHubMessage(CompletionMessage.Empty(string.Empty), messages[4]);
4493HubConnectionHandlerTestUtils.AssertHubMessage(new StreamItemMessage(string.Empty, argument.Value), messages[0]);
4494HubConnectionHandlerTestUtils.AssertHubMessage(CompletionMessage.Empty(string.Empty), messages[1]);
Microsoft.AspNetCore.SpaServices.Extensions (2)
Microsoft.AspNetCore.StaticAssets (2)
Microsoft.AspNetCore.StaticFiles (2)
Microsoft.AspNetCore.StaticFiles.FunctionalTests (1)
Microsoft.AspNetCore.StaticFiles.Tests (9)
Microsoft.AspNetCore.TestHost (6)
Microsoft.AspNetCore.TestHost.Tests (1)
Microsoft.AspNetCore.Tests (10)
Microsoft.AspNetCore.WebSockets.ConformanceTests (1)
Microsoft.AspNetCore.WebSockets.Tests (3)
Microsoft.AspNetCore.WebUtilities (93)
ReasonPhrases.cs (90)
30/* 209 */ string.Empty,
31/* 210 */ string.Empty,
32/* 211 */ string.Empty,
33/* 212 */ string.Empty,
34/* 213 */ string.Empty,
35/* 214 */ string.Empty,
36/* 215 */ string.Empty,
37/* 216 */ string.Empty,
38/* 217 */ string.Empty,
39/* 218 */ string.Empty,
40/* 219 */ string.Empty,
41/* 220 */ string.Empty,
42/* 221 */ string.Empty,
43/* 222 */ string.Empty,
44/* 223 */ string.Empty,
45/* 224 */ string.Empty,
46/* 225 */ string.Empty,
81/* 420 */ string.Empty,
86/* 425 */ string.Empty,
88/* 427 */ string.Empty,
91/* 430 */ string.Empty,
93/* 432 */ string.Empty,
94/* 433 */ string.Empty,
95/* 434 */ string.Empty,
96/* 435 */ string.Empty,
97/* 436 */ string.Empty,
98/* 437 */ string.Empty,
99/* 438 */ string.Empty,
100/* 439 */ string.Empty,
101/* 440 */ string.Empty,
102/* 441 */ string.Empty,
103/* 442 */ string.Empty,
104/* 443 */ string.Empty,
105/* 444 */ string.Empty,
106/* 445 */ string.Empty,
107/* 446 */ string.Empty,
108/* 447 */ string.Empty,
109/* 448 */ string.Empty,
110/* 449 */ string.Empty,
111/* 450 */ string.Empty,
113/* 452 */ string.Empty,
114/* 453 */ string.Empty,
115/* 454 */ string.Empty,
116/* 455 */ string.Empty,
117/* 456 */ string.Empty,
118/* 457 */ string.Empty,
119/* 458 */ string.Empty,
120/* 459 */ string.Empty,
121/* 460 */ string.Empty,
122/* 461 */ string.Empty,
123/* 462 */ string.Empty,
124/* 463 */ string.Empty,
125/* 464 */ string.Empty,
126/* 465 */ string.Empty,
127/* 466 */ string.Empty,
128/* 467 */ string.Empty,
129/* 468 */ string.Empty,
130/* 469 */ string.Empty,
131/* 470 */ string.Empty,
132/* 471 */ string.Empty,
133/* 472 */ string.Empty,
134/* 473 */ string.Empty,
135/* 474 */ string.Empty,
136/* 475 */ string.Empty,
137/* 476 */ string.Empty,
138/* 477 */ string.Empty,
139/* 478 */ string.Empty,
140/* 479 */ string.Empty,
141/* 480 */ string.Empty,
142/* 481 */ string.Empty,
143/* 482 */ string.Empty,
144/* 483 */ string.Empty,
145/* 484 */ string.Empty,
146/* 485 */ string.Empty,
147/* 486 */ string.Empty,
148/* 487 */ string.Empty,
149/* 488 */ string.Empty,
150/* 489 */ string.Empty,
151/* 490 */ string.Empty,
152/* 491 */ string.Empty,
153/* 492 */ string.Empty,
154/* 493 */ string.Empty,
155/* 494 */ string.Empty,
156/* 495 */ string.Empty,
157/* 496 */ string.Empty,
158/* 497 */ string.Empty,
159/* 498 */ string.Empty,
172/* 509 */ string.Empty,
182/// <returns>The reason phrase, or <see cref="string.Empty"/> if the status code is unknown.</returns>
194return string.Empty;
Microsoft.AspNetCore.WebUtilities.Tests (7)
QueryHelpersTests.cs (5)
42Assert.Equal(string.Empty, collection["key1"].FirstOrDefault());
43Assert.Equal(string.Empty, collection["key2"].FirstOrDefault());
162{ "another", string.Empty },
193{ "param1", new StringValues(new [] { "value1", string.Empty, "value3" }) },
194{ "param2", string.Empty },
Microsoft.Build.Framework (39)
Microsoft.Build.Tasks.CodeAnalysis (4)
Microsoft.Build.Tasks.CodeAnalysis.Sdk (5)
Microsoft.Build.Tasks.CodeAnalysis.Sdk.UnitTests (1)
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (16)
Microsoft.Cci.Extensions (5)
Microsoft.CodeAnalysis (82)
Microsoft.CodeAnalysis.Analyzers (39)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleHelpers.cs (1)
193: string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StringExtensions.cs (1)
63: string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionKey2.cs (1)
56: string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationSymbolFactory.cs (1)
394name: string.Empty,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationArrayTypeSymbol.cs (1)
10internal sealed class CodeGenerationArrayTypeSymbol(ITypeSymbol elementType, int rank, NullableAnnotation nullableAnnotation) : CodeGenerationTypeSymbol(null, null, default, Accessibility.NotApplicable, default, string.Empty, SpecialType.None, nullableAnnotation), IArrayTypeSymbol
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationConstructorSymbol.cs (1)
22name: string.Empty,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationDestructorSymbol.cs (1)
18name: string.Empty,
Microsoft.CodeAnalysis.AnalyzerUtilities (35)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleHelpers.cs (1)
193: string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StringExtensions.cs (1)
63: string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionKey2.cs (1)
56: string.Empty;
Microsoft.CodeAnalysis.BannedApiAnalyzers (39)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleHelpers.cs (1)
193: string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StringExtensions.cs (1)
63: string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionKey2.cs (1)
56: string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationSymbolFactory.cs (1)
394name: string.Empty,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationArrayTypeSymbol.cs (1)
10internal sealed class CodeGenerationArrayTypeSymbol(ITypeSymbol elementType, int rank, NullableAnnotation nullableAnnotation) : CodeGenerationTypeSymbol(null, null, default, Accessibility.NotApplicable, default, string.Empty, SpecialType.None, nullableAnnotation), IArrayTypeSymbol
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationConstructorSymbol.cs (1)
22name: string.Empty,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationDestructorSymbol.cs (1)
18name: string.Empty,
Microsoft.CodeAnalysis.CodeStyle (28)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleHelpers.cs (1)
193: string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StringExtensions.cs (1)
63: string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionKey2.cs (1)
56: string.Empty;
Microsoft.CodeAnalysis.CodeStyle.Fixes (21)
src\Analyzers\Core\CodeFixes\RemoveUnusedParametersAndValues\AbstractRemoveUnusedValuesCodeFixProvider.cs (1)
218return string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationSymbolFactory.cs (1)
394name: string.Empty,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationArrayTypeSymbol.cs (1)
10internal sealed class CodeGenerationArrayTypeSymbol(ITypeSymbol elementType, int rank, NullableAnnotation nullableAnnotation) : CodeGenerationTypeSymbol(null, null, default, Accessibility.NotApplicable, default, string.Empty, SpecialType.None, nullableAnnotation), IArrayTypeSymbol
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationConstructorSymbol.cs (1)
22name: string.Empty,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationDestructorSymbol.cs (1)
18name: string.Empty,
Microsoft.CodeAnalysis.CodeStyle.UnitTestUtilities (1)
Microsoft.CodeAnalysis.CSharp (63)
Microsoft.CodeAnalysis.CSharp.CodeStyle (7)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (1)
42return string.Empty;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (6)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ExpressionGenerator.cs (1)
169return string.Empty;
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (8)
src\Analyzers\CSharp\Tests\AbstractBuiltInCodeStyleDiagnosticAnalyzer\AbstractBuiltInCodeStyleDiagnosticAnalyzerTests.cs (1)
44title: string.Empty);
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (16)
CommandLineTests.cs (13)
6007.Replace(Environment.NewLine, string.Empty), workingDirectory: tempDir) :
6042.Replace(Environment.NewLine, string.Empty), workingDirectory: tempDir) :
6061Assert.Equal(string.Empty, assemblyName.CultureName);
6122.Replace(Environment.NewLine, string.Empty)) :
9198string pragmaDisableWarnings = String.Empty;
9225Assert.True(cscOutput == string.Empty, "Failed at error code: " + errorCode);
9311TestCS2002(commandLineArgs, tempDir.Path, 0, String.Empty);
9389string outString = String.Empty;
9776var comp = CreateEmptyCompilation(string.Empty, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute());
9779comp = CreateEmptyCompilation(string.Empty, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute());
13231TestBulkAnalyzerConfigurationCore(analyzer, analyzerConfigText: string.Empty, errorlog, expectedDiagnosticSeverity: ReportDiagnostic.Suppress);
13325TestBulkAnalyzerConfigurationCore(analyzer, analyzerConfigText: string.Empty, errorlog, expectedDiagnosticSeverity);
15392: string.Empty;
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (366)
Extensions\ContextQuery\AbstractContextTests.cs (3)
45=> VerifyInFrontOfComment(text, position, validLocation, string.Empty, options: options);
66=> VerifyAtPosition(text, position, validLocation, string.Empty, options: options);
93=> VerifyAtEndOfFile(text, position, validLocation, string.Empty, options: options);
SignatureHelp\AttributeSignatureHelpProviderTests.cs (43)
31new SignatureHelpTestItem("SomethingAttribute()", string.Empty, null, currentParameterIndex: 0)
115new SignatureHelpTestItem("SomethingAttribute(int someInteger, string someString)", string.Empty, string.Empty, currentParameterIndex: 0)
162new SignatureHelpTestItem("SomethingAttribute(int someInteger, string someString)", string.Empty, string.Empty, currentParameterIndex: 1)
209new SignatureHelpTestItem("SomethingAttribute()", string.Empty, null, currentParameterIndex: 0)
300new SignatureHelpTestItem($"SomethingAttribute({FeaturesResources.Properties}: [goo = int])", string.Empty, string.Empty, currentParameterIndex: 0)
321new SignatureHelpTestItem("SomethingAttribute()", string.Empty, null, currentParameterIndex: 0)
342new SignatureHelpTestItem("SomethingAttribute()", string.Empty, null, currentParameterIndex: 0)
363new SignatureHelpTestItem("SomethingAttribute()", string.Empty, null, currentParameterIndex: 0)
389new SignatureHelpTestItem($"SomethingAttribute({FeaturesResources.Properties}: [goo = int])", string.Empty, string.Empty, currentParameterIndex: 0)
411new SignatureHelpTestItem("SomethingAttribute()", string.Empty, null, currentParameterIndex: 0)
432new SignatureHelpTestItem("SomethingAttribute()", string.Empty, null, currentParameterIndex: 0)
453new SignatureHelpTestItem("SomethingAttribute()", string.Empty, null, currentParameterIndex: 0)
474new SignatureHelpTestItem("SomethingAttribute()", string.Empty, null, currentParameterIndex: 0)
495new SignatureHelpTestItem("SomethingAttribute()", string.Empty, null, currentParameterIndex: 0)
517new SignatureHelpTestItem($"DerivedAttribute({FeaturesResources.Properties}: [Name = string])", string.Empty, string.Empty, currentParameterIndex: 0)
551new SignatureHelpTestItem($"SomethingAttribute([int goo = 0], [string bar = null], {FeaturesResources.Properties}: [fieldbar = string], [fieldfoo = int])", string.Empty, "GooParameter", currentParameterIndex: 0)
578new SignatureHelpTestItem($"SomethingAttribute([int goo = 0], [string bar = null], {FeaturesResources.Properties}: [fieldbar = string], [fieldfoo = int])", string.Empty, "BarParameter", currentParameterIndex: 1)
605new SignatureHelpTestItem($"SomethingAttribute([int goo = 0], [string bar = null], {FeaturesResources.Properties}: [fieldbar = string], [fieldfoo = int])", string.Empty, string.Empty, currentParameterIndex: 2)
632new SignatureHelpTestItem($"SomethingAttribute([int goo = 0], {FeaturesResources.Properties}: [goo = int])", string.Empty, "GooParameter", currentParameterIndex: 0)
657new SignatureHelpTestItem($"SomethingAttribute([int goo = 0], {FeaturesResources.Properties}: [goo = int])", string.Empty, string.Empty, currentParameterIndex: 1)
685new SignatureHelpTestItem("SomethingAttribute(int someParameter, bool somethingElse)", string.Empty, string.Empty, currentParameterIndex: 0)
708new SignatureHelpTestItem("SomethingAttribute(int someParameter, bool somethingElse)", string.Empty, string.Empty, currentParameterIndex: 1)
779new SignatureHelpTestItem("MyAttribute(int x)", string.Empty, string.Empty, currentParameterIndex: 0)
812new SignatureHelpTestItem("MyAttribute(int x)", string.Empty, string.Empty, currentParameterIndex: 0)
845new SignatureHelpTestItem("MyAttribute(int x)", string.Empty, string.Empty, currentParameterIndex: 0)
892new SignatureHelpTestItem("MyAttribute(int x)", string.Empty, string.Empty, currentParameterIndex: 0)
897new SignatureHelpTestItem("MyAttribute(int x)", string.Empty, string.Empty, currentParameterIndex: 0),
898new SignatureHelpTestItem("MyAttribute(int x, int y)", string.Empty, string.Empty, currentParameterIndex: 0)
SignatureHelp\ConstructorInitializerSignatureHelpProviderTests.cs (27)
31new SignatureHelpTestItem("BaseClass()", string.Empty, null, currentParameterIndex: 0)
76new SignatureHelpTestItem("BaseClass(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 0)
174new SignatureHelpTestItem("Goo(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 1)
191new SignatureHelpTestItem("Foo()", string.Empty, null, currentParameterIndex: 0),
208new SignatureHelpTestItem("Goo(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 1)
225new SignatureHelpTestItem("Foo()", string.Empty, null, currentParameterIndex: 0),
302new SignatureHelpTestItem("Goo(int a)", string.Empty, string.Empty, currentParameterIndex: 0)
319new SignatureHelpTestItem("Foo()", string.Empty, null, currentParameterIndex: 0),
336new SignatureHelpTestItem("Goo(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 1)
353new SignatureHelpTestItem("Foo()", string.Empty, null, currentParameterIndex: 0),
410new SignatureHelpTestItem("BaseClass(int x)", string.Empty, string.Empty, currentParameterIndex: 0)
441new SignatureHelpTestItem("BaseClass(int x)", string.Empty, string.Empty, currentParameterIndex: 0)
472new SignatureHelpTestItem("BaseClass(int x)", string.Empty, string.Empty, currentParameterIndex: 0)
516new SignatureHelpTestItem("BaseClass(int x)", string.Empty, string.Empty, currentParameterIndex: 0)
521new SignatureHelpTestItem("BaseClass(int x)", string.Empty, string.Empty, currentParameterIndex: 0),
522new SignatureHelpTestItem("BaseClass(int x, int y)", string.Empty, string.Empty, currentParameterIndex: 0)
SignatureHelp\ElementAccessExpressionSignatureHelpProviderTests.cs (42)
31new SignatureHelpTestItem("string C[int a]", string.Empty, string.Empty, currentParameterIndex: 0)
60new SignatureHelpTestItem("ref int C[int a]", string.Empty, string.Empty, currentParameterIndex: 0)
83new SignatureHelpTestItem("ref readonly int C[int a]", string.Empty, string.Empty, currentParameterIndex: 0)
106new SignatureHelpTestItem("string C[int a]", string.Empty, string.Empty, currentParameterIndex: 0)
168new SignatureHelpTestItem("string C[int a, bool b]", string.Empty, string.Empty, currentParameterIndex: 1)
231new SignatureHelpTestItem("string C[int a]", string.Empty, string.Empty, currentParameterIndex: 0)
260new SignatureHelpTestItem("string C[int a, bool b]", string.Empty, string.Empty, currentParameterIndex: 1)
319new SignatureHelpTestItem("string C[int a]", string.Empty, string.Empty, currentParameterIndex: 0)
348new SignatureHelpTestItem("string C[int a, bool b]", string.Empty, string.Empty, currentParameterIndex: 1)
436new SignatureHelpTestItem("int Goo[int x]", string.Empty, string.Empty, currentParameterIndex: 0)
473new SignatureHelpTestItem("int Goo[int x]", string.Empty, string.Empty, currentParameterIndex: 0)
510new SignatureHelpTestItem("int Goo[int x]", string.Empty, string.Empty, currentParameterIndex: 0)
563new SignatureHelpTestItem("int Goo[double d]", string.Empty, string.Empty, currentParameterIndex: 0)
568new SignatureHelpTestItem("int Goo[double d]", string.Empty, string.Empty, currentParameterIndex: 0),
569new SignatureHelpTestItem("int Goo[int x]", string.Empty, string.Empty, currentParameterIndex: 0),
606new SignatureHelpTestItem("int Goo[int x]", string.Empty, string.Empty, currentParameterIndex: 0)
643new SignatureHelpTestItem("int Goo[int x]", string.Empty, string.Empty, currentParameterIndex: 0)
681new SignatureHelpTestItem("int Goo[int x]", string.Empty, string.Empty, currentParameterIndex: 0)
742new SignatureHelpTestItem("string CCC.IndexProp[int p1]", string.Empty, string.Empty, currentParameterIndex: 0)
859new SignatureHelpTestItem("string C[int a]", string.Empty, string.Empty, currentParameterIndex: 0)
888new SignatureHelpTestItem("int P[int z]", string.Empty, string.Empty, currentParameterIndex: 0)
SignatureHelp\GenericNamePartiallyWrittenSignatureHelpProviderTests.cs (26)
30new SignatureHelpTestItem("G<T>", string.Empty, string.Empty, currentParameterIndex: 0)
51new SignatureHelpTestItem("G<T>", string.Empty, string.Empty, currentParameterIndex: 0)
74new SignatureHelpTestItem("G<T>", string.Empty, string.Empty, currentParameterIndex: 0)
97new SignatureHelpTestItem("G<T>", string.Empty, string.Empty, currentParameterIndex: 0)
118new SignatureHelpTestItem($"({CSharpFeaturesResources.awaitable}) Task<int> Program.Goo<T>()", methodDocumentation: string.Empty, string.Empty, currentParameterIndex: 0)
162new SignatureHelpTestItem("void C.Goo<T>(T x)", string.Empty, string.Empty, currentParameterIndex: 0)
197new SignatureHelpTestItem("void C.Goo<T>(T x)", string.Empty, string.Empty, currentParameterIndex: 0)
232new SignatureHelpTestItem("void C.Goo<T>(T x)", string.Empty, string.Empty, currentParameterIndex: 0)
279new SignatureHelpTestItem("void C.Goo<T>(T x)", string.Empty, string.Empty, currentParameterIndex: 0)
284new SignatureHelpTestItem("void C.Goo<T>(T x)", string.Empty, string.Empty, currentParameterIndex: 0),
285new SignatureHelpTestItem("void C.Goo<T, U>(T x, U y)", string.Empty, string.Empty, currentParameterIndex: 0)
359new SignatureHelpTestItem("G<S, T>", string.Empty, string.Empty, currentParameterIndex: 0)
380new SignatureHelpTestItem("G<S, T>", string.Empty, string.Empty, currentParameterIndex: 1)
SignatureHelp\GenericNameSignatureHelpProviderTests.cs (38)
34new SignatureHelpTestItem("G<T>", string.Empty, string.Empty, currentParameterIndex: 0)
55new SignatureHelpTestItem("G<T>", string.Empty, string.Empty, currentParameterIndex: 0)
76new SignatureHelpTestItem("G<S, T>", string.Empty, string.Empty, currentParameterIndex: 0)
97new SignatureHelpTestItem("G<S, T>", string.Empty, string.Empty, currentParameterIndex: 1)
177new SignatureHelpTestItem("G<S> where S : struct", string.Empty, string.Empty, currentParameterIndex: 0)
199new SignatureHelpTestItem("G<S> where S : class", string.Empty, string.Empty, currentParameterIndex: 0)
221new SignatureHelpTestItem("G<S> where S : new()", string.Empty, string.Empty, currentParameterIndex: 0)
243new SignatureHelpTestItem("G<S> where S : Base", string.Empty, string.Empty, currentParameterIndex: 0)
267new SignatureHelpTestItem("G<S> where S : Base<S>", string.Empty, string.Empty, currentParameterIndex: 0)
291new SignatureHelpTestItem("G<S> where S : Base<int>", string.Empty, string.Empty, currentParameterIndex: 0)
315new SignatureHelpTestItem("G<S> where S : Base<Base<int>>", string.Empty, string.Empty, currentParameterIndex: 0)
339new SignatureHelpTestItem("G<S, T> where S : T", string.Empty, string.Empty, currentParameterIndex: 0)
427new SignatureHelpTestItem("G<S> where S : allows ref struct", string.Empty, string.Empty, currentParameterIndex: 0)
453new SignatureHelpTestItem("void C.Goo<T>()", string.Empty, string.Empty, currentParameterIndex: 0)
503new SignatureHelpTestItem("void C.Goo<S, T>(S s, T t)", string.Empty, string.Empty, currentParameterIndex: 1)
576new SignatureHelpTestItem($"({CSharpFeaturesResources.extension}) void G.Goo<T>()", string.Empty, string.Empty, currentParameterIndex: 0)
810new SignatureHelpTestItem("C<T>", string.Empty, string.Empty, currentParameterIndex: 0)
843new SignatureHelpTestItem("C<T>", string.Empty, string.Empty, currentParameterIndex: 0)
876new SignatureHelpTestItem("C<T>", string.Empty, string.Empty, currentParameterIndex: 0)
SignatureHelp\InvocationExpressionSignatureHelpProviderTests.cs (110)
75""", [new SignatureHelpTestItem("void C.Goo()", string.Empty, null, currentParameterIndex: 0)]);
102""", [new SignatureHelpTestItem("void C.Goo(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 0)]);
131""", [new SignatureHelpTestItem("void C.Goo(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 1)]);
221""", [new SignatureHelpTestItem("void C.Goo()", string.Empty, null, currentParameterIndex: 0)]);
233""", [new SignatureHelpTestItem("void C.Goo(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 0)]);
245""", [new SignatureHelpTestItem("void C.Goo(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 1)]);
260""", [new SignatureHelpTestItem("void Action<int>(int obj)", string.Empty, string.Empty, currentParameterIndex: 0)]);
276""", [new SignatureHelpTestItem("void C.Bar(int a)", string.Empty, string.Empty, currentParameterIndex: 0)]);
299""", [new SignatureHelpTestItem($"({CSharpFeaturesResources.extension}) int string.ExtensionMethod(int x)", string.Empty, string.Empty, currentParameterIndex: 0)], sourceCodeKind: SourceCodeKind.Regular);
315""", [new SignatureHelpTestItem("void Class1.Goo([int a = 42])", string.Empty, string.Empty, currentParameterIndex: 0)]);
358""", [new SignatureHelpTestItem("double C.Goo(double x)", string.Empty, string.Empty, currentParameterIndex: 0)]);
381""", [new SignatureHelpTestItem("double C.Goo(double x, double y)", string.Empty, string.Empty, currentParameterIndex: 0)]);
450methodDocumentation: string.Empty,
451parameterDocumentation: string.Empty,
483methodDocumentation: string.Empty,
484parameterDocumentation: string.Empty,
486description: string.Empty)]);
511methodDocumentation: string.Empty,
512parameterDocumentation: string.Empty,
514description: string.Empty)]);
534methodDocumentation: string.Empty,
535parameterDocumentation: string.Empty,
537description: string.Empty)]);
562methodDocumentation: string.Empty,
563parameterDocumentation: string.Empty,
565description: string.Empty)]);
585methodDocumentation: string.Empty,
586parameterDocumentation: string.Empty,
588description: string.Empty)]);
613methodDocumentation: string.Empty,
614parameterDocumentation: string.Empty,
616description: string.Empty)]);
641methodDocumentation: string.Empty,
642parameterDocumentation: string.Empty,
644description: string.Empty)]);
728""", [new SignatureHelpTestItem("void Program.SomeMethod([CancellationToken token = default])", string.Empty, null, currentParameterIndex: 0)], usePreviousCharAsTrigger: true);
740""", [new SignatureHelpTestItem("void C.Goo()", string.Empty, null, currentParameterIndex: 0)], usePreviousCharAsTrigger: true);
752""", [new SignatureHelpTestItem("void C.Goo(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 1)], usePreviousCharAsTrigger: true);
838List<SignatureHelpTestItem> expectedOrderedItems = [new SignatureHelpTestItem("void Goo.Bar()", string.Empty, null, currentParameterIndex: 0)];
876expectedOrderedItemsSameSolution: [new SignatureHelpTestItem("void Goo.Bar()", string.Empty, null, currentParameterIndex: 0)],
903List<SignatureHelpTestItem> expectedOrderedItems = [new SignatureHelpTestItem("void Goo.Bar()", string.Empty, null, currentParameterIndex: 0)];
952expectedOrderedItemsMetadataReference: [new SignatureHelpTestItem("void Goo.Bar()", string.Empty, null, currentParameterIndex: 0)],
954new SignatureHelpTestItem("void Goo.Bar()", string.Empty, null, currentParameterIndex: 0),
955new SignatureHelpTestItem("void Goo.Bar(int x)", string.Empty, string.Empty, currentParameterIndex: 0)],
993new SignatureHelpTestItem("void Goo.Bar()", string.Empty, null, currentParameterIndex: 0),
994new SignatureHelpTestItem("void Goo.Bar(int x)", string.Empty, string.Empty, currentParameterIndex: 0)],
1030new SignatureHelpTestItem("void D.Goo(int derived)", string.Empty, string.Empty, currentParameterIndex: 0),
1063List<SignatureHelpTestItem> expectedOrderedItems = [new SignatureHelpTestItem("void C.Goo()", string.Empty, null, currentParameterIndex: 0)];
1104new SignatureHelpTestItem("void B.Goo()", string.Empty, null, currentParameterIndex: 0),
1105new SignatureHelpTestItem("void D.Goo(int x)", string.Empty, string.Empty, currentParameterIndex: 0),
1142expectedOrderedItemsSameSolution: [new SignatureHelpTestItem("void B.Goo()", string.Empty, null, currentParameterIndex: 0)],
1169new SignatureHelpTestItem("void C<int>.Goo(int t)", string.Empty, string.Empty, currentParameterIndex: 0),
1170new SignatureHelpTestItem("void C<int>.Goo(int i)", string.Empty, string.Empty, currentParameterIndex: 0),
1205expectedOrderedItemsMetadataReference: [new SignatureHelpTestItem("void C<int>.Goo(int i)", string.Empty, string.Empty, currentParameterIndex: 0)],
1207new SignatureHelpTestItem("void C<int>.Goo(int t)", string.Empty, string.Empty, currentParameterIndex: 0),
1208new SignatureHelpTestItem("void C<int>.Goo(int i)", string.Empty, string.Empty, currentParameterIndex: 0)],
1237expectedOrderedItemsMetadataReference: [new SignatureHelpTestItem("void C<int>.Goo(int t)", string.Empty, string.Empty, currentParameterIndex: 0)],
1239new SignatureHelpTestItem("void C<int>.Goo(int t)", string.Empty, string.Empty, currentParameterIndex: 0),
1240new SignatureHelpTestItem("void C<int>.Goo(int i)", string.Empty, string.Empty, currentParameterIndex: 0)],
1273new SignatureHelpTestItem("void C<int>.Goo(int t)", string.Empty, string.Empty, currentParameterIndex: 0),
1274new SignatureHelpTestItem("void C<int>.Goo(int i)", string.Empty, string.Empty, currentParameterIndex: 0)],
1302new SignatureHelpTestItem("void C<int, int>.Goo(int t)", string.Empty, string.Empty, currentParameterIndex: 0),
1303new SignatureHelpTestItem("void C<int, int>.Goo(int u)", string.Empty, string.Empty, currentParameterIndex: 0),
1338expectedOrderedItemsMetadataReference: [new SignatureHelpTestItem("void C<int, int>.Goo(int u)", string.Empty, string.Empty, currentParameterIndex: 0)],
1340new SignatureHelpTestItem("void C<int, int>.Goo(int t)", string.Empty, string.Empty, currentParameterIndex: 0),
1341new SignatureHelpTestItem("void C<int, int>.Goo(int u)", string.Empty, string.Empty, currentParameterIndex: 0)],
1373new SignatureHelpTestItem("void C<int, int>.Goo(int t)", string.Empty, string.Empty, currentParameterIndex: 0),
1374new SignatureHelpTestItem("void C<int, int>.Goo(int u)", string.Empty, string.Empty, currentParameterIndex: 0)],
1392""", [new SignatureHelpTestItem($"({CSharpFeaturesResources.awaitable}) Task C.Goo()", methodDocumentation: string.Empty, currentParameterIndex: 0)], "C#");
1405""", [new SignatureHelpTestItem($"({CSharpFeaturesResources.awaitable}) Task<Task<int>> C.Goo()", methodDocumentation: string.Empty, currentParameterIndex: 0)], "C#");
1428""", [new SignatureHelpTestItem("void C<int>.M(int t)", string.Empty, "Real t", currentParameterIndex: 0)]);
2085new SignatureHelpTestItem("void C.Goo<string>(string a)", string.Empty, string.Empty, currentParameterIndex: 0),
2086new SignatureHelpTestItem("void C.Goo<T, U>(T a, U b)", string.Empty)]);
2103new SignatureHelpTestItem("void C.Goo<T>(T a)", string.Empty),
2104new SignatureHelpTestItem("void C.Goo<T, U>(T a, U b)", string.Empty, string.Empty, currentParameterIndex: 1)]);
2294M{{(typeParameterProvided ? "<object>" : string.Empty)}}($$
SignatureHelp\ObjectCreationExpressionSignatureHelpProviderTests.cs (29)
36""", [new("C()", string.Empty, null, currentParameterIndex: 0)]);
54""", [new("C()", string.Empty, null, currentParameterIndex: 0)]);
85""", [new("C(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 0)]);
99""", [new("C(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 0)]);
132""", [new("C(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 1)]);
231""", [new("C()", string.Empty, null, currentParameterIndex: 0)]);
245""", [new("C(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 0)]);
259""", [new("C(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 1)]);
273""", [new("Action<int, int>(void (int, int) target)", string.Empty, string.Empty, currentParameterIndex: 0, isSelected: true)]);
309""", [new("C()", string.Empty, null, currentParameterIndex: 0)], usePreviousCharAsTrigger: true);
325""", [new("C(int a, string b)", string.Empty, string.Empty, currentParameterIndex: 1)], usePreviousCharAsTrigger: true);
380new("Goo(int x)", string.Empty, string.Empty, currentParameterIndex: 0)
419expectedOrderedItemsSameSolution: [new("Goo(int x)", string.Empty, string.Empty, currentParameterIndex: 0)],
448new("Goo()", string.Empty, null, currentParameterIndex: 0)
499expectedOrderedItemsMetadataReference: [new("Goo(int x)", string.Empty, string.Empty, currentParameterIndex: 0)],
501new("Goo(int x)", string.Empty, string.Empty, currentParameterIndex: 0),
502new("Goo(long y)", string.Empty, string.Empty, currentParameterIndex: 0)],
SignatureHelp\PrimaryConstructorBaseTypeSignatureHelpProviderTests.cs (15)
31new("Base(Base original)", string.Empty, null, currentParameterIndex: 0),
32new("Base(int Identifier)", string.Empty, null, currentParameterIndex: 0, isSelected: true)]);
42""", [new("Base(int Identifier)", string.Empty, null, currentParameterIndex: 0, isSelected: true)]);
53new("Base(Base original)", string.Empty, null, currentParameterIndex: 1),
54new("Base(string name)", string.Empty, null, currentParameterIndex: 1),
55new("Base(int Identifier1, int Identifier2)", string.Empty, null, currentParameterIndex: 1, isSelected: true)]);
66new("Base(string name)", string.Empty, null, currentParameterIndex: 1),
67new("Base(int Identifier1, int Identifier2)", string.Empty, null, currentParameterIndex: 1, isSelected: true)]);
79new("Base(Base original)", string.Empty, null, currentParameterIndex: 1),
81new("Base(int Identifier1, int Identifier2)", string.Empty, null, currentParameterIndex: 1, isSelected: true)]);
94new("Base(int Identifier1, int Identifier2)", string.Empty, null, currentParameterIndex: 1, isSelected: true)]);
107new("Base(Base original)", string.Empty, null, currentParameterIndex: 0),
109new("Base(int Identifier1, int Identifier2)", string.Empty, null, currentParameterIndex: 0, isSelected: true)]);
123new("Base(int Identifier1, int Identifier2)", string.Empty, null, currentParameterIndex: 0, isSelected: true)]);
132""", [new("Base(int Identifier)", string.Empty, null, currentParameterIndex: 0, isSelected: true)]);
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (3)
Recommendations\RecommenderTests.cs (3)
112=> VerifyInFrontOfCommentAsync(text, cursorPosition, absent, string.Empty, options: options, matchPriority: matchPriority);
133=> VerifyAtPositionAsync(text, position, absent, string.Empty, options: options, matchPriority: matchPriority);
160=> VerifyAtEndOfFileAsync(text, position, absent, string.Empty, options: options, matchPriority: matchPriority);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (14)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (24)
Diagnostics\GetDiagnosticsTests.cs (11)
510var compilation = CreateEmptyCompilation(string.Empty, parseOptions: new CSharpParseOptions().WithPreprocessorSymbols(new[] { "1" }));
522var compilation = CreateCompilationWithMscorlib461(string.Empty, parseOptions: new CSharpParseOptions().WithKind(SourceCodeKind.Interactive));
534var compilation = CreateEmptyCompilation(string.Empty, parseOptions: new CSharpParseOptions().WithLanguageVersion((LanguageVersion)10000));
544var compilation = CreateEmptyCompilation(string.Empty, parseOptions: new CSharpParseOptions().WithDocumentationMode(unchecked((DocumentationMode)100)));
554var syntaxTree1 = Parse(string.Empty, options: new CSharpParseOptions().WithPreprocessorSymbols(new[] { "1" }));
555var syntaxTree2 = Parse(string.Empty, options: new CSharpParseOptions().WithPreprocessorSymbols(new[] { "2" }));
556var syntaxTree3 = Parse(string.Empty, options: new CSharpParseOptions().WithPreprocessorSymbols(new[] { "3" }));
583var syntaxTree1 = Parse(string.Empty, options: parseOptions1);
584var syntaxTree2 = Parse(string.Empty, options: parseOptions2);
585var syntaxTree3 = Parse(string.Empty, options: parseOptions2);
607var tree1 = Parse(string.Empty, options: parseOptions);
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ResultProvider (1)
Microsoft.CodeAnalysis.CSharp.Features (14)
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (13)
src\Analyzers\CSharp\Tests\AbstractBuiltInCodeStyleDiagnosticAnalyzer\AbstractBuiltInCodeStyleDiagnosticAnalyzerTests.cs (1)
44title: string.Empty);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (36)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (32)
LexicalAndXml\PreprocessorTests.cs (8)
237Assert.Equal(String.Empty, ld.Line.Text);
2521new DirectiveInfo { Kind = SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = string.Empty });
2534new DirectiveInfo { Kind = SyntaxKind.DefineDirectiveTrivia, Status = NodeStatus.IsActive, Text = string.Empty });
2798VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.UndefDirectiveTrivia, Status = NodeStatus.IsActive, Text = string.Empty });
2809VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.UndefDirectiveTrivia, Status = NodeStatus.IsActive, Text = string.Empty });
3992WarningList = new[] { string.Empty }
4233var bytes = string.Empty;
4253var bytes = string.Empty;
Microsoft.CodeAnalysis.CSharp.Test.Utilities (6)
Microsoft.CodeAnalysis.CSharp.Workspaces (15)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (1)
42return string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ExpressionGenerator.cs (1)
169return string.Empty;
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (3)
Microsoft.CodeAnalysis.Debugging.Package (1)
Microsoft.CodeAnalysis.EditorFeatures (15)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (19)
Completion\AbstractCompletionProviderTests.cs (6)
821""" : string.Empty;
1085=> VerifyAtPositionAsync(code, position, string.Empty, usePreviousCharAsTrigger,
1123code, position, string.Empty, usePreviousCharAsTrigger, deletedCharTrigger,
1166=> VerifyAtEndOfFileAsync(code, position, string.Empty,
1174=> VerifyAtEndOfFileAsync(code, position, string.Empty,
1211=> VerifyAtEndOfFileAsync(code, position, string.Empty, usePreviousCharAsTrigger, deletedCharTrigger,
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (74)
CommentSelection\CommentUncommentSelectionCommandHandlerTests.cs (45)
300=> UncommentSelection(@"//Goo|start||end|Bar", new[] { new TextChange(new TextSpan(0, 2), string.Empty) }, Span.FromBounds(0, 6), supportBlockComments: true);
307new TextChange(new TextSpan(7, 2), string.Empty),
308new TextChange(new TextSpan(30, 2), string.Empty),
319new TextChange(new TextSpan(11, 2), string.Empty),
320new TextChange(new TextSpan(34, 2), string.Empty),
331new TextChange(new TextSpan(18, 2), string.Empty),
332new TextChange(new TextSpan(34, 2), string.Empty),
333new TextChange(new TextSpan(47, 2), string.Empty),
334new TextChange(new TextSpan(68, 2), string.Empty),
335new TextChange(new TextSpan(119, 2), string.Empty),
336new TextChange(new TextSpan(128, 2), string.Empty),
360new TextChange(new TextSpan(20, 2), string.Empty),
361new TextChange(new TextSpan(23, 2), string.Empty),
362new TextChange(new TextSpan(38, 2), string.Empty),
363new TextChange(new TextSpan(49, 2), string.Empty),
364new TextChange(new TextSpan(52, 2), string.Empty),
365new TextChange(new TextSpan(64, 2), string.Empty),
390new TextChange(new TextSpan(2, 2), string.Empty),
391new TextChange(new TextSpan(19, 2), string.Empty),
392new TextChange(new TextSpan(26, 2), string.Empty),
412new TextChange(new TextSpan(6, 2), string.Empty),
413new TextChange(new TextSpan(16, 2), string.Empty)
423new TextChange(new TextSpan(19, 2), string.Empty),
424new TextChange(new TextSpan(29, 2), string.Empty)
434new TextChange(new TextSpan(0, 2), string.Empty),
435new TextChange(new TextSpan(15, 2), string.Empty)
445new TextChange(new TextSpan(0, 2), string.Empty),
446new TextChange(new TextSpan(15, 2), string.Empty)
464new TextChange(new TextSpan(18, 2), string.Empty),
465new TextChange(new TextSpan(112, 2), string.Empty),
493new TextChange(new TextSpan(20, 2), string.Empty),
494new TextChange(new TextSpan(114, 2), string.Empty),
524new TextChange(new TextSpan(18, 2), string.Empty),
525new TextChange(new TextSpan(112, 2), string.Empty),
553new TextChange(new TextSpan(18, 2), string.Empty),
554new TextChange(new TextSpan(112, 2), string.Empty),
582new TextChange(new TextSpan(55, 2), string.Empty),
610new TextChange(new TextSpan(55, 2), string.Empty),
638new TextChange(new TextSpan(18, 2), string.Empty),
639new TextChange(new TextSpan(28, 2), string.Empty),
640new TextChange(new TextSpan(44, 2), string.Empty),
641new TextChange(new TextSpan(53, 2), string.Empty),
642new TextChange(new TextSpan(78, 2), string.Empty),
643new TextChange(new TextSpan(109, 2), string.Empty),
644new TextChange(new TextSpan(118, 2), string.Empty),
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (2)
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (2)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (6)
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\DebuggerTypeProxyExpansion.cs (1)
140name: string.Empty,
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (6)
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\DebuggerTypeProxyExpansion.cs (1)
140name: string.Empty,
Microsoft.CodeAnalysis.Extensions.Package (2)
Microsoft.CodeAnalysis.ExternalAccess.Copilot (3)
Microsoft.CodeAnalysis.ExternalAccess.FSharp (4)
Microsoft.CodeAnalysis.ExternalAccess.Xaml (2)
Microsoft.CodeAnalysis.Features (89)
src\Analyzers\Core\CodeFixes\RemoveUnusedParametersAndValues\AbstractRemoveUnusedValuesCodeFixProvider.cs (1)
218return string.Empty;
Microsoft.CodeAnalysis.InteractiveHost (5)
Microsoft.CodeAnalysis.LanguageServer (7)
Microsoft.CodeAnalysis.LanguageServer.Protocol (12)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (36)
UriTests.cs (8)
39await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer });
65await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer });
166await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer });
214await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer });
260await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer });
296await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer });
335await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer });
341await testLspServer.OpenDocumentAsync(invalidUri, string.Empty, languageId: "csharp").ConfigureAwait(false);
Microsoft.CodeAnalysis.LanguageServer.UnitTests (1)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (39)
Microsoft.CodeAnalysis.PooledObjects.Package (1)
Microsoft.CodeAnalysis.PublicApiAnalyzers (32)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleHelpers.cs (1)
193: string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StringExtensions.cs (1)
63: string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionKey2.cs (1)
56: string.Empty;
Microsoft.CodeAnalysis.PublicApiAnalyzers.CodeFixes (4)
Microsoft.CodeAnalysis.PublicApiAnalyzers.UnitTests (9)
Microsoft.CodeAnalysis.Remote.ServiceHub.UnitTests (1)
Microsoft.CodeAnalysis.ResxSourceGenerator (30)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleHelpers.cs (1)
193: string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StringExtensions.cs (1)
63: string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionKey2.cs (1)
56: string.Empty;
Microsoft.CodeAnalysis.ResxSourceGenerator.UnitTests (2)
Microsoft.CodeAnalysis.Scripting (7)
Microsoft.CodeAnalysis.Scripting.UnitTests (5)
Microsoft.CodeAnalysis.Test.Utilities (18)
Microsoft.CodeAnalysis.UnitTests (29)
Text\TextChangeTests.cs (12)
203new TextChange(new TextSpan(4, 1), string.Empty),
204new TextChange(new TextSpan(5, 1), string.Empty));
214new TextChange(new TextSpan(4, 1), string.Empty),
229new TextChange(new TextSpan(4, 1), string.Empty));
659var change1 = original.WithChanges(new TextChange(new TextSpan(5, 6), string.Empty)); // prepare a ChangedText instance
670var change1 = original.WithChanges(new TextChange(new TextSpan(5, 6), string.Empty)); // prepare a ChangedText instance
671var change2 = change1.WithChanges(new TextChange(new TextSpan(2, 0), string.Empty)); // this should not cause exception
1260new TextChange(new TextSpan(35, 4), string.Empty),
1261new TextChange(new TextSpan(46, 4), string.Empty),
1262new TextChange(new TextSpan(73, 4), string.Empty),
1264new TextChange(new TextSpan(90, 4), string.Empty),
1265new TextChange(new TextSpan(105, 4), string.Empty),
Microsoft.CodeAnalysis.VisualBasic (67)
Microsoft.CodeAnalysis.Workspaces (51)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleHelpers.cs (1)
193: string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StringExtensions.cs (1)
63: string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionKey2.cs (1)
56: string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationSymbolFactory.cs (1)
394name: string.Empty,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationArrayTypeSymbol.cs (1)
10internal sealed class CodeGenerationArrayTypeSymbol(ITypeSymbol elementType, int rank, NullableAnnotation nullableAnnotation) : CodeGenerationTypeSymbol(null, null, default, Accessibility.NotApplicable, default, string.Empty, SpecialType.None, nullableAnnotation), IArrayTypeSymbol
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationConstructorSymbol.cs (1)
22name: string.Empty,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationDestructorSymbol.cs (1)
18name: string.Empty,
Microsoft.CodeAnalysis.Workspaces.MSBuild (5)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (10)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (2)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (3)
Microsoft.CodeAnalysis.Workspaces.UnitTests (28)
EditorConfigParsing\EditorConfigFileParserTests.cs (12)
32(string.Empty, TextSpan.FromBounds(0, 9), true),
55(string.Empty, TextSpan.FromBounds(0, 9), true),
70(string.Empty, TextSpan.FromBounds(0, 9), true),
87(string.Empty, TextSpan.FromBounds(0, 9), true),
111(string.Empty, TextSpan.FromBounds(0, 9), true),
133(string.Empty, TextSpan.FromBounds(0, 9), true),
150(string.Empty, TextSpan.FromBounds(0, 9), true),
172(string.Empty, TextSpan.FromBounds(0, 9), true),
191(string.Empty, TextSpan.FromBounds(0, 9), true),
217(string.Empty, TextSpan.FromBounds(0, 9), true),
234(string.Empty, TextSpan.FromBounds(0, 9), true),
243Assert.Equal(string.Empty, section?.Text);
Microsoft.CommonLanguageServerProtocol.Framework.Package (1)
Microsoft.CommonLanguageServerProtocol.Framework.UnitTests (2)
Microsoft.Data.Analysis (4)
Microsoft.Data.Analysis.Interactive (1)
Microsoft.Data.Analysis.Tests (5)
Microsoft.DotNet.Arcade.Sdk (3)
Microsoft.DotNet.Arcade.Sdk.Tests (1)
Microsoft.DotNet.ArcadeLogging (6)
Microsoft.DotNet.Baselines.Tasks (6)
Microsoft.DotNet.Build.Manifest (1)
Microsoft.DotNet.Build.Manifest.Tests (3)
Microsoft.DotNet.Build.Tasks.Feed (9)
Microsoft.DotNet.Build.Tasks.Installers (4)
Microsoft.DotNet.Build.Tasks.Packaging (8)
Microsoft.DotNet.Build.Tasks.Packaging.Tests (2)
Microsoft.DotNet.Build.Tasks.TargetFramework (1)
Microsoft.DotNet.Build.Tasks.Templating.Tests (1)
Microsoft.DotNet.Build.Tasks.VisualStudio (1)
Microsoft.DotNet.Build.Tasks.Workloads (6)
Microsoft.DotNet.CodeAnalysis (1)
Microsoft.DotNet.GenAPI (2)
Microsoft.DotNet.Helix.JobSender (1)
Microsoft.DotNet.Helix.Sdk (15)
Microsoft.DotNet.MacOsPkg.Core (1)
Microsoft.DotNet.Open.Api.Tools.Tests (1)
Microsoft.DotNet.RemoteExecutor (3)
Microsoft.DotNet.SharedFramework.Sdk (11)
Microsoft.DotNet.SignCheckLibrary (10)
Microsoft.DotNet.SignCheckTask (1)
Microsoft.DotNet.SignTool (9)
Microsoft.DotNet.SignTool.Tests (8)
Microsoft.DotNet.SourceBuild.Tasks (3)
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (1)
Microsoft.DotNet.XliffTasks.Tests (4)
Microsoft.DotNet.XUnitAssert.Tests (5)
Microsoft.Extensions.AI (3)
Microsoft.Extensions.AI.Abstractions (18)
Microsoft.Extensions.AI.Abstractions.Tests (27)
Microsoft.Extensions.AI.AzureAIInference (5)
Microsoft.Extensions.AI.AzureAIInference.Tests (3)
Microsoft.Extensions.AI.Evaluation (1)
Microsoft.Extensions.AI.Evaluation.Quality (8)
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (2)
Microsoft.Extensions.AI.Evaluation.Safety (2)
Microsoft.Extensions.AI.Evaluation.Tests (1)
Microsoft.Extensions.AI.Integration.Tests (2)
Microsoft.Extensions.AI.OpenAI (10)
Microsoft.Extensions.AI.OpenAI.Tests (2)
Microsoft.Extensions.AI.Tests (2)
Microsoft.Extensions.AmbientMetadata.Application (2)
Microsoft.Extensions.AmbientMetadata.Application.Tests (1)
Microsoft.Extensions.ApiDescription.Client.Tests (1)
Microsoft.Extensions.ApiDescription.Tool.Tests (1)
Microsoft.Extensions.AsyncState.Tests (3)
Microsoft.Extensions.Compliance.Abstractions (6)
Microsoft.Extensions.Compliance.Abstractions.Tests (13)
Redaction\RedactorTest.cs (9)
18Assert.Equal(string.Empty, r.Redact((string?)null));
19Assert.Equal(string.Empty, r.Redact<object?>(null));
20Assert.Equal(string.Empty, r.Redact(string.Empty.AsSpan()));
23Assert.True(r.TryRedact<object?>(null, new char[0], out _, string.Empty.AsSpan()));
248Assert.Equal(success, r.TryRedact(data, buffer, out int charsWritten, string.Empty.AsSpan(), null));
266Assert.Equal(success, r.TryRedact(data, buffer, out int charsWritten, string.Empty.AsSpan(), null));
298Assert.True(r.TryRedact(Array.Empty<char>(), buffer, out int charsWritten, string.Empty.AsSpan(), null));
314Assert.True(r.TryRedact(new char[0], buffer, out int charsWritten, string.Empty.AsSpan(), null));
Microsoft.Extensions.Compliance.Redaction (6)
Microsoft.Extensions.Compliance.Redaction.Tests (4)
Microsoft.Extensions.Compliance.Testing.Tests (10)
RedactionFakesEventCollectorTests.cs (8)
33var first = new RedactedData(string.Empty, string.Empty, 0);
34var second = new RedactedData(string.Empty, string.Empty, 0);
35var third = new RedactedData("d", string.Empty, 0);
36var fourth = new RedactedData(string.Empty, string.Empty, 1);
37var fifth = new RedactedData(string.Empty, "d", 1);
Microsoft.Extensions.Configuration.Binder (2)
Microsoft.Extensions.Configuration.EnvironmentVariables (3)
Microsoft.Extensions.Configuration.FileExtensions (2)
Microsoft.Extensions.Configuration.Ini (1)
Microsoft.Extensions.Configuration.Json (1)
Microsoft.Extensions.Configuration.UserSecrets (1)
Microsoft.Extensions.Configuration.Xml (3)
Microsoft.Extensions.DependencyInjection (1)
Microsoft.Extensions.DependencyModel (11)
Microsoft.Extensions.Diagnostics.Abstractions (1)
Microsoft.Extensions.Diagnostics.HealthChecks.Common (1)
Microsoft.Extensions.Diagnostics.Probes (3)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (3)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (1)
Microsoft.Extensions.Diagnostics.Testing (1)
Microsoft.Extensions.Diagnostics.Testing.Tests (4)
Microsoft.Extensions.FileProviders.Embedded (3)
Microsoft.Extensions.FileProviders.Embedded.Tests (1)
Microsoft.Extensions.FileSystemGlobbing (5)
Microsoft.Extensions.Hosting (3)
Microsoft.Extensions.Hosting.Systemd (1)
Microsoft.Extensions.Hosting.WindowsServices (1)
Microsoft.Extensions.Http (2)
Microsoft.Extensions.Http.Diagnostics (10)
Microsoft.Extensions.Http.Diagnostics.Tests (14)
Microsoft.Extensions.Http.Resilience (5)
Microsoft.Extensions.Http.Resilience.Tests (15)
Microsoft.Extensions.Identity.Core (1)
Microsoft.Extensions.Identity.Stores (2)
Microsoft.Extensions.Localization (2)
Microsoft.Extensions.Logging (4)
Microsoft.Extensions.Logging.Abstractions (1)
Microsoft.Extensions.Logging.Console (4)
Microsoft.Extensions.Logging.EventSource (10)
Microsoft.Extensions.Logging.Generators (19)
Microsoft.Extensions.Logging.TraceSource (2)
Microsoft.Extensions.ML (8)
Microsoft.Extensions.Options (1)
Microsoft.Extensions.Options.Contextual.Tests (18)
ContextualOptionsFactoryTests.cs (15)
43await Assert.ThrowsAsync<OptionsValidationException>(async () => await sut.CreateAsync(string.Empty, Mock.Of<IOptionsContext>(), default));
66string.Empty,
73new[] { new PostConfigureOptions<List<string>>(string.Empty, (list) => list.Add("post configure")) },
76var result = await sut.CreateAsync(string.Empty, Mock.Of<IOptionsContext>(), default);
172new(string.Empty, (context, _) =>
177new(string.Empty, async (context, cancellationToken) =>
182new(string.Empty, (context, _) =>
187new(string.Empty, (context, _) =>
200Assert.Equal(new[] { "1", "2", "3", "4" }, await sut.CreateAsync(string.Empty, Mock.Of<IOptionsContext>(), default));
212new(string.Empty, (context, _) => new ValueTask<IConfigureContextualOptions<List<string>>>(Mock.Of<IConfigureContextualOptions<List<string>>>(MockBehavior.Strict))),
213new(string.Empty, (context, _) => throw new NotSupportedException()),
222var exception = await Assert.ThrowsAsync<AggregateException>(async () => await sut.CreateAsync(string.Empty, Mock.Of<IOptionsContext>(), default));
237new(string.Empty, (context, _) => new ValueTask<IConfigureContextualOptions<List<string>>>(Mock.Of<IConfigureContextualOptions<List<string>>>(MockBehavior.Strict))),
238new(string.Empty, (context, _) => new ValueTask<IConfigureContextualOptions<List<string>>>(disposeMock.Object)),
247var exception = await Assert.ThrowsAsync<AggregateException>(async () => await sut.CreateAsync(string.Empty, Mock.Of<IOptionsContext>(), default));
Microsoft.Extensions.Options.SourceGeneration (14)
Microsoft.Extensions.Primitives (6)
Microsoft.Extensions.SecretManager.Tools.Tests (4)
Microsoft.Extensions.ServiceDiscovery.Dns.Tests (1)
Microsoft.Extensions.ServiceDiscovery.Tests (1)
Microsoft.Extensions.Telemetry (20)
Microsoft.Extensions.Telemetry.Abstractions (2)
Microsoft.Extensions.Telemetry.Abstractions.Tests (6)
Microsoft.Extensions.Telemetry.Tests (32)
Microsoft.Extensions.Validation (4)
Microsoft.Extensions.Validation.GeneratorTests (1)
Microsoft.Extensions.Validation.Tests (7)
Microsoft.Extensions.WebEncoders (3)
Microsoft.Gen.ComplianceReports (9)
Microsoft.Gen.ComplianceReports.Unit.Tests (2)
Microsoft.Gen.ContextualOptions (4)
Microsoft.Gen.Logging (27)
Microsoft.Gen.Logging.Generated.Tests (25)
LogMethodTests.cs (10)
241Assert.Equal(string.Empty, collector.LatestRecord.Message);
249Assert.Equal(string.Empty, collector.LatestRecord.Message);
273Assert.Equal(string.Empty, collector.LatestRecord.Message);
284Assert.Equal(string.Empty, logRecord.Message);
310Assert.Equal(string.Empty, collector.LatestRecord.Message);
317Assert.Equal(string.Empty, collector.LatestRecord.Message);
324Assert.Equal(string.Empty, collector.LatestRecord.Message);
380Assert.Equal(string.Empty, logRecord.Message);
553Assert.Equal(string.Empty, collector.LatestRecord.Message);
577Assert.Equal(string.Empty, logRecord.Message);
Microsoft.Gen.Logging.Unit.Tests (6)
Microsoft.Gen.MetadataExtractor (38)
Microsoft.Gen.MetadataExtractor.Unit.Tests (2)
Microsoft.Gen.Metrics (31)
Microsoft.Gen.MetricsReports (26)
Microsoft.Gen.MetricsReports.Unit.Tests (4)
Microsoft.Interop.SourceGeneration (4)
Microsoft.JSInterop (1)
Microsoft.Maui (5)
Microsoft.Maui.Controls (27)
Microsoft.Maui.Controls.BindingSourceGen (1)
Microsoft.Maui.Controls.Build.Tasks (2)
Microsoft.Maui.Controls.Xaml (1)
Microsoft.Maui.Essentials (9)
Microsoft.ML.AutoML (5)
Microsoft.ML.AutoML.SourceGenerator (4)
Microsoft.ML.AutoML.Tests (1)
Microsoft.ML.CodeGenerator (5)
Microsoft.ML.CodeGenerator.Tests (4)
Microsoft.ML.Core (1)
Microsoft.ML.Data (3)
Microsoft.ML.FastTree (4)
Microsoft.ML.GenAI.Core (1)
Microsoft.ML.GenAI.LLaMA (1)
Microsoft.ML.GenAI.Mistral (2)
Microsoft.ML.OnnxTransformer (2)
Microsoft.ML.Parquet (1)
Microsoft.ML.PerformanceTests (1)
Microsoft.ML.ResultProcessor (6)
Microsoft.ML.Samples (1)
Microsoft.ML.TestFramework (3)
Microsoft.ML.Tests (2)
Microsoft.ML.TimeSeries (2)
Microsoft.ML.Tokenizers (13)
Microsoft.ML.Tokenizers.Tests (2)
Microsoft.ML.Transforms (2)
Microsoft.Net.Http.Headers (2)
Microsoft.Net.Http.Headers.Tests (22)
Microsoft.NET.StringTools (2)
Microsoft.NET.StringTools.net35 (3)
Microsoft.VisualBasic.Core (1)
Microsoft.VisualBasic.Forms.Tests (1)
Microsoft.VisualStudio.LanguageServices (77)
EditorConfigSettings\Analyzers\View\ColumnDefinitions\AnalyzerSeverityColumnDefinition.cs (1)
50_ => string.Empty,
MoveStaticMembers\VisualStudioMoveStaticMembersOptionsService.cs (1)
115? string.Empty
UnusedReferences\Dialog\UnusedReferencesTableProvider.ColumnDefinitions.cs (1)
278: string.Empty;
Microsoft.VisualStudio.LanguageServices.CSharp (16)
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (3)
Microsoft.VisualStudio.LanguageServices.Implementation (12)
Microsoft.VisualStudio.LanguageServices.Xaml (2)
Microsoft.Web.Xdt.Extensions (1)
MinimalSample (1)
MvcFormSample (1)
OpenIdConnectSample (2)
PresentationBuildTasks (188)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlNodes.cs (1)
1176string.Empty :
PresentationCore (97)
PresentationCore.Tests (20)
System\Windows\Input\Command\KeyGestureConverter.Tests.cs (6)
93yield return new object?[] { new KeyGesture(Key.None, ModifierKeys.None, validateGesture: false), null, CultureInfo.InvariantCulture, string.Empty };
161yield return new object?[] { string.Empty, null, CultureInfo.InvariantCulture, null };
164yield return new object?[] { string.Empty, null, CultureInfo.InvariantCulture, new KeyGesture(Key.None, ModifierKeys.None, validateGesture: false) };
165yield return new object?[] { string.Empty, null, CultureInfo.InvariantCulture, new KeyGesture(Key.None, ModifierKeys.Control, validateGesture: false) };
166yield return new object?[] { string.Empty, null, new CultureInfo("de-DE"), new KeyGesture(Key.None, ModifierKeys.Windows, validateGesture: false) };
167yield return new object?[] { string.Empty, null, new CultureInfo("ru-RU"), new KeyGesture(Key.None, ModifierKeys.Alt, validateGesture: false) };
System\Windows\Input\Command\MouseGestureConverter.Tests.cs (3)
93yield return new object?[] { new MouseGesture(MouseAction.None, ModifierKeys.None), null, CultureInfo.InvariantCulture, string.Empty };
153yield return new object?[] { string.Empty, null, CultureInfo.InvariantCulture, null };
156yield return new object?[] { string.Empty, null, CultureInfo.InvariantCulture, new MouseGesture(MouseAction.None, ModifierKeys.None) };
PresentationFramework (462)
System\Windows\Markup\BamlReader.cs (82)
165_value = string.Empty;
166_assemblyName = string.Empty;
167_prefix = string.Empty;
168_xmlNamespace = string.Empty;
169_clrNamespace = string.Empty;
170_name = string.Empty;
171_localName = string.Empty;
172_ownerTypeName = string.Empty;
394_ownerTypeName = string.Empty;
402_contentPropertyName = string.Empty;
431_prefix = string.Empty;
440_ownerTypeName = string.Empty;
442_xmlNamespace = string.Empty;
443_clrNamespace = string.Empty;
452_contentPropertyName = string.Empty;
453_prefix = string.Empty;
454_name = string.Empty;
455_localName = string.Empty;
456_ownerTypeName = string.Empty;
457_assemblyName = string.Empty;
458_xmlNamespace = string.Empty;
459_clrNamespace = string.Empty;
817XmlNamespace = string.Empty,
818ClrNamespace = string.Empty,
819AssemblyName = string.Empty,
821LocalName = bamlRecord.Prefix ?? string.Empty,
1052if (prefix != string.Empty)
1101AssemblyName = string.Empty,
1104ClrNamespace = string.Empty,
1130AssemblyName = string.Empty,
1133ClrNamespace = string.Empty,
1159AssemblyName = string.Empty,
1162ClrNamespace = string.Empty,
1277AssemblyName = string.Empty,
1280ClrNamespace = string.Empty,
1299if (typeExtensionPrefix != string.Empty)
1314if (prefix != string.Empty)
1328AssemblyName = string.Empty,
1331ClrNamespace = string.Empty,
1400AssemblyName = string.Empty,
1403ClrNamespace = string.Empty,
1438if (prefix != string.Empty)
1559if (prefix != string.Empty)
1688AssemblyName = string.Empty,
1691ClrNamespace = string.Empty,
1793throw new InvalidOperationException(SR.Format(SR.ParserBamlEvent, string.Empty));
1807throw new InvalidOperationException(SR.Format(SR.ParserBamlEvent, string.Empty));
1906_ownerTypeName = string.Empty;
1963_ownerTypeName = string.Empty;
2045_ownerTypeName = string.Empty;
2089_ownerTypeName = string.Empty;
2160_ownerTypeName = string.Empty;
2201_prefix = string.Empty;
2286AssemblyName = string.Empty,
2289ClrNamespace = string.Empty,
2323_value = string.Empty;
2324_prefix = string.Empty;
2325_name = string.Empty;
2326_localName = string.Empty;
2327_ownerTypeName = string.Empty;
2328_assemblyName = string.Empty;
2329_xmlNamespace = string.Empty;
2330_clrNamespace = string.Empty;
2332_contentPropertyName = string.Empty;
2334_typeConverterAssemblyName = string.Empty;
2335_typeConverterName = string.Empty;
2372string valueString = string.Empty;
2400valuePrefix = (prefixObject == null) ? string.Empty : (string)prefixObject;
2414if (valuePrefix == string.Empty)
2429string valueString = string.Empty;
2435if (extensionPrefix != string.Empty)
2475valuePrefix = (prefixObject == null) ? string.Empty : (string)prefixObject;
2489if (valuePrefix == string.Empty)
2504string valueString = string.Empty;
2521string valueString = string.Empty;
2542string valueString = string.Empty;
2584if (typeExtensionPrefix != string.Empty)
2600if (valuePrefix == string.Empty)
2706string prefix = string.Empty;
2711if (xmlns == string.Empty)
2713xmlns = _parserContext.XmlnsDictionary[string.Empty];
2747return String.Empty; // and error actually but old code defaulted this way.
System\Windows\MessageBox.cs (2)
169return ShowCore(IntPtr.Zero, messageBoxText, String.Empty, MessageBoxButton.OK, MessageBoxImage.None, 0, 0);
323return ShowCore((new WindowInteropHelper (owner)).Handle, messageBoxText, String.Empty, MessageBoxButton.OK, MessageBoxImage.None, 0, 0);
PresentationFramework.Tests (2)
PresentationFramework-SystemXml (3)
PresentationUI (28)
ProjectCachePlugin (1)
RateLimitingSample (1)
RazorBuildWebSite (1)
RazorPagesWebSite (1)
RazorWebSite (2)
ReachFramework (18)
Replay (2)
Roslyn.Diagnostics.Analyzers (39)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleHelpers.cs (1)
193: string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StringExtensions.cs (1)
63: string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionKey2.cs (1)
56: string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationSymbolFactory.cs (1)
394name: string.Empty,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationArrayTypeSymbol.cs (1)
10internal sealed class CodeGenerationArrayTypeSymbol(ITypeSymbol elementType, int rank, NullableAnnotation nullableAnnotation) : CodeGenerationTypeSymbol(null, null, default, Accessibility.NotApplicable, default, string.Empty, SpecialType.None, nullableAnnotation), IArrayTypeSymbol
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationConstructorSymbol.cs (1)
22name: string.Empty,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationDestructorSymbol.cs (1)
18name: string.Empty,
Roslyn.Diagnostics.CSharp.Analyzers (12)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (1)
42return string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ExpressionGenerator.cs (1)
169return string.Empty;
Roslyn.VisualStudio.DiagnosticsWindow (3)
Roslyn.VisualStudio.Next.UnitTests (1)
RunTests (2)
Sample (6)
ServerComparison.FunctionalTests (5)
Shared (6)
Shared.Tests (1)
SignalR.Client.FunctionalTestApp (1)
SignalRSamples (1)
SocialWeather (2)
Sockets.BindTests (2)
Stress.AppHost (4)
System.CodeDom (37)
System.ComponentModel.Annotations (6)
System.ComponentModel.Composition (8)
System.ComponentModel.Primitives (8)
System.ComponentModel.TypeConverter (28)
System.Composition.AttributedModel (1)
System.Configuration.ConfigurationManager (73)
System\Configuration\BaseConfigurationRecord.cs (6)
1795ScanFactoriesRecursive(xmlUtil, parentConfigKey: string.Empty, factoryList: factoryList);
2149group = string.Empty;
2317ScanSectionsRecursive(xmlUtil, string.Empty, false, null, OverrideModeSetting.s_locationDefault, false);
2802ScanSectionsRecursive(xmlUtil, string.Empty, true, null, overrideMode, !inheritInChildApp);
2848ScanSectionsRecursive(xmlUtil, string.Empty, true, locationSubPath, overrideMode, !inheritInChildApp);
3677group: string.Empty,
System.Console (9)
System.Data.Common (179)
System\Xml\XmlDataDocument.cs (8)
348prefix ??= string.Empty;
349namespaceURI ??= string.Empty;
467docelem = new XmlBoundElement(string.Empty, docElemName, DataSet.Namespace ?? string.Empty, this);
689newNode = new XmlBoundElement(string.Empty, col.EncodedColumnName, col.Namespace, this);
1360XmlBoundElement rowElement = new XmlBoundElement(string.Empty, table.EncodedTableName, table.Namespace, this);
1453value = string.Empty;
1555var newElem = new XmlBoundElement(string.Empty, col.EncodedColumnName, col.Namespace, this);
System.Data.Odbc (19)
System.Diagnostics.DiagnosticSource (14)
System.Diagnostics.FileVersionInfo (7)
System.Diagnostics.Process (12)
System.Diagnostics.TextWriterTraceListener (4)
System.Diagnostics.TraceSource (15)
System.DirectoryServices.Protocols (1)
System.Drawing.Common (3)
System.Drawing.Common.Tests (33)
mono\System.Drawing\GraphicsTests.cs (11)
1576size = g.MeasureString(string.Empty, _font);
1578g.MeasureString(string.Empty.AsSpan(), _font);
1584size = g.MeasureString(string.Empty, null);
1586g.MeasureString(string.Empty.AsSpan(), null);
1610size = g.MeasureString(string.Empty, _font, SizeF.Empty);
1613size = g.MeasureString(string.Empty.AsSpan(), _font, SizeF.Empty);
1803string s = string.Empty;
1850regions = g.MeasureCharacterRanges(string.Empty, _font, default, null);
1852regions = g.MeasureCharacterRanges(string.Empty.AsSpan(), _font, default, null);
1859regions = g.MeasureCharacterRanges(string.Empty, null, default, null);
1861regions = g.MeasureCharacterRanges(string.Empty.AsSpan(), null, default, null);
System\Drawing\Drawing2D\GraphicsPathTests.cs (2)
1055gpi.AddString(string.Empty, FontFamily.GenericMonospace, 0, 10, new Point(10, 10), StringFormat.GenericDefault);
1058gpi.AddString(string.Empty, FontFamily.GenericMonospace, 0, 10, new PointF(10f, 10f), StringFormat.GenericDefault);
System\Drawing\ImageFormatConverterTests.cs (4)
136Assert.Equal(string.Empty, (string)_imgFmtConv.ConvertTo(null, typeof(string)));
137Assert.Equal(string.Empty, (string)_imgFmtConv.ConvertTo(null, CultureInfo.CreateSpecificCulture("ru-RU"), null, typeof(string)));
139Assert.Equal(string.Empty, (string)_imgFmtConvFrmTD.ConvertTo(null, typeof(string)));
140Assert.Equal(string.Empty, (string)_imgFmtConvFrmTD.ConvertTo(null, CultureInfo.CreateSpecificCulture("de-DE"), null, typeof(string)));
System.Drawing.Primitives (1)
System.Formats.Asn1 (3)
System.Formats.Tar (17)
System.IO.Compression (3)
System.IO.Compression.ZipFile (23)
System\IO\Compression\ZipFile.Extract.Async.cs (8)
214/// <exception cref="ArgumentException"><paramref name="destinationDirectoryName" />> is <see cref="string.Empty" />, contains only white space, or contains at least one invalid character.</exception>
218/// <exception cref="IOException">The name of an entry in the archive is <see cref="string.Empty" />, contains only white space, or contains at least one invalid character.
245/// <exception cref="ArgumentException"><paramref name="destinationDirectoryName" />> is <see cref="string.Empty" />, contains only white space, or contains at least one invalid character.</exception>
249/// <exception cref="IOException">The name of an entry in the archive is <see cref="string.Empty" />, contains only white space, or contains at least one invalid character.
282/// <exception cref="ArgumentException"><paramref name="destinationDirectoryName" />> is <see cref="string.Empty" />, contains only white space, or contains at least one invalid character.
288/// <exception cref="IOException">The name of an entry in the archive is <see cref="string.Empty" />, contains only white space, or contains at least one invalid character.
322/// <exception cref="ArgumentException"><paramref name="destinationDirectoryName" />> is <see cref="string.Empty" />, contains only white space, or contains at least one invalid character.
328/// <exception cref="IOException">The name of an entry in the archive is <see cref="string.Empty" />, contains only white space, or contains at least one invalid character.
System\IO\Compression\ZipFile.Extract.cs (8)
200/// <exception cref="ArgumentException"><paramref name="destinationDirectoryName" />> is <see cref="string.Empty" />, contains only white space, or contains at least one invalid character.</exception>
204/// <exception cref="IOException">The name of an entry in the archive is <see cref="string.Empty" />, contains only white space, or contains at least one invalid character.
229/// <exception cref="ArgumentException"><paramref name="destinationDirectoryName" />> is <see cref="string.Empty" />, contains only white space, or contains at least one invalid character.</exception>
233/// <exception cref="IOException">The name of an entry in the archive is <see cref="string.Empty" />, contains only white space, or contains at least one invalid character.
264/// <exception cref="ArgumentException"><paramref name="destinationDirectoryName" />> is <see cref="string.Empty" />, contains only white space, or contains at least one invalid character.
270/// <exception cref="IOException">The name of an entry in the archive is <see cref="string.Empty" />, contains only white space, or contains at least one invalid character.
302/// <exception cref="ArgumentException"><paramref name="destinationDirectoryName" />> is <see cref="string.Empty" />, contains only white space, or contains at least one invalid character.
308/// <exception cref="IOException">The name of an entry in the archive is <see cref="string.Empty" />, contains only white space, or contains at least one invalid character.
System.IO.FileSystem.DriveInfo (1)
System.IO.FileSystem.Watcher (3)
System.IO.Packaging (12)
System.IO.Pipes (2)
System.Linq (1)
System.Memory.Data (1)
System.Net.Http (25)
System.Net.HttpListener (18)
System.Net.Mail (20)
System.Net.NameResolution (3)
System.Net.NetworkInformation (2)
System.Net.Primitives (43)
System.Net.Quic (7)
System.Net.Requests (24)
System.Net.Security (17)
System\Net\Security\NegotiateStream.cs (5)
103BeginAuthenticateAsClient((NetworkCredential)CredentialCache.DefaultCredentials, binding: null, string.Empty, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification,
138ValidateCreateContext(DefaultPackage, credential, string.Empty, policy, requiredProtectionLevel, requiredImpersonationLevel);
161AuthenticateAsClient((NetworkCredential)CredentialCache.DefaultCredentials, binding: null, string.Empty, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification);
181AuthenticateAsClientAsync((NetworkCredential)CredentialCache.DefaultCredentials, binding: null, string.Empty, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification);
215ValidateCreateContext(DefaultPackage, credential, string.Empty, policy, requiredProtectionLevel, requiredImpersonationLevel);
System.Net.ServerSentEvents (1)
System.Net.Sockets (1)
System.Net.WebClient (3)
System.Net.WebHeaderCollection (2)
System.Net.WebSockets (5)
System.ObjectModel (1)
System.Private.CoreLib (201)
src\libraries\System.Private.CoreLib\src\System\Globalization\CalendarData.cs (5)
85"July", "August", "September", "October", "November", "December", string.Empty ]; // month names
87"Jul", "Aug", "Sep", "Oct", "Nov", "Dec", string.Empty ]; // abbreviated month names
115this.sNativeName ??= string.Empty; // Calendar Name for the locale.
144this.sNativeName = string.Empty;
228this.saEraNames = [string.Empty];
src\libraries\System.Private.CoreLib\src\System\Text\ValueStringBuilder.AppendFormat.cs (1)
244s ??= string.Empty;
System.Private.CoreLib.Generators (1)
System.Private.DataContractSerialization (153)
System\Xml\XmlDictionaryReader.cs (23)
389string result = string.Empty;
456return string.Empty;
462return string.Empty;
466return string.Empty;
469string result = string.Empty;
692value = string.Empty;
712value = XmlConverter.ToBoolean(string.Empty);
732value = XmlConverter.ToInt32(string.Empty);
752value = XmlConverter.ToInt64(string.Empty);
772value = XmlConverter.ToSingle(string.Empty);
792value = XmlConverter.ToDouble(string.Empty);
812value = XmlConverter.ToDecimal(string.Empty);
834value = DateTime.Parse(string.Empty, NumberFormatInfo.InvariantInfo);
838throw XmlExceptionHelper.CreateConversionException(string.Empty, "DateTime", exception);
842throw XmlExceptionHelper.CreateConversionException(string.Empty, "DateTime", exception);
865value = new UniqueId(string.Empty);
869throw XmlExceptionHelper.CreateConversionException(string.Empty, "UniqueId", exception);
873throw XmlExceptionHelper.CreateConversionException(string.Empty, "UniqueId", exception);
896value = new Guid(string.Empty);
900throw XmlExceptionHelper.CreateConversionException(string.Empty, "Guid", exception);
904throw XmlExceptionHelper.CreateConversionException(string.Empty, "Guid", exception);
908throw XmlExceptionHelper.CreateConversionException(string.Empty, "Guid", exception);
929value = XmlConverter.ToTimeSpan(string.Empty);
System.Private.Uri (34)
System.Private.Windows.Core (9)
System.Private.Windows.Core.Tests (1)
System.Private.Windows.Core.TestUtilities (11)
System.Private.Xml (1011)
System\Xml\BinaryXml\XmlBinaryReader.cs (40)
77this.prefix = this.localname = this.namespaceUri = string.Empty;
230this.symtable[0] = string.Empty;
348AddInitNamespace(string.Empty, string.Empty);
507return string.Empty;
603return string.Empty;
658ns = string.Empty;
708ns = string.Empty;
1121return XmlConvert.ToBoolean(string.Empty);
1211return XmlConvert.ToDateTime(string.Empty, XmlDateTimeSerializationMode.RoundtripKind);
1306return XmlConvert.ToDouble(string.Empty);
1401return XmlConvert.ToSingle(string.Empty);
1496return XmlConvert.ToDecimal(string.Empty);
1591return XmlConvert.ToInt32(string.Empty);
1686return XmlConvert.ToInt64(string.Empty);
1729value = string.Empty;
1769value = string.Empty;
1944prefixStr = string.Empty;
1977throw new XmlException(SR.XmlBin_InvalidQNameID, string.Empty);
1985throw new XmlException(SR.XmlBin_InvalidQNameID, string.Empty);
2326return string.Empty;
2500name = new QName(string.Empty, _xmlns, _nsxmlns);
2543_attributes[0].Set(new QName(string.Empty, _xnt.Add("version"), string.Empty), ParseText());
2548_attributes[1].Set(new QName(string.Empty, _xnt.Add("encoding"), string.Empty), ParseText());
2559_attributes[_attrCount].Set(new QName(string.Empty, _xnt.Add("standalone"), string.Empty), (standalone == 1) ? "yes" : "no");
2568QName xmlDeclQName = new QName(string.Empty, _xnt.Add("xml"), string.Empty);
2600PushNamespace(curDeclPrefix, string.Empty, false);
2625curDeclPrefix = string.Empty;
2630throw new XmlException(SR.Xml_PrefixForEmptyNs, string.Empty);
3124_attributes[_attrCount++].Set(new QName(string.Empty, _xnt.Add("SYSTEM"), string.Empty), ParseText());
3129_attributes[_attrCount++].Set(new QName(string.Empty, _xnt.Add("PUBLIC"), string.Empty), ParseText());
4014throw new XmlException(SR.XmlBin_InvalidQNameID, string.Empty);
4163throw new XmlException(SR.XmlBin_InvalidQNameID, string.Empty);
4361throw new XmlException(SR.XmlBin_InvalidQNameID, string.Empty);
System\Xml\Cache\XPathDocumentBuilder.cs (29)
107idx = NewNode(out page, XPathNodeType.Text, string.Empty, string.Empty, string.Empty, string.Empty);
117_idxParent = NewNode(out _pageParent, XPathNodeType.Root, string.Empty, string.Empty, string.Empty, baseUri);
144this.WriteStartElement(prefix, localName, ns, string.Empty);
300AddSibling(XPathNodeType.Attribute, localName, namespaceName, prefix, string.Empty);
341AddSibling(XPathNodeType.Comment, string.Empty, string.Empty, string.Empty, string.Empty);
350this.WriteProcessingInstruction(name, text, string.Empty);
361AddSibling(XPathNodeType.ProcessingInstruction, name, string.Empty, string.Empty, baseUri);
447AddSibling(XPathNodeType.Text, string.Empty, string.Empty, string.Empty, string.Empty);
448_pageSibling[_idxSibling].SetValue(string.Empty);
641info = _infoTable.Create(prefix, string.Empty, string.Empty, string.Empty,
779AddSibling((XPathNodeType)textType, string.Empty, string.Empty, string.Empty, string.Empty);
936return string.Empty;
System\Xml\Core\XmlParserContext.cs (24)
16private string _docTypeName = string.Empty;
17private string _pubId = string.Empty;
18private string _sysId = string.Empty;
19private string _internalSubset = string.Empty;
20private string _xmlLang = string.Empty;
22private string _baseURI = string.Empty;
26: this(nt, nsMgr, null, null, null, null, string.Empty, xmlLang, xmlSpace)
32: this(nt, nsMgr, null, null, null, null, string.Empty, xmlLang, xmlSpace, enc)
59throw new XmlException(SR.Xml_NotSameNametable, string.Empty);
71_docTypeName = docTypeName ?? string.Empty;
72_pubId = pubId ?? string.Empty;
73_sysId = sysId ?? string.Empty;
74_internalSubset = internalSubset ?? string.Empty;
75_baseURI = baseURI ?? string.Empty;
76_xmlLang = xmlLang ?? string.Empty;
114_docTypeName = value ?? string.Empty;
127_pubId = value ?? string.Empty;
140_sysId = value ?? string.Empty;
153_baseURI = value ?? string.Empty;
166_internalSubset = value ?? string.Empty;
179_xmlLang = value ?? string.Empty;
211return (_internalSubset != string.Empty || _pubId != string.Empty || _sysId != string.Empty);
System\Xml\Core\XmlReader.cs (33)
133public virtual string XmlLang => string.Empty;
355return string.Empty;
375return XmlConvert.ToBoolean(string.Empty);
395return XmlConvert.ToDateTime(string.Empty, XmlDateTimeSerializationMode.RoundtripKind);
416return XmlConvert.ToDouble(string.Empty);
437return XmlConvert.ToSingle(string.Empty);
457return XmlConvert.ToDecimal(string.Empty);
477return XmlConvert.ToInt32(string.Empty);
497return XmlConvert.ToInt64(string.Empty);
518return string.Empty;
539return returnType == typeof(string) ? string.Empty : XmlUntypedConverter.Untyped.ChangeType(string.Empty, returnType, namespaceResolver);
690return string.Empty;
697return string.Empty;
706return string.Empty;
709string result = string.Empty;
794string result = string.Empty;
821string result = string.Empty;
854string result = string.Empty;
1107return string.Empty;
1114return string.Empty;
1210return string.Empty;
1217return string.Empty;
1467string value = string.Empty;
1539throw new XmlException(SR.Xml_MixedReadElementContentAs, string.Empty, this as IXmlLineInfo);
1638return new XmlTextReaderImpl(input, null, 0, XmlReaderSettings.s_defaultReaderSettings, null, string.Empty, null, false);
1644return Create(input, settings, string.Empty);
1658return settings.CreateReader(input, null, string.Empty, inputContext);
1668return new XmlTextReaderImpl(input, XmlReaderSettings.s_defaultReaderSettings, string.Empty, null);
1674return Create(input, settings, string.Empty);
1688return settings.CreateReader(input, string.Empty, inputContext);
1723reader = new XmlSqlBinaryReader(input, bytes, byteCount, string.Empty, settings.CloseInput, settings);
1727reader = new XmlTextReaderImpl(input, bytes, byteCount, settings, null, string.Empty, inputContext, settings.CloseInput);
System\Xml\Core\XmlTextReaderImpl.cs (54)
180private readonly string _url = string.Empty;
203private string _lastPrefix = string.Empty;
213private string _reportedBaseUri = string.Empty;
323nt.Add(string.Empty);
387nt.Add(string.Empty);
449internal XmlTextReaderImpl(Stream input) : this(string.Empty, input, new NameTable())
453internal XmlTextReaderImpl(Stream input, XmlNameTable nt) : this(string.Empty, input, nt)
481internal XmlTextReaderImpl(TextReader input) : this(string.Empty, input, new NameTable())
485internal XmlTextReaderImpl(TextReader input, XmlNameTable nt) : this(string.Empty, input, nt)
497_reportedBaseUri = url ?? string.Empty;
531xmlFragment ??= string.Empty;
535InitStringInput(string.Empty, Encoding.Unicode, xmlFragment);
555InitStringInput((context == null) ? string.Empty : context.BaseURI, Encoding.Unicode, $"<?xml {xmlFragment}?>");
638Task<object> t = _laterInitParam.inputUriResolver.GetEntityAsync(_laterInitParam.inputbaseUri, string.Empty, typeof(Stream));
643stream = (Stream?)_laterInitParam.inputUriResolver.GetEntity(_laterInitParam.inputbaseUri, string.Empty, typeof(Stream));
704_reportedBaseUri = baseUriStr ?? string.Empty;
763Debug.Assert(baseUriStr == string.Empty, "BaseURI can come either from XmlParserContext or from the constructor argument, not from both");
813InitStringInput(string.Empty, Encoding.Unicode, xmlFragment);
888return _curNode.ns ?? string.Empty;
1050namespaceURI = (namespaceURI == null) ? string.Empty : _nameTable.Get(namespaceURI);
1105string? namespaceURIAtomized = (namespaceURI == null) ? string.Empty : _nameTable.Get(namespaceURI);
1292_curNode.SetValueNode(XmlNodeType.Text, string.Empty);
1518throw new XmlException(SR.Xml_InternalError, string.Empty);
1544throw new XmlException(SR.Xml_InternalError, string.Empty);
1850_curNode.SetValue(string.Empty);
1989_xmlContext.defaultNamespace = _namespaceManager.LookupNamespace(string.Empty)!;
1998_xmlContext.defaultNamespace = string.Empty;
2054throw new XmlException(SR.Xml_WhitespaceHandling, string.Empty);
2090throw new XmlException(SR.Xml_EntityHandling, string.Empty);
2171return new StringReader(string.Empty);
2670Throw(res, string.Empty);
2676Throw(res, string.Empty);
2682Throw(new XmlException(res, string.Empty, lineNo, linePos, _ps.baseUriStr));
2738Throw(new XmlException(res, string.Empty, _ps.baseUriStr));
2820InitStreamInput(null, string.Empty, stream, null, 0, encoding);
2975_xmlContext.defaultNamespace = _namespaceManager.LookupNamespace(string.Empty)!;
2990_ps.baseUriStr = string.Empty;
3569_reportedBaseUri = string.Empty;
5040AddNamespace(string.Empty, ns, attr);
5829_curNode.SetValue(string.Empty);
6039schemaEntity.Text = string.Empty;
6053schemaEntity.Text = string.Empty;
6737_curNode.SetNamedNode(XmlNodeType.DocumentType, _dtdInfo.Name.ToString(), string.Empty, null);
6837_curNode.SetValue(string.Empty);
7667return AddAttribute(localName, string.Empty, localName);
7935ThrowWithoutLineInfo(SR.Xml_CannotResolveExternalSubset, new string?[] { publicId ?? string.Empty, systemId }, null);
8021InitStringInput(entity.SystemId!, enc, string.Empty);
8039InitStringInput(entity.DeclaredUriString ?? string.Empty, enc, entity.Text!);
8574_curNode.SetValueNode(XmlNodeType.Text, string.Empty);
9017_xmlContext.defaultNamespace = _namespaceManager.LookupNamespace(string.Empty)!;
9031throw new XmlException(SR.Xml_NametableMismatch, string.Empty);
9249prefix ??= string.Empty;
9384_curNode.SetValue(string.Empty);
9617return string.Empty;
System\Xml\Core\XmlTextReaderImplAsync.cs (11)
77Stream stream = (Stream)(await _laterInitParam!.inputUriResolver!.GetEntityAsync(_laterInitParam.inputbaseUri!, string.Empty, typeof(Stream)).ConfigureAwait(false));
225_curNode.SetValueNode(XmlNodeType.Text, string.Empty);
675_curNode.SetValue(string.Empty);
3598_curNode.SetValue(string.Empty);
3825schemaEntity.Text = string.Empty;
3838schemaEntity.Text = string.Empty;
4478_curNode.SetNamedNode(XmlNodeType.DocumentType, _dtdInfo.Name.ToString(), string.Empty, null);
4582_curNode.SetValue(string.Empty);
5144ThrowWithoutLineInfo(SR.Xml_CannotResolveExternalSubset, new string?[] { publicId ?? string.Empty, systemId }, null);
5228InitStringInput(entity.SystemId!, enc, string.Empty);
5392_curNode.SetValue(string.Empty);
System\Xml\Core\XmlWellFormedWriter.cs (27)
267_nsStack[2].Set(string.Empty, string.Empty, NamespaceKind.Implied);
271string? defaultNs = _predefinedNamespaces.LookupNamespace(string.Empty);
272_nsStack[2].Set(string.Empty, defaultNs ?? string.Empty, NamespaceKind.Implied);
277_elemScopeStack[0].Set(string.Empty, string.Empty, string.Empty, _nsTop);
440prefix ??= string.Empty;
457ns = string.Empty;
506throw new XmlException(SR.Xml_NoStartTag, string.Empty);
557throw new XmlException(SR.Xml_NoStartTag, string.Empty);
609prefix = string.Empty;
631prefix ??= string.Empty;
639namespaceName ??= string.Empty;
650_curDeclPrefix = string.Empty;
700prefix = string.Empty;
750if (PushNamespaceExplicit(string.Empty, value))
756_rawWriter.WriteStartNamespaceDeclaration(string.Empty);
762_rawWriter.WriteNamespaceDeclaration(string.Empty, value);
767_writer.WriteStartAttribute(string.Empty, "xmlns", XmlReservedNs.NsXmlNs);
858text ??= string.Empty;
873text ??= string.Empty;
893text ??= string.Empty;
1010ws ??= string.Empty;
1286string? prefix = string.Empty;
1687throw DupAttrException((prefix.Length == 0) ? string.Empty : "xmlns", (prefix.Length == 0) ? "xmlns" : prefix);
System\Xml\Dom\XmlLoader.cs (9)
285node.AppendChildForLoad(_doc.CreateTextNode(string.Empty), _doc);
344node.AppendChildForLoad(direct ? new XmlText(string.Empty) : _doc!.CreateTextNode(string.Empty), _doc!);
375eref.AppendChildForLoad(_doc!.CreateTextNode(string.Empty), _doc);
597XmlParserContext pc = new XmlParserContext(null, new XmlNamespaceManager(_doc!.NameTable), null, null, null, null, _doc.BaseURI, string.Empty, XmlSpace.None);
617throw new XmlException(SR.Xml_InternalError, string.Empty);
670_doc.AddXmlName(elementDecl.Prefix, elementDecl.Name.Name, string.Empty, null),
671_doc.AddAttrXmlName(attdef.Prefix, attdef.Name.Name, string.Empty, null));
711mgr.AddNamespace(string.Empty, attr.Value);
System\Xml\Schema\DtdParser.cs (20)
148private string? _systemId = string.Empty;
149private string? _publicId = string.Empty;
192private string _documentBaseUri = string.Empty;
193private string _externalDtdBaseUri = string.Empty;
571SendValidationEvent(_curPos, XmlSeverityType.Error, SR.Sch_ParEntityRefNesting, string.Empty);
631SendValidationEvent(_curPos, XmlSeverityType.Error, SR.Sch_ParEntityRefNesting, string.Empty);
687Throw(SR.Xml_EnumerationRequired, string.Empty, attrDef.LineNumber, attrDef.LinePosition);
727Throw(SR.Xml_EnumerationRequired, string.Empty, attrDef.LineNumber, attrDef.LinePosition);
906SendValidationEvent(_curPos, XmlSeverityType.Error, SR.Sch_AttListPresence, string.Empty);
1088SendValidationEvent(_curPos, XmlSeverityType.Error, SR.Sch_ParEntityRefNesting, string.Empty);
1150SendValidationEvent(_curPos, XmlSeverityType.Error, SR.Sch_ParEntityRefNesting, string.Empty);
1175SendValidationEvent(_curPos, XmlSeverityType.Error, SR.Sch_ParEntityRefNesting, string.Empty);
1196SendValidationEvent(_curPos, XmlSeverityType.Error, SR.Sch_ParEntityRefNesting, string.Empty);
1423SendValidationEvent(_curPos, XmlSeverityType.Error, SR.Sch_ParEntityRefNesting, string.Empty);
1448SendValidationEvent(_curPos, XmlSeverityType.Error, SR.Sch_ParEntityRefNesting, string.Empty);
1457SendValidationEvent(_curPos, XmlSeverityType.Error, SR.Sch_ParEntityRefNesting, string.Empty);
2631Throw(SR.Xml_ErrorParsingEntityName, string.Empty, e.LineNumber, e.LinePosition);
3441return (tmp != null) ? tmp.ToString() : string.Empty;
3453Throw(curPos, res, string.Empty);
3542return string.Empty;
System\Xml\Schema\DtdParserAsync.cs (12)
215SendValidationEvent(_curPos, XmlSeverityType.Error, SR.Sch_ParEntityRefNesting, string.Empty);
275SendValidationEvent(_curPos, XmlSeverityType.Error, SR.Sch_ParEntityRefNesting, string.Empty);
331Throw(SR.Xml_EnumerationRequired, string.Empty, attrDef.LineNumber, attrDef.LinePosition);
371Throw(SR.Xml_EnumerationRequired, string.Empty, attrDef.LineNumber, attrDef.LinePosition);
550SendValidationEvent(_curPos, XmlSeverityType.Error, SR.Sch_AttListPresence, string.Empty);
719SendValidationEvent(_curPos, XmlSeverityType.Error, SR.Sch_ParEntityRefNesting, string.Empty);
781SendValidationEvent(_curPos, XmlSeverityType.Error, SR.Sch_ParEntityRefNesting, string.Empty);
806SendValidationEvent(_curPos, XmlSeverityType.Error, SR.Sch_ParEntityRefNesting, string.Empty);
827SendValidationEvent(_curPos, XmlSeverityType.Error, SR.Sch_ParEntityRefNesting, string.Empty);
1045SendValidationEvent(_curPos, XmlSeverityType.Error, SR.Sch_ParEntityRefNesting, string.Empty);
1070SendValidationEvent(_curPos, XmlSeverityType.Error, SR.Sch_ParEntityRefNesting, string.Empty);
1079SendValidationEvent(_curPos, XmlSeverityType.Error, SR.Sch_ParEntityRefNesting, string.Empty);
System\Xml\Schema\FacetChecker.cs (63)
317throw new XmlSchemaException(SR.Sch_TotalDigitsMismatch, string.Empty);
344throw new XmlSchemaException(SR.Sch_FractionDigitsMismatch, string.Empty);
386throw new XmlSchemaException(SR.Sch_MaxInclusiveMismatch, string.Empty);
393throw new XmlSchemaException(SR.Sch_MaxIncExlMismatch, string.Empty);
403throw new XmlSchemaException(SR.Sch_MaxExclusiveMismatch, string.Empty);
410throw new XmlSchemaException(SR.Sch_MaxExlIncMismatch, string.Empty);
420throw new XmlSchemaException(SR.Sch_MinInclusiveMismatch, string.Empty);
427throw new XmlSchemaException(SR.Sch_MinIncExlMismatch, string.Empty);
434throw new XmlSchemaException(SR.Sch_MinIncMaxExlMismatch, string.Empty);
444throw new XmlSchemaException(SR.Sch_MinExclusiveMismatch, string.Empty);
451throw new XmlSchemaException(SR.Sch_MinExlIncMismatch, string.Empty);
458throw new XmlSchemaException(SR.Sch_MinExlMaxExlMismatch, string.Empty);
477throw new XmlSchemaException(SR.Sch_MaxInclusiveExclusive, string.Empty);
484throw new XmlSchemaException(SR.Sch_MinInclusiveExclusive, string.Empty);
491throw new XmlSchemaException(SR.Sch_LengthAndMinMax, string.Empty);
504throw new XmlSchemaException(SR.Sch_MinLengthGtMaxLength, string.Empty);
515throw new XmlSchemaException(SR.Sch_MinInclusiveGtMaxInclusive, string.Empty);
525throw new XmlSchemaException(SR.Sch_MinInclusiveGtMaxExclusive, string.Empty);
535throw new XmlSchemaException(SR.Sch_MinExclusiveGtMaxExclusive, string.Empty);
545throw new XmlSchemaException(SR.Sch_MinExclusiveGtMaxInclusive, string.Empty);
552throw new XmlSchemaException(SR.Sch_FractionDigitsGtTotalDigits, string.Empty);
877return new XmlSchemaException(SR.Sch_PatternConstraintFailed, string.Empty);
1022return new XmlSchemaException(SR.Sch_MaxInclusiveConstraintFailed, string.Empty);
1030return new XmlSchemaException(SR.Sch_MaxExclusiveConstraintFailed, string.Empty);
1038return new XmlSchemaException(SR.Sch_MinInclusiveConstraintFailed, string.Empty);
1046return new XmlSchemaException(SR.Sch_MinExclusiveConstraintFailed, string.Empty);
1053return new XmlSchemaException(SR.Sch_EnumerationConstraintFailed, string.Empty);
1109return new XmlSchemaException(SR.Sch_TotalDigitsConstraintFailed, string.Empty);
1113return new XmlSchemaException(SR.Sch_FractionDigitsConstraintFailed, string.Empty);
1138return new XmlSchemaException(SR.Sch_MaxInclusiveConstraintFailed, string.Empty);
1145return new XmlSchemaException(SR.Sch_MaxExclusiveConstraintFailed, string.Empty);
1153return new XmlSchemaException(SR.Sch_MinInclusiveConstraintFailed, string.Empty);
1161return new XmlSchemaException(SR.Sch_MinExclusiveConstraintFailed, string.Empty);
1168return new XmlSchemaException(SR.Sch_EnumerationConstraintFailed, string.Empty);
1213return new XmlSchemaException(SR.Sch_MaxInclusiveConstraintFailed, string.Empty);
1221return new XmlSchemaException(SR.Sch_MaxExclusiveConstraintFailed, string.Empty);
1229return new XmlSchemaException(SR.Sch_MinInclusiveConstraintFailed, string.Empty);
1237return new XmlSchemaException(SR.Sch_MinExclusiveConstraintFailed, string.Empty);
1244return new XmlSchemaException(SR.Sch_EnumerationConstraintFailed, string.Empty);
1284return new XmlSchemaException(SR.Sch_MaxInclusiveConstraintFailed, string.Empty);
1292return new XmlSchemaException(SR.Sch_MaxExclusiveConstraintFailed, string.Empty);
1300return new XmlSchemaException(SR.Sch_MinInclusiveConstraintFailed, string.Empty);
1308return new XmlSchemaException(SR.Sch_MinExclusiveConstraintFailed, string.Empty);
1316return new XmlSchemaException(SR.Sch_EnumerationConstraintFailed, string.Empty);
1375return new XmlSchemaException(SR.Sch_LengthConstraintFailed, string.Empty);
1382return new XmlSchemaException(SR.Sch_MinLengthConstraintFailed, string.Empty);
1389return new XmlSchemaException(SR.Sch_MaxLengthConstraintFailed, string.Empty);
1396return new XmlSchemaException(SR.Sch_EnumerationConstraintFailed, string.Empty);
1457return new XmlSchemaException(SR.Sch_EmptyAttributeValue, string.Empty);
1461return new XmlSchemaException(SR.Sch_InvalidLanguageId, string.Empty);
1509return new XmlSchemaException(SR.Sch_LengthConstraintFailed, string.Empty);
1516return new XmlSchemaException(SR.Sch_MinLengthConstraintFailed, string.Empty);
1523return new XmlSchemaException(SR.Sch_MaxLengthConstraintFailed, string.Empty);
1530return new XmlSchemaException(SR.Sch_EnumerationConstraintFailed, string.Empty);
1578return new XmlSchemaException(SR.Sch_LengthConstraintFailed, string.Empty);
1585return new XmlSchemaException(SR.Sch_MinLengthConstraintFailed, string.Empty);
1592return new XmlSchemaException(SR.Sch_MaxLengthConstraintFailed, string.Empty);
1599return new XmlSchemaException(SR.Sch_EnumerationConstraintFailed, string.Empty);
1641return new XmlSchemaException(SR.Sch_LengthConstraintFailed, string.Empty);
1649return new XmlSchemaException(SR.Sch_MinLengthConstraintFailed, string.Empty);
1657return new XmlSchemaException(SR.Sch_MaxLengthConstraintFailed, string.Empty);
1665return new XmlSchemaException(SR.Sch_EnumerationConstraintFailed, string.Empty);
1710return new XmlSchemaException(SR.Sch_EnumerationConstraintFailed, string.Empty);
System\Xml\Serialization\XmlReflectionImporter.cs (8)
77_defaultNs = defaultNamespace ?? string.Empty;
126TypeMapping mapping = ImportTypeMapping(_modelScope.GetTypeModel(type), _defaultNs, ImportContext.Element, string.Empty, null, limiter);
278ElementAccessor element = CreateElementAccessor(ImportTypeMapping(model, ns, ImportContext.Element, string.Empty, a, limiter), ns);
1569accessor.ChoiceIdentifier.Mapping = ImportTypeMapping(_modelScope.GetTypeModel(choiceIdentifierType!), ns, ImportContext.Element, string.Empty, null, limiter);
1712element.Mapping = ImportTypeMapping(typeModel, element.Namespace, ImportContext.Element, string.Empty, null, limiter);
1955element.Mapping = ImportTypeMapping(typeModel, element.Namespace, ImportContext.Element, string.Empty, null, false, openModel, limiter);
2295defaultNamespace ??= string.Empty;
2307string typeName = string.Empty;
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (18)
461WriteStartElementUnchecked(string.Empty, localName, string.Empty);
496WriteEndElementUnchecked(string.Empty, localName, string.Empty);
515WriteStartAttributeUnchecked(string.Empty, localName, string.Empty);
618WriteStartElement(string.Empty, localName, string.Empty);
626WriteStartAttribute(string.Empty, localName, string.Empty);
1148throw new XslTransformException(SR.XmlIl_NmspAfterAttr, string.Empty);
1225WriteNamespaceDeclarationUnchecked(string.Empty, string.Empty);
1508prefix = (name.Namespace.Length != 0) ? RemapPrefix(string.Empty, name.Namespace, nodeType == XPathNodeType.Element) : string.Empty;
1527prefix = (ns.Length != 0) ? RemapPrefix(string.Empty, ns, nodeType == XPathNodeType.Element) : string.Empty;
1581throw new XslTransformException(SR.XmlIl_BadXmlStateAttr, string.Empty);
System.Private.Xml.Linq (52)
System.Reflection.Emit (1)
System.Reflection.Metadata (10)
System.Reflection.MetadataLoadContext (10)
System.Resources.Extensions (1)
System.Runtime.InteropServices (1)
System.Runtime.Numerics (1)
System.Runtime.Serialization.Schema (7)
System.Security.Claims (2)
System.Security.Cryptography (10)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.EcKey.cs (1)
82return string.Empty;
System.Security.Cryptography.Pkcs (3)
System.Security.Cryptography.Xml (5)
System.Security.Permissions (4)
System.ServiceModel.Http (23)
System.ServiceModel.Http.Tests (1)
System.ServiceModel.NetFramingBase (5)
System.ServiceModel.NetNamedPipe (1)
System.ServiceModel.NetTcp (2)
System.ServiceModel.Primitives (85)
Internals\System\Runtime\ExceptionTrace.cs (12)
39WcfEventSource.Instance.ThrowingEtwException(_eventSourceName, exception != null ? exception.ToString() : string.Empty, serializedException);
46WcfEventSource.Instance.EtwUnhandledException(exception != null ? exception.ToString() : string.Empty, serializedException);
53WcfEventSource.Instance.ThrowingEtwExceptionVerbose(_eventSourceName, exception != null ? exception.ToString() : string.Empty, serializedException);
69WcfEventSource.Instance.ThrowingEtwException(_eventSourceName, exception != null ? exception.ToString() : string.Empty, serializedException);
76WcfEventSource.Instance.EtwUnhandledException(exception != null ? exception.ToString() : string.Empty, serializedException);
83WcfEventSource.Instance.ThrowingEtwExceptionVerbose(_eventSourceName, exception != null ? exception.ToString() : string.Empty, serializedException);
273TraceCore.HandledExceptionError(_diagnosticTrace, exception != null ? exception.ToString() : string.Empty, exception);
278TraceCore.HandledExceptionWarning(_diagnosticTrace, exception != null ? exception.ToString() : string.Empty, exception);
283TraceCore.HandledExceptionVerbose(_diagnosticTrace, exception != null ? exception.ToString() : string.Empty, exception);
288TraceCore.HandledException(_diagnosticTrace, exception != null ? exception.ToString() : string.Empty, exception);
295TraceCore.UnhandledException(_diagnosticTrace, exception != null ? exception.ToString() : string.Empty, exception);
309TraceCore.ThrowingException(_diagnosticTrace, eventSource, exception != null ? exception.ToString() : string.Empty, exception);
System.ServiceModel.Primitives.Tests (18)
ServiceModel\FaultExceptionTest.cs (9)
80Assert.Equal(string.Empty, faultException.Code.Namespace);
123Assert.NotEqual(string.Empty, exception.Reason.ToString());
142exception = new FaultException<FaultDetail>(null, string.Empty);
148Assert.Equal(string.Empty, exception.Reason.ToString());
149Assert.Equal(string.Empty, exception.Message);
173Assert.NotEqual(string.Empty, exception.Reason.ToString());
201exception = new FaultException<FaultDetail>(null, string.Empty, null, null);
205Assert.Equal(string.Empty, exception.Reason.ToString());
206Assert.Equal(string.Empty, exception.Message);
System.ServiceModel.Syndication (47)
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (24)
21private static readonly XmlQualifiedName s_atom10Href = new XmlQualifiedName(Atom10Constants.HrefTag, string.Empty);
22private static readonly XmlQualifiedName s_atom10Label = new XmlQualifiedName(Atom10Constants.LabelTag, string.Empty);
23private static readonly XmlQualifiedName s_atom10Length = new XmlQualifiedName(Atom10Constants.LengthTag, string.Empty);
24private static readonly XmlQualifiedName s_atom10Relative = new XmlQualifiedName(Atom10Constants.RelativeTag, string.Empty);
25private static readonly XmlQualifiedName s_atom10Scheme = new XmlQualifiedName(Atom10Constants.SchemeTag, string.Empty);
26private static readonly XmlQualifiedName s_atom10Term = new XmlQualifiedName(Atom10Constants.TermTag, string.Empty);
27private static readonly XmlQualifiedName s_atom10Title = new XmlQualifiedName(Atom10Constants.TitleTag, string.Empty);
28private static readonly XmlQualifiedName s_atom10Type = new XmlQualifiedName(Atom10Constants.TypeTag, string.Empty);
121if (reader.LocalName == Atom10Constants.TermTag && reader.NamespaceURI == string.Empty)
125else if (reader.LocalName == Atom10Constants.SchemeTag && reader.NamespaceURI == string.Empty)
129else if (reader.LocalName == Atom10Constants.LabelTag && reader.NamespaceURI == string.Empty)
200string categoryName = category.Name ?? string.Empty;
542if (reader.LocalName == Atom10Constants.TypeTag && reader.NamespaceURI == string.Empty)
612string type = reader.GetAttribute(Atom10Constants.TypeTag, string.Empty);
623string src = reader.GetAttribute(Atom10Constants.SourceTag, string.Empty);
638if (reader.LocalName == Atom10Constants.TypeTag && reader.NamespaceURI == string.Empty)
642else if (reader.LocalName == Atom10Constants.SourceTag && reader.NamespaceURI == string.Empty)
893else if (reader.LocalName == Atom10Constants.TypeTag && reader.NamespaceURI == string.Empty)
897else if (reader.LocalName == Atom10Constants.RelativeTag && reader.NamespaceURI == string.Empty)
901else if (reader.LocalName == Atom10Constants.TitleTag && reader.NamespaceURI == string.Empty)
905else if (reader.LocalName == Atom10Constants.LengthTag && reader.NamespaceURI == string.Empty)
909else if (reader.LocalName == Atom10Constants.HrefTag && reader.NamespaceURI == string.Empty)
1103title ??= new TextSyndicationContent(string.Empty);
1149TextSyndicationContent title = item.Title ?? new TextSyndicationContent(string.Empty);
System.ServiceModel.UnixDomainSocket (1)
System.Text.Encoding.CodePages (1)
System.Text.Json (7)
System.Text.RegularExpressions (16)
System.Text.RegularExpressions.Generator (6)
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexParser.cs (1)
2133return string.Empty;
System.Threading.Tasks.Dataflow (2)
System.Transactions.Local (82)
System\Transactions\TransactionException.cs (7)
27etwLog.TransactionExceptionTrace(TransactionExceptionType.TransactionException, message, innerException == null ? string.Empty : innerException.ToString());
47etwLog.TransactionExceptionTrace(TransactionExceptionType.InvalidOperationException, messagewithTxId, innerException == null ? string.Empty : innerException.ToString());
57etwLog.TransactionExceptionTrace(traceSource, TransactionExceptionType.InvalidOperationException, message, innerException == null ? string.Empty : innerException.ToString());
130etwLog.TransactionExceptionTrace(TransactionExceptionType.InvalidOperationException, messagewithTxId, string.Empty);
168etwLog.TransactionExceptionTrace(TransactionExceptionType.TransactionAbortedException, message, innerException == null ? string.Empty : innerException.ToString());
245etwLog.TransactionExceptionTrace(traceSource, TransactionExceptionType.TransactionInDoubtException, message, innerException == null ? string.Empty : innerException.ToString());
299etwLog.TransactionExceptionTrace(TransactionExceptionType.TransactionManagerCommunicationException, message, innerException == null ? string.Empty : innerException.ToString());
System\Transactions\TransactionsEtwProvider.cs (55)
278TransactionCloneCreate(string.Empty, type);
364SetActivityId(string.Empty);
371SetActivityId(string.Empty);
386string.Empty, type, operation);
392SetActivityId(string.Empty);
545SetActivityId(string.Empty);
552SetActivityId(string.Empty);
577SetActivityId(string.Empty);
584SetActivityId(string.Empty);
609SetActivityId(string.Empty);
634SetActivityId(string.Empty);
659SetActivityId(string.Empty);
685SetActivityId(string.Empty);
710SetActivityId(string.Empty);
735SetActivityId(string.Empty);
753SetActivityId(string.Empty);
771SetActivityId(string.Empty);
811MethodEnterTraceLtm(string.Empty, methodname);
815MethodEnterTraceBase(string.Empty, methodname);
819MethodEnterTraceDistributed(string.Empty, methodname);
827SetActivityId(string.Empty);
833SetActivityId(string.Empty);
839SetActivityId(string.Empty);
879MethodExitTraceLtm(string.Empty, methodname);
883MethodExitTraceBase(string.Empty, methodname);
887MethodExitTraceDistributed(string.Empty, methodname);
895SetActivityId(string.Empty);
901SetActivityId(string.Empty);
907SetActivityId(string.Empty);
950SetActivityId(string.Empty);
956SetActivityId(string.Empty);
962SetActivityId(string.Empty);
980SetActivityId(string.Empty);
1000SetActivityId(string.Empty);
1020SetActivityId(string.Empty);
1039SetActivityId(string.Empty);
1053TransactionScopeCreated(transactionID.TransactionIdentifier ?? string.Empty, transactionScopeResult);
1074string currentId = string.Empty;
1075string newId = string.Empty;
1104TransactionScopeNestedIncorrectly(transactionID.TransactionIdentifier ?? string.Empty);
1124TransactionScopeDisposed(transactionID.TransactionIdentifier ?? string.Empty);
1144TransactionScopeIncomplete(transactionID.TransactionIdentifier ?? string.Empty);
1164TransactionScopeTimeout(transactionID.TransactionIdentifier ?? string.Empty);
1184TransactionTimeout(transactionID.TransactionIdentifier ?? string.Empty);
1209TransactionstateEnlist(string.Empty, enlistmentType.ToString(), enlistmentOption.ToString());
1216SetActivityId(string.Empty);
1229TransactionCommittedLtm(transactionID.TransactionIdentifier ?? string.Empty);
1233TransactionCommittedOleTx(transactionID.TransactionIdentifier ?? string.Empty);
1260TransactionInDoubtLtm(transactionID.TransactionIdentifier ?? string.Empty);
1264TransactionInDoubtOleTx(transactionID.TransactionIdentifier ?? string.Empty);
1292TransactionPromoted(transactionID.TransactionIdentifier ?? string.Empty, distributedTxID.TransactionIdentifier ?? string.Empty);
1312TransactionAbortedLtm(transactionID.TransactionIdentifier ?? string.Empty);
1316TransactionAbortedOleTx(transactionID.TransactionIdentifier ?? string.Empty);
1350SetActivityId(string.Empty);
System\Transactions\TransactionState.cs (19)
303etwLog.TransactionExceptionTrace(TransactionExceptionType.InvalidOperationException, tx?.TransactionTraceId.TransactionIdentifier ?? string.Empty, e.ToString());
315etwLog.TransactionExceptionTrace(TransactionExceptionType.InvalidOperationException, tx?.TransactionTraceId.TransactionIdentifier ?? string.Empty, string.Empty);
327etwLog.TransactionExceptionTrace(TransactionExceptionType.InvalidOperationException, tx?.TransactionTraceId.TransactionIdentifier ?? string.Empty, string.Empty);
339etwLog.TransactionExceptionTrace(TransactionExceptionType.InvalidOperationException, tx?.TransactionTraceId.TransactionIdentifier ?? string.Empty, string.Empty);
351etwLog.TransactionExceptionTrace(TransactionExceptionType.InvalidOperationException, tx?.TransactionTraceId.TransactionIdentifier ?? string.Empty, string.Empty);
363etwLog.TransactionExceptionTrace(TransactionExceptionType.InvalidOperationException, tx?.TransactionTraceId.TransactionIdentifier ?? string.Empty, string.Empty);
375etwLog.TransactionExceptionTrace(TransactionExceptionType.InvalidOperationException, tx?.TransactionTraceId.TransactionIdentifier ?? string.Empty, string.Empty);
387etwLog.TransactionExceptionTrace(TransactionExceptionType.InvalidOperationException, tx?.TransactionTraceId.TransactionIdentifier ?? string.Empty, string.Empty);
399etwLog.TransactionExceptionTrace(TransactionExceptionType.InvalidOperationException, tx?.TransactionTraceId.TransactionIdentifier ?? string.Empty, string.Empty);
427etwLog.TransactionExceptionTrace(TransactionExceptionType.InvalidOperationException, tx?.TransactionTraceId.TransactionIdentifier ?? string.Empty, string.Empty);
System.Web.HttpUtility (4)
System.Windows.Controls.Ribbon (27)
System.Windows.Forms (390)
System\Windows\Forms\Controls\Buttons\CheckBox.CheckBoxAccessibleObject.cs (1)
17: string.Empty;
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxUiaTextProvider.cs (1)
101: string.Empty;
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.DataGridViewCheckBoxCellAccessibleObject.cs (1)
58return string.Empty;
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedListBoxItemAccessibleObject.cs (1)
26return string.Empty;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.HelpPaneAccessibleObject.cs (1)
64: string.Empty;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
58Text = string.Empty;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.PropertyGridViewAccessibleObject.cs (1)
86return string.Empty;
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.ToolStripControlHostAccessibleObject.cs (1)
36return string.Empty;
System\Windows\Forms\Dialogs\MessageBox.cs (2)
342return ShowCore(null, text, string.Empty, MessageBoxButtons.OK, MessageBoxIcon.None, MessageBoxDefaultButton.Button1, 0, false);
412return ShowCore(owner, text, string.Empty, MessageBoxButtons.OK, MessageBoxIcon.None, MessageBoxDefaultButton.Button1, 0, false);
System.Windows.Forms.Analyzers (1)
System.Windows.Forms.Analyzers.CSharp (5)
System.Windows.Forms.Analyzers.CSharp.Tests (2)
System.Windows.Forms.Design (103)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.EditorButton.cs (1)
117string.Empty,
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.FlyoutDialog.cs (1)
30Text = string.Empty;
System\ComponentModel\Design\Serialization\DesignerSerializationManager.cs (1)
389? string.Empty
System.Windows.Forms.Design.Tests (192)
System.Windows.Forms.IntegrationTests.Common (1)
System.Windows.Forms.Interop.Tests (2)
System.Windows.Forms.Primitives (10)
System.Windows.Forms.Primitives.Tests (12)
System.Windows.Forms.Primitives.TestUtilities (2)
System.Windows.Forms.Tests (936)
System.Windows.Forms.TestUtilities (1)
System.Windows.Forms.UI.IntegrationTests (8)
System.Xaml (47)
System.Xaml.Tests (14)
TagHelpersWebSite (1)
TaskUsageLogger (1)
Templates.Blazor.Tests (8)
Templates.Blazor.WebAssembly.Auth.Tests (8)
Templates.Blazor.WebAssembly.Tests (8)
Templates.Mvc.Tests (8)
Templates.Tests (8)
Test.Utilities (27)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleHelpers.cs (1)
193: string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StringExtensions.cs (1)
63: string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionKey2.cs (1)
56: string.Empty;
Text.Analyzers (39)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleHelpers.cs (1)
193: string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StringExtensions.cs (1)
63: string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionKey2.cs (1)
56: string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationSymbolFactory.cs (1)
394name: string.Empty,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationArrayTypeSymbol.cs (1)
10internal sealed class CodeGenerationArrayTypeSymbol(ITypeSymbol elementType, int rank, NullableAnnotation nullableAnnotation) : CodeGenerationTypeSymbol(null, null, default, Accessibility.NotApplicable, default, string.Empty, SpecialType.None, nullableAnnotation), IArrayTypeSymbol
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationConstructorSymbol.cs (1)
22name: string.Empty,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationDestructorSymbol.cs (1)
18name: string.Empty,
Text.Analyzers.UnitTests (1)
TrimTest (1)
UIAutomationClientSideProviders (2)
vbc (2)
VBCSCompiler (2)
VBCSCompiler.UnitTests (4)
WindowsBase.Tests (94)
System\ComponentModel\PropertyChangedEventManagerTests.cs (26)
45source.OnPropertyChanged(source, new PropertyChangedEventArgs(string.Empty));
135source1.OnPropertyChanged(source1, new PropertyChangedEventArgs(string.Empty));
153source2.OnPropertyChanged(source2, new PropertyChangedEventArgs(string.Empty));
180source1.OnPropertyChanged(source1, new PropertyChangedEventArgs(string.Empty));
198source2.OnPropertyChanged(source2, new PropertyChangedEventArgs(string.Empty));
225source1.OnPropertyChanged(source1, new PropertyChangedEventArgs(string.Empty));
243source2.OnPropertyChanged(source2, new PropertyChangedEventArgs(string.Empty));
270source1.OnPropertyChanged(source1, new PropertyChangedEventArgs(string.Empty));
288source2.OnPropertyChanged(source2, new PropertyChangedEventArgs(string.Empty));
315source1.OnPropertyChanged(source1, new PropertyChangedEventArgs(string.Empty));
333source2.OnPropertyChanged(source2, new PropertyChangedEventArgs(string.Empty));
360source1.OnPropertyChanged(source1, new PropertyChangedEventArgs(string.Empty));
378source2.OnPropertyChanged(source2, new PropertyChangedEventArgs(string.Empty));
457source.OnPropertyChanged(source, new PropertyChangedEventArgs(string.Empty));
562source1.OnPropertyChanged(source1, new PropertyChangedEventArgs(string.Empty));
580source2.OnPropertyChanged(source2, new PropertyChangedEventArgs(string.Empty));
607source1.OnPropertyChanged(source1, new PropertyChangedEventArgs(string.Empty));
625source2.OnPropertyChanged(source2, new PropertyChangedEventArgs(string.Empty));
652source1.OnPropertyChanged(source1, new PropertyChangedEventArgs(string.Empty));
670source2.OnPropertyChanged(source2, new PropertyChangedEventArgs(string.Empty));
697source1.OnPropertyChanged(source1, new PropertyChangedEventArgs(string.Empty));
715source2.OnPropertyChanged(source2, new PropertyChangedEventArgs(string.Empty));
742source1.OnPropertyChanged(source1, new PropertyChangedEventArgs(string.Empty));
760source2.OnPropertyChanged(source2, new PropertyChangedEventArgs(string.Empty));
787source1.OnPropertyChanged(source1, new PropertyChangedEventArgs(string.Empty));
805source2.OnPropertyChanged(source2, new PropertyChangedEventArgs(string.Empty));
System\Windows\DependencyPropertyTests.cs (8)
222Assert.Throws<ArgumentException>("name", () => DependencyProperty.Register(string.Empty, typeof(int), typeof(DependencyPropertyTests)));
537Assert.Throws<ArgumentException>("name", () => DependencyProperty.RegisterAttached(string.Empty, typeof(int), typeof(DependencyPropertyTests)));
538Assert.Throws<ArgumentException>("name", () => DependencyProperty.RegisterAttached(string.Empty, typeof(int), typeof(DependencyPropertyTests), new PropertyMetadata()));
539Assert.Throws<ArgumentException>("name", () => DependencyProperty.RegisterAttached(string.Empty, typeof(int), typeof(DependencyPropertyTests), new PropertyMetadata(), value => true));
822Assert.Throws<ArgumentException>("name", () => DependencyProperty.RegisterReadOnly(string.Empty, typeof(int), typeof(DependencyObject), new PropertyMetadata()));
823Assert.Throws<ArgumentException>("name", () => DependencyProperty.RegisterReadOnly(string.Empty, typeof(int), typeof(DependencyObject), new PropertyMetadata(), value => true));
1117Assert.Throws<ArgumentException>("name", () => DependencyProperty.RegisterAttachedReadOnly(string.Empty, typeof(int), typeof(DependencyPropertyTests), new PropertyMetadata()));
1118Assert.Throws<ArgumentException>("name", () => DependencyProperty.RegisterAttachedReadOnly(string.Empty, typeof(int), typeof(DependencyPropertyTests), new PropertyMetadata(), value => true));
WinFormsControlsTest (2)
WsFedSample (1)
XmlFileLogger (2)
xunit.assert (6)
Sdk\Exceptions\EquivalentException.cs (4)
161 Assert.GuardArgumentNotNull(nameof(memberName), memberName).Length == 0 ? string.Empty : string.Format(CultureInfo.CurrentCulture, ": Mismatched value on member '{0}'", memberName),
191 Assert.GuardArgumentNotNull(nameof(memberName), memberName).Length == 0 ? string.Empty : string.Format(CultureInfo.CurrentCulture, " in member '{0}'", memberName),
226 Assert.GuardArgumentNotNull(nameof(memberName), memberName).Length == 0 ? string.Empty : string.Format(CultureInfo.CurrentCulture, " in member '{0}'", memberName),
254 Assert.GuardArgumentNotNull(nameof(memberName), memberName).Length == 0 ? string.Empty : string.Format(CultureInfo.CurrentCulture, " in member '{0}'", memberName),
xunit.console (14)