14461 references to Empty
aspire (5)
Aspire.Azure.AI.OpenAI.Tests (5)
Aspire.Azure.Data.Tables.Tests (2)
Aspire.Azure.Messaging.EventHubs.Tests (11)
Aspire.Azure.Messaging.ServiceBus.Tests (2)
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.Tests (2)
Aspire.Components.Common.Tests (1)
Aspire.Confluent.Kafka (2)
Aspire.Confluent.Kafka.Tests (4)
Aspire.Dashboard (45)
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)
294commands: [new CommandViewModel("test-name", CommandViewModelState.Enabled, "test-displayname", "test-displaydescription", confirmationMessage: "", parameter: null, isHighlighted: true, iconName: string.Empty, iconVariant: IconVariant.Regular)]);
358commands: [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 (31)
Aspire.Hosting.Analyzers.Tests (1)
Aspire.Hosting.Azure (5)
Aspire.Hosting.Azure.AppContainers (2)
Aspire.Hosting.Azure.Functions (1)
Aspire.Hosting.Azure.Tests (62)
Aspire.Hosting.Containers.Tests (3)
Aspire.Hosting.Docker (3)
Aspire.Hosting.Garnet.Tests (3)
Aspire.Hosting.Kafka.Tests (4)
Aspire.Hosting.Keycloak.Tests (5)
Aspire.Hosting.Kubernetes (4)
Aspire.Hosting.Milvus.Tests (8)
Aspire.Hosting.MongoDB.Tests (9)
Aspire.Hosting.MySql.Tests (8)
Aspire.Hosting.Nats.Tests (5)
Aspire.Hosting.NodeJs.Tests (7)
Aspire.Hosting.Oracle.Tests (8)
Aspire.Hosting.PostgreSQL.Tests (9)
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 (15)
Aspire.Hosting.Valkey.Tests (3)
Aspire.Keycloak.Authentication.Tests (20)
Aspire.Microsoft.Azure.Cosmos.Tests (3)
Aspire.Microsoft.Data.SqlClient (3)
Aspire.Microsoft.Data.SqlClient.Tests (2)
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 (4)
DesignSurface (1)
DesignSurfaceExt (1)
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 (26)
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 (4)
Infrastructure.Common (6)
InMemory.FunctionalTests (18)
installer.tasks (4)
Interop.FunctionalTests (9)
InteropWebsite (1)
IOperationGenerator (3)
Metrics (4)
Metrics.Legacy (4)
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 (11)
Microsoft.AspNetCore.Components.Forms (1)
Microsoft.AspNetCore.Components.Forms.Tests (7)
Microsoft.AspNetCore.Components.QuickGrid (1)
Microsoft.AspNetCore.Components.Server (1)
Microsoft.AspNetCore.Components.Tests (13)
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)
18await ExecuteStartOrStartWithTest(deploymentResult => deploymentResult.HttpClient.GetAsync(string.Empty), "StartRequestDelegateUrlApp");
30await ExecuteStartOrStartWithTest(deploymentResult => deploymentResult.HttpClient.GetAsync(string.Empty), "StartWithIApplicationBuilderUrlApp");
39var response = await RetryHelper.RetryRequest(() => deploymentResult.HttpClient.GetAsync(string.Empty), logger, deploymentResult.HostShutdownToken, retryCount: 5);
64var response = await RetryHelper.RetryRequest(() => deploymentResult.HttpClient.GetAsync(string.Empty), logger, deploymentResult.HostShutdownToken, retryCount: 5);
91var response = await RetryHelper.RetryRequest(() => deploymentResult.HttpClient.GetAsync(string.Empty), logger, deploymentResult.HostShutdownToken);
130return string.Empty;
137return string.Empty;
165var response = await RetryHelper.RetryRequest(() => deploymentResult.HttpClient.GetAsync(string.Empty), Logger, deploymentResult.HostShutdownToken, retryCount: 5);
Microsoft.AspNetCore.Grpc.JsonTranscoding (6)
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 (21)
Microsoft.AspNetCore.Http.Abstractions.Tests (21)
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.UI (34)
Microsoft.AspNetCore.InternalTesting (5)
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 (3)
Microsoft.AspNetCore.OpenApi.SourceGenerators (12)
Microsoft.AspNetCore.OpenApi.Tests (14)
Microsoft.AspNetCore.OutputCaching (7)
Microsoft.AspNetCore.OutputCaching.Tests (4)
Microsoft.AspNetCore.Owin (14)
OwinEnvironment.cs (6)
52{ OwinConstants.RequestProtocol, new FeatureMap<IHttpRequestFeature>(feature => feature.Protocol, () => string.Empty, (feature, value) => feature.Protocol = Convert.ToString(value, CultureInfo.InvariantCulture)) },
53{ OwinConstants.RequestScheme, new FeatureMap<IHttpRequestFeature>(feature => feature.Scheme, () => string.Empty, (feature, value) => feature.Scheme = Convert.ToString(value, CultureInfo.InvariantCulture)) },
54{ OwinConstants.RequestMethod, new FeatureMap<IHttpRequestFeature>(feature => feature.Method, () => string.Empty, (feature, value) => feature.Method = Convert.ToString(value, CultureInfo.InvariantCulture)) },
55{ OwinConstants.RequestPathBase, new FeatureMap<IHttpRequestFeature>(feature => feature.PathBase, () => string.Empty, (feature, value) => feature.PathBase = Convert.ToString(value, CultureInfo.InvariantCulture)) },
56{ OwinConstants.RequestPath, new FeatureMap<IHttpRequestFeature>(feature => feature.Path, () => string.Empty, (feature, value) => feature.Path = Convert.ToString(value, CultureInfo.InvariantCulture)) },
57{ OwinConstants.RequestQueryString, new FeatureMap<IHttpRequestFeature>(feature => Utilities.RemoveQuestionMark(feature.QueryString), () => string.Empty,
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 (58)
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 (72)
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)
46return CreateDynamicHttpServer(string.Empty, out root, out baseAddress, options => { }, app, loggerFactory);
52return CreateDynamicHttpServer(string.Empty, out root, out baseAddress, configureOptions, app, loggerFactory);
64return CreateDynamicHttpServer(string.Empty, out root, out baseAddress, options =>
73return CreateDynamicHost(string.Empty, out root, out var baseAddress, options =>
82return 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 (4)
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 (5)
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 (392)
BackEnd\BuildManager\BuildManager.cs (4)
2543loggingService?.LogError(buildEventContext, new BuildEventFileInfo(string.Empty) /* no project file */, "ChildExitedPrematurely", node, ExceptionHandling.DebugDumpPath, exception);
2552loggingService?.LogError(BuildEventContext.Invalid, new BuildEventFileInfo(string.Empty) /* no project file */, "ChildExitedPrematurely", node, ExceptionHandling.DebugDumpPath, shutdownPacket.Exception.ToString());
2698((IBuildComponentHost)this).LoggingService.LogError(buildEventContext, new BuildEventFileInfo(String.Empty), "UnableToCreateNode", response.RequiredNodeType.ToString("G"));
3359get => String.Empty;
Construction\Solution\SolutionFile.cs (16)
688return string.Empty;
1213proj.ProjectGuid = projGuidNode?.InnerText ?? String.Empty;
1394aspNetVirtualPath = String.Empty,
1395aspNetPhysicalPath = String.Empty,
1396aspNetTargetPath = String.Empty,
1397aspNetForce = String.Empty,
1398aspNetUpdateable = String.Empty,
1399aspNetDebug = String.Empty,
1400aspNetKeyFile = String.Empty,
1401aspNetKeyContainer = String.Empty,
1402aspNetDelaySign = String.Empty,
1403aspNetAPTCA = String.Empty,
1404aspNetFixedNames = String.Empty
1782(configurationPlatformParts.Length > 1) ? configurationPlatformParts[1] : string.Empty,
1804_defaultConfigurationName = string.Empty;
1837_defaultPlatformName = string.Empty;
Construction\Solution\SolutionProjectGenerator.cs (34)
763string.Empty,
764string.Empty,
765string.Empty,
767string.Empty,
768string.Empty,
769string.Empty,
770string.Empty,
774AddProjectBuildTask(traversalInstance, null, targetElement, string.Join(";", _targetNames), "@(ProjectReference)", string.Empty, string.Empty);
1355ProjectTargetInstance target = metaprojectInstance.AddTarget(targetName ?? "Build", String.Empty, String.Empty, outputItemAsItem, null, String.Empty, String.Empty, String.Empty, String.Empty, false /* legacy target returns behaviour */);
1360AddProjectBuildTask(traversalProject, projectConfiguration, target, targetName, EscapingUtilities.Escape(project.AbsolutePath), String.Empty, outputItem);
1368ProjectTaskInstance task = target.AddTask("MSBuild", condition, String.Empty);
1390task.AddOutputItem("TargetOutputs", outputItem, String.Empty);
1399ProjectTaskInstance task = target.AddTask("MSBuild", Strings.WeakIntern($"'%(ProjectReference.Identity)' == '{GetMetaprojectName(project)}'"), String.Empty);
1413task.AddOutputItem("TargetOutputs", outputItem, String.Empty);
1747string outDirValue = String.Empty;
1821ProjectTargetInstance frameworkPathAndRedistListTarget = metaprojectInstance.AddTarget("GetFrameworkPathAndRedistList", String.Empty, null, null, null, null, null, null, null, false /* legacy target returns behaviour */);
1823ProjectTaskInstance getFrameworkPathTask = frameworkPathAndRedistListTarget.AddTask("GetFrameworkPath", String.Empty, null);
1988string dependOnTargets = batchBuildTargets ? SolutionProjectReferenceAllTargets : string.Empty;
1989ProjectTargetInstance target = traversalProject.AddTarget(correctedTargetName, string.Empty, string.Empty, outputItemAsItem, null, string.Empty, dependOnTargets, string.Empty, string.Empty, false /* legacy target returns behaviour */);
2002ProjectTaskInstance task = target.AddTask("MSBuild", String.Empty, String.Empty);
2022task.AddOutputItem("TargetOutputs", outputItem, String.Empty);
2423string.Empty,
2428string.Empty,
Definition\Toolset.cs (6)
719new BuildEventFileInfo(/* this warning truly does not involve any file */ String.Empty),
723String.Empty);
730new BuildEventFileInfo(/* this warning truly does not involve any file */ String.Empty),
978loggingContext.LogError(new BuildEventFileInfo(/* this warning truly does not involve any file it is just gathering properties */String.Empty), "TasksPropertyBagError", e.Message);
1014loggingContext.LogWarning(null, new BuildEventFileInfo(String.Empty /* this warning truly does not involve any file*/), "OverrideTasksFileFailure", rootedPathMessage);
1021loggingContext.LogWarning(null, new BuildEventFileInfo(String.Empty /* this warning truly does not involve any file*/), "OverrideTasksFileFailure", rootedPathMessage);
Evaluation\Expander.cs (32)
223? _builder?.ToString() ?? string.Empty
489return String.Empty;
510return String.Empty;
1263propertyValue = String.Empty;
1278propertyValue = String.Empty;
1287propertyValue = String.Empty;
1399ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionPropertyExpression", propertyBody, String.Empty);
1432ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionPropertyExpression", propertyBody, String.Empty);
1472return String.Empty;
1507convertedString = string.Empty;
1583propertyValue = String.Empty;
1609return String.Empty;
1614return String.Empty;
1617string value = String.Empty;
1678ProjectErrorUtilities.VerifyThrowInvalidProject(firstAtSignOffset == lastAtSignOffset, elementLocation, "InvalidRegistryPropertyExpression", "$(" + registryExpression + ")", String.Empty);
1687string result = String.Empty;
1717return string.Empty;
1732result = String.Empty;
2426string baseDirectoryToUse = item.Value.ProjectDirectory ?? String.Empty;
2504string baseDirectoryToUse = item.Value.ProjectDirectory ?? String.Empty;
2581string baseDirectoryToUse = item.Value.ProjectDirectory ?? String.Empty;
2654else if (metadataValue != String.Empty && includeNullEntries)
2771string.Empty,
3362ProjectErrorUtilities.VerifyThrowInvalidProject(!expressionRoot.IsEmpty, elementLocation, "InvalidFunctionPropertyExpression", expressionFunction, String.Empty);
3376ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionStaticMethodSyntax", expressionFunction, String.Empty);
3390ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionStaticMethodSyntax", expressionFunction, String.Empty);
3443ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionPropertyExpression", expressionFunction, String.Empty);
3464object functionResult = String.Empty;
3568string startingDirectory = String.IsNullOrWhiteSpace(elementLocation.File) ? String.Empty : Path.GetDirectoryName(elementLocation.File);
4047ProjectErrorUtilities.VerifyThrowInvalidProject(netPropertyName.Length > 0, elementLocation, "InvalidFunctionPropertyExpression", expressionFunction, String.Empty);
4066ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "InvalidFunctionPropertyExpression", expressionFunction, String.Empty);
4141string parameters = String.Empty;
FileMatcher.cs (22)
475pathRoot = string.Empty;
490longParts[i - startingElement] = string.Empty;
599fixedDirectoryPart = string.Empty;
600wildcardDirectoryPart = string.Empty;
629wildcardDirectoryPart = string.Empty;
650fixedDirectoryPart = string.Empty;
1152recursionState.RemainingWildcardDirectory = indexOfNextSlash != -1 ? recursionState.RemainingWildcardDirectory.Substring(indexOfNextSlash + 1) : string.Empty;
1531fixedDirectoryPart = string.Empty;
1532wildcardDirectoryPart = string.Empty;
1533filenamePart = string.Empty;
1624internal string wildcardDirectoryPart = string.Empty;
1852wildcardDirectoryPart = string.Empty;
1853filenamePart = string.Empty;
1901return (CreateArrayWithSingleItemIfNotExcluded(filespecUnescaped, excludeSpecsUnescaped), SearchAction.None, string.Empty, null);
1917string excludeFileSpec = string.Empty;
2369return ([], action, string.Empty, null);
2373return (CreateArrayWithSingleItemIfNotExcluded(filespecUnescaped, excludeSpecsUnescaped), action, string.Empty, null);
2377return ([], action, string.Empty, null);
2393string trackExcludeFileSpec = string.Empty;
2524string includeFilespec = state.SearchData.Filespec ?? string.Empty;
2525string excludeFilespec = excludeState.SearchData.Filespec ?? string.Empty;
2622if (possibleParent == string.Empty)
Instance\ProjectTaskInstance.cs (6)
143condition == string.Empty ? null : ElementLocation.EmptyLocation,
144continueOnError == string.Empty ? null : ElementLocation.EmptyLocation,
145msbuildRuntime == string.Empty ? null : ElementLocation.EmptyLocation,
146msbuildArchitecture == string.Empty ? null : ElementLocation.EmptyLocation)
342_outputs.Add(new ProjectTaskOutputItemInstance(itemName, taskOutputParameterName, condition ?? String.Empty, ElementLocation.EmptyLocation, ElementLocation.EmptyLocation, ElementLocation.EmptyLocation, condition == null ? null : ElementLocation.EmptyLocation));
355_outputs.Add(new ProjectTaskOutputPropertyInstance(propertyName, taskOutputParameterName, condition ?? String.Empty, ElementLocation.EmptyLocation, ElementLocation.EmptyLocation, ElementLocation.EmptyLocation, condition == null ? null : ElementLocation.EmptyLocation));
Microsoft.Build.BuildCheck.UnitTests (6)
Microsoft.Build.CommandLine.UnitTests (8)
Microsoft.Build.Engine.OM.UnitTests (125)
Definition\ProjectItem_Tests.cs (15)
223Assert.Equal(String.Empty, item.GetMetadataValue("m0"));
305Assert.Equal(String.Empty, item.GetMetadataValue("RecursiveDir"));
323File.WriteAllText(path, String.Empty);
365File.WriteAllText(file, String.Empty);
412File.WriteAllText(file, String.Empty);
450TransientTestFile file = env.CreateFile(directory, "a.cs", String.Empty);
1596Assert.Equal(String.Empty, item.GetMetadataValue("m"));
1619Assert.Equal(String.Empty, item.GetMetadataValue("n"));
1687Assert.Equal(String.Empty, items[1].GetMetadataValue("m"));
1835Assert.Equal(String.Empty, items[1].GetMetadataValue("m2"));
1860Assert.Equal(String.Empty, items[0].GetMetadataValue("m2"));
1878Assert.Equal(String.Empty, item.GetMetadataValue("m"));
3140{"m1", string.Empty}
3214{ "m1", string.Empty },
3215{ "m2", string.Empty },
Instance\ProjectItemInstance_Tests.cs (13)
151Assert.Equal(String.Empty, item.GetMetadataValue("X"));
224item.EvaluatedInclude = String.Empty;
252Assert.Equal(String.Empty, item.GetMetadataValue("m"));
273item.SetMetadata("m", String.Empty);
274Assert.Equal(String.Empty, item.GetMetadataValue("m"));
286Assert.Equal(String.Empty, item.GetMetadataValue("m"));
310item.SetMetadata(String.Empty, "m1");
420Assert.Equal(String.Empty, taskItem.GetMetadata("m"));
697Assert.Equal(String.Empty, item.GetMetadataValue("m"));
720Assert.Equal(String.Empty, item.GetMetadataValue("n"));
788Assert.Equal(String.Empty, items[1].GetMetadataValue("m"));
936Assert.Equal(String.Empty, items[1].GetMetadataValue("m2"));
961Assert.Equal(String.Empty, items[0].GetMetadataValue("m2"));
Microsoft.Build.Engine.UnitTests (300)
BackEnd\AssemblyTaskFactory_Tests.cs (22)
59taskFactory.InitializeFactory(null, "TaskToTestFactories", new Dictionary<string, TaskPropertyInfo>(), string.Empty, null, false, null, ElementLocation.Create("NONE"), String.Empty);
71taskFactory.InitializeFactory(_loadInfo, null, new Dictionary<string, TaskPropertyInfo>(), string.Empty, null, false, null, ElementLocation.Create("NONE"), String.Empty);
83taskFactory.InitializeFactory(_loadInfo, String.Empty, new Dictionary<string, TaskPropertyInfo>(), string.Empty, null, false, null, ElementLocation.Create("NONE"), String.Empty);
95taskFactory.InitializeFactory(_loadInfo, "RandomTask", new Dictionary<string, TaskPropertyInfo>(), string.Empty, null, false, null, ElementLocation.Create("NONE"), String.Empty);
109taskFactory.Initialize(String.Empty, new Dictionary<string, TaskPropertyInfo>(), String.Empty, null);
123taskFactory.Initialize(String.Empty, null, new Dictionary<string, TaskPropertyInfo>(), String.Empty, null);
134Assert.True(_taskFactory.TaskNameCreatableByFactory("TaskToTestFactories", null, String.Empty, null, ElementLocation.Create(".", 1, 1)));
143Assert.False(_taskFactory.TaskNameCreatableByFactory("NotInAssembly", null, String.Empty, null, ElementLocation.Create(".", 1, 1)));
154Assert.False(_taskFactory.TaskNameCreatableByFactory(String.Empty, null, String.Empty, null, ElementLocation.Create(".", 1, 1)));
165Assert.False(_taskFactory.TaskNameCreatableByFactory(null, null, String.Empty, null, ElementLocation.Create(".", 1, 1)));
185Assert.True(_taskFactory.TaskNameCreatableByFactory("TaskToTestFactories", taskIdentityParameters, String.Empty, null, ElementLocation.Create(".", 1, 1)));
205Assert.False(_taskFactory.TaskNameCreatableByFactory("TaskToTestFactories", taskIdentityParameters, String.Empty, null, ElementLocation.Create(".", 1, 1)));
691_loadedType = _taskFactory.InitializeFactory(_loadInfo, "TaskToTestFactories", new Dictionary<string, TaskPropertyInfo>(), string.Empty, factoryParameters, explicitlyLaunchTaskHost, null, ElementLocation.Create("NONE"), String.Empty);
BackEnd\BuildManager_Tests.cs (7)
3693var testFiles = env.CreateTestProjectWithFiles(string.Empty, new[] { "p2p", "main" });
3776var testFiles = _env.CreateTestProjectWithFiles(string.Empty, new[] { "main", "p2p" }, string.Empty);
3844var testFiles = _env.CreateTestProjectWithFiles(string.Empty, new[] { "main", "import" }, string.Empty);
3931var testFiles = _env.CreateTestProjectWithFiles(string.Empty, new[] { "main", "child1", "child2" }, string.Empty);
BackEnd\IntrinsicTask_Tests.cs (13)
470Assert.Equal(String.Empty, group.First().GetMetadataValue("m1"));
472Assert.Equal(String.Empty, group.First().GetMetadataValue("m3"));
497Assert.Equal(String.Empty, group.First().GetMetadataValue("m1"));
498Assert.Equal(String.Empty, group.First().GetMetadataValue("m2"));
499Assert.Equal(String.Empty, group.First().GetMetadataValue("m3"));
525Assert.Equal(String.Empty, group.First().GetMetadataValue("m3"));
554Assert.Equal(String.Empty, group.First().GetMetadataValue("m3"));
601Assert.Equal(String.Empty, group.First().GetMetadataValue("m2"));
626Assert.Equal(String.Empty, group.First().GetMetadataValue("m1"));
627Assert.Equal(String.Empty, group.First().GetMetadataValue("m2"));
655Assert.Equal(String.Empty, group.First().GetMetadataValue("m1"));
656Assert.Equal(String.Empty, group.First().GetMetadataValue("m2"));
1069Assert.Equal(String.Empty, i2Group.ElementAt(1).GetMetadataValue("n"));
BackEnd\LoggingServicesLogMethod_Tests.cs (35)
118service.LogError(s_buildEventContext, "SubCategoryForSolutionParsingErrors", new BuildEventFileInfo("foo.cs"), string.Empty, "MyTask");
275service.LogFatalError(s_buildEventContext, new Exception("SuperException"), fileInfo, string.Empty, null);
358GenerateMessageFromExceptionAndResource(exception, resourceName, out errorCode, out helpKeyword, out message, String.Empty);
360service.LogFatalTaskError(s_buildEventContext, exception, fileInfo, string.Empty);
418TestLogErrorFromText(String.Empty, helpKeyword, subcategoryKey, message);
422TestLogErrorFromText(warningCode, String.Empty, subcategoryKey, message);
428TestLogErrorFromText(warningCode, helpKeyword, subcategoryKey, String.Empty);
582service.LogWarning(s_buildEventContext, "SubCategoryForSolutionParsingErrors", new BuildEventFileInfo("foo.cs"), string.Empty, "MyTask");
593TestLogWarning(String.Empty, "SubCategoryForSolutionParsingErrors");
651TestLogWarningFromText(String.Empty, helpKeyword, subcategoryKey, message);
654TestLogWarningFromText(warningCode, String.Empty, subcategoryKey, message);
657TestLogWarningFromText(warningCode, String.Empty, subcategoryKey, message);
661TestLogWarningFromText(warningCode, helpKeyword, subcategoryKey, String.Empty);
692service.LogComment(s_buildEventContext, MessageImportance.Low, String.Empty, null);
743service.LogCommentFromText(s_buildEventContext, MessageImportance.Low, string.Empty);
989TestProjectFinishedEvent(String.Empty, true);
1013string message = onlyLogCriticalEvents ? string.Empty : ResourceUtilities.GetResourceString("BuildStarted");
1046buildEvent = new BuildFinishedEventArgs(string.Empty, null /* no help keyword */, true, service.ProcessedBuildEvent.Timestamp);
1107TestTaskStartedEvent(String.Empty, "ProjectFile", "ProjectFileOfTaskNode");
1110TestTaskStartedEvent("TaskName", String.Empty, "ProjectFileOfTaskNode");
1113TestTaskStartedEvent("TaskName", "ProjectFile", String.Empty);
1142TestTaskFinished(String.Empty, "ProjectFile", "ProjectFileOfTaskNode", true);
1145TestTaskFinished("TaskName", String.Empty, "ProjectFileOfTaskNode", true);
1148TestTaskFinished("TaskName", "ProjectFile", String.Empty, true);
1182TestTargetStartedEvent(String.Empty, "ProjectFile", "projectFileOfTarget");
1184TestTargetStartedEvent("TargetName", String.Empty, "projectFileOfTarget");
1186TestTargetStartedEvent("Good", "ProjectFile", String.Empty);
1198TestTargetStartedWithParentTargetEvent(String.Empty, "ProjectFile", "projectFileOfTarget");
1200TestTargetStartedWithParentTargetEvent("TargetName", String.Empty, "projectFileOfTarget");
1202TestTargetStartedWithParentTargetEvent("Good", "ProjectFile", String.Empty);
1230TestTargetFinished(String.Empty, "ProjectFile", "ProjectFileOfTarget", true);
1233TestTargetFinished("TargetName", String.Empty, "ProjectFileOfTarget", true);
1236TestTargetFinished("TargetName", "ProjectFile", String.Empty, true);
1524service.LogTargetStarted(s_targetBuildEventContext, targetName, projectFile, projectFileOfTarget, String.Empty, TargetBuiltReason.None);
1601String.Empty,
BackEnd\Lookup_Tests.cs (35)
422Assert.Equal(String.Empty, group.First().GetMetadataValue("m1"));
423Assert.Equal(String.Empty, group.First().GetMetadataValue("m2"));
437Assert.Equal(String.Empty, group.First().GetMetadataValue("m1"));
438Assert.Equal(String.Empty, group.First().GetMetadataValue("m2"));
449Assert.Equal(String.Empty, group.First().GetMetadataValue("m1"));
450Assert.Equal(String.Empty, group.First().GetMetadataValue("m2"));
502Assert.Equal(String.Empty, group.First().GetMetadataValue("m1"));
503Assert.Equal(String.Empty, group.First().GetMetadataValue("m2"));
504Assert.Equal(String.Empty, group.First().GetMetadataValue("m3"));
512Assert.Equal(String.Empty, group.First().GetMetadataValue("m1"));
513Assert.Equal(String.Empty, group.First().GetMetadataValue("m2"));
514Assert.Equal(String.Empty, group.First().GetMetadataValue("m3"));
547Assert.Equal(String.Empty, group.First().GetMetadataValue("m1"));
548Assert.Equal(String.Empty, group.First().GetMetadataValue("m2"));
565Assert.Equal(String.Empty, group.First().GetMetadataValue("m1"));
566Assert.Equal(String.Empty, group.First().GetMetadataValue("m2"));
567Assert.Equal(String.Empty, group.First().GetMetadataValue("m3"));
578Assert.Equal(String.Empty, group.First().GetMetadataValue("m1"));
579Assert.Equal(String.Empty, group.First().GetMetadataValue("m2"));
580Assert.Equal(String.Empty, group.First().GetMetadataValue("m3"));
618Assert.Equal(String.Empty, group.First().GetMetadataValue("m1"));
619Assert.Equal(String.Empty, group.First().GetMetadataValue("m2"));
636Assert.Equal(String.Empty, group.First().GetMetadataValue("m1"));
637Assert.Equal(String.Empty, group.First().GetMetadataValue("m2"));
648Assert.Equal(String.Empty, group.First().GetMetadataValue("m1"));
649Assert.Equal(String.Empty, group.First().GetMetadataValue("m2"));
688Assert.Equal(String.Empty, group.First().GetMetadataValue("m2"));
699Assert.Equal(String.Empty, group.First().GetMetadataValue("m2"));
710Assert.Equal(String.Empty, group.First().GetMetadataValue("m2"));
739Assert.Equal(String.Empty, group.First().GetMetadataValue("m1"));
740Assert.Equal(String.Empty, group.First().GetMetadataValue("m2"));
748Assert.Equal(String.Empty, group.First().GetMetadataValue("m1"));
749Assert.Equal(String.Empty, group.First().GetMetadataValue("m2"));
757Assert.Equal(String.Empty, group.First().GetMetadataValue("m1"));
758Assert.Equal(String.Empty, group.First().GetMetadataValue("m2"));
BackEnd\SdkResolverLoader_Tests.cs (10)
72File.WriteAllText(f1, string.Empty);
73File.WriteAllText(f2, string.Empty);
74File.WriteAllText(f3, string.Empty);
75File.WriteAllText(f4, string.Empty);
101File.WriteAllText(wrongResolverDll, string.Empty);
102File.WriteAllText(assemblyToLoad, string.Empty);
373File.WriteAllText(Path.Combine(testRoot, resolver1, $"{resolver1}.dll"), string.Empty);
375File.WriteAllText(resolver1Path, string.Empty);
379File.WriteAllText(resolver2Path, string.Empty);
383File.WriteAllText(resolver3Path, string.Empty);
BuildEnvironmentHelper_Tests.cs (7)
477File.WriteAllText(Path.Combine(BuildDirectory, file), string.Empty);
483File.WriteAllText(Path.Combine(BuildDirectory64, file), string.Empty);
487File.WriteAllText(DevEnvPath, string.Empty);
522File.WriteAllText(MSBuildExePath, string.Empty);
523File.WriteAllText($"{MSBuildExePath}.config", string.Empty);
528File.WriteAllText(Path.Combine(BuildDirectory, "amd64", msBuildExeName), string.Empty);
529File.WriteAllText(Path.Combine(BuildDirectory, "amd64", $"{MSBuildExePath}.config"), string.Empty);
ConsoleLogger_Tests.cs (7)
620string context = ResourceUtilities.FormatResourceStringStripCodeAndKeyword("BuildEventContext", string.Empty, 0) + ">";
1664items.Add("type", (ITaskItem2)new TaskItem("spec", String.Empty));
1665items.Add("type2", (ITaskItem2)new TaskItem("spec2", String.Empty));
1668ITaskItem2 taskItem3 = new TaskItem("%28spec%3b3", String.Empty);
1681string item3metadatum = string.Empty;
1722if (!String.Equals(item3metadatum, String.Empty, StringComparison.OrdinalIgnoreCase))
1736if (!String.Equals(item3metadatum, String.Empty, StringComparison.OrdinalIgnoreCase))
Evaluation\Expander_Tests.cs (11)
165Assert.Equal(String.Empty, result);
1732Assert.Equal(String.Empty, result);
1748Assert.Equal(String.Empty, result);
3403Assert.Equal(String.Empty, result);
3437Assert.Equal(String.Empty, result);
3564pg["DifferentTargetsPath"] = ProjectPropertyInstance.Create("DifferentTargetsPath", String.Empty);
3804Assert.Equal(String.Empty, result);
3844key.SetValue(String.Empty, "%" + envVar + "%", RegistryValueKind.ExpandString);
3868key.SetValue(String.Empty, "%" + envVar + "%", RegistryValueKind.ExpandString);
3892key.SetValue(String.Empty, "%" + envVar + "%", RegistryValueKind.ExpandString);
4320result = String.Empty;
FileUtilities_Tests.cs (20)
34string modifier = FileUtilities.ItemSpecModifiers.GetItemSpecModifier(currentDirectory, "foo", String.Empty, FileUtilities.ItemSpecModifiers.RecursiveDir, ref cache);
35Assert.Equal(String.Empty, modifier);
38modifier = FileUtilities.ItemSpecModifiers.GetItemSpecModifier(currentDirectory, "foo", String.Empty, FileUtilities.ItemSpecModifiers.ModifiedTime, ref cache);
39Assert.Equal(String.Empty, modifier);
42modifier = FileUtilities.ItemSpecModifiers.GetItemSpecModifier(currentDirectory, @"foo\goo", String.Empty, FileUtilities.ItemSpecModifiers.RelativeDir, ref cache);
46modifier = FileUtilities.ItemSpecModifiers.GetItemSpecModifier(currentDirectory, @"foo\goo", String.Empty, FileUtilities.ItemSpecModifiers.RelativeDir, ref cache);
52modifier = FileUtilities.ItemSpecModifiers.GetItemSpecModifier(currentDirectory, itemSpec, String.Empty, FileUtilities.ItemSpecModifiers.FullPath, ref cache);
56modifier = FileUtilities.ItemSpecModifiers.GetItemSpecModifier(currentDirectory, itemSpec, String.Empty, FileUtilities.ItemSpecModifiers.RootDir, ref cache);
59modifier = FileUtilities.ItemSpecModifiers.GetItemSpecModifier(currentDirectory, itemSpec, String.Empty, FileUtilities.ItemSpecModifiers.Filename, ref cache);
62modifier = FileUtilities.ItemSpecModifiers.GetItemSpecModifier(currentDirectory, itemSpec, String.Empty, FileUtilities.ItemSpecModifiers.Extension, ref cache);
65modifier = FileUtilities.ItemSpecModifiers.GetItemSpecModifier(currentDirectory, itemSpec, String.Empty, FileUtilities.ItemSpecModifiers.Directory, ref cache);
66Assert.Equal(String.Empty, modifier);
68modifier = FileUtilities.ItemSpecModifiers.GetItemSpecModifier(currentDirectory, itemSpec, String.Empty, FileUtilities.ItemSpecModifiers.Identity, ref cache);
177FileUtilities.ItemSpecModifiers.GetItemSpecModifier(currentDirectory, @"http://www.microsoft.com", String.Empty, FileUtilities.ItemSpecModifiers.RootDir, ref cache);
234Assert.False(FileUtilities.EndsWithSlash(String.Empty));
258Assert.Equal(String.Empty, FileUtilities.GetDirectory("foo"));
443Assert.Equal(@"c:\", FileUtilities.ItemSpecModifiers.GetItemSpecModifier(currentDirectory, fullPath, String.Empty, FileUtilities.ItemSpecModifiers.RootDir, ref cache));
460Assert.Null(FileUtilities.NormalizePath(String.Empty));
900string filePath = ObjectModelHelpers.CreateFileInTempProjectDirectory("first/second/file.txt", String.Empty);
931string filePath = ObjectModelHelpers.CreateFileInTempProjectDirectory("first/second/file.txt", String.Empty);
Graph\ProjectGraph_Tests.cs (2)
1040TransientTestFile entryProject = CreateProjectFile(env: env, projectNumber: 1, projectReferences: new[] { 2 }, projectReferenceTargets: new Dictionary<string, string[]> { { "A", new[] { "B" } } }, defaultTargets: string.Empty);
1063TransientTestFile entryProject = CreateProjectFile(env: env, projectNumber: 1, projectReferences: new[] { 2 }, projectReferenceTargets: new Dictionary<string, string[]> { { "A", new[] { " ; ; " } } }, defaultTargets: string.Empty);
Microsoft.Build.Framework (37)
Microsoft.Build.Framework.UnitTests (63)
CustomEventArgSerialization_Tests.cs (61)
78genericEvent = new GenericBuildEventArg(string.Empty, string.Empty, string.Empty);
144genericEvent = new BuildErrorEventArgs(string.Empty, string.Empty, string.Empty, 1, 2, 3, 4, string.Empty, string.Empty, string.Empty);
227genericEvent = new BuildFinishedEventArgs(string.Empty, string.Empty, true);
278genericEvent = new BuildMessageEventArgs(string.Empty, string.Empty, string.Empty, MessageImportance.Low);
347messageEvent = new BuildMessageEventArgs(string.Empty, string.Empty, string.Empty, 1, 2, 3, 4, string.Empty, string.Empty, string.Empty, MessageImportance.Low);
401criticalMessageEvent = new CriticalBuildMessageEventArgs(string.Empty, string.Empty, string.Empty, 1, 2, 3, 4, string.Empty, string.Empty, string.Empty);
454genericEvent = new BuildWarningEventArgs(string.Empty, string.Empty, string.Empty, 1, 2, 3, 4, string.Empty, string.Empty, string.Empty);
540genericEvent = new ProjectFinishedEventArgs(string.Empty, string.Empty, string.Empty, true);
587propertyList.Add(new DictionaryEntry("IAmBlank", string.Empty));
670genericEvent = new ProjectStartedEventArgs(-1, string.Empty, string.Empty, string.Empty, string.Empty, null, null, null);
738genericEvent = new TargetStartedEventArgs(string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, TargetBuiltReason.AfterTargets, DateTime.Now);
803genericEvent = new TargetFinishedEventArgs(string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, true);
867genericEvent = new TaskStartedEventArgs(string.Empty, string.Empty, string.Empty, string.Empty, string.Empty);
933genericEvent = new TaskFinishedEventArgs(string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, true);
Microsoft.Build.Tasks.CodeAnalysis (4)
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (16)
Microsoft.Build.Tasks.Core (206)
FileMatcher.cs (22)
475pathRoot = string.Empty;
490longParts[i - startingElement] = string.Empty;
599fixedDirectoryPart = string.Empty;
600wildcardDirectoryPart = string.Empty;
629wildcardDirectoryPart = string.Empty;
650fixedDirectoryPart = string.Empty;
1152recursionState.RemainingWildcardDirectory = indexOfNextSlash != -1 ? recursionState.RemainingWildcardDirectory.Substring(indexOfNextSlash + 1) : string.Empty;
1531fixedDirectoryPart = string.Empty;
1532wildcardDirectoryPart = string.Empty;
1533filenamePart = string.Empty;
1624internal string wildcardDirectoryPart = string.Empty;
1852wildcardDirectoryPart = string.Empty;
1853filenamePart = string.Empty;
1901return (CreateArrayWithSingleItemIfNotExcluded(filespecUnescaped, excludeSpecsUnescaped), SearchAction.None, string.Empty, null);
1917string excludeFileSpec = string.Empty;
2369return ([], action, string.Empty, null);
2373return (CreateArrayWithSingleItemIfNotExcluded(filespecUnescaped, excludeSpecsUnescaped), action, string.Empty, null);
2377return ([], action, string.Empty, null);
2393string trackExcludeFileSpec = string.Empty;
2524string includeFilespec = state.SearchData.Filespec ?? string.Empty;
2525string excludeFilespec = excludeState.SearchData.Filespec ?? string.Empty;
2622if (possibleParent == string.Empty)
GetSDKReferenceFiles.cs (14)
316Log.LogMessageFromResources(MessageImportance.Low, "GetSDKReferenceFiles.ExpandRedistFrom", path.Replace(resolvedSDKReference.ItemSpec, String.Empty));
337Log.LogMessageFromResources("GetSDKReferenceFiles.AddingRedistFile", redist.RedistFile.Replace(redist.SDKReferenceItem.ItemSpec, String.Empty), redist.TargetPath);
390Log.LogMessageFromResources(MessageImportance.Low, "GetSDKReferenceFiles.ExpandReferencesFrom", path.Replace(resolvedSDKReference.ItemSpec, String.Empty));
411Log.LogMessageFromResources("GetSDKReferenceFiles.AddingReference", reference.AssemblyLocation.Replace(reference.SDKReferenceItem.ItemSpec, String.Empty));
599Log.LogMessageFromResources("GetSDKReferenceFiles.ConflictReferenceSameSDK", winner.SDKReferenceItem.GetMetadata("OriginalItemSpec"), winner.AssemblyLocation.Replace(winner.SDKReferenceItem.ItemSpec, String.Empty), resolvedReference.AssemblyLocation.Replace(resolvedReference.SDKReferenceItem.ItemSpec, String.Empty));
603string message = ResourceUtilities.FormatResourceStringStripCodeAndKeyword("GetSDKReferenceFiles.ConflictReferenceSameSDK", winner.SDKReferenceItem.GetMetadata("OriginalItemSpec"), winner.AssemblyLocation.Replace(winner.SDKReferenceItem.ItemSpec, String.Empty), resolvedReference.AssemblyLocation.Replace(resolvedReference.SDKReferenceItem.ItemSpec, String.Empty));
639Log.LogMessageFromResources("GetSDKReferenceFiles.ConflictRedistSameSDK", redistFile.TargetPath, redistFile.SDKReferenceItem.GetMetadata("OriginalItemSpec"), winner.RedistFile.Replace(redistFile.SDKReferenceItem.ItemSpec, String.Empty), redistFile.RedistFile.Replace(redistFile.SDKReferenceItem.ItemSpec, String.Empty));
643string message = ResourceUtilities.FormatResourceStringStripCodeAndKeyword("GetSDKReferenceFiles.ConflictRedistSameSDK", redistFile.TargetPath, redistFile.SDKReferenceItem.GetMetadata("OriginalItemSpec"), winner.RedistFile.Replace(redistFile.SDKReferenceItem.ItemSpec, String.Empty), redistFile.RedistFile.Replace(redistFile.SDKReferenceItem.ItemSpec, String.Empty));
954string referencesCacheFile = String.Empty;
1090string currentAssembly = String.Empty;
Microsoft.Build.Tasks.UnitTests (102)
DirectoryBuildProjectImportTestBase.cs (6)
86Assert.Equal(String.Empty, project.GetPropertyValue(DirectoryBuildProjectBasePathPropertyName), StringComparer.OrdinalIgnoreCase);
88Assert.Equal(String.Empty, project.GetPropertyValue(DirectoryBuildProjectPathPropertyName));
119Assert.Equal(String.Empty, project.GetPropertyValue("WasDirectoryBuildProjectImported"), StringComparer.OrdinalIgnoreCase);
120Assert.Equal(String.Empty, project.GetPropertyValue(DirectoryBuildProjectBasePathPropertyName), StringComparer.OrdinalIgnoreCase);
121Assert.Equal(String.Empty, project.GetPropertyValue(DirectoryBuildProjectFilePropertyName), StringComparer.OrdinalIgnoreCase);
122Assert.Equal(String.Empty, project.GetPropertyValue(DirectoryBuildProjectPathPropertyName));
GetSDKReference_Tests.cs (57)
675engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[0].ItemSpec.Replace(t.References[0].GetMetadata("SDKRootPath"), String.Empty));
676engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[1].ItemSpec.Replace(t.References[1].GetMetadata("SDKRootPath"), String.Empty));
677engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[2].ItemSpec.Replace(t.References[2].GetMetadata("SDKRootPath"), String.Empty));
678engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[3].ItemSpec.Replace(t.References[3].GetMetadata("SDKRootPath"), String.Empty));
679engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[4].ItemSpec.Replace(t.References[4].GetMetadata("SDKRootPath"), String.Empty));
680engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[5].ItemSpec.Replace(t.References[5].GetMetadata("SDKRootPath"), String.Empty));
681engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[6].ItemSpec.Replace(t.References[6].GetMetadata("SDKRootPath"), String.Empty));
682engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[7].ItemSpec.Replace(t.References[7].GetMetadata("SDKRootPath"), String.Empty));
724engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[0].ItemSpec.Replace(t.References[0].GetMetadata("SDKRootPath"), String.Empty));
725engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[1].ItemSpec.Replace(t.References[1].GetMetadata("SDKRootPath"), String.Empty));
726engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[2].ItemSpec.Replace(t.References[2].GetMetadata("SDKRootPath"), String.Empty));
727engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[3].ItemSpec.Replace(t.References[3].GetMetadata("SDKRootPath"), String.Empty));
728engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[4].ItemSpec.Replace(t.References[4].GetMetadata("SDKRootPath"), String.Empty));
816engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[0].ItemSpec.Replace(t.References[0].GetMetadata("SDKRootPath"), String.Empty));
817engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[1].ItemSpec.Replace(t.References[1].GetMetadata("SDKRootPath"), String.Empty));
818engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[2].ItemSpec.Replace(t.References[2].GetMetadata("SDKRootPath"), String.Empty));
819engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[3].ItemSpec.Replace(t.References[3].GetMetadata("SDKRootPath"), String.Empty));
820engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[4].ItemSpec.Replace(t.References[4].GetMetadata("SDKRootPath"), String.Empty));
821engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[5].ItemSpec.Replace(t.References[5].GetMetadata("SDKRootPath"), String.Empty));
822engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[6].ItemSpec.Replace(t.References[6].GetMetadata("SDKRootPath"), String.Empty));
823engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[7].ItemSpec.Replace(t.References[7].GetMetadata("SDKRootPath"), String.Empty));
868engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[0].ItemSpec.Replace(t.References[0].GetMetadata("SDKRootPath"), String.Empty));
869engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[1].ItemSpec.Replace(t.References[1].GetMetadata("SDKRootPath"), String.Empty));
870engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[2].ItemSpec.Replace(t.References[2].GetMetadata("SDKRootPath"), String.Empty));
871engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[3].ItemSpec.Replace(t.References[3].GetMetadata("SDKRootPath"), String.Empty));
872engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[4].ItemSpec.Replace(t.References[4].GetMetadata("SDKRootPath"), String.Empty));
873engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[5].ItemSpec.Replace(t.References[5].GetMetadata("SDKRootPath"), String.Empty));
874engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[6].ItemSpec.Replace(t.References[6].GetMetadata("SDKRootPath"), String.Empty));
875engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[7].ItemSpec.Replace(t.References[7].GetMetadata("SDKRootPath"), String.Empty));
919engine.AssertLogDoesntContainMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[0].ItemSpec.Replace(t.References[0].GetMetadata("SDKRootPath"), String.Empty));
920engine.AssertLogDoesntContainMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[1].ItemSpec.Replace(t.References[1].GetMetadata("SDKRootPath"), String.Empty));
921engine.AssertLogDoesntContainMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[2].ItemSpec.Replace(t.References[2].GetMetadata("SDKRootPath"), String.Empty));
922engine.AssertLogDoesntContainMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[3].ItemSpec.Replace(t.References[3].GetMetadata("SDKRootPath"), String.Empty));
923engine.AssertLogDoesntContainMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[4].ItemSpec.Replace(t.References[4].GetMetadata("SDKRootPath"), String.Empty));
924engine.AssertLogDoesntContainMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[5].ItemSpec.Replace(t.References[5].GetMetadata("SDKRootPath"), String.Empty));
925engine.AssertLogDoesntContainMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[6].ItemSpec.Replace(t.References[6].GetMetadata("SDKRootPath"), String.Empty));
926engine.AssertLogDoesntContainMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingReference", t.References[7].ItemSpec.Replace(t.References[7].GetMetadata("SDKRootPath"), String.Empty));
957engine.AssertLogDoesntContainMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[0].ItemSpec.Replace(t.RedistFiles[0].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[0].GetMetadata("TargetPath"));
958engine.AssertLogDoesntContainMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[1].ItemSpec.Replace(t.RedistFiles[1].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[1].GetMetadata("TargetPath"));
959engine.AssertLogDoesntContainMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[2].ItemSpec.Replace(t.RedistFiles[2].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[2].GetMetadata("TargetPath"));
960engine.AssertLogDoesntContainMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[3].ItemSpec.Replace(t.RedistFiles[3].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[3].GetMetadata("TargetPath"));
961engine.AssertLogDoesntContainMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[4].ItemSpec.Replace(t.RedistFiles[4].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[4].GetMetadata("TargetPath"));
1018engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[0].ItemSpec.Replace(t.RedistFiles[0].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[0].GetMetadata("TargetPath"));
1019engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[1].ItemSpec.Replace(t.RedistFiles[1].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[1].GetMetadata("TargetPath"));
1020engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[2].ItemSpec.Replace(t.RedistFiles[2].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[2].GetMetadata("TargetPath"));
1021engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[3].ItemSpec.Replace(t.RedistFiles[3].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[3].GetMetadata("TargetPath"));
1022engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[4].ItemSpec.Replace(t.RedistFiles[4].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[4].GetMetadata("TargetPath"));
1050engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[0].ItemSpec.Replace(t.RedistFiles[0].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[0].GetMetadata("TargetPath"));
1051engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[1].ItemSpec.Replace(t.RedistFiles[1].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[1].GetMetadata("TargetPath"));
1052engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[2].ItemSpec.Replace(t.RedistFiles[2].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[2].GetMetadata("TargetPath"));
1053engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[3].ItemSpec.Replace(t.RedistFiles[3].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[3].GetMetadata("TargetPath"));
1054engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[4].ItemSpec.Replace(t.RedistFiles[4].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[4].GetMetadata("TargetPath"));
1082engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[0].ItemSpec.Replace(t.RedistFiles[0].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[0].GetMetadata("TargetPath"));
1083engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[1].ItemSpec.Replace(t.RedistFiles[1].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[1].GetMetadata("TargetPath"));
1084engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[2].ItemSpec.Replace(t.RedistFiles[2].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[2].GetMetadata("TargetPath"));
1085engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[3].ItemSpec.Replace(t.RedistFiles[3].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[3].GetMetadata("TargetPath"));
1086engine.AssertLogContainsMessageFromResource(_resourceDelegate, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[4].ItemSpec.Replace(t.RedistFiles[4].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[4].GetMetadata("TargetPath"));
Microsoft.Build.UnitTests.Shared (21)
Microsoft.Build.Utilities.Core (89)
FileMatcher.cs (22)
475pathRoot = string.Empty;
490longParts[i - startingElement] = string.Empty;
599fixedDirectoryPart = string.Empty;
600wildcardDirectoryPart = string.Empty;
629wildcardDirectoryPart = string.Empty;
650fixedDirectoryPart = string.Empty;
1152recursionState.RemainingWildcardDirectory = indexOfNextSlash != -1 ? recursionState.RemainingWildcardDirectory.Substring(indexOfNextSlash + 1) : string.Empty;
1531fixedDirectoryPart = string.Empty;
1532wildcardDirectoryPart = string.Empty;
1533filenamePart = string.Empty;
1624internal string wildcardDirectoryPart = string.Empty;
1852wildcardDirectoryPart = string.Empty;
1853filenamePart = string.Empty;
1901return (CreateArrayWithSingleItemIfNotExcluded(filespecUnescaped, excludeSpecsUnescaped), SearchAction.None, string.Empty, null);
1917string excludeFileSpec = string.Empty;
2369return ([], action, string.Empty, null);
2373return (CreateArrayWithSingleItemIfNotExcluded(filespecUnescaped, excludeSpecsUnescaped), action, string.Empty, null);
2377return ([], action, string.Empty, null);
2393string trackExcludeFileSpec = string.Empty;
2524string includeFilespec = state.SearchData.Filespec ?? string.Empty;
2525string excludeFilespec = excludeState.SearchData.Filespec ?? string.Empty;
2622if (possibleParent == string.Empty)
Microsoft.Build.Utilities.UnitTests (68)
ToolLocationHelper_Tests.cs (45)
54string[] returnValue = ToolLocationHelper.GetApiContractReferences(Enumerable.Empty<ApiContract>(), string.Empty);
61string[] returnValue = ToolLocationHelper.GetApiContractReferences(null, string.Empty);
238TargetPlatformSDK sdk = new TargetPlatformSDK("Foo", new Version(0, 0), string.Empty);
263TargetPlatformSDK sdk = new TargetPlatformSDK("Foo", new Version(0, 0), string.Empty);
289TargetPlatformSDK sdk = new TargetPlatformSDK("Foo", new Version(0, 0), string.Empty);
315TargetPlatformSDK sdk = new TargetPlatformSDK("Foo", new Version(0, 0), string.Empty);
1293FrameworkNameVersioning frameworkName = new FrameworkNameVersioning(targetFrameworkIdentifier, targetFrameworkVersion, string.Empty);
1447path.ShouldBe(string.Empty); // "Expected the path to be empty"
1477path.ShouldBe(string.Empty); // "Expected the path to be empty"
1507path.ShouldBe(string.Empty); // "Expected the path to be empty"
1879ToolLocationHelper.GetPathToReferenceAssemblies(string.Empty, frameworkName);
1892ToolLocationHelper.GetPathToReferenceAssemblies(string.Empty, frameworkName);
1945FrameworkNameVersioning frameworkName = new FrameworkNameVersioning(targetFrameworkIdentifier, targetFrameworkVersion, string.Empty);
2160string pathToFramework = ToolLocationHelper.GetPathToStandardLibraries(".NetFramework", "v3.5", string.Empty, "x86");
2163pathToFramework = ToolLocationHelper.GetPathToStandardLibraries(".NetFramework", "v3.5", string.Empty, "x64");
2166pathToFramework = ToolLocationHelper.GetPathToStandardLibraries(".NetFramework", "v3.5", string.Empty, "itanium");
2171pathToFramework = ToolLocationHelper.GetPathToStandardLibraries(".NetFramework", "v3.5", string.Empty, "RandomPlatform");
2176pathToFramework = ToolLocationHelper.GetPathToStandardLibraries(".NetFramework", "v3.5", string.Empty, "RandomPlatform");
2206string pathToFramework = ToolLocationHelper.GetPathToStandardLibraries(".NetFramework", "v4.0", string.Empty, "x86");
2210pathToFramework = ToolLocationHelper.GetPathToStandardLibraries(".NetFramework", "v4.0", string.Empty, "x64");
2213pathToFramework = ToolLocationHelper.GetPathToStandardLibraries(".NetFramework", "v4.0", string.Empty, "itanium");
2216pathToFramework = ToolLocationHelper.GetPathToStandardLibraries(".NetFramework", "v4.0", string.Empty, "RandomPlatform");
2251string pathToFramework = ToolLocationHelper.GetPathToStandardLibraries(".NetFramework", "v3.5", string.Empty, "x86");
2254pathToFramework = ToolLocationHelper.GetPathToStandardLibraries(".NetFramework", "v3.5", string.Empty, "x64");
2257pathToFramework = ToolLocationHelper.GetPathToStandardLibraries(".NetFramework", "v3.5", string.Empty, "itanium");
2260pathToFramework = ToolLocationHelper.GetPathToStandardLibraries(".NetFramework", "v3.5", string.Empty, "RandomPlatform");
2289string pathToFramework = ToolLocationHelper.GetPathToStandardLibraries(".NetFramework", "v4.0", string.Empty, "x86");
2293pathToFramework = ToolLocationHelper.GetPathToStandardLibraries(".NetFramework", "v4.0", string.Empty, "x64");
2296pathToFramework = ToolLocationHelper.GetPathToStandardLibraries(".NetFramework", "v4.0", string.Empty, "itanium");
2299pathToFramework = ToolLocationHelper.GetPathToStandardLibraries(".NetFramework", "v4.0", string.Empty, "RandomPlatform");
2511string stdLibPath = ToolLocationHelper.GetPathToStandardLibraries(frameworkName, frameworkVersion, string.Empty, null, rootDir);
2522string v45Path = ToolLocationHelper.GetPathToStandardLibraries(frameworkName, frameworkVersion, string.Empty);
2524string v45PathWithNullRoot = ToolLocationHelper.GetPathToStandardLibraries(frameworkName, frameworkVersion, string.Empty, null);
2541string stdLibPath = ToolLocationHelper.GetPathToStandardLibraries(frameworkName, frameworkVersion, string.Empty, null, null, fallbackSearchPaths);
2566string stdLibPath = ToolLocationHelper.GetPathToStandardLibraries(frameworkName, frameworkVersion, string.Empty, null, rootDir, fallbackSearchPaths);
2578string v45Path = ToolLocationHelper.GetPathToStandardLibraries(frameworkName, frameworkVersion, string.Empty);
2580string v45PathWithNullRoot = ToolLocationHelper.GetPathToStandardLibraries(frameworkName, frameworkVersion, string.Empty, null, null);
2684string frameworkProfile = string.Empty;
2699var v45Paths = ToolLocationHelper.GetPathToReferenceAssemblies(frameworkName, frameworkVersion, string.Empty);
2702var v45PathsWithNullRoot = ToolLocationHelper.GetPathToReferenceAssemblies(frameworkName, frameworkVersion, string.Empty, null);
2713var v45Paths = ToolLocationHelper.GetPathToReferenceAssemblies(frameworkName, frameworkVersion, string.Empty);
2716var v45PathsWithNullRoot = ToolLocationHelper.GetPathToReferenceAssemblies(frameworkName, frameworkVersion, string.Empty, null, null);
2733File.WriteAllText(Path.Combine(asmPath, "mscorlib.dll"), string.Empty);
2967VerifyExceptionOnEmptyOrNullPlatformAttributes(string.Empty, new Version("1.0"));
4127ToolLocationHelper.FindRootFolderWhereAllFilesExist(roots, @"file1.txt;subdir\file3.txt").ShouldBe(String.Empty);
Microsoft.Cci.Extensions (5)
Microsoft.CodeAnalysis (82)
Microsoft.CodeAnalysis.Analyzers (4)
Microsoft.CodeAnalysis.AnalyzerUtilities (10)
Microsoft.CodeAnalysis.BannedApiAnalyzers (4)
Microsoft.CodeAnalysis.CodeStyle (28)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleHelpers.cs (1)
192: 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 (17)
src\Analyzers\Core\CodeFixes\RemoveUnusedParametersAndValues\AbstractRemoveUnusedValuesCodeFixProvider.cs (1)
218return string.Empty;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationSymbolFactory.cs (1)
399name: string.Empty,
Microsoft.CodeAnalysis.CodeStyle.UnitTestUtilities (1)
Microsoft.CodeAnalysis.Collections.Package (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());
13230TestBulkAnalyzerConfigurationCore(analyzer, analyzerConfigText: string.Empty, errorlog, expectedDiagnosticSeverity: ReportDiagnostic.Suppress);
13324TestBulkAnalyzerConfigurationCore(analyzer, analyzerConfigText: string.Empty, errorlog, expectedDiagnosticSeverity);
15391: string.Empty;
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (367)
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)
42new SignatureHelpTestItem("SomethingAttribute()", string.Empty, null, currentParameterIndex: 0)
133new SignatureHelpTestItem("SomethingAttribute(int someInteger, string someString)", string.Empty, string.Empty, currentParameterIndex: 0)
183new SignatureHelpTestItem("SomethingAttribute(int someInteger, string someString)", string.Empty, string.Empty, currentParameterIndex: 1)
232new SignatureHelpTestItem("SomethingAttribute()", string.Empty, null, currentParameterIndex: 0)
337new SignatureHelpTestItem($"SomethingAttribute({FeaturesResources.Properties}: [goo = int])", string.Empty, string.Empty, currentParameterIndex: 0)
360new SignatureHelpTestItem("SomethingAttribute()", string.Empty, null, currentParameterIndex: 0)
383new SignatureHelpTestItem("SomethingAttribute()", string.Empty, null, currentParameterIndex: 0)
406new SignatureHelpTestItem("SomethingAttribute()", string.Empty, null, currentParameterIndex: 0)
434new SignatureHelpTestItem($"SomethingAttribute({FeaturesResources.Properties}: [goo = int])", string.Empty, string.Empty, currentParameterIndex: 0)
458new SignatureHelpTestItem("SomethingAttribute()", string.Empty, null, currentParameterIndex: 0)
481new SignatureHelpTestItem("SomethingAttribute()", string.Empty, null, currentParameterIndex: 0)
504new SignatureHelpTestItem("SomethingAttribute()", string.Empty, null, currentParameterIndex: 0)
527new SignatureHelpTestItem("SomethingAttribute()", string.Empty, null, currentParameterIndex: 0)
550new SignatureHelpTestItem("SomethingAttribute()", string.Empty, null, currentParameterIndex: 0)
582new SignatureHelpTestItem($"DerivedAttribute({FeaturesResources.Properties}: [Name = string])", string.Empty, string.Empty, currentParameterIndex: 0)
614new SignatureHelpTestItem($"SomethingAttribute([int goo = 0], [string bar = null], {FeaturesResources.Properties}: [fieldbar = string], [fieldfoo = int])", string.Empty, "GooParameter", currentParameterIndex: 0)
643new SignatureHelpTestItem($"SomethingAttribute([int goo = 0], [string bar = null], {FeaturesResources.Properties}: [fieldbar = string], [fieldfoo = int])", string.Empty, "BarParameter", currentParameterIndex: 1)
672new SignatureHelpTestItem($"SomethingAttribute([int goo = 0], [string bar = null], {FeaturesResources.Properties}: [fieldbar = string], [fieldfoo = int])", string.Empty, string.Empty, currentParameterIndex: 2)
699new SignatureHelpTestItem($"SomethingAttribute([int goo = 0], {FeaturesResources.Properties}: [goo = int])", string.Empty, "GooParameter", currentParameterIndex: 0)
726new SignatureHelpTestItem($"SomethingAttribute([int goo = 0], {FeaturesResources.Properties}: [goo = int])", string.Empty, string.Empty, currentParameterIndex: 1)
756new SignatureHelpTestItem("SomethingAttribute(int someParameter, bool somethingElse)", string.Empty, string.Empty, currentParameterIndex: 0)
781new SignatureHelpTestItem("SomethingAttribute(int someParameter, bool somethingElse)", string.Empty, string.Empty, currentParameterIndex: 1)
842new SignatureHelpTestItem("MyAttribute(int x)", string.Empty, string.Empty, currentParameterIndex: 0)
875new SignatureHelpTestItem("MyAttribute(int x)", string.Empty, string.Empty, currentParameterIndex: 0)
908new SignatureHelpTestItem("MyAttribute(int x)", string.Empty, string.Empty, currentParameterIndex: 0)
955new SignatureHelpTestItem("MyAttribute(int x)", string.Empty, string.Empty, currentParameterIndex: 0)
960new SignatureHelpTestItem("MyAttribute(int x)", string.Empty, string.Empty, currentParameterIndex: 0),
961new SignatureHelpTestItem("MyAttribute(int x, int y)", string.Empty, string.Empty, currentParameterIndex: 0)
SignatureHelp\ConstructorInitializerSignatureHelpProviderTests.cs (27)
44new SignatureHelpTestItem("BaseClass()", string.Empty, null, currentParameterIndex: 0)
93new SignatureHelpTestItem("BaseClass(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 0)
193new SignatureHelpTestItem("Goo(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 1)
212new SignatureHelpTestItem("Foo()", string.Empty, null, currentParameterIndex: 0),
231new SignatureHelpTestItem("Goo(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 1)
250new SignatureHelpTestItem("Foo()", string.Empty, null, currentParameterIndex: 0),
335new SignatureHelpTestItem("Goo(int a)", string.Empty, string.Empty, currentParameterIndex: 0)
354new SignatureHelpTestItem("Foo()", string.Empty, null, currentParameterIndex: 0),
373new SignatureHelpTestItem("Goo(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 1)
392new SignatureHelpTestItem("Foo()", string.Empty, null, currentParameterIndex: 0),
445new SignatureHelpTestItem("BaseClass(int x)", string.Empty, string.Empty, currentParameterIndex: 0)
476new SignatureHelpTestItem("BaseClass(int x)", string.Empty, string.Empty, currentParameterIndex: 0)
507new SignatureHelpTestItem("BaseClass(int x)", string.Empty, string.Empty, currentParameterIndex: 0)
551new SignatureHelpTestItem("BaseClass(int x)", string.Empty, string.Empty, currentParameterIndex: 0)
556new SignatureHelpTestItem("BaseClass(int x)", string.Empty, string.Empty, currentParameterIndex: 0),
557new SignatureHelpTestItem("BaseClass(int x, int y)", string.Empty, string.Empty, currentParameterIndex: 0)
SignatureHelp\ElementAccessExpressionSignatureHelpProviderTests.cs (42)
51new SignatureHelpTestItem("string C[int a]", string.Empty, string.Empty, currentParameterIndex: 0)
76new SignatureHelpTestItem("ref int C[int a]", string.Empty, string.Empty, currentParameterIndex: 0)
101new SignatureHelpTestItem("ref readonly int C[int a]", string.Empty, string.Empty, currentParameterIndex: 0)
132new SignatureHelpTestItem("string C[int a]", string.Empty, string.Empty, currentParameterIndex: 0)
197new SignatureHelpTestItem("string C[int a, bool b]", string.Empty, string.Empty, currentParameterIndex: 1)
265new SignatureHelpTestItem("string C[int a]", string.Empty, string.Empty, currentParameterIndex: 0)
296new SignatureHelpTestItem("string C[int a, bool b]", string.Empty, string.Empty, currentParameterIndex: 1)
361new SignatureHelpTestItem("string C[int a]", string.Empty, string.Empty, currentParameterIndex: 0)
392new SignatureHelpTestItem("string C[int a, bool b]", string.Empty, string.Empty, currentParameterIndex: 1)
464new SignatureHelpTestItem("int Goo[int x]", string.Empty, string.Empty, currentParameterIndex: 0)
501new SignatureHelpTestItem("int Goo[int x]", string.Empty, string.Empty, currentParameterIndex: 0)
538new SignatureHelpTestItem("int Goo[int x]", string.Empty, string.Empty, currentParameterIndex: 0)
591new SignatureHelpTestItem("int Goo[double d]", string.Empty, string.Empty, currentParameterIndex: 0)
596new SignatureHelpTestItem("int Goo[double d]", string.Empty, string.Empty, currentParameterIndex: 0),
597new SignatureHelpTestItem("int Goo[int x]", string.Empty, string.Empty, currentParameterIndex: 0),
634new SignatureHelpTestItem("int Goo[int x]", string.Empty, string.Empty, currentParameterIndex: 0)
671new SignatureHelpTestItem("int Goo[int x]", string.Empty, string.Empty, currentParameterIndex: 0)
709new SignatureHelpTestItem("int Goo[int x]", string.Empty, string.Empty, currentParameterIndex: 0)
770new SignatureHelpTestItem("string CCC.IndexProp[int p1]", string.Empty, string.Empty, currentParameterIndex: 0)
910new SignatureHelpTestItem("string C[int a]", string.Empty, string.Empty, currentParameterIndex: 0)
940new SignatureHelpTestItem("int P[int z]", string.Empty, string.Empty, currentParameterIndex: 0)
SignatureHelp\GenericNamePartiallyWrittenSignatureHelpProviderTests.cs (26)
42new SignatureHelpTestItem("G<T>", string.Empty, string.Empty, currentParameterIndex: 0)
67new SignatureHelpTestItem("G<T>", string.Empty, string.Empty, currentParameterIndex: 0)
92new SignatureHelpTestItem("G<T>", string.Empty, string.Empty, currentParameterIndex: 0)
115new SignatureHelpTestItem("G<T>", string.Empty, string.Empty, currentParameterIndex: 0)
141new SignatureHelpTestItem($"({CSharpFeaturesResources.awaitable}) Task<int> Program.Goo<T>()", methodDocumentation: string.Empty, string.Empty, currentParameterIndex: 0)
172new SignatureHelpTestItem("void C.Goo<T>(T x)", string.Empty, string.Empty, currentParameterIndex: 0)
207new SignatureHelpTestItem("void C.Goo<T>(T x)", string.Empty, string.Empty, currentParameterIndex: 0)
242new SignatureHelpTestItem("void C.Goo<T>(T x)", string.Empty, string.Empty, currentParameterIndex: 0)
289new SignatureHelpTestItem("void C.Goo<T>(T x)", string.Empty, string.Empty, currentParameterIndex: 0)
294new SignatureHelpTestItem("void C.Goo<T>(T x)", string.Empty, string.Empty, currentParameterIndex: 0),
295new SignatureHelpTestItem("void C.Goo<T, U>(T x, U y)", string.Empty, string.Empty, currentParameterIndex: 0)
385new SignatureHelpTestItem("G<S, T>", string.Empty, string.Empty, currentParameterIndex: 0)
408new SignatureHelpTestItem("G<S, T>", string.Empty, string.Empty, currentParameterIndex: 1)
SignatureHelp\GenericNameSignatureHelpProviderTests.cs (38)
46new SignatureHelpTestItem("G<T>", string.Empty, string.Empty, currentParameterIndex: 0)
69new SignatureHelpTestItem("G<T>", string.Empty, string.Empty, currentParameterIndex: 0)
92new SignatureHelpTestItem("G<S, T>", string.Empty, string.Empty, currentParameterIndex: 0)
115new SignatureHelpTestItem("G<S, T>", string.Empty, string.Empty, currentParameterIndex: 1)
202new SignatureHelpTestItem("G<S> where S : struct", string.Empty, string.Empty, currentParameterIndex: 0)
226new SignatureHelpTestItem("G<S> where S : class", string.Empty, string.Empty, currentParameterIndex: 0)
250new SignatureHelpTestItem("G<S> where S : new()", string.Empty, string.Empty, currentParameterIndex: 0)
276new SignatureHelpTestItem("G<S> where S : Base", string.Empty, string.Empty, currentParameterIndex: 0)
302new SignatureHelpTestItem("G<S> where S : Base<S>", string.Empty, string.Empty, currentParameterIndex: 0)
328new SignatureHelpTestItem("G<S> where S : Base<int>", string.Empty, string.Empty, currentParameterIndex: 0)
354new SignatureHelpTestItem("G<S> where S : Base<Base<int>>", string.Empty, string.Empty, currentParameterIndex: 0)
378new SignatureHelpTestItem("G<S, T> where S : T", string.Empty, string.Empty, currentParameterIndex: 0)
472new SignatureHelpTestItem("G<S> where S : allows ref struct", string.Empty, string.Empty, currentParameterIndex: 0)
499new SignatureHelpTestItem("void C.Goo<T>()", string.Empty, string.Empty, currentParameterIndex: 0)
553new SignatureHelpTestItem("void C.Goo<S, T>(S s, T t)", string.Empty, string.Empty, currentParameterIndex: 1)
639new SignatureHelpTestItem($"({CSharpFeaturesResources.extension}) void G.Goo<T>()", string.Empty, string.Empty, currentParameterIndex: 0)
867new SignatureHelpTestItem("C<T>", string.Empty, string.Empty, currentParameterIndex: 0)
900new SignatureHelpTestItem("C<T>", string.Empty, string.Empty, currentParameterIndex: 0)
933new SignatureHelpTestItem("C<T>", string.Empty, string.Empty, currentParameterIndex: 0)
SignatureHelp\InvocationExpressionSignatureHelpProviderTests.cs (110)
90await TestAsync(markup, [new SignatureHelpTestItem("void C.Goo()", string.Empty, null, currentParameterIndex: 0)]);
125await TestAsync(markup, [new SignatureHelpTestItem("void C.Goo(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 0)]);
162await TestAsync(markup, [new SignatureHelpTestItem("void C.Goo(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 1)]);
276await TestAsync(markup, [new SignatureHelpTestItem("void C.Goo()", string.Empty, null, currentParameterIndex: 0)]);
293await TestAsync(markup, [new SignatureHelpTestItem("void C.Goo(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 0)]);
309await TestAsync(markup, [new SignatureHelpTestItem("void C.Goo(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 1)]);
328await TestAsync(markup, [new SignatureHelpTestItem("void Action<int>(int obj)", string.Empty, string.Empty, currentParameterIndex: 0)]);
348await TestAsync(markup, [new SignatureHelpTestItem("void C.Bar(int a)", string.Empty, string.Empty, currentParameterIndex: 0)]);
376await TestAsync(markup, [new SignatureHelpTestItem($"({CSharpFeaturesResources.extension}) int string.ExtensionMethod(int x)", string.Empty, string.Empty, currentParameterIndex: 0)], sourceCodeKind: SourceCodeKind.Regular);
396await TestAsync(markup, [new SignatureHelpTestItem("void Class1.Goo([int a = 42])", string.Empty, string.Empty, currentParameterIndex: 0)]);
447await TestAsync(markup, [new SignatureHelpTestItem("double C.Goo(double x)", string.Empty, string.Empty, currentParameterIndex: 0)]);
474await TestAsync(markup, [new SignatureHelpTestItem("double C.Goo(double x, double y)", string.Empty, string.Empty, currentParameterIndex: 0)]);
555methodDocumentation: string.Empty,
556parameterDocumentation: string.Empty,
592methodDocumentation: string.Empty,
593parameterDocumentation: string.Empty,
595description: string.Empty)]);
624methodDocumentation: string.Empty,
625parameterDocumentation: string.Empty,
627description: string.Empty)]);
651methodDocumentation: string.Empty,
652parameterDocumentation: string.Empty,
654description: string.Empty)]);
683methodDocumentation: string.Empty,
684parameterDocumentation: string.Empty,
686description: string.Empty)]);
710methodDocumentation: string.Empty,
711parameterDocumentation: string.Empty,
713description: string.Empty)]);
742methodDocumentation: string.Empty,
743parameterDocumentation: string.Empty,
745description: string.Empty)]);
774methodDocumentation: string.Empty,
775parameterDocumentation: string.Empty,
777description: string.Empty)]);
877markup, [new SignatureHelpTestItem("void Program.SomeMethod([CancellationToken token = default])", string.Empty, null, currentParameterIndex: 0)], usePreviousCharAsTrigger: true);
893await TestAsync(markup, [new SignatureHelpTestItem("void C.Goo()", string.Empty, null, currentParameterIndex: 0)], usePreviousCharAsTrigger: true);
909await TestAsync(markup, [new SignatureHelpTestItem("void C.Goo(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 1)], usePreviousCharAsTrigger: true);
1009List<SignatureHelpTestItem> expectedOrderedItems = [new SignatureHelpTestItem("void Goo.Bar()", string.Empty, null, currentParameterIndex: 0)];
1047expectedOrderedItemsSameSolution: [new SignatureHelpTestItem("void Goo.Bar()", string.Empty, null, currentParameterIndex: 0)],
1074List<SignatureHelpTestItem> expectedOrderedItems = [new SignatureHelpTestItem("void Goo.Bar()", string.Empty, null, currentParameterIndex: 0)];
1123expectedOrderedItemsMetadataReference: [new SignatureHelpTestItem("void Goo.Bar()", string.Empty, null, currentParameterIndex: 0)],
1125new SignatureHelpTestItem("void Goo.Bar()", string.Empty, null, currentParameterIndex: 0),
1126new SignatureHelpTestItem("void Goo.Bar(int x)", string.Empty, string.Empty, currentParameterIndex: 0)],
1164new SignatureHelpTestItem("void Goo.Bar()", string.Empty, null, currentParameterIndex: 0),
1165new SignatureHelpTestItem("void Goo.Bar(int x)", string.Empty, string.Empty, currentParameterIndex: 0)],
1201new SignatureHelpTestItem("void D.Goo(int derived)", string.Empty, string.Empty, currentParameterIndex: 0),
1234List<SignatureHelpTestItem> expectedOrderedItems = [new SignatureHelpTestItem("void C.Goo()", string.Empty, null, currentParameterIndex: 0)];
1275new SignatureHelpTestItem("void B.Goo()", string.Empty, null, currentParameterIndex: 0),
1276new SignatureHelpTestItem("void D.Goo(int x)", string.Empty, string.Empty, currentParameterIndex: 0),
1313expectedOrderedItemsSameSolution: [new SignatureHelpTestItem("void B.Goo()", string.Empty, null, currentParameterIndex: 0)],
1340new SignatureHelpTestItem("void C<int>.Goo(int t)", string.Empty, string.Empty, currentParameterIndex: 0),
1341new SignatureHelpTestItem("void C<int>.Goo(int i)", string.Empty, string.Empty, currentParameterIndex: 0),
1376expectedOrderedItemsMetadataReference: [new SignatureHelpTestItem("void C<int>.Goo(int i)", string.Empty, string.Empty, currentParameterIndex: 0)],
1378new SignatureHelpTestItem("void C<int>.Goo(int t)", string.Empty, string.Empty, currentParameterIndex: 0),
1379new SignatureHelpTestItem("void C<int>.Goo(int i)", string.Empty, string.Empty, currentParameterIndex: 0)],
1408expectedOrderedItemsMetadataReference: [new SignatureHelpTestItem("void C<int>.Goo(int t)", string.Empty, string.Empty, currentParameterIndex: 0)],
1410new SignatureHelpTestItem("void C<int>.Goo(int t)", string.Empty, string.Empty, currentParameterIndex: 0),
1411new SignatureHelpTestItem("void C<int>.Goo(int i)", string.Empty, string.Empty, currentParameterIndex: 0)],
1444new SignatureHelpTestItem("void C<int>.Goo(int t)", string.Empty, string.Empty, currentParameterIndex: 0),
1445new SignatureHelpTestItem("void C<int>.Goo(int i)", string.Empty, string.Empty, currentParameterIndex: 0)],
1473new SignatureHelpTestItem("void C<int, int>.Goo(int t)", string.Empty, string.Empty, currentParameterIndex: 0),
1474new SignatureHelpTestItem("void C<int, int>.Goo(int u)", string.Empty, string.Empty, currentParameterIndex: 0),
1509expectedOrderedItemsMetadataReference: [new SignatureHelpTestItem("void C<int, int>.Goo(int u)", string.Empty, string.Empty, currentParameterIndex: 0)],
1511new SignatureHelpTestItem("void C<int, int>.Goo(int t)", string.Empty, string.Empty, currentParameterIndex: 0),
1512new SignatureHelpTestItem("void C<int, int>.Goo(int u)", string.Empty, string.Empty, currentParameterIndex: 0)],
1544new SignatureHelpTestItem("void C<int, int>.Goo(int t)", string.Empty, string.Empty, currentParameterIndex: 0),
1545new SignatureHelpTestItem("void C<int, int>.Goo(int u)", string.Empty, string.Empty, currentParameterIndex: 0)],
1566await TestSignatureHelpWithMscorlib45Async(markup, [new SignatureHelpTestItem($"({CSharpFeaturesResources.awaitable}) Task C.Goo()", methodDocumentation: string.Empty, currentParameterIndex: 0)], "C#");
1583await TestSignatureHelpWithMscorlib45Async(markup, [new SignatureHelpTestItem($"({CSharpFeaturesResources.awaitable}) Task<Task<int>> C.Goo()", methodDocumentation: string.Empty, currentParameterIndex: 0)], "C#");
1610await TestAsync(markup, [new SignatureHelpTestItem("void C<int>.M(int t)", string.Empty, "Real t", currentParameterIndex: 0)]);
2369new SignatureHelpTestItem("void C.Goo<string>(string a)", string.Empty, string.Empty, currentParameterIndex: 0),
2370new SignatureHelpTestItem("void C.Goo<T, U>(T a, U b)", string.Empty)]);
2391new SignatureHelpTestItem("void C.Goo<T>(T a)", string.Empty),
2392new SignatureHelpTestItem("void C.Goo<T, U>(T a, U b)", string.Empty, string.Empty, currentParameterIndex: 1)]);
2596M{{(typeParameterProvided ? "<object>" : string.Empty)}}($$
SignatureHelp\ObjectCreationExpressionSignatureHelpProviderTests.cs (29)
39await TestAsync(markup, [new("C()", string.Empty, null, currentParameterIndex: 0)]);
61await TestAsync(markup, [new("C()", string.Empty, null, currentParameterIndex: 0)]);
100await TestAsync(markup, [new("C(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 0)]);
118await TestAsync(markup, [new("C(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 0)]);
159await TestAsync(markup, [new("C(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 1)]);
282await TestAsync(markup, [new("C()", string.Empty, null, currentParameterIndex: 0)]);
300await TestAsync(markup, [new("C(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 0)]);
318await TestAsync(markup, [new("C(int a, int b)", string.Empty, string.Empty, currentParameterIndex: 1)]);
336await TestAsync(markup, [new("Action<int, int>(void (int, int) target)", string.Empty, string.Empty, currentParameterIndex: 0, isSelected: true)]);
380await TestAsync(markup, [new("C()", string.Empty, null, currentParameterIndex: 0)], usePreviousCharAsTrigger: true);
400await TestAsync(markup, [new("C(int a, string b)", string.Empty, string.Empty, currentParameterIndex: 1)], usePreviousCharAsTrigger: true);
460new("Goo(int x)", string.Empty, string.Empty, currentParameterIndex: 0)
499expectedOrderedItemsSameSolution: [new("Goo(int x)", string.Empty, string.Empty, currentParameterIndex: 0)],
528new("Goo()", string.Empty, null, currentParameterIndex: 0)
579expectedOrderedItemsMetadataReference: [new("Goo(int x)", string.Empty, string.Empty, currentParameterIndex: 0)],
581new("Goo(int x)", string.Empty, string.Empty, currentParameterIndex: 0),
582new("Goo(long y)", string.Empty, string.Empty, currentParameterIndex: 0)],
SignatureHelp\PrimaryConstructorBaseTypeSignatureHelpProviderTests.cs (15)
36new("Base(Base original)", string.Empty, null, currentParameterIndex: 0),
37new("Base(int Identifier)", string.Empty, null, currentParameterIndex: 0, isSelected: true)]);
51await TestAsync(markup, [new("Base(int Identifier)", string.Empty, null, currentParameterIndex: 0, isSelected: true)]);
66new("Base(Base original)", string.Empty, null, currentParameterIndex: 1),
67new("Base(string name)", string.Empty, null, currentParameterIndex: 1),
68new("Base(int Identifier1, int Identifier2)", string.Empty, null, currentParameterIndex: 1, isSelected: true)]);
83new("Base(string name)", string.Empty, null, currentParameterIndex: 1),
84new("Base(int Identifier1, int Identifier2)", string.Empty, null, currentParameterIndex: 1, isSelected: true)]);
100new("Base(Base original)", string.Empty, null, currentParameterIndex: 1),
102new("Base(int Identifier1, int Identifier2)", string.Empty, null, currentParameterIndex: 1, isSelected: true)]);
119new("Base(int Identifier1, int Identifier2)", string.Empty, null, currentParameterIndex: 1, isSelected: true)]);
136new("Base(Base original)", string.Empty, null, currentParameterIndex: 0),
138new("Base(int Identifier1, int Identifier2)", string.Empty, null, currentParameterIndex: 0, isSelected: true)]);
156new("Base(int Identifier1, int Identifier2)", string.Empty, null, currentParameterIndex: 0, isSelected: true)]);
169await TestAsync(markup, [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 (16)
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.EditorFeatures (15)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (19)
Completion\AbstractCompletionProviderTests.cs (6)
828return languageName == LanguageNames.CSharp ? @"LanguageVersion = ""preview""" : string.Empty;
1085await VerifyAtPositionAsync(code, position, string.Empty, usePreviousCharAsTrigger,
1127code, position, string.Empty, usePreviousCharAsTrigger, deletedCharTrigger,
1174await VerifyAtEndOfFileAsync(code, position, string.Empty,
1184await VerifyAtEndOfFileAsync(code, position, string.Empty,
1223await VerifyAtEndOfFileAsync(code, position, string.Empty, usePreviousCharAsTrigger, deletedCharTrigger,
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities2 (4)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (75)
CommentSelection\CommentUncommentSelectionCommandHandlerTests.cs (45)
313UncommentSelection(code, new[] { new TextChange(new TextSpan(0, 2), string.Empty) }, Span.FromBounds(0, 6), supportBlockComments: true);
322new TextChange(new TextSpan(7, 2), string.Empty),
323new TextChange(new TextSpan(30, 2), string.Empty),
335new TextChange(new TextSpan(11, 2), string.Empty),
336new TextChange(new TextSpan(34, 2), string.Empty),
359new TextChange(new TextSpan(18, 2), string.Empty),
360new TextChange(new TextSpan(34, 2), string.Empty),
361new TextChange(new TextSpan(47, 2), string.Empty),
362new TextChange(new TextSpan(68, 2), string.Empty),
363new TextChange(new TextSpan(119, 2), string.Empty),
364new TextChange(new TextSpan(128, 2), string.Empty),
385new TextChange(new TextSpan(20, 2), string.Empty),
386new TextChange(new TextSpan(23, 2), string.Empty),
387new TextChange(new TextSpan(38, 2), string.Empty),
388new TextChange(new TextSpan(49, 2), string.Empty),
389new TextChange(new TextSpan(52, 2), string.Empty),
390new TextChange(new TextSpan(64, 2), string.Empty),
411new TextChange(new TextSpan(2, 2), string.Empty),
412new TextChange(new TextSpan(19, 2), string.Empty),
413new TextChange(new TextSpan(26, 2), string.Empty),
433new TextChange(new TextSpan(6, 2), string.Empty),
434new TextChange(new TextSpan(16, 2), string.Empty)
447new TextChange(new TextSpan(19, 2), string.Empty),
448new TextChange(new TextSpan(29, 2), string.Empty)
461new TextChange(new TextSpan(0, 2), string.Empty),
462new TextChange(new TextSpan(15, 2), string.Empty)
475new TextChange(new TextSpan(0, 2), string.Empty),
476new TextChange(new TextSpan(15, 2), string.Empty)
513new TextChange(new TextSpan(18, 2), string.Empty),
514new TextChange(new TextSpan(112, 2), string.Empty),
544new TextChange(new TextSpan(20, 2), string.Empty),
545new TextChange(new TextSpan(114, 2), string.Empty),
573new TextChange(new TextSpan(18, 2), string.Empty),
574new TextChange(new TextSpan(112, 2), string.Empty),
602new TextChange(new TextSpan(18, 2), string.Empty),
603new TextChange(new TextSpan(112, 2), string.Empty),
631new TextChange(new TextSpan(55, 2), string.Empty),
659new TextChange(new TextSpan(55, 2), string.Empty),
687new TextChange(new TextSpan(18, 2), string.Empty),
688new TextChange(new TextSpan(28, 2), string.Empty),
689new TextChange(new TextSpan(44, 2), string.Empty),
690new TextChange(new TextSpan(53, 2), string.Empty),
691new TextChange(new TextSpan(78, 2), string.Empty),
692new TextChange(new TextSpan(109, 2), string.Empty),
693new TextChange(new TextSpan(118, 2), string.Empty),
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (15)
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.ExternalAccess.Copilot (3)
Microsoft.CodeAnalysis.ExternalAccess.FSharp (4)
Microsoft.CodeAnalysis.ExternalAccess.Xaml (2)
Microsoft.CodeAnalysis.Features (93)
src\Analyzers\Core\CodeFixes\RemoveUnusedParametersAndValues\AbstractRemoveUnusedValuesCodeFixProvider.cs (1)
218return string.Empty;
Microsoft.CodeAnalysis.InteractiveHost (5)
Microsoft.CodeAnalysis.LanguageServer (7)
Microsoft.CodeAnalysis.LanguageServer.Protocol (15)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (46)
Initialize\LocaleTests.cs (5)
27await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions
39await using var testLspServerOne = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions
44await using var testLspServerTwo = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions
59await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions
72await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions
Miscellaneous\LspMiscellaneousFilesWorkspaceTests.cs (9)
35await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer });
58await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer });
68await testLspServer.OpenDocumentAsync(looseFileUri, string.Empty).ConfigureAwait(false);
99await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer });
145await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer });
190await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer });
224await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer });
255await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer });
286await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer });
UriTests.cs (8)
46await using var testLspServer = await CreateTestLspServerAsync(string.Empty, mutatingLspWorkspace, new InitializationOptions { ServerKind = WellKnownLspServerKinds.CSharpVisualBasicLspServer });
72await 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.PublicApiAnalyzers (3)
Microsoft.CodeAnalysis.PublicApiAnalyzers.CodeFixes (4)
Microsoft.CodeAnalysis.PublicApiAnalyzers.UnitTests (9)
Microsoft.CodeAnalysis.Remote.ServiceHub.UnitTests (1)
Microsoft.CodeAnalysis.ResxSourceGenerator (5)
Microsoft.CodeAnalysis.ResxSourceGenerator.UnitTests (2)
Microsoft.CodeAnalysis.Scripting (7)
Microsoft.CodeAnalysis.Scripting.UnitTests (5)
Microsoft.CodeAnalysis.Test.Utilities (18)
Microsoft.CodeAnalysis.Threading.Package (1)
Microsoft.CodeAnalysis.UnitTests (28)
Text\TextChangeTests.cs (12)
180new TextChange(new TextSpan(4, 1), string.Empty),
181new TextChange(new TextSpan(5, 1), string.Empty));
191new TextChange(new TextSpan(4, 1), string.Empty),
206new TextChange(new TextSpan(4, 1), string.Empty));
636var change1 = original.WithChanges(new TextChange(new TextSpan(5, 6), string.Empty)); // prepare a ChangedText instance
647var change1 = original.WithChanges(new TextChange(new TextSpan(5, 6), string.Empty)); // prepare a ChangedText instance
648var change2 = change1.WithChanges(new TextChange(new TextSpan(2, 0), string.Empty)); // this should not cause exception
1237new TextChange(new TextSpan(35, 4), string.Empty),
1238new TextChange(new TextSpan(46, 4), string.Empty),
1239new TextChange(new TextSpan(73, 4), string.Empty),
1241new TextChange(new TextSpan(90, 4), string.Empty),
1242new TextChange(new TextSpan(105, 4), string.Empty),
Microsoft.CodeAnalysis.VisualBasic (67)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (2)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (9)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.UnitTests (4)
src\Analyzers\VisualBasic\Tests\RemoveUnnecessarySuppressions\RemoveUnnecessarySuppressionsTests.vb (4)
37Dim scopeString = If(scope IsNot Nothing, $", {scope}", String.Empty)
38Dim targetString = If(target IsNot Nothing, $", {target}", String.Empty)
76Dim scopeString = If(scope IsNot Nothing, $", {scope}", String.Empty)
77Dim targetString = If(target IsNot Nothing, $", {target}", String.Empty)
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (8)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (9)
Attributes\InternalsVisibleToAndStrongNameTests.vb (6)
2302Dim compilation = CreateCompilationWithMscorlib40(String.Empty, options:=options, parseOptions:=parseOptions).VerifyEmitDiagnostics()
2311Dim options = New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, cryptoKeyFile:=String.Empty)
2312Dim compilation = CreateCompilationWithMscorlib40(String.Empty, options:=options, parseOptions:=parseOptions).VerifyEmitDiagnostics()
2322Dim compilation = CreateCompilationWithMscorlib40(String.Empty, options:=options, parseOptions:=parseOptions)
2334Dim options = New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary, cryptoKeyFile:=String.Empty, publicSign:=True)
2335Dim compilation = CreateCompilationWithMscorlib40(String.Empty, options:=options, parseOptions:=parseOptions)
Microsoft.CodeAnalysis.VisualBasic.Features (7)
Microsoft.CodeAnalysis.VisualBasic.ResultProvider (1)
src\ExpressionEvaluator\VisualBasic\Source\ResultProvider\Generated\Syntax.xml.GetText.Generated.vb (1)
521Return String.Empty
Microsoft.CodeAnalysis.VisualBasic.Scripting (1)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (92)
Diagnostics\GetDiagnosticsTests.vb (13)
235Dim compilation = CreateEmptyCompilation(String.Empty, parseOptions:=New VisualBasicParseOptions().WithPreprocessorSymbols(dict))
247Dim compilation = CreateCompilationWithMscorlib461(String.Empty, parseOptions:=New VisualBasicParseOptions().WithKind(SourceCodeKind.Interactive))
259Dim compilation = CreateEmptyCompilation(String.Empty, parseOptions:=New VisualBasicParseOptions().WithLanguageVersion(DirectCast(10000, LanguageVersion)))
270Dim compilation = CreateEmptyCompilation(String.Empty, parseOptions:=New VisualBasicParseOptions().WithDocumentationMode(CType(100, DocumentationMode)))
288Dim syntaxTree1 = Parse(String.Empty, options:=New VisualBasicParseOptions().WithPreprocessorSymbols(dict1))
289Dim syntaxTree2 = Parse(String.Empty, options:=New VisualBasicParseOptions().WithPreprocessorSymbols(dict2))
290Dim syntaxTree3 = Parse(String.Empty, options:=New VisualBasicParseOptions().WithPreprocessorSymbols(dict3))
324Dim syntaxTree1 = Parse(String.Empty, options:=parseOptions1)
325Dim syntaxTree2 = Parse(String.Empty, options:=parseOptions2)
326Dim syntaxTree3 = Parse(String.Empty, options:=parseOptions2)
356Dim syntaxTree1 = Parse(String.Empty, options:=parseOptions1)
357Dim syntaxTree2 = Parse(String.Empty, options:=parseOptions2)
395Dim syntaxTree = Parse(String.Empty, options:=parseOptions2)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (18)
SymbolsTests\SymbolErrorTests.vb (8)
21012Assert.Equal(0, sym.GetMembers(String.Empty).Length())
21014Assert.Equal(0, sym.GetTypeMembers(String.Empty).Length())
21015Assert.Equal(0, sym.GetTypeMembers(String.Empty, 0).Length())
24381source:=String.Empty,
24406Dim compilation = CreateCompilationWithMscorlib40(String.Empty, references:={ilModule}, options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary))
24424source:=String.Empty,
24449source:=String.Empty,
24512source:=String.Empty,
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (495)
Generated\Syntax.Test.xml.Generated.vb (464)
20return InternalSyntax.SyntaxFactory.EmptyStatement(new InternalSyntax.PunctuationSyntax(SyntaxKind.EmptyToken, String.Empty, Nothing, Nothing))
24return InternalSyntax.SyntaxFactory.EndIfStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.EndKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.IfKeyword, String.Empty, Nothing, Nothing))
28return InternalSyntax.SyntaxFactory.EndUsingStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.EndKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.UsingKeyword, String.Empty, Nothing, Nothing))
32return InternalSyntax.SyntaxFactory.EndWithStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.EndKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.WithKeyword, String.Empty, Nothing, Nothing))
36return InternalSyntax.SyntaxFactory.EndSelectStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.EndKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.SelectKeyword, String.Empty, Nothing, Nothing))
40return InternalSyntax.SyntaxFactory.EndStructureStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.EndKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.StructureKeyword, String.Empty, Nothing, Nothing))
44return InternalSyntax.SyntaxFactory.EndEnumStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.EndKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.EnumKeyword, String.Empty, Nothing, Nothing))
48return InternalSyntax.SyntaxFactory.EndInterfaceStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.EndKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.InterfaceKeyword, String.Empty, Nothing, Nothing))
52return InternalSyntax.SyntaxFactory.EndClassStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.EndKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.ClassKeyword, String.Empty, Nothing, Nothing))
56return InternalSyntax.SyntaxFactory.EndModuleStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.EndKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.ModuleKeyword, String.Empty, Nothing, Nothing))
60return InternalSyntax.SyntaxFactory.EndNamespaceStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.EndKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.NamespaceKeyword, String.Empty, Nothing, Nothing))
64return InternalSyntax.SyntaxFactory.EndSubStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.EndKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.SubKeyword, String.Empty, Nothing, Nothing))
68return InternalSyntax.SyntaxFactory.EndFunctionStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.EndKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.FunctionKeyword, String.Empty, Nothing, Nothing))
72return InternalSyntax.SyntaxFactory.EndGetStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.EndKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.GetKeyword, String.Empty, Nothing, Nothing))
76return InternalSyntax.SyntaxFactory.EndSetStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.EndKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.SetKeyword, String.Empty, Nothing, Nothing))
80return InternalSyntax.SyntaxFactory.EndPropertyStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.EndKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.PropertyKeyword, String.Empty, Nothing, Nothing))
84return InternalSyntax.SyntaxFactory.EndOperatorStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.EndKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.OperatorKeyword, String.Empty, Nothing, Nothing))
88return InternalSyntax.SyntaxFactory.EndEventStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.EndKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.EventKeyword, String.Empty, Nothing, Nothing))
92return InternalSyntax.SyntaxFactory.EndAddHandlerStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.EndKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.AddHandlerKeyword, String.Empty, Nothing, Nothing))
96return InternalSyntax.SyntaxFactory.EndRemoveHandlerStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.EndKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.RemoveHandlerKeyword, String.Empty, Nothing, Nothing))
100return InternalSyntax.SyntaxFactory.EndRaiseEventStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.EndKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.RaiseEventKeyword, String.Empty, Nothing, Nothing))
104return InternalSyntax.SyntaxFactory.EndWhileStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.EndKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.WhileKeyword, String.Empty, Nothing, Nothing))
108return InternalSyntax.SyntaxFactory.EndTryStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.EndKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.TryKeyword, String.Empty, Nothing, Nothing))
112return InternalSyntax.SyntaxFactory.EndSyncLockStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.EndKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.SyncLockKeyword, String.Empty, Nothing, Nothing))
116return InternalSyntax.SyntaxFactory.CompilationUnit(Nothing, Nothing, Nothing, Nothing, new InternalSyntax.PunctuationSyntax(SyntaxKind.EndOfFileToken, String.Empty, Nothing, Nothing))
120return InternalSyntax.SyntaxFactory.OptionStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.OptionKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.ExplicitKeyword, String.Empty, Nothing, Nothing), Nothing)
124return InternalSyntax.SyntaxFactory.ImportsStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.ImportsKeyword, String.Empty, Nothing, Nothing), Nothing)
132return InternalSyntax.SyntaxFactory.ImportAliasClause(GenerateGreenIdentifierToken(), new InternalSyntax.PunctuationSyntax(SyntaxKind.EqualsToken, String.Empty, Nothing, Nothing))
136return InternalSyntax.SyntaxFactory.XmlNamespaceImportsClause(new InternalSyntax.PunctuationSyntax(SyntaxKind.LessThanToken, String.Empty, Nothing, Nothing), GenerateGreenXmlAttribute(), new InternalSyntax.PunctuationSyntax(SyntaxKind.GreaterThanToken, String.Empty, Nothing, Nothing))
144return InternalSyntax.SyntaxFactory.NamespaceStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.NamespaceKeyword, String.Empty, Nothing, Nothing), GenerateGreenIdentifierName())
168return InternalSyntax.SyntaxFactory.InheritsStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.InheritsKeyword, String.Empty, Nothing, Nothing), New Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)())
172return InternalSyntax.SyntaxFactory.ImplementsStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.ImplementsKeyword, String.Empty, Nothing, Nothing), New Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)())
176return InternalSyntax.SyntaxFactory.ModuleStatement(Nothing, Nothing, new InternalSyntax.KeywordSyntax(SyntaxKind.ModuleKeyword, String.Empty, Nothing, Nothing), GenerateGreenIdentifierToken(), Nothing)
180return InternalSyntax.SyntaxFactory.StructureStatement(Nothing, Nothing, new InternalSyntax.KeywordSyntax(SyntaxKind.StructureKeyword, String.Empty, Nothing, Nothing), GenerateGreenIdentifierToken(), Nothing)
184return InternalSyntax.SyntaxFactory.InterfaceStatement(Nothing, Nothing, new InternalSyntax.KeywordSyntax(SyntaxKind.InterfaceKeyword, String.Empty, Nothing, Nothing), GenerateGreenIdentifierToken(), Nothing)
188return InternalSyntax.SyntaxFactory.ClassStatement(Nothing, Nothing, new InternalSyntax.KeywordSyntax(SyntaxKind.ClassKeyword, String.Empty, Nothing, Nothing), GenerateGreenIdentifierToken(), Nothing)
192return InternalSyntax.SyntaxFactory.EnumStatement(Nothing, Nothing, new InternalSyntax.KeywordSyntax(SyntaxKind.EnumKeyword, String.Empty, Nothing, Nothing), GenerateGreenIdentifierToken(), Nothing)
196return InternalSyntax.SyntaxFactory.TypeParameterList(new InternalSyntax.PunctuationSyntax(SyntaxKind.OpenParenToken, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.OfKeyword, String.Empty, Nothing, Nothing), New Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)(), new InternalSyntax.PunctuationSyntax(SyntaxKind.CloseParenToken, String.Empty, Nothing, Nothing))
204return InternalSyntax.SyntaxFactory.TypeParameterSingleConstraintClause(new InternalSyntax.KeywordSyntax(SyntaxKind.AsKeyword, String.Empty, Nothing, Nothing), GenerateGreenNewConstraint())
208return InternalSyntax.SyntaxFactory.TypeParameterMultipleConstraintClause(new InternalSyntax.KeywordSyntax(SyntaxKind.AsKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.PunctuationSyntax(SyntaxKind.OpenBraceToken, String.Empty, Nothing, Nothing), New Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)(), new InternalSyntax.PunctuationSyntax(SyntaxKind.CloseBraceToken, String.Empty, Nothing, Nothing))
212return InternalSyntax.SyntaxFactory.NewConstraint(new InternalSyntax.KeywordSyntax(SyntaxKind.NewKeyword, String.Empty, Nothing, Nothing))
216return InternalSyntax.SyntaxFactory.ClassConstraint(new InternalSyntax.KeywordSyntax(SyntaxKind.NewKeyword, String.Empty, Nothing, Nothing))
220return InternalSyntax.SyntaxFactory.StructureConstraint(new InternalSyntax.KeywordSyntax(SyntaxKind.NewKeyword, String.Empty, Nothing, Nothing))
276return InternalSyntax.SyntaxFactory.ParameterList(new InternalSyntax.PunctuationSyntax(SyntaxKind.OpenParenToken, String.Empty, Nothing, Nothing), Nothing, new InternalSyntax.PunctuationSyntax(SyntaxKind.CloseParenToken, String.Empty, Nothing, Nothing))
280return InternalSyntax.SyntaxFactory.SubStatement(Nothing, Nothing, new InternalSyntax.KeywordSyntax(SyntaxKind.SubKeyword, String.Empty, Nothing, Nothing), GenerateGreenIdentifierToken(), Nothing, Nothing, Nothing, Nothing, Nothing)
284return InternalSyntax.SyntaxFactory.FunctionStatement(Nothing, Nothing, new InternalSyntax.KeywordSyntax(SyntaxKind.FunctionKeyword, String.Empty, Nothing, Nothing), GenerateGreenIdentifierToken(), Nothing, Nothing, Nothing, Nothing, Nothing)
288return InternalSyntax.SyntaxFactory.SubNewStatement(Nothing, Nothing, new InternalSyntax.KeywordSyntax(SyntaxKind.SubKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.NewKeyword, String.Empty, Nothing, Nothing), Nothing)
292return InternalSyntax.SyntaxFactory.DeclareSubStatement(Nothing, Nothing, new InternalSyntax.KeywordSyntax(SyntaxKind.DeclareKeyword, String.Empty, Nothing, Nothing), Nothing, new InternalSyntax.KeywordSyntax(SyntaxKind.SubKeyword, String.Empty, Nothing, Nothing), GenerateGreenIdentifierToken(), new InternalSyntax.KeywordSyntax(SyntaxKind.LibKeyword, String.Empty, Nothing, Nothing), GenerateGreenCharacterLiteralExpression(), Nothing, Nothing, Nothing, Nothing)
296return InternalSyntax.SyntaxFactory.DeclareFunctionStatement(Nothing, Nothing, new InternalSyntax.KeywordSyntax(SyntaxKind.DeclareKeyword, String.Empty, Nothing, Nothing), Nothing, new InternalSyntax.KeywordSyntax(SyntaxKind.FunctionKeyword, String.Empty, Nothing, Nothing), GenerateGreenIdentifierToken(), new InternalSyntax.KeywordSyntax(SyntaxKind.LibKeyword, String.Empty, Nothing, Nothing), GenerateGreenCharacterLiteralExpression(), Nothing, Nothing, Nothing, Nothing)
300return InternalSyntax.SyntaxFactory.DelegateSubStatement(Nothing, Nothing, new InternalSyntax.KeywordSyntax(SyntaxKind.DelegateKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.SubKeyword, String.Empty, Nothing, Nothing), GenerateGreenIdentifierToken(), Nothing, Nothing, Nothing)
304return InternalSyntax.SyntaxFactory.DelegateFunctionStatement(Nothing, Nothing, new InternalSyntax.KeywordSyntax(SyntaxKind.DelegateKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.FunctionKeyword, String.Empty, Nothing, Nothing), GenerateGreenIdentifierToken(), Nothing, Nothing, Nothing)
308return InternalSyntax.SyntaxFactory.EventStatement(Nothing, Nothing, Nothing, new InternalSyntax.KeywordSyntax(SyntaxKind.EventKeyword, String.Empty, Nothing, Nothing), GenerateGreenIdentifierToken(), Nothing, Nothing, Nothing)
312return InternalSyntax.SyntaxFactory.OperatorStatement(Nothing, Nothing, new InternalSyntax.KeywordSyntax(SyntaxKind.OperatorKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.CTypeKeyword, String.Empty, Nothing, Nothing), Nothing, Nothing)
316return InternalSyntax.SyntaxFactory.PropertyStatement(Nothing, Nothing, new InternalSyntax.KeywordSyntax(SyntaxKind.PropertyKeyword, String.Empty, Nothing, Nothing), GenerateGreenIdentifierToken(), Nothing, Nothing, Nothing, Nothing)
320return InternalSyntax.SyntaxFactory.GetAccessorStatement(Nothing, Nothing, new InternalSyntax.KeywordSyntax(SyntaxKind.GetKeyword, String.Empty, Nothing, Nothing), Nothing)
324return InternalSyntax.SyntaxFactory.SetAccessorStatement(Nothing, Nothing, new InternalSyntax.KeywordSyntax(SyntaxKind.SetKeyword, String.Empty, Nothing, Nothing), Nothing)
328return InternalSyntax.SyntaxFactory.AddHandlerAccessorStatement(Nothing, Nothing, new InternalSyntax.KeywordSyntax(SyntaxKind.AddHandlerKeyword, String.Empty, Nothing, Nothing), Nothing)
332return InternalSyntax.SyntaxFactory.RemoveHandlerAccessorStatement(Nothing, Nothing, new InternalSyntax.KeywordSyntax(SyntaxKind.RemoveHandlerKeyword, String.Empty, Nothing, Nothing), Nothing)
336return InternalSyntax.SyntaxFactory.RaiseEventAccessorStatement(Nothing, Nothing, new InternalSyntax.KeywordSyntax(SyntaxKind.RaiseEventKeyword, String.Empty, Nothing, Nothing), Nothing)
340return InternalSyntax.SyntaxFactory.ImplementsClause(new InternalSyntax.KeywordSyntax(SyntaxKind.ImplementsKeyword, String.Empty, Nothing, Nothing), New Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)())
344return InternalSyntax.SyntaxFactory.HandlesClause(new InternalSyntax.KeywordSyntax(SyntaxKind.HandlesKeyword, String.Empty, Nothing, Nothing), New Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)())
348return InternalSyntax.SyntaxFactory.KeywordEventContainer(new InternalSyntax.KeywordSyntax(SyntaxKind.MyBaseKeyword, String.Empty, Nothing, Nothing))
356return InternalSyntax.SyntaxFactory.WithEventsPropertyEventContainer(GenerateGreenWithEventsEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.DotToken, String.Empty, Nothing, Nothing), GenerateGreenIdentifierName())
360return InternalSyntax.SyntaxFactory.HandlesClauseItem(GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.DotToken, String.Empty, Nothing, Nothing), GenerateGreenIdentifierName())
376return InternalSyntax.SyntaxFactory.SimpleAsClause(new InternalSyntax.KeywordSyntax(SyntaxKind.AsKeyword, String.Empty, Nothing, Nothing), Nothing, GenerateGreenTupleType())
380return InternalSyntax.SyntaxFactory.AsNewClause(new InternalSyntax.KeywordSyntax(SyntaxKind.AsKeyword, String.Empty, Nothing, Nothing), GenerateGreenObjectCreationExpression())
384return InternalSyntax.SyntaxFactory.ObjectMemberInitializer(new InternalSyntax.KeywordSyntax(SyntaxKind.WithKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.PunctuationSyntax(SyntaxKind.OpenBraceToken, String.Empty, Nothing, Nothing), New Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)(), new InternalSyntax.PunctuationSyntax(SyntaxKind.CloseBraceToken, String.Empty, Nothing, Nothing))
388return InternalSyntax.SyntaxFactory.ObjectCollectionInitializer(new InternalSyntax.KeywordSyntax(SyntaxKind.FromKeyword, String.Empty, Nothing, Nothing), GenerateGreenCollectionInitializer())
396return InternalSyntax.SyntaxFactory.NamedFieldInitializer(Nothing, new InternalSyntax.PunctuationSyntax(SyntaxKind.DotToken, String.Empty, Nothing, Nothing), GenerateGreenIdentifierName(), new InternalSyntax.PunctuationSyntax(SyntaxKind.EqualsToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
400return InternalSyntax.SyntaxFactory.EqualsValue(new InternalSyntax.PunctuationSyntax(SyntaxKind.EqualsToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
412return InternalSyntax.SyntaxFactory.ArrayRankSpecifier(new InternalSyntax.PunctuationSyntax(SyntaxKind.OpenParenToken, String.Empty, Nothing, Nothing), Nothing, new InternalSyntax.PunctuationSyntax(SyntaxKind.CloseParenToken, String.Empty, Nothing, Nothing))
416return InternalSyntax.SyntaxFactory.AttributeList(new InternalSyntax.PunctuationSyntax(SyntaxKind.LessThanToken, String.Empty, Nothing, Nothing), Nothing, new InternalSyntax.PunctuationSyntax(SyntaxKind.GreaterThanToken, String.Empty, Nothing, Nothing))
424return InternalSyntax.SyntaxFactory.AttributeTarget(new InternalSyntax.KeywordSyntax(SyntaxKind.AssemblyKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.PunctuationSyntax(SyntaxKind.ColonToken, String.Empty, Nothing, Nothing))
436return InternalSyntax.SyntaxFactory.PrintStatement(new InternalSyntax.PunctuationSyntax(SyntaxKind.QuestionToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
456return InternalSyntax.SyntaxFactory.LocalDeclarationStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.StaticKeyword, String.Empty, Nothing, Nothing), New Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)())
460return InternalSyntax.SyntaxFactory.LabelStatement(GenerateGreenIdentifierToken(), new InternalSyntax.PunctuationSyntax(SyntaxKind.ColonToken, String.Empty, Nothing, Nothing))
464return InternalSyntax.SyntaxFactory.GoToStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.GoToKeyword, String.Empty, Nothing, Nothing), GenerateGreenIdentifierLabel())
476return InternalSyntax.SyntaxFactory.NextLabel(new InternalSyntax.KeywordSyntax(SyntaxKind.NextKeyword, String.Empty, Nothing, Nothing))
480return InternalSyntax.SyntaxFactory.StopStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.StopKeyword, String.Empty, Nothing, Nothing))
484return InternalSyntax.SyntaxFactory.EndStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.StopKeyword, String.Empty, Nothing, Nothing))
488return InternalSyntax.SyntaxFactory.ExitDoStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.ExitKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.DoKeyword, String.Empty, Nothing, Nothing))
492return InternalSyntax.SyntaxFactory.ExitForStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.ExitKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.ForKeyword, String.Empty, Nothing, Nothing))
496return InternalSyntax.SyntaxFactory.ExitSubStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.ExitKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.SubKeyword, String.Empty, Nothing, Nothing))
500return InternalSyntax.SyntaxFactory.ExitFunctionStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.ExitKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.FunctionKeyword, String.Empty, Nothing, Nothing))
504return InternalSyntax.SyntaxFactory.ExitOperatorStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.ExitKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.OperatorKeyword, String.Empty, Nothing, Nothing))
508return InternalSyntax.SyntaxFactory.ExitPropertyStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.ExitKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.PropertyKeyword, String.Empty, Nothing, Nothing))
512return InternalSyntax.SyntaxFactory.ExitTryStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.ExitKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.TryKeyword, String.Empty, Nothing, Nothing))
516return InternalSyntax.SyntaxFactory.ExitSelectStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.ExitKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.SelectKeyword, String.Empty, Nothing, Nothing))
520return InternalSyntax.SyntaxFactory.ExitWhileStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.ExitKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.WhileKeyword, String.Empty, Nothing, Nothing))
524return InternalSyntax.SyntaxFactory.ContinueWhileStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.ContinueKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.WhileKeyword, String.Empty, Nothing, Nothing))
528return InternalSyntax.SyntaxFactory.ContinueDoStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.ContinueKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.DoKeyword, String.Empty, Nothing, Nothing))
532return InternalSyntax.SyntaxFactory.ContinueForStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.ContinueKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.ForKeyword, String.Empty, Nothing, Nothing))
536return InternalSyntax.SyntaxFactory.ReturnStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.ReturnKeyword, String.Empty, Nothing, Nothing), Nothing)
540return InternalSyntax.SyntaxFactory.SingleLineIfStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.IfKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer(), new InternalSyntax.KeywordSyntax(SyntaxKind.ThenKeyword, String.Empty, Nothing, Nothing), Nothing, Nothing)
544return InternalSyntax.SyntaxFactory.SingleLineElseClause(new InternalSyntax.KeywordSyntax(SyntaxKind.ElseKeyword, String.Empty, Nothing, Nothing), Nothing)
552return InternalSyntax.SyntaxFactory.IfStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.IfKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer(), Nothing)
560return InternalSyntax.SyntaxFactory.ElseIfStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.ElseIfKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer(), Nothing)
568return InternalSyntax.SyntaxFactory.ElseStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.ElseKeyword, String.Empty, Nothing, Nothing))
576return InternalSyntax.SyntaxFactory.TryStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.TryKeyword, String.Empty, Nothing, Nothing))
584return InternalSyntax.SyntaxFactory.CatchStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.CatchKeyword, String.Empty, Nothing, Nothing), Nothing, Nothing, Nothing)
588return InternalSyntax.SyntaxFactory.CatchFilterClause(new InternalSyntax.KeywordSyntax(SyntaxKind.WhenKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
596return InternalSyntax.SyntaxFactory.FinallyStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.FinallyKeyword, String.Empty, Nothing, Nothing))
600return InternalSyntax.SyntaxFactory.ErrorStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.ErrorKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
604return InternalSyntax.SyntaxFactory.OnErrorGoToZeroStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.OnKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.ErrorKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.GoToKeyword, String.Empty, Nothing, Nothing), Nothing, GenerateGreenIdentifierLabel())
608return InternalSyntax.SyntaxFactory.OnErrorGoToMinusOneStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.OnKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.ErrorKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.GoToKeyword, String.Empty, Nothing, Nothing), Nothing, GenerateGreenIdentifierLabel())
612return InternalSyntax.SyntaxFactory.OnErrorGoToLabelStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.OnKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.ErrorKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.GoToKeyword, String.Empty, Nothing, Nothing), Nothing, GenerateGreenIdentifierLabel())
616return InternalSyntax.SyntaxFactory.OnErrorResumeNextStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.OnKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.ErrorKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.ResumeKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.NextKeyword, String.Empty, Nothing, Nothing))
620return InternalSyntax.SyntaxFactory.ResumeStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.ResumeKeyword, String.Empty, Nothing, Nothing), Nothing)
624return InternalSyntax.SyntaxFactory.ResumeLabelStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.ResumeKeyword, String.Empty, Nothing, Nothing), Nothing)
628return InternalSyntax.SyntaxFactory.ResumeNextStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.ResumeKeyword, String.Empty, Nothing, Nothing), Nothing)
636return InternalSyntax.SyntaxFactory.SelectStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.SelectKeyword, String.Empty, Nothing, Nothing), Nothing, GenerateGreenKeywordEventContainer())
648return InternalSyntax.SyntaxFactory.CaseStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.CaseKeyword, String.Empty, Nothing, Nothing), New Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)())
652return InternalSyntax.SyntaxFactory.CaseElseStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.CaseKeyword, String.Empty, Nothing, Nothing), New Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)())
656return InternalSyntax.SyntaxFactory.ElseCaseClause(new InternalSyntax.KeywordSyntax(SyntaxKind.ElseKeyword, String.Empty, Nothing, Nothing))
664return InternalSyntax.SyntaxFactory.RangeCaseClause(GenerateGreenKeywordEventContainer(), new InternalSyntax.KeywordSyntax(SyntaxKind.ToKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
668return InternalSyntax.SyntaxFactory.CaseEqualsClause(Nothing, new InternalSyntax.PunctuationSyntax(SyntaxKind.EqualsToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
672return InternalSyntax.SyntaxFactory.CaseNotEqualsClause(Nothing, new InternalSyntax.PunctuationSyntax(SyntaxKind.LessThanGreaterThanToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
676return InternalSyntax.SyntaxFactory.CaseLessThanClause(Nothing, new InternalSyntax.PunctuationSyntax(SyntaxKind.LessThanToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
680return InternalSyntax.SyntaxFactory.CaseLessThanOrEqualClause(Nothing, new InternalSyntax.PunctuationSyntax(SyntaxKind.LessThanEqualsToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
684return InternalSyntax.SyntaxFactory.CaseGreaterThanOrEqualClause(Nothing, new InternalSyntax.PunctuationSyntax(SyntaxKind.GreaterThanEqualsToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
688return InternalSyntax.SyntaxFactory.CaseGreaterThanClause(Nothing, new InternalSyntax.PunctuationSyntax(SyntaxKind.GreaterThanToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
692return InternalSyntax.SyntaxFactory.SyncLockStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.SyncLockKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
716return InternalSyntax.SyntaxFactory.SimpleDoStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.DoKeyword, String.Empty, Nothing, Nothing), Nothing)
720return InternalSyntax.SyntaxFactory.DoWhileStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.DoKeyword, String.Empty, Nothing, Nothing), Nothing)
724return InternalSyntax.SyntaxFactory.DoUntilStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.DoKeyword, String.Empty, Nothing, Nothing), Nothing)
728return InternalSyntax.SyntaxFactory.SimpleLoopStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.LoopKeyword, String.Empty, Nothing, Nothing), Nothing)
732return InternalSyntax.SyntaxFactory.LoopWhileStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.LoopKeyword, String.Empty, Nothing, Nothing), Nothing)
736return InternalSyntax.SyntaxFactory.LoopUntilStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.LoopKeyword, String.Empty, Nothing, Nothing), Nothing)
740return InternalSyntax.SyntaxFactory.WhileClause(new InternalSyntax.KeywordSyntax(SyntaxKind.WhileKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
744return InternalSyntax.SyntaxFactory.UntilClause(new InternalSyntax.KeywordSyntax(SyntaxKind.UntilKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
748return InternalSyntax.SyntaxFactory.WhileStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.WhileKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
760return InternalSyntax.SyntaxFactory.ForStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.ForKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.EqualsToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer(), new InternalSyntax.KeywordSyntax(SyntaxKind.ToKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer(), Nothing)
764return InternalSyntax.SyntaxFactory.ForStepClause(new InternalSyntax.KeywordSyntax(SyntaxKind.StepKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
768return InternalSyntax.SyntaxFactory.ForEachStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.ForKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.EachKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer(), new InternalSyntax.KeywordSyntax(SyntaxKind.InKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
772return InternalSyntax.SyntaxFactory.NextStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.NextKeyword, String.Empty, Nothing, Nothing), Nothing)
776return InternalSyntax.SyntaxFactory.UsingStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.UsingKeyword, String.Empty, Nothing, Nothing), Nothing, Nothing)
780return InternalSyntax.SyntaxFactory.ThrowStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.ThrowKeyword, String.Empty, Nothing, Nothing), Nothing)
784return InternalSyntax.SyntaxFactory.SimpleAssignmentStatement(GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.EqualsToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
788return InternalSyntax.SyntaxFactory.MidAssignmentStatement(GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.EqualsToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
792return InternalSyntax.SyntaxFactory.AddAssignmentStatement(GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.PlusEqualsToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
796return InternalSyntax.SyntaxFactory.SubtractAssignmentStatement(GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.MinusEqualsToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
800return InternalSyntax.SyntaxFactory.MultiplyAssignmentStatement(GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.AsteriskEqualsToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
804return InternalSyntax.SyntaxFactory.DivideAssignmentStatement(GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.SlashEqualsToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
808return InternalSyntax.SyntaxFactory.IntegerDivideAssignmentStatement(GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.BackslashEqualsToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
812return InternalSyntax.SyntaxFactory.ExponentiateAssignmentStatement(GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.CaretEqualsToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
816return InternalSyntax.SyntaxFactory.LeftShiftAssignmentStatement(GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.LessThanLessThanEqualsToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
820return InternalSyntax.SyntaxFactory.RightShiftAssignmentStatement(GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.GreaterThanGreaterThanEqualsToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
824return InternalSyntax.SyntaxFactory.ConcatenateAssignmentStatement(GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.AmpersandEqualsToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
832return InternalSyntax.SyntaxFactory.CallStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.CallKeyword, String.Empty, Nothing, Nothing), GenerateGreenInvocationExpression())
836return InternalSyntax.SyntaxFactory.AddHandlerStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.AddHandlerKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.CommaToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
840return InternalSyntax.SyntaxFactory.RemoveHandlerStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.RemoveHandlerKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.CommaToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
844return InternalSyntax.SyntaxFactory.RaiseEventStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.RaiseEventKeyword, String.Empty, Nothing, Nothing), GenerateGreenIdentifierName(), Nothing)
848return InternalSyntax.SyntaxFactory.WithStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.WithKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
852return InternalSyntax.SyntaxFactory.ReDimStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.ReDimKeyword, String.Empty, Nothing, Nothing), Nothing, New Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)())
856return InternalSyntax.SyntaxFactory.ReDimPreserveStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.ReDimKeyword, String.Empty, Nothing, Nothing), Nothing, New Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)())
864return InternalSyntax.SyntaxFactory.EraseStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.EraseKeyword, String.Empty, Nothing, Nothing), New Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)())
896return InternalSyntax.SyntaxFactory.ParenthesizedExpression(new InternalSyntax.PunctuationSyntax(SyntaxKind.OpenParenToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.CloseParenToken, String.Empty, Nothing, Nothing))
900return InternalSyntax.SyntaxFactory.TupleExpression(new InternalSyntax.PunctuationSyntax(SyntaxKind.OpenParenToken, String.Empty, Nothing, Nothing), New Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)(), new InternalSyntax.PunctuationSyntax(SyntaxKind.CloseParenToken, String.Empty, Nothing, Nothing))
904return InternalSyntax.SyntaxFactory.TupleType(new InternalSyntax.PunctuationSyntax(SyntaxKind.OpenParenToken, String.Empty, Nothing, Nothing), New Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)(), new InternalSyntax.PunctuationSyntax(SyntaxKind.CloseParenToken, String.Empty, Nothing, Nothing))
916return InternalSyntax.SyntaxFactory.MeExpression(new InternalSyntax.KeywordSyntax(SyntaxKind.MeKeyword, String.Empty, Nothing, Nothing))
920return InternalSyntax.SyntaxFactory.MyBaseExpression(new InternalSyntax.KeywordSyntax(SyntaxKind.MyBaseKeyword, String.Empty, Nothing, Nothing))
924return InternalSyntax.SyntaxFactory.MyClassExpression(new InternalSyntax.KeywordSyntax(SyntaxKind.MyClassKeyword, String.Empty, Nothing, Nothing))
928return InternalSyntax.SyntaxFactory.GetTypeExpression(new InternalSyntax.KeywordSyntax(SyntaxKind.GetTypeKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.PunctuationSyntax(SyntaxKind.OpenParenToken, String.Empty, Nothing, Nothing), GenerateGreenTupleType(), new InternalSyntax.PunctuationSyntax(SyntaxKind.CloseParenToken, String.Empty, Nothing, Nothing))
932return InternalSyntax.SyntaxFactory.TypeOfIsExpression(new InternalSyntax.KeywordSyntax(SyntaxKind.TypeOfKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer(), new InternalSyntax.KeywordSyntax(SyntaxKind.IsKeyword, String.Empty, Nothing, Nothing), GenerateGreenTupleType())
936return InternalSyntax.SyntaxFactory.TypeOfIsNotExpression(new InternalSyntax.KeywordSyntax(SyntaxKind.TypeOfKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer(), new InternalSyntax.KeywordSyntax(SyntaxKind.IsNotKeyword, String.Empty, Nothing, Nothing), GenerateGreenTupleType())
940return InternalSyntax.SyntaxFactory.GetXmlNamespaceExpression(new InternalSyntax.KeywordSyntax(SyntaxKind.GetXmlNamespaceKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.PunctuationSyntax(SyntaxKind.OpenParenToken, String.Empty, Nothing, Nothing), Nothing, new InternalSyntax.PunctuationSyntax(SyntaxKind.CloseParenToken, String.Empty, Nothing, Nothing))
944return InternalSyntax.SyntaxFactory.SimpleMemberAccessExpression(CType(Nothing, InternalSyntax.ExpressionSyntax), new InternalSyntax.PunctuationSyntax(SyntaxKind.DotToken, String.Empty, Nothing, Nothing), GenerateGreenIdentifierName())
948return InternalSyntax.SyntaxFactory.DictionaryAccessExpression(CType(Nothing, InternalSyntax.ExpressionSyntax), new InternalSyntax.PunctuationSyntax(SyntaxKind.ExclamationToken, String.Empty, Nothing, Nothing), GenerateGreenIdentifierName())
952return InternalSyntax.SyntaxFactory.XmlElementAccessExpression(Nothing, new InternalSyntax.PunctuationSyntax(SyntaxKind.DotToken, String.Empty, Nothing, Nothing), Nothing, Nothing, GenerateGreenXmlName())
956return InternalSyntax.SyntaxFactory.XmlDescendantAccessExpression(Nothing, new InternalSyntax.PunctuationSyntax(SyntaxKind.DotToken, String.Empty, Nothing, Nothing), Nothing, Nothing, GenerateGreenXmlName())
960return InternalSyntax.SyntaxFactory.XmlAttributeAccessExpression(Nothing, new InternalSyntax.PunctuationSyntax(SyntaxKind.DotToken, String.Empty, Nothing, Nothing), Nothing, Nothing, GenerateGreenXmlName())
968return InternalSyntax.SyntaxFactory.ObjectCreationExpression(new InternalSyntax.KeywordSyntax(SyntaxKind.NewKeyword, String.Empty, Nothing, Nothing), Nothing, GenerateGreenPredefinedType(), Nothing, Nothing)
972return InternalSyntax.SyntaxFactory.AnonymousObjectCreationExpression(new InternalSyntax.KeywordSyntax(SyntaxKind.NewKeyword, String.Empty, Nothing, Nothing), Nothing, GenerateGreenObjectMemberInitializer())
976return InternalSyntax.SyntaxFactory.ArrayCreationExpression(new InternalSyntax.KeywordSyntax(SyntaxKind.NewKeyword, String.Empty, Nothing, Nothing), Nothing, GenerateGreenPredefinedType(), Nothing, Nothing, GenerateGreenCollectionInitializer())
980return InternalSyntax.SyntaxFactory.CollectionInitializer(new InternalSyntax.PunctuationSyntax(SyntaxKind.OpenBraceToken, String.Empty, Nothing, Nothing), Nothing, new InternalSyntax.PunctuationSyntax(SyntaxKind.CloseBraceToken, String.Empty, Nothing, Nothing))
984return InternalSyntax.SyntaxFactory.CTypeExpression(new InternalSyntax.KeywordSyntax(SyntaxKind.CTypeKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.PunctuationSyntax(SyntaxKind.OpenParenToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.CommaToken, String.Empty, Nothing, Nothing), GenerateGreenTupleType(), new InternalSyntax.PunctuationSyntax(SyntaxKind.CloseParenToken, String.Empty, Nothing, Nothing))
988return InternalSyntax.SyntaxFactory.DirectCastExpression(new InternalSyntax.KeywordSyntax(SyntaxKind.DirectCastKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.PunctuationSyntax(SyntaxKind.OpenParenToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.CommaToken, String.Empty, Nothing, Nothing), GenerateGreenTupleType(), new InternalSyntax.PunctuationSyntax(SyntaxKind.CloseParenToken, String.Empty, Nothing, Nothing))
992return InternalSyntax.SyntaxFactory.TryCastExpression(new InternalSyntax.KeywordSyntax(SyntaxKind.TryCastKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.PunctuationSyntax(SyntaxKind.OpenParenToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.CommaToken, String.Empty, Nothing, Nothing), GenerateGreenTupleType(), new InternalSyntax.PunctuationSyntax(SyntaxKind.CloseParenToken, String.Empty, Nothing, Nothing))
996return InternalSyntax.SyntaxFactory.PredefinedCastExpression(new InternalSyntax.KeywordSyntax(SyntaxKind.CObjKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.PunctuationSyntax(SyntaxKind.OpenParenToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.CloseParenToken, String.Empty, Nothing, Nothing))
1000return InternalSyntax.SyntaxFactory.AddExpression(GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.PlusToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1004return InternalSyntax.SyntaxFactory.SubtractExpression(GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.MinusToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1008return InternalSyntax.SyntaxFactory.MultiplyExpression(GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.AsteriskToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1012return InternalSyntax.SyntaxFactory.DivideExpression(GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.SlashToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1016return InternalSyntax.SyntaxFactory.IntegerDivideExpression(GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.BackslashToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1020return InternalSyntax.SyntaxFactory.ExponentiateExpression(GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.CaretToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1024return InternalSyntax.SyntaxFactory.LeftShiftExpression(GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.LessThanLessThanToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1028return InternalSyntax.SyntaxFactory.RightShiftExpression(GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.GreaterThanGreaterThanToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1032return InternalSyntax.SyntaxFactory.ConcatenateExpression(GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.AmpersandToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1036return InternalSyntax.SyntaxFactory.ModuloExpression(GenerateGreenKeywordEventContainer(), new InternalSyntax.KeywordSyntax(SyntaxKind.ModKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1040return InternalSyntax.SyntaxFactory.EqualsExpression(GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.EqualsToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1044return InternalSyntax.SyntaxFactory.NotEqualsExpression(GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.LessThanGreaterThanToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1048return InternalSyntax.SyntaxFactory.LessThanExpression(GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.LessThanToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1052return InternalSyntax.SyntaxFactory.LessThanOrEqualExpression(GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.LessThanEqualsToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1056return InternalSyntax.SyntaxFactory.GreaterThanOrEqualExpression(GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.GreaterThanEqualsToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1060return InternalSyntax.SyntaxFactory.GreaterThanExpression(GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.GreaterThanToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1064return InternalSyntax.SyntaxFactory.IsExpression(GenerateGreenKeywordEventContainer(), new InternalSyntax.KeywordSyntax(SyntaxKind.IsKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1068return InternalSyntax.SyntaxFactory.IsNotExpression(GenerateGreenKeywordEventContainer(), new InternalSyntax.KeywordSyntax(SyntaxKind.IsNotKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1072return InternalSyntax.SyntaxFactory.LikeExpression(GenerateGreenKeywordEventContainer(), new InternalSyntax.KeywordSyntax(SyntaxKind.LikeKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1076return InternalSyntax.SyntaxFactory.OrExpression(GenerateGreenKeywordEventContainer(), new InternalSyntax.KeywordSyntax(SyntaxKind.OrKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1080return InternalSyntax.SyntaxFactory.ExclusiveOrExpression(GenerateGreenKeywordEventContainer(), new InternalSyntax.KeywordSyntax(SyntaxKind.XorKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1084return InternalSyntax.SyntaxFactory.AndExpression(GenerateGreenKeywordEventContainer(), new InternalSyntax.KeywordSyntax(SyntaxKind.AndKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1088return InternalSyntax.SyntaxFactory.OrElseExpression(GenerateGreenKeywordEventContainer(), new InternalSyntax.KeywordSyntax(SyntaxKind.OrElseKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1092return InternalSyntax.SyntaxFactory.AndAlsoExpression(GenerateGreenKeywordEventContainer(), new InternalSyntax.KeywordSyntax(SyntaxKind.AndAlsoKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1096return InternalSyntax.SyntaxFactory.UnaryPlusExpression(new InternalSyntax.PunctuationSyntax(SyntaxKind.PlusToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1100return InternalSyntax.SyntaxFactory.UnaryMinusExpression(new InternalSyntax.PunctuationSyntax(SyntaxKind.MinusToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1104return InternalSyntax.SyntaxFactory.NotExpression(new InternalSyntax.KeywordSyntax(SyntaxKind.NotKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1108return InternalSyntax.SyntaxFactory.AddressOfExpression(new InternalSyntax.KeywordSyntax(SyntaxKind.AddressOfKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1112return InternalSyntax.SyntaxFactory.BinaryConditionalExpression(new InternalSyntax.KeywordSyntax(SyntaxKind.IfKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.PunctuationSyntax(SyntaxKind.OpenParenToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.CommaToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.CloseParenToken, String.Empty, Nothing, Nothing))
1116return InternalSyntax.SyntaxFactory.TernaryConditionalExpression(new InternalSyntax.KeywordSyntax(SyntaxKind.IfKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.PunctuationSyntax(SyntaxKind.OpenParenToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.CommaToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.CommaToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.CloseParenToken, String.Empty, Nothing, Nothing))
1136return InternalSyntax.SyntaxFactory.SubLambdaHeader(Nothing, Nothing, new InternalSyntax.KeywordSyntax(SyntaxKind.SubKeyword, String.Empty, Nothing, Nothing), Nothing, Nothing)
1140return InternalSyntax.SyntaxFactory.FunctionLambdaHeader(Nothing, Nothing, new InternalSyntax.KeywordSyntax(SyntaxKind.FunctionKeyword, String.Empty, Nothing, Nothing), Nothing, Nothing)
1144return InternalSyntax.SyntaxFactory.ArgumentList(new InternalSyntax.PunctuationSyntax(SyntaxKind.OpenParenToken, String.Empty, Nothing, Nothing), Nothing, new InternalSyntax.PunctuationSyntax(SyntaxKind.CloseParenToken, String.Empty, Nothing, Nothing))
1148return InternalSyntax.SyntaxFactory.OmittedArgument(new InternalSyntax.PunctuationSyntax(SyntaxKind.EmptyToken, String.Empty, Nothing, Nothing))
1156return InternalSyntax.SyntaxFactory.NameColonEquals(GenerateGreenIdentifierName(), new InternalSyntax.PunctuationSyntax(SyntaxKind.ColonEqualsToken, String.Empty, Nothing, Nothing))
1160return InternalSyntax.SyntaxFactory.RangeArgument(GenerateGreenKeywordEventContainer(), new InternalSyntax.KeywordSyntax(SyntaxKind.ToKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1168return InternalSyntax.SyntaxFactory.CollectionRangeVariable(GenerateGreenModifiedIdentifier(), Nothing, new InternalSyntax.KeywordSyntax(SyntaxKind.InKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1180return InternalSyntax.SyntaxFactory.VariableNameEquals(GenerateGreenModifiedIdentifier(), Nothing, new InternalSyntax.PunctuationSyntax(SyntaxKind.EqualsToken, String.Empty, Nothing, Nothing))
1188return InternalSyntax.SyntaxFactory.GroupAggregation(new InternalSyntax.KeywordSyntax(SyntaxKind.GroupKeyword, String.Empty, Nothing, Nothing))
1192return InternalSyntax.SyntaxFactory.FromClause(new InternalSyntax.KeywordSyntax(SyntaxKind.FromKeyword, String.Empty, Nothing, Nothing), New Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)())
1196return InternalSyntax.SyntaxFactory.LetClause(new InternalSyntax.KeywordSyntax(SyntaxKind.LetKeyword, String.Empty, Nothing, Nothing), New Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)())
1200return InternalSyntax.SyntaxFactory.AggregateClause(new InternalSyntax.KeywordSyntax(SyntaxKind.AggregateKeyword, String.Empty, Nothing, Nothing), New Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)(), Nothing, new InternalSyntax.KeywordSyntax(SyntaxKind.IntoKeyword, String.Empty, Nothing, Nothing), New Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)())
1204return InternalSyntax.SyntaxFactory.DistinctClause(new InternalSyntax.KeywordSyntax(SyntaxKind.DistinctKeyword, String.Empty, Nothing, Nothing))
1208return InternalSyntax.SyntaxFactory.WhereClause(new InternalSyntax.KeywordSyntax(SyntaxKind.WhereKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1212return InternalSyntax.SyntaxFactory.SkipWhileClause(new InternalSyntax.KeywordSyntax(SyntaxKind.SkipKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.WhileKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1216return InternalSyntax.SyntaxFactory.TakeWhileClause(new InternalSyntax.KeywordSyntax(SyntaxKind.TakeKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.WhileKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1220return InternalSyntax.SyntaxFactory.SkipClause(new InternalSyntax.KeywordSyntax(SyntaxKind.SkipKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1224return InternalSyntax.SyntaxFactory.TakeClause(new InternalSyntax.KeywordSyntax(SyntaxKind.TakeKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1228return InternalSyntax.SyntaxFactory.GroupByClause(new InternalSyntax.KeywordSyntax(SyntaxKind.GroupKeyword, String.Empty, Nothing, Nothing), Nothing, new InternalSyntax.KeywordSyntax(SyntaxKind.ByKeyword, String.Empty, Nothing, Nothing), New Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)(), new InternalSyntax.KeywordSyntax(SyntaxKind.IntoKeyword, String.Empty, Nothing, Nothing), New Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)())
1232return InternalSyntax.SyntaxFactory.JoinCondition(GenerateGreenKeywordEventContainer(), new InternalSyntax.KeywordSyntax(SyntaxKind.EqualsKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1236return InternalSyntax.SyntaxFactory.SimpleJoinClause(new InternalSyntax.KeywordSyntax(SyntaxKind.JoinKeyword, String.Empty, Nothing, Nothing), New Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)(), Nothing, new InternalSyntax.KeywordSyntax(SyntaxKind.OnKeyword, String.Empty, Nothing, Nothing), New Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)())
1240return InternalSyntax.SyntaxFactory.GroupJoinClause(new InternalSyntax.KeywordSyntax(SyntaxKind.GroupKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.JoinKeyword, String.Empty, Nothing, Nothing), New Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)(), Nothing, new InternalSyntax.KeywordSyntax(SyntaxKind.OnKeyword, String.Empty, Nothing, Nothing), New Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)(), new InternalSyntax.KeywordSyntax(SyntaxKind.IntoKeyword, String.Empty, Nothing, Nothing), New Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)())
1244return InternalSyntax.SyntaxFactory.OrderByClause(new InternalSyntax.KeywordSyntax(SyntaxKind.OrderKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.ByKeyword, String.Empty, Nothing, Nothing), New Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)())
1256return InternalSyntax.SyntaxFactory.SelectClause(new InternalSyntax.KeywordSyntax(SyntaxKind.SelectKeyword, String.Empty, Nothing, Nothing), New Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)())
1264return InternalSyntax.SyntaxFactory.XmlDeclaration(new InternalSyntax.PunctuationSyntax(SyntaxKind.LessThanQuestionToken, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.XmlKeyword, String.Empty, Nothing, Nothing), GenerateGreenXmlDeclarationOption(), Nothing, Nothing, new InternalSyntax.PunctuationSyntax(SyntaxKind.QuestionGreaterThanToken, String.Empty, Nothing, Nothing))
1268return InternalSyntax.SyntaxFactory.XmlDeclarationOption(GenerateGreenXmlNameToken(), new InternalSyntax.PunctuationSyntax(SyntaxKind.EqualsToken, String.Empty, Nothing, Nothing), GenerateGreenXmlString())
1280return InternalSyntax.SyntaxFactory.XmlElementStartTag(new InternalSyntax.PunctuationSyntax(SyntaxKind.LessThanToken, String.Empty, Nothing, Nothing), GenerateGreenXmlName(), Nothing, new InternalSyntax.PunctuationSyntax(SyntaxKind.GreaterThanToken, String.Empty, Nothing, Nothing))
1284return InternalSyntax.SyntaxFactory.XmlElementEndTag(new InternalSyntax.PunctuationSyntax(SyntaxKind.LessThanSlashToken, String.Empty, Nothing, Nothing), Nothing, new InternalSyntax.PunctuationSyntax(SyntaxKind.GreaterThanToken, String.Empty, Nothing, Nothing))
1288return InternalSyntax.SyntaxFactory.XmlEmptyElement(new InternalSyntax.PunctuationSyntax(SyntaxKind.LessThanToken, String.Empty, Nothing, Nothing), GenerateGreenXmlName(), Nothing, new InternalSyntax.PunctuationSyntax(SyntaxKind.SlashGreaterThanToken, String.Empty, Nothing, Nothing))
1292return InternalSyntax.SyntaxFactory.XmlAttribute(GenerateGreenXmlName(), new InternalSyntax.PunctuationSyntax(SyntaxKind.EqualsToken, String.Empty, Nothing, Nothing), GenerateGreenXmlString())
1296return InternalSyntax.SyntaxFactory.XmlString(new InternalSyntax.PunctuationSyntax(SyntaxKind.DoubleQuoteToken, String.Empty, Nothing, Nothing), Nothing, new InternalSyntax.PunctuationSyntax(SyntaxKind.DoubleQuoteToken, String.Empty, Nothing, Nothing))
1308return InternalSyntax.SyntaxFactory.XmlBracketedName(new InternalSyntax.PunctuationSyntax(SyntaxKind.LessThanToken, String.Empty, Nothing, Nothing), GenerateGreenXmlName(), new InternalSyntax.PunctuationSyntax(SyntaxKind.GreaterThanToken, String.Empty, Nothing, Nothing))
1312return InternalSyntax.SyntaxFactory.XmlPrefix(GenerateGreenXmlNameToken(), new InternalSyntax.PunctuationSyntax(SyntaxKind.ColonToken, String.Empty, Nothing, Nothing))
1316return InternalSyntax.SyntaxFactory.XmlComment(new InternalSyntax.PunctuationSyntax(SyntaxKind.LessThanExclamationMinusMinusToken, String.Empty, Nothing, Nothing), GenerateGreenXmlTextLiteralToken(), new InternalSyntax.PunctuationSyntax(SyntaxKind.MinusMinusGreaterThanToken, String.Empty, Nothing, Nothing))
1320return InternalSyntax.SyntaxFactory.XmlProcessingInstruction(new InternalSyntax.PunctuationSyntax(SyntaxKind.LessThanQuestionToken, String.Empty, Nothing, Nothing), GenerateGreenXmlNameToken(), GenerateGreenXmlTextLiteralToken(), new InternalSyntax.PunctuationSyntax(SyntaxKind.QuestionGreaterThanToken, String.Empty, Nothing, Nothing))
1324return InternalSyntax.SyntaxFactory.XmlCDataSection(new InternalSyntax.PunctuationSyntax(SyntaxKind.BeginCDataToken, String.Empty, Nothing, Nothing), GenerateGreenXmlTextLiteralToken(), new InternalSyntax.PunctuationSyntax(SyntaxKind.EndCDataToken, String.Empty, Nothing, Nothing))
1328return InternalSyntax.SyntaxFactory.XmlEmbeddedExpression(new InternalSyntax.PunctuationSyntax(SyntaxKind.LessThanPercentEqualsToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.PercentGreaterThanToken, String.Empty, Nothing, Nothing))
1336return InternalSyntax.SyntaxFactory.NullableType(GenerateGreenPredefinedType(), new InternalSyntax.PunctuationSyntax(SyntaxKind.QuestionToken, String.Empty, Nothing, Nothing))
1340return InternalSyntax.SyntaxFactory.PredefinedType(new InternalSyntax.KeywordSyntax(SyntaxKind.ObjectKeyword, String.Empty, Nothing, Nothing))
1352return InternalSyntax.SyntaxFactory.QualifiedName(GenerateGreenIdentifierName(), new InternalSyntax.PunctuationSyntax(SyntaxKind.DotToken, String.Empty, Nothing, Nothing), GenerateGreenIdentifierName())
1356return InternalSyntax.SyntaxFactory.GlobalName(new InternalSyntax.KeywordSyntax(SyntaxKind.GlobalKeyword, String.Empty, Nothing, Nothing))
1360return InternalSyntax.SyntaxFactory.TypeArgumentList(new InternalSyntax.PunctuationSyntax(SyntaxKind.OpenParenToken, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.OfKeyword, String.Empty, Nothing, Nothing), New Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)(), new InternalSyntax.PunctuationSyntax(SyntaxKind.CloseParenToken, String.Empty, Nothing, Nothing))
1368return InternalSyntax.SyntaxFactory.CrefSignature(new InternalSyntax.PunctuationSyntax(SyntaxKind.OpenParenToken, String.Empty, Nothing, Nothing), New Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)(), new InternalSyntax.PunctuationSyntax(SyntaxKind.CloseParenToken, String.Empty, Nothing, Nothing))
1376return InternalSyntax.SyntaxFactory.CrefOperatorReference(new InternalSyntax.KeywordSyntax(SyntaxKind.OperatorKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.CTypeKeyword, String.Empty, Nothing, Nothing))
1380return InternalSyntax.SyntaxFactory.QualifiedCrefOperatorReference(GenerateGreenIdentifierName(), new InternalSyntax.PunctuationSyntax(SyntaxKind.DotToken, String.Empty, Nothing, Nothing), GenerateGreenCrefOperatorReference())
1384return InternalSyntax.SyntaxFactory.YieldStatement(new InternalSyntax.KeywordSyntax(SyntaxKind.YieldKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1388return InternalSyntax.SyntaxFactory.AwaitExpression(new InternalSyntax.KeywordSyntax(SyntaxKind.AwaitKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1392return InternalSyntax.SyntaxFactory.XmlNameToken(String.Empty, SyntaxKind.IdentifierName, InternalSyntax.SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " "), InternalSyntax.SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " "))
1396return InternalSyntax.SyntaxFactory.XmlTextLiteralToken(String.Empty, "Bar", InternalSyntax.SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " "), InternalSyntax.SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " "))
1400return InternalSyntax.SyntaxFactory.XmlEntityLiteralToken(String.Empty, "Bar", InternalSyntax.SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " "), InternalSyntax.SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " "))
1404return InternalSyntax.SyntaxFactory.DocumentationCommentLineBreakToken(String.Empty, "Bar", InternalSyntax.SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " "), InternalSyntax.SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " "))
1408return InternalSyntax.SyntaxFactory.InterpolatedStringTextToken(String.Empty, "Bar", InternalSyntax.SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " "), InternalSyntax.SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " "))
1412return InternalSyntax.SyntaxFactory.DecimalLiteralToken(String.Empty, TypeCharacter.DecimalLiteral, 42, InternalSyntax.SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " "), InternalSyntax.SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " "))
1416return InternalSyntax.SyntaxFactory.DateLiteralToken(String.Empty, New DateTime(2008,11,04), InternalSyntax.SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " "), InternalSyntax.SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " "))
1420return InternalSyntax.SyntaxFactory.StringLiteralToken(String.Empty, "Bar", InternalSyntax.SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " "), InternalSyntax.SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " "))
1424return InternalSyntax.SyntaxFactory.CharacterLiteralToken(String.Empty, "E"C, InternalSyntax.SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " "), InternalSyntax.SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " "))
1436return InternalSyntax.SyntaxFactory.XmlCrefAttribute(GenerateGreenXmlName(), new InternalSyntax.PunctuationSyntax(SyntaxKind.EqualsToken, String.Empty, Nothing, Nothing), new InternalSyntax.PunctuationSyntax(SyntaxKind.DoubleQuoteToken, String.Empty, Nothing, Nothing), GenerateGreenCrefReference(), new InternalSyntax.PunctuationSyntax(SyntaxKind.DoubleQuoteToken, String.Empty, Nothing, Nothing))
1440return InternalSyntax.SyntaxFactory.XmlNameAttribute(GenerateGreenXmlName(), new InternalSyntax.PunctuationSyntax(SyntaxKind.EqualsToken, String.Empty, Nothing, Nothing), new InternalSyntax.PunctuationSyntax(SyntaxKind.DoubleQuoteToken, String.Empty, Nothing, Nothing), GenerateGreenIdentifierName(), new InternalSyntax.PunctuationSyntax(SyntaxKind.DoubleQuoteToken, String.Empty, Nothing, Nothing))
1444return InternalSyntax.SyntaxFactory.ConditionalAccessExpression(Nothing, new InternalSyntax.PunctuationSyntax(SyntaxKind.QuestionToken, String.Empty, Nothing, Nothing), GenerateGreenDictionaryAccessExpression())
1448return InternalSyntax.SyntaxFactory.NameOfExpression(new InternalSyntax.KeywordSyntax(SyntaxKind.NameOfKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.PunctuationSyntax(SyntaxKind.OpenParenToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer(), new InternalSyntax.PunctuationSyntax(SyntaxKind.CloseParenToken, String.Empty, Nothing, Nothing))
1452return InternalSyntax.SyntaxFactory.InterpolatedStringExpression(new InternalSyntax.PunctuationSyntax(SyntaxKind.DollarSignDoubleQuoteToken, String.Empty, Nothing, Nothing), GenerateGreenInterpolatedStringText(), new InternalSyntax.PunctuationSyntax(SyntaxKind.DoubleQuoteToken, String.Empty, Nothing, Nothing))
1460return InternalSyntax.SyntaxFactory.Interpolation(new InternalSyntax.PunctuationSyntax(SyntaxKind.OpenBraceToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer(), Nothing, Nothing, new InternalSyntax.PunctuationSyntax(SyntaxKind.CloseBraceToken, String.Empty, Nothing, Nothing))
1464return InternalSyntax.SyntaxFactory.InterpolationAlignmentClause(new InternalSyntax.PunctuationSyntax(SyntaxKind.CommaToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1468return InternalSyntax.SyntaxFactory.InterpolationFormatClause(new InternalSyntax.PunctuationSyntax(SyntaxKind.ColonToken, String.Empty, Nothing, Nothing), GenerateGreenInterpolatedStringTextToken())
1472return InternalSyntax.SyntaxFactory.WhitespaceTrivia(String.Empty)
1476return InternalSyntax.SyntaxFactory.EndOfLineTrivia(String.Empty)
1480return InternalSyntax.SyntaxFactory.ColonTrivia(String.Empty)
1484return InternalSyntax.SyntaxFactory.CommentTrivia(String.Empty)
1488return InternalSyntax.SyntaxFactory.ConflictMarkerTrivia(String.Empty)
1492return InternalSyntax.SyntaxFactory.LineContinuationTrivia(String.Empty)
1496return InternalSyntax.SyntaxFactory.DocumentationCommentExteriorTrivia(String.Empty)
1500return InternalSyntax.SyntaxFactory.DisabledTextTrivia(String.Empty)
1504return InternalSyntax.SyntaxFactory.ConstDirectiveTrivia(new InternalSyntax.PunctuationSyntax(SyntaxKind.HashToken, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.ConstKeyword, String.Empty, Nothing, Nothing), GenerateGreenIdentifierToken(), new InternalSyntax.PunctuationSyntax(SyntaxKind.EqualsToken, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer())
1508return InternalSyntax.SyntaxFactory.IfDirectiveTrivia(new InternalSyntax.PunctuationSyntax(SyntaxKind.HashToken, String.Empty, Nothing, Nothing), Nothing, new InternalSyntax.KeywordSyntax(SyntaxKind.IfKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer(), Nothing)
1512return InternalSyntax.SyntaxFactory.ElseIfDirectiveTrivia(new InternalSyntax.PunctuationSyntax(SyntaxKind.HashToken, String.Empty, Nothing, Nothing), Nothing, new InternalSyntax.KeywordSyntax(SyntaxKind.IfKeyword, String.Empty, Nothing, Nothing), GenerateGreenKeywordEventContainer(), Nothing)
1516return InternalSyntax.SyntaxFactory.ElseDirectiveTrivia(new InternalSyntax.PunctuationSyntax(SyntaxKind.HashToken, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.ElseKeyword, String.Empty, Nothing, Nothing))
1520return InternalSyntax.SyntaxFactory.EndIfDirectiveTrivia(new InternalSyntax.PunctuationSyntax(SyntaxKind.HashToken, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.EndKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.IfKeyword, String.Empty, Nothing, Nothing))
1524return InternalSyntax.SyntaxFactory.RegionDirectiveTrivia(new InternalSyntax.PunctuationSyntax(SyntaxKind.HashToken, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.RegionKeyword, String.Empty, Nothing, Nothing), GenerateGreenStringLiteralToken())
1528return InternalSyntax.SyntaxFactory.EndRegionDirectiveTrivia(new InternalSyntax.PunctuationSyntax(SyntaxKind.HashToken, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.EndKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.RegionKeyword, String.Empty, Nothing, Nothing))
1532return InternalSyntax.SyntaxFactory.ExternalChecksumDirectiveTrivia(new InternalSyntax.PunctuationSyntax(SyntaxKind.HashToken, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.ExternalChecksumKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.PunctuationSyntax(SyntaxKind.OpenParenToken, String.Empty, Nothing, Nothing), GenerateGreenStringLiteralToken(), new InternalSyntax.PunctuationSyntax(SyntaxKind.CommaToken, String.Empty, Nothing, Nothing), GenerateGreenStringLiteralToken(), new InternalSyntax.PunctuationSyntax(SyntaxKind.CommaToken, String.Empty, Nothing, Nothing), GenerateGreenStringLiteralToken(), new InternalSyntax.PunctuationSyntax(SyntaxKind.CloseParenToken, String.Empty, Nothing, Nothing))
1536return InternalSyntax.SyntaxFactory.EnableWarningDirectiveTrivia(new InternalSyntax.PunctuationSyntax(SyntaxKind.HashToken, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.EnableKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.WarningKeyword, String.Empty, Nothing, Nothing), New Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)())
1540return InternalSyntax.SyntaxFactory.DisableWarningDirectiveTrivia(new InternalSyntax.PunctuationSyntax(SyntaxKind.HashToken, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.DisableKeyword, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.WarningKeyword, String.Empty, Nothing, Nothing), New Global.Microsoft.CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(of GreenNode)())
1544return InternalSyntax.SyntaxFactory.ReferenceDirectiveTrivia(new InternalSyntax.PunctuationSyntax(SyntaxKind.HashToken, String.Empty, Nothing, Nothing), new InternalSyntax.KeywordSyntax(SyntaxKind.ReferenceKeyword, String.Empty, Nothing, Nothing), GenerateGreenStringLiteralToken())
1548return InternalSyntax.SyntaxFactory.BadDirectiveTrivia(new InternalSyntax.PunctuationSyntax(SyntaxKind.HashToken, String.Empty, Nothing, Nothing))
17609return SyntaxFactory.XmlNameToken(SyntaxFactory.TriviaList(SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " ")), String.Empty, SyntaxKind.IdentifierName, SyntaxFactory.TriviaList(SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " ")))
17614return SyntaxFactory.XmlTextLiteralToken(SyntaxFactory.TriviaList(SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " ")), String.Empty, "Bar", SyntaxFactory.TriviaList(SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " ")))
17619return SyntaxFactory.XmlEntityLiteralToken(SyntaxFactory.TriviaList(SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " ")), String.Empty, "Bar", SyntaxFactory.TriviaList(SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " ")))
17624return SyntaxFactory.DocumentationCommentLineBreakToken(SyntaxFactory.TriviaList(SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " ")), String.Empty, "Bar", SyntaxFactory.TriviaList(SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " ")))
17629return SyntaxFactory.InterpolatedStringTextToken(SyntaxFactory.TriviaList(SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " ")), String.Empty, "Bar", SyntaxFactory.TriviaList(SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " ")))
17634return SyntaxFactory.DecimalLiteralToken(SyntaxFactory.TriviaList(SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " ")), String.Empty, TypeCharacter.DecimalLiteral, 42, SyntaxFactory.TriviaList(SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " ")))
17639return SyntaxFactory.DateLiteralToken(SyntaxFactory.TriviaList(SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " ")), String.Empty, New DateTime(2008,11,04), SyntaxFactory.TriviaList(SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " ")))
17644return SyntaxFactory.StringLiteralToken(SyntaxFactory.TriviaList(SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " ")), String.Empty, "Bar", SyntaxFactory.TriviaList(SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " ")))
17649return SyntaxFactory.CharacterLiteralToken(SyntaxFactory.TriviaList(SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " ")), String.Empty, "E"C, SyntaxFactory.TriviaList(SyntaxFactory.SyntaxTrivia(SyntaxKind.WhitespaceTrivia, " ")))
17957return SyntaxFactory.WhitespaceTrivia(String.Empty)
17970return SyntaxFactory.EndOfLineTrivia(String.Empty)
17983return SyntaxFactory.ColonTrivia(String.Empty)
17996return SyntaxFactory.CommentTrivia(String.Empty)
18009return SyntaxFactory.ConflictMarkerTrivia(String.Empty)
18022return SyntaxFactory.LineContinuationTrivia(String.Empty)
18035return SyntaxFactory.DocumentationCommentExteriorTrivia(String.Empty)
18048return SyntaxFactory.DisabledTextTrivia(String.Empty)
Syntax\GeneratedTests.vb (11)
17Return InternalSyntax.SyntaxFactory.Identifier(String.Empty, GenerateGreenWhitespaceTrivia(), GenerateGreenWhitespaceTrivia())
21Return InternalSyntax.SyntaxFactory.IntegerLiteralToken(String.Empty, LiteralBase.Decimal, TypeCharacter.IntegerLiteral, 23, GenerateGreenWhitespaceTrivia(), GenerateGreenWhitespaceTrivia())
25Return SyntaxFactory.Identifier(String.Empty)
29Return SyntaxFactory.IntegerLiteralToken(String.Empty, LiteralBase.Decimal, TypeCharacter.None, 42)
50Return String.Empty
63Return String.Empty
67Return String.Empty
71Return String.Empty
75Return String.Empty
79Return String.Empty
83Return String.Empty
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (2)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (17)
Microsoft.CodeAnalysis.Workspaces (47)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleHelpers.cs (1)
192: 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)
399name: string.Empty,
Microsoft.CodeAnalysis.Workspaces.MSBuild (6)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (11)
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.AsmDiff (16)
Microsoft.DotNet.Build.Manifest (1)
Microsoft.DotNet.Build.Manifest.Tests (3)
Microsoft.DotNet.Build.Tasks.Feed (9)
Microsoft.DotNet.Build.Tasks.Installers (3)
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 (2)
Microsoft.Extensions.AI.Abstractions (15)
Microsoft.Extensions.AI.Abstractions.Tests (20)
Microsoft.Extensions.AI.AzureAIInference (5)
Microsoft.Extensions.AI.Evaluation (1)
Microsoft.Extensions.AI.Evaluation.Quality (2)
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (2)
Microsoft.Extensions.AI.Evaluation.Safety (2)
Microsoft.Extensions.AI.Integration.Tests (2)
Microsoft.Extensions.AI.Ollama (2)
Microsoft.Extensions.AI.OpenAI (8)
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 (1)
Microsoft.Extensions.Configuration.EnvironmentVariables (3)
Microsoft.Extensions.Configuration.FileExtensions (2)
Microsoft.Extensions.Configuration.Ini (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 (2)
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 (11)
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.AzureAppServices (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.Tests (1)
Microsoft.Extensions.Telemetry (21)
Microsoft.Extensions.Telemetry.Abstractions (2)
Microsoft.Extensions.Telemetry.Abstractions.Tests (6)
Microsoft.Extensions.Telemetry.Tests (32)
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 (3)
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.NET.StringTools.net35.UnitTests (4)
Microsoft.NET.StringTools.UnitTests (4)
Microsoft.VisualBasic.Core (1)
Microsoft.VisualBasic.Forms (12)
Microsoft.VisualBasic.Forms.Tests (1)
Microsoft.VisualStudio.LanguageServices (79)
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.UnitTests (18)
Microsoft.VisualStudio.LanguageServices.VisualBasic (21)
Microsoft.VisualStudio.LanguageServices.Xaml (2)
Microsoft.Web.Xdt.Extensions (1)
MinimalSample (1)
MSBuild (63)
MSBuildTaskHost (44)
MvcFormSample (1)
OpenIdConnectSample (2)
PresentationBuildTasks (188)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlNodes.cs (1)
1176string.Empty :
PresentationCore (96)
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.Compilers.VisualBasic.IOperation.UnitTests (913)
Roslyn.Diagnostics.Analyzers (4)
Roslyn.VisualStudio.DiagnosticsWindow (3)
Roslyn.VisualStudio.Next.UnitTests (1)
RunTests (2)
Sample (6)
SemanticSearch.BuildTask (1)
ServerComparison.FunctionalTests (5)
Shared (6)
Shared.Tests (1)
SignalR.Client.FunctionalTestApp (1)
SignalRSamples (1)
SocialWeather (2)
Sockets.BindTests (2)
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 (13)
System.Diagnostics.TextWriterTraceListener (4)
System.Diagnostics.TraceSource (15)
System.Drawing.Common.Tests (33)
mono\System.Drawing\GraphicsTests.cs (11)
1577size = g.MeasureString(string.Empty, _font);
1579g.MeasureString(string.Empty.AsSpan(), _font);
1585size = g.MeasureString(string.Empty, null);
1587g.MeasureString(string.Empty.AsSpan(), null);
1611size = g.MeasureString(string.Empty, _font, SizeF.Empty);
1614size = g.MeasureString(string.Empty.AsSpan(), _font, SizeF.Empty);
1804string s = string.Empty;
1851regions = g.MeasureCharacterRanges(string.Empty, _font, default, null);
1853regions = g.MeasureCharacterRanges(string.Empty.AsSpan(), _font, default, null);
1860regions = g.MeasureCharacterRanges(string.Empty, null, default, null);
1862regions = 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 (18)
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 (2)
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.Numerics.Tensors (1)
System.ObjectModel (1)
System.Private.CoreLib (200)
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.Tests (1)
System.ServiceModel.NetFramingBase (5)
System.ServiceModel.NetNamedPipe (1)
System.ServiceModel.Primitives.Tests (18)
ServiceModel\FaultExceptionTest.cs (9)
78Assert.Equal(string.Empty, faultException.Code.Namespace);
121Assert.NotEqual(string.Empty, exception.Reason.ToString());
140exception = new FaultException<FaultDetail>(null, string.Empty);
146Assert.Equal(string.Empty, exception.Reason.ToString());
147Assert.Equal(string.Empty, exception.Message);
171Assert.NotEqual(string.Empty, exception.Reason.ToString());
199exception = new FaultException<FaultDetail>(null, string.Empty, null, null);
203Assert.Equal(string.Empty, exception.Reason.ToString());
204Assert.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.Web.Services.Description (28)
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 (191)
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 (928)
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 (3)
Text.Analyzers (4)
Text.Analyzers.UnitTests (1)
TrimTest (1)
UIAutomationClientSideProviders (2)
vbc (2)
VBCSCompiler (2)
VBCSCompiler.UnitTests (4)
VisualBasicSyntaxGenerator (1)
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)